View previous topic :: View next topic |
Author |
Message |
Reak I post too much
Reputation: 0
Joined: 15 May 2007 Posts: 3496
|
Posted: Sun Apr 20, 2008 6:32 am Post subject: [TitanMS] Packet problem |
|
|
Hey,
I just finished my /find.
But then I noticed that the packet header of /find and whispering are the same. = 0x58.
For example:
Command: . /find rEakW0n = 58 00 05 07 00 72 45 61 6B 57 30 6E
Whisper: rEakW0n Msg: lol = 58 00 06 07 00 72 45 61 6B 57 30 6E 03 00 6C 6F 6C
You see, I did bold the 3rd byte of the packet. I'm sure it's the byte which defines if it's '/find' or 'whisper'.
So I tried getting that packet and checking if it's 05 or 06, but that's exactly my problem.
When I did code the /find thing I used getShort(packet+1) because it contains the size of the name you search for.
So:
/find rEakW0n = 58 00 05 07 00 72 45 61 6B 57 30 6E
You see, it's the packet after the packet which defines if it's '/find' or 'whisper'.
So I tried using getShort(packet) to get the number before. And it just gave me some weird numbers. (Also tried getShort(packet-1), -2, -3 and -4).
Then I checked for another function, faceExperiment.
Here is a packet for the F2 face:
5C 00 02 00 00 00
And you see it's the 3rd byte which contains the face-id, so the same byte which is the whisper/find thing is using to check which of both it is.
So I tried using the same on the /find/whisper thing, getInt(packet) instead of getShort().
I tried that it and it didn't give me the correct number
What do I do wrong?
|
|
Back to top |
|
 |
--Pillboi-- Grandmaster Cheater Supreme
Reputation: 0
Joined: 06 Mar 2007 Posts: 1383 Location: I don't understand the question. Is this a 1 to 10 thing?
|
Posted: Sun Apr 20, 2008 7:13 am Post subject: |
|
|
Are you sure you meant to post this here?
I see that it is programming, but it is more tilted to the MS side.
Sorry, I can't help you.
_________________
Enter darkness, leave the light, Here be nightmare, here be fright...
Earth and Water, Fire and Air. Prepare to meet a creature rare.
Enter now if you dare, Enter now the dragon's lair. |
|
Back to top |
|
 |
Reak I post too much
Reputation: 0
Joined: 15 May 2007 Posts: 3496
|
Posted: Mon Apr 21, 2008 7:05 am Post subject: |
|
|
Hey, I think this thread will get lost in 2 hours on the 2nd page in the MS section and will die deductive.
Edit:
Got it, it was packet[0].
|
|
Back to top |
|
 |
torpin005 Master Cheater
Reputation: 0
Joined: 19 Nov 2007 Posts: 255
|
Posted: Mon Apr 21, 2008 5:30 pm Post subject: |
|
|
i think this is a general game hacking post because that has PE stuff
_________________
Go check it out. Good Hacks |
|
Back to top |
|
 |
|