Intercept UPDATE, look for the object you want to replace, replace, send to client?
I have absolutely no idea where to start. I am trying to do a no clip by replacing everything with abyss bones.
Intercept UPDATE, look for the object you want to replace, replace, send to client?
Do a for loop that goes through the objects and do a find and replace.
Also are you sure the IDs you are using are correct? I'll post mine when I get home...Code:for (var x = 0; x < packet.newObjs.length; x++){ if (packet.newObjs[x].objectType == 20) packet.newObjs[x].objectType = 5);
Ok back, here's my sprite world tree replacement
Code:for (var j = 0; j < packet.newObjs.length; j++) if ((packet.newObjs[j].objectType >= 372) && (packet.newObjs[j].objectType <= 377)) packet.newObjs[j].objectType = 276;
Last edited by 059; 03-11-2014 at 08:24 PM.
My Vouches
Having an issue with RotMG? Check for the solution here.
Need Realm items? Come to RealmStock!
Accepting PayPal - Bitcoin - Giftcards
Selling ST Sets, Class Top Sets, Life Pots, and much more!
Find it here: MPGH Sales Thread
My Vouches
Having an issue with RotMG? Check for the solution here.
Need Realm items? Come to RealmStock!
Accepting PayPal - Bitcoin - Giftcards
Selling ST Sets, Class Top Sets, Life Pots, and much more!
Find it here: MPGH Sales Thread
Already got it to work, I still don't know what caused it not working as I deleted the first attempt completely.
BTW, nice idea to use lilypads, this time I used them as well
And your character too, haha
I am doing it bit differently, I make the realm relay to find the objectData of newObjs from UPDATE and check if objectData.fullOccupy == 1 or objectData.occupySquare == 1. This works as I have all objects from the clients XML in objects.xml of realm relay.
059 (03-12-2014)