packets VB sacob could use some help^^

10/12/2007 02:59 Real~Death#61
i ditching the chat packets for now,its hell of a lot easier to just program #autohunt/#autoloot(and i added a send button so all i need is the packet for each person(considering i have no current acount active,it seems like a wast of time))so im back at the jump packets

accid=43 40 14 00
18 00 F2 03 03 5D 2D 02 43 40 14 00 16 00 4E 00 14 00 50 00 00 00 85 00
18 00 F2 03 BF A8 2D 02 43 40 14 00 18 00 4B 00 16 00 4E 00 00 00 85 00
18 00 F2 03 BC F1 2D 02 43 40 14 00 19 00 49 00 18 00 4B 00 00 00 85 00
18 00 F2 03 80 54 2E 02 43 40 14 00 20 00 4C 00 1E 00 4A 00 00 00 85 00
18 00 F2 03 04 A7 2E 02 43 40 14 00 24 00 57 00 21 00 54 00 00 00 85 00
18 00 F2 03 C1 CF 2E 02 43 40 14 00 26 00 54 00 24 00 57 00 00 00 85 00
18 00 F2 03 A6 00 2F 02 43 40 14 00 28 00 53 00 29 00 51 00 00 00 85 00
18 00 F2 03 F9 42 2F 02 43 40 14 00 10 00 4B 00 0E 00 4F 00 00 00 85 00
18 00 F2 03 86 A0 30 02 43 40 14 00 1A 00 4E 00 14 00 4C 00 00 00 85 00
.................??.??..??.........[accid-----]....[xto]..[yto]...[xfr]..[yfr]...................
5-8=txa??(in crack its (22 22 22 22)also in crack(1=1C)
9-12=accid
13=jump to x
15=jump to y
17=jump from x
19=jump from y

what is 5-8?is it the txa(time get?
like you guys where saying,the server checks to see where your jumping from right?so for me to jump i can only jump like 18 spaces or somthing
so far what do i have correct,or have to do(been screwing with it for hours,so i know something wrong)also not trying to telleport(:)"yet"lol)just trying to jump
im having no luck at all with this,im not sure what im missing here
:edit:with queen gona kill venom,jump and attack packets seem to be on top of the list
:edit:
1C 00 FE 03 2B 46 9A 7E 5B D7 13 00 00 00 00 00 02 00 00 00 00 00 00 00
1C 00 FE 03 3E 33 EE 33 5B D7 13 00 00 00 00 00 02 00 00 00 00 00 00 00
attack packets also have thoes same damn changing numbers?txa or what?
10/12/2007 21:39 Real~Death#62
what am i missing?i havent been able to get 1 jump to work?might be the way im sending them?
10/12/2007 22:55 Some-Guy#63
[Packet]Len 00 F2 03 [Time (TXA in crack + sacob)] [Acc id] [To co-ords] [From co-ords] 00 00 85 00

Your problem could be one I found when I messing around with 'crack' (hmm, sounds bad), if you are giving the whole packet to the makehex2() function (Makehex2(Packet stuff here)) then make sure the acc id is in hex (Readable, using asc2hex() if need be, so it would be send makehex2(Packet start & asc2hex(accid) & Packet end))


Example: Send2 MakeHex2("18 00 F2 03 " & txa & asc2hex(accid) & ToCo-ords & " 00 00 00 00 00 00 85 00") 'With 00 00 00 00 as the from co-ordinates because the server doesn't check them (As far as I'm aware)
10/12/2007 23:01 Real~Death#64
Quote:
Originally Posted by Some-Guy View Post
[Packet]Len 00 F2 03 [Time (TXA in crack + sacob)] [Acc id] [To co-ords] [From co-ords] 00 00 85 00

Your problem could be one I found when I messing around with 'crack' (hmm, sounds bad), if you are giving the whole packet to the makehex2() function (Makehex2(Packet stuff here)) then make sure the acc id is in hex (Readable, using asc2hex() if need be, so it would be send makehex2(Packet start & asc2hex(accid) & Packet end))


Example: Send2 MakeHex2("18 00 F2 03 " & txa & asc2hex(accid) & ToCo-ords & " 00 00 00 00 00 00 85 00") 'With 00 00 00 00 as the from co-ordinates because the server doesn't check them (As far as I'm aware)
thanks i was getting lost tryed for hours couldent get anything to do anything.wasent sure what the problem could be.i seen asc2hex in crack but never had to use it yet,so thanks for that :)
10/13/2007 01:39 MrGenious#65
Quote:
Originally Posted by Some-Guy View Post
Not true, packet ID for the first packet received from login server was changed not long back, now they alternate between two :D
You can add both so it uses both, and ofcourse they can change packettypes they jus gotta reprogram but they don't look for as much work as possible they do the opposite. I was just more like TQ never does it.
10/13/2007 03:11 Some-Guy#66
Quote:
Originally Posted by MrGenious View Post
You can add both so it uses both, and ofcourse they can change packettypes they jus gotta reprogram but they don't look for as much work as possible they do the opposite. I was just more like TQ never does it.
My proxy was working with both 5 mins after I found that a change had happened, probably the main reason tq don't bother....it's so easy to figure packet ID's, format takes a little longer, just added a 'reply bot' to my proxy which I'll probably expand into stat reading (e.g. you whisper it /money and a password you choose on startup and it replies with the money on the char, so far I have remote commands working with the password and also replying works as of 10 mins ago).
10/13/2007 13:42 Real~Death#67
sacob dont have the asc2hex in it i belive,so jumping will have to wait again.how hard would it be to show inventory in one of the list boxes,and any idea of how to go about this
10/13/2007 14:33 MrGenious#68
Quote:
Originally Posted by Some-Guy View Post
My proxy was working with both 5 mins after I found that a change had happened, probably the main reason tq don't bother....it's so easy to figure packet ID's, format takes a little longer, just added a 'reply bot' to my proxy which I'll probably expand into stat reading (e.g. you whisper it /money and a password you choose on startup and it replies with the money on the char, so far I have remote commands working with the password and also replying works as of 10 mins ago).
I don't even bother with proxy :P I'm working on a C# bot, standalone that is. Putting in the dmaps in with cords and a little dot to locate where you are and everything you could possibly do.
Then after i've completed it I will add remote commands to it.

asc2hex just means string to hex, so you got forexample a name in string you typed in yourself in a textbox and you want to make it hex to go into the playername, so you just add the asc2hex.
10/13/2007 15:35 joek#69
Quote:
Originally Posted by MrGenious View Post
I don't even bother with proxy :P I'm working on a C# bot, standalone that is. Putting in the dmaps in with cords and a little dot to locate where you are and everything you could possibly do.
Then after i've completed it I will add remote commands to it.

asc2hex just means string to hex, so you got forexample a name in string you typed in yourself in a textbox and you want to make it hex to go into the playername, so you just add the asc2hex.
here yuh go I even wrote the vb6 function for you Real~Death I know your still struggling with vb ;)

Code:
Function asc2hex$(S$)
   Dim I%
   For I = 1 To Len(S)
      asc2hex = asc2hex + Replace(Format$(Hex$(Asc(Mid$(S, I, 1))), "@@"), " ", "0")
   Next I
End Function
usage:-
HS=asc2hex("FTW")
result:-
HS now contains ->465457

OR if u need spaces

Code:
Function asc2hex$(S$)
   Dim I%
   For I = 1 To Len(S)
      asc2hex = asc2hex + Replace(Format$(Hex$(Asc(Mid$(S, I, 1))), "@@"), " ", "0") & " "
   Next I
   asc2hex = Trim$(asc2hex)
End Function
usage:-
HS=asc2hex("FTW")
result:-
HS now contains ->46 54 57
10/13/2007 15:38 Real~Death#70
Quote:
Originally Posted by joek View Post
here yuh go I even wrote the vb6 function for you Real~Death I know your still struggling with vb ;)

Code:
Function asc2hex$(S$)
   Dim I%
   For I = 1 To Len(S)
      asc2hex = asc2hex + Replace(Format$(Hex$(Asc(Mid$(S, I, 1))), "@@"), " ", "0")
   Next I
End Function
usage
HS=asc2hex("FTW")
result
HS now contains ->465457
thanks :)
10/13/2007 15:46 joek#71
added a space delimited version to previous post if you need it :)
10/13/2007 23:11 Real~Death#72
this jump is going on hold again its almost too much trouble.Ive tryed sending the packets like 10-20 different ways(cus im a noob and still forget "" or somthing that might stop the pack from sending the right way).--gsend (MakeHex2("18 00 F2 03" & txa(timeGetTime, accid)) & asc2hex(accid) & MakeHex2("xj") & MakeHex2("yj") & MakeHex2("00 00 00 00 00 00 85 00"))
--gsend (MakeHex2("18 00 F2 03" & txa(timeGetTime, accid)) & asc2hex(accid) & xj & yj & MakeHex2("00 00 00 00 00 00 85 00"))--along with meny other ways lol,it just dc's me(xj and yj are my change boxes for jump to BTW).also tryed adding xj2 and yj2 for from to still get dced).
So i back to somthing easier ATM xp skill superman-'20 00 FE 03 [txa] [accid] 77 A5 51 BE 1A FB CD 4A 15 00 00 00 B0 2B 21 C2 00 00 00 00-im thing not the right pack??
seems to dc me atm but i might have the wrong packet,so i guess i should recheck first befor saing it dont work:)..(1C 00 FE 03 12 51 6C 01 F9 D6 10 00 77 A5 68 BA BA E9 30 C3 15 00 00 00 57 5A 21 25--this was in the original full version of sacob as xp skill but,every skill should have a different packet right?let me check my xp packets first anyway :):):)thanks everyone for helping me so far too:):):)
10/14/2007 03:33 Real~Death#73
Quote:
Originally Posted by Some-Guy View Post
[Packet]Len 00 F2 03 [Time (TXA in crack + sacob)] [Acc id] [To co-ords] [From co-ords] 00 00 85 00

Your problem could be one I found when I messing around with 'crack' (hmm, sounds bad), if you are giving the whole packet to the makehex2() function (Makehex2(Packet stuff here)) then make sure the acc id is in hex (Readable, using asc2hex() if need be, so it would be send makehex2(Packet start & asc2hex(accid) & Packet end))


Example: Send2 MakeHex2("18 00 F2 03 " & txa & asc2hex(accid) & ToCo-ords & " 00 00 00 00 00 00 85 00") 'With 00 00 00 00 as the from co-ordinates because the server doesn't check them (As far as I'm aware)
just to be sure (jumpto-xy is before jump from-xy)?
(this is from java ofcorse,just here for example)
byte[] b=new byte[28];
b[0]=(byte)(int)0x1c;
b[2]=(byte)(int)0xf2;
b[3]=(byte)(int)0x03;
b[4]=(byte)(jumpid&0xFF);
b[5]=(byte)((jumpid&0xFF00)>>8);
b[6]=(byte)((jumpid&0xFF0000)>>16);
b[7]=(byte)((jumpid&0xFF000000)>>24);
b[8]=(byte)(pid&0xFF);
b[9]=(byte)((pid&0xFF00)>>8);
b[10]=(byte)((pid&0xFF0000)>>16);
b[11]=(byte)((pid&0xFF000000)>>34);
b[12]=(byte)(fx&0xFF);
b[13]=(byte)((fx&0xFF00)>>8);
b[14]=(byte)(fy&0xFF);
b[15]=(byte)((fy&0xFF00)>>8);
b[20]=(byte)(tx&0xFF);
b[21]=(byte)((tx&0xFF00)>>8);
b[22]=(byte)(ty&0xFF);
b[23]=(byte)((ty&0xFF00)>>8);
b[24]=(byte)(int)0x8e;
return b;
just making sure cus when i seen this from-xy is before to-xy i think(f=from t=to)?12.13=fx 14.15=fy 20.21=tx 22.23=ty
::EDIT::also is jumpid the same as txa(timestamp)?
:EDIT::my guess is jumpid(4.5.6.7)is not the same as time stamp
10/15/2007 06:53 Real~Death#74
had to bump it cus i still dont know:(
high6 answered:)ty
10/23/2007 08:41 Real~Death#75
if i have the sacob use a pot(life/health)do i need to use the items uniqueId?cus i tryed just resending packets in crack and it would work?And on almost the same subject,droping items do i need the uniqueId or can i just use 4 byte item and a drop packet?(sorry if the question seems stupid or weak and i prolly could figure it out my self,but i get this damn thing to jump/pot/or drop?!?!?Atleast if i know what im supost to do i should be able to find my damn problem