HelpNotification packet

Posts 1–5 of 5 · Page 1 of 1
Notification packet
Im testing the NotificationPacket shit but cant get it to work since I dont really know what its the ObjectId i should provide.

Code:
foreach (var i in RealmManager.Clients.Values.ToArray())
                {
                    i.SendPacket(new NotificationPacket()
                    {
                        Color = new ARGB(0xffff00ff),
                        ObjectId = ??,
                        Text = "test"
                    });
                }
That seems to not work..

If someone can give me any tip...
Thanks
Try using the player's objectID, or just don't set any.
its the objectId which shows the notification.
so it can be any object of the game..
I've tried this
Code:
            i.SendPacket(new NotificationPacket()
                        {
                            Color = new ARGB(0xffff00ff),
                            Text = "test",
                        });
But no success.
- The color is a signed integer which represents an RGB value.
- The objectId tells the client where it should show the notification; if you want it above your head use our own objectId, but it can be an enemy, a bag or any object of the game.
- The text must be a JSON with a valid key.

The color is probably wrong, you did not specify an objectId and your text is invalid. What do you expect to happen?
Posts 1–5 of 5 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Need help?