
Originally Posted by
nilly
Loot notifications are nothing new. They have been apart of past rotmg proxy hacks and only recently been implemented into the client itself by me. jNoob, I'm sure, has both forms, a proxy loot notif, and the client notif (that he striped from my client).
Exactly.
I would add one thing : to be efficient the proxy should spam notifications to the client's loot bags (and not just send ONE notification). I find 2 seconds is a perfect time !
* Monitor the NEW_TICK packet for loot bag with interesting content
* Add or remove the lootbag id and spam text to a list
* Notify all items in the list every 2 seconds..
When parsing the update packet, make sure that when the game delete the lootbag you also delete the lootbag from the spammable list
Gotcha <3
New bags are bring to the game EMPTY by an update packet
And AFTER that the content is set by a NEW_TICK packet
One more thing : when you are too far away from a bag it is technically removed from the client memory as if it was empty (by another update packet)
When you come near the bag again, the bag is added again by an UPDATE packet but this time it is already FULL..
> you may want to check for bags to notify in the update packet too.