kRO serverTypes todo's

Forum closed. All further discussion to be discussed at https://github.com/OpenKore/

Moderator: Moderators

Message
Author
Technology
Super Moderators
Super Moderators
Posts: 801
Joined: 06 May 2008, 12:47
Noob?: No

kRO serverTypes todo's

#1 Post by Technology »

kLab's RE'd packets tell us what packets needs to be added to kore and how they need to be added. (see the attachement)

I will try to describe where they need to be added.
The reason I'm putting this up is because I won't have time to work on it myself until somewhere in January.
If anyone is willing to help, that would be much appreciated.

The main TODO now is to add in packets that are missing.

an example:

Code: Select all

0x0436,19,wanttoconnection,2:6:10:14:18
packetswitch: 0x0436
length: 19
where the information is at: 2:6:10:14:18
info taken from: http://svn.eathena.ws/bugs/browser/trun ... ket_db.txt

todo's:
- merge ST's per packetversion (instead of per exe) -> NOT GOING TO HAPPEN
- put packet in base ST Sakexe_0.pm if these 3 rules apply:
*is not already in Sakexe_0.pm (no conflicts! updated packets go in newer serverType!)
*must be actually functional (so no "template"/"gravity fail to add" packets)
*does not "replace older packet functionalities" (examples packets that do: actor packets (received), login/char-server packets (sent, received))

- hardcode packet length per packetversion per packet (something like eA has)
- find out in which ST classes the different login/char-server packets belong
- detect and support differences between kRO and eA (ex. the captcha is not in eA (yet?))

Post implementation:
- if everything works, we can focus on optimization
- we can ditch the 8_x serverTypes (packetversions: 8_5 is at 23(?) | kRO ST is at 25 (alpha stage) | eA is at 25 | kRO RE is at 29 (semi supported in RagexeRE_0.pm))
- it will be sufficient for the user to know which packetversion his eA/kRO server is using to be able to pick the right serverType. (which can be extracted from the login packet)
- we can focus on how to support different login sequences
- compare kRO ST's with other official server ST's (maybe they are not so different at all, Sakexe_0.pm will look a lot like ServerType0.pm)
- ...
Attachments
structs.txt
all the packet structures
(128.88 KiB) Downloaded 256 times
One ST0 to rule them all? One PE viewer to find them!
One ST_kRO to bring them all and in the darkness bind them...

Mount Doom awaits us, fellowship of OpenKore!

User avatar
kLabMouse
Administrator
Administrator
Posts: 1301
Joined: 24 Apr 2008, 12:02

Re: kRO serverTypes todo's

#2 Post by kLabMouse »

Updated Structs.
Not yet Complete, but better then old one.
Attachments
packet_structs.txt
Packet STRUCTS (last update 07.06.2010 updated). Not all packets have their full structures. Added some Recovered Structs.
(186.58 KiB) Downloaded 269 times

User avatar
kLabMouse
Administrator
Administrator
Posts: 1301
Joined: 24 Apr 2008, 12:02

Re: kRO serverTypes todo's

#3 Post by kLabMouse »

Updates above file (A little bit). =)

Technology
Super Moderators
Super Moderators
Posts: 801
Joined: 06 May 2008, 12:47
Noob?: No

Re: kRO serverTypes todo's

#4 Post by Technology »

Updated kRO ST's up to latest rev of packet_db.txt
One ST0 to rule them all? One PE viewer to find them!
One ST_kRO to bring them all and in the darkness bind them...

Mount Doom awaits us, fellowship of OpenKore!

User avatar
kLabMouse
Administrator
Administrator
Posts: 1301
Joined: 24 Apr 2008, 12:02

Re: kRO serverTypes todo's

#5 Post by kLabMouse »

Updated Structs a little bit.

Technology
Super Moderators
Super Moderators
Posts: 801
Joined: 06 May 2008, 12:47
Noob?: No

Re: kRO serverTypes todo's

#6 Post by Technology »

nice work, completed so many structures! :o
One ST0 to rule them all? One PE viewer to find them!
One ST_kRO to bring them all and in the darkness bind them...

Mount Doom awaits us, fellowship of OpenKore!

User avatar
kLabMouse
Administrator
Administrator
Posts: 1301
Joined: 24 Apr 2008, 12:02

Re: kRO serverTypes todo's

#7 Post by kLabMouse »

Updated Structs. 25.03.2010
1) Added Aditional Enums.
2) Compleated a few Structs.
3) Added Recovered Structs.

Official Structures up to 0x7fe

User avatar
kLabMouse
Administrator
Administrator
Posts: 1301
Joined: 24 Apr 2008, 12:02

Re: kRO serverTypes todo's

#8 Post by kLabMouse »

Updated Structs.
Fixed packets 0x7F7, 0x7F8, 0x7F9

User avatar
kLabMouse
Administrator
Administrator
Posts: 1301
Joined: 24 Apr 2008, 12:02

Re: kRO serverTypes todo's

#9 Post by kLabMouse »

Updated Structs.
Up to 0x80e
Please note, That I have no full Info on "0x7fd PACKET_ZC_BROADCASTING_SPECIAL_ITEM_OBTAIN" and "0x7ff PACKET_ZC_DEFINE_CHECK".

If you have any Info on packets that are marked as "RECOVERED" or "TODO", Please Help!

Technology
Super Moderators
Super Moderators
Posts: 801
Joined: 06 May 2008, 12:47
Noob?: No

Re: kRO serverTypes todo's

#10 Post by Technology »

We have kinda derailed from the original topic which by the way atm doesn't hold much relevance anymore.
The kRO ST has been implemented and now it is time for new things.
In fact, lets start a new thread for RO structs.
One ST0 to rule them all? One PE viewer to find them!
One ST_kRO to bring them all and in the darkness bind them...

Mount Doom awaits us, fellowship of OpenKore!

Locked