PDA

View Full Version : To those familiar with packets in CH



Prostheus
12th November 2005, 05:16
Hi all,

I'm having some problems writing a script. I want it to interact with CheatHappens (the packets section of it) and simulate the %goto command. Is there any way to do this via packets? I can get the coordinate box to go to a different location, and my character gets hit by the monsters there, but in the MU window my actual character does not move, and I can't see the monsters! Is there any solution to this problem?

It would be great if somebody could solve this for me.

Just an example of a packet I have sent (to the client supposedly):
193 8 212 22 248 8 40 48

This was whilst I was in Lorencia.

This set the coordinates to 8 40 in the bottom left, and I got attacked by a giant there, but my character was visually still in town. As soon as I went to move, it walked/ran straight to that location, going through all obstacles along the way.

Any help on this would be awesome, and I promise if I get it to work I shall release the script to the public (and if not, well it'd be a pointless script, lol)

jnrz2
15th November 2005, 11:22
you were lagging thats why you walked str8 to the coords...and what was the packet for?

MeLzAr
22nd November 2005, 08:11
Well lets see here, you sent this packet to the server telling the game that you were at the coordinates 8 40. That means that you also have to send the packet to the client that you are at 8 40. If this isnt done, then you just run right to the place where the server thinks you are. Its a way for the client to correct itself.

Prostheus
22nd November 2005, 08:43
That makes sense. Pity I have no idea how the hell them packets work yet, lol. I'll try again one day. Thx