Lottery packet.

06/06/2012 23:18 diedwarrior#1
So uhm, any one ever did this ?
The lottery packet, which is
Code:
Packet 90 -- TQClient -- Length: 24 | 32 -- Type: 1314
18 00 22 05 03 01 01 00 00 00 03 00 31 00 00 00 ;    "    1   
FF 0A 0B 00 00 00 00 00 54 51 53 65 72 76 65 72 ;   ÿ
     TQServer
obviously the length is 24, after removing the TQ server bytes, ( no shit its written over there ) but uhm i guess it should have the hero id and the item id, and the x and y and the mapid maybe ? but after turning the hex into normal numbers and trying if its ushort or uint etc, i just got huge numbers, maybe one is the entityid, got another two huge one, tried them as the itemid but failed, so meh, any one got any information that would save my time or should i just keep on trying ?
06/06/2012 23:41 shadowman123#2
I Completely Coded its system .. Add jades , Continue , Leave and everything.. it took me More than 20 Trial And Error To know The Right Values ..GL with that..BTW it doesnt contains either X Or y or even MapID
06/06/2012 23:43 diedwarrior#3
add jades is just a check and a remove items, continue would just remove the window and make you choose again i guess, leave would just tele you to somewhere, but damn cant you gimme a little support, i cba to do 20 trial and error X_X.
06/06/2012 23:46 shadowman123#4
The Information would Save u lots and lots of Time is .. it Contains Alot of Byte Offsets ...GL became too much easier Now it took me Long time to realize That
06/06/2012 23:47 diedwarrior#5
Fuck lmao, so there's 24 bytes without the first 4 makes it 20, god ill have a lot of trial and error to do X_X.
06/06/2012 23:49 shadowman123#6
Dude thank god u got this information it took me week or so to realize that :D ... GL btw its System isnt hard to be coded So once u know the Right offsets its considered Done
06/06/2012 23:53 diedwarrior#7
Cant you just give me em (angel face), i seriously wont bother to trial and error that much, so plox :P.
06/07/2012 00:11 shadowman123#8
Sry dude .. i dont Give Codes ...i gave u what would save u lots of Trial & Error :D Good luck
06/07/2012 00:30 diedwarrior#9
who said anything about giving codes, its a pretty easy to do it once you figure out the offsets, aight , can you tell me all the stuff the packet contains ?
06/07/2012 00:34 pro4never#10
.... take 5 minutes and run through the offsets using commands. Problem solved!

Why are people so damn lazy when it comes to packet structuring? It's quite simple and there's TONS of public information about it. IMO it's an essential skill for anyone trying to work on a conquer private server to have.
06/07/2012 00:40 diedwarrior#11
i already made a command and testing atm, just cant be asked to really just trial and error through the whole packet, but meh guess ill have to, btw i couldnt find any public source with the offsets of the lottery packet :3, so yeah ill go bust my ass in trying now.
06/07/2012 00:46 { Angelius }#12
Just because i said i wold help you...

ushort length
ushort 1314
Byte 3
Byte boxid
Byte boxid
Byte socket 1
Byte socket 2
Byte plus
Byte 3
Byte JadesAdded
ushort how many times you can still use the lotto today
ushort 0
uint ItemID

Good luck.
06/07/2012 00:57 pro4never#13
Quote:
Originally Posted by diedwarrior View Post
i already made a command and testing atm, just cant be asked to really just trial and error through the whole packet, but meh guess ill have to, btw i couldnt find any public source with the offsets of the lottery packet :3, so yeah ill go bust my ass in trying now.
Well you already have the struct now but... really it's about 20 bytes of testing to do.

You need to test 2-3 values per offset. That means typing a command MAYBE typing 1 number and pushing enter ~30-40 times

Congratz, you now spent all of 5 minutes structuring a packet.
06/07/2012 01:13 shadowman123#14
DiedWarrior Lucky u dude .. once i Posted Same Request Here No1 Could Answer Me Rofl ..I Envy u ahaahahah .. Start Working on its System
06/07/2012 01:23 diedwarrior#15
Thanks a lot Angelius, ill go do it now :D.

#request close, and thanks a lot Angelius, you too pro4never.
[Only registered and activated users can see links. Click Here To Register...]
Also its Accept = 0, AddJade = 1, Continue = 2 for the people who wanna do this, if you need more help pm me and ill be glad to help.
Cheers,
Kratos (:.