Ind 945 Posted April 7, 2013 (edited) PacketDB OverhaulHello~! - What?! 1st, not a overhaul as much as...well we purged the poor thing completely 2nd, adding and maintaining packets is now much easier Changes packet_db.txt was dropped packet_ver was dropped in its entirety, the server has never been able to maintain multiple packet versions at once stably packet_ver_flag setting in conf/battle/client.conf was dropped packets are now stored at src/map/packets.h packets.h format for outgoing packets: packet(packet_id,length)/* example */packet(0x006a,23); for incoming packets: packet(packet_id,length,function,offset ( specifies the offset of a packet field in bytes from the begin of the packet ),...)/* example */packet(0x0072,19,clif->pWantToConnection,2,6,10,14,18); Improvement Users no longer have to touch packet files when changing their client versions, PACKETVER in src/common/mmo.h is now enough. With the map server not having to maintain packets for so many versions at once, its ram usage was reduced by 7MB Credits Feature Design by GreenBox Special Thanks to mkbu95 for bringing this topic up! (reworking the packetdb) Links~! Commit packets.h file Edited February 7, 2017 by Ridley 6 mkbu95, Nameless2you, Senos and 3 others reacted to this Quote Share this post Link to post Share on other sites
Nameless2you 97 Posted April 7, 2013 lub it <3 Quote Share this post Link to post Share on other sites
mybitch 9 Posted April 7, 2013 I just added.. packet(0x0868,12); //Sorcerer cancel something packet(0x0844,2); //cashshop button (ragexe) both avoids disconnection after clicking it.. Quote Share this post Link to post Share on other sites
Zopokx 7 Posted April 7, 2013 Wow! I mean... wow! Your work is awesome. Thanks! Quote Share this post Link to post Share on other sites
jaBote 438 Posted April 7, 2013 Impressive! That'll ease a bit the process of making servers and that's better for us all. Thank you Ind! Quote Share this post Link to post Share on other sites
Brynner 34 Posted April 7, 2013 this is great! Quote Share this post Link to post Share on other sites
Fatalis 2 Posted April 12, 2013 i can't understand this. how can i set packet for 2012-04-10 client? Quote Share this post Link to post Share on other sites
Ind 945 Posted April 12, 2013 i can't understand this. how can i set packet for 2012-04-10 client?just change your packetver to 20120410, that simple, that easy. Quote Share this post Link to post Share on other sites
Fatalis 2 Posted April 13, 2013 i can't understand this. how can i set packet for 2012-04-10 client?just change your packetver to 20120410, that simple, that easy. wow. thanks for this Quote Share this post Link to post Share on other sites
akbare 2 Posted May 20, 2013 i'm use 2012-05-15 and no support for packet db how to enable?? Quote Share this post Link to post Share on other sites
nanakiwurtz 11 Posted May 20, 2013 Just change the 'PACKETVER' in the Herculessrccommonmmo.h #ifndef PACKETVER #define PACKETVER 20120515#endifAnd don't forget to recompile.If it's not supported, try another client with different date Quote Share this post Link to post Share on other sites
akbare 2 Posted May 21, 2013 Just change the 'PACKETVER' in the Herculessrccommonmmo.h #ifndef PACKETVER #define PACKETVER 20120515#endifAnd don't forget to recompile.If it's not supported, try another client with different date thanks nanakiwurtz Quote Share this post Link to post Share on other sites
Phoenix 0 Posted May 21, 2013 i do that guide but can't connect to Map server!!! clean connection with login and char but when i entering to the actual game i got failed to connect to server but no error in char log and map server i am using 20120515 RagREexe how i can fix it help me!!! thanks in advance by the way here the photo of my server console Quote Share this post Link to post Share on other sites
nanakiwurtz 11 Posted May 21, 2013 Have you recompile your server? Quote Share this post Link to post Share on other sites
Phoenix 0 Posted May 22, 2013 can i have 2013-05-15ragexe and this topic http://herc.ws/board/topic/398-client-translation-project/ (Thanks to Michieru)=Done Downloading= supported in renewal???? now i am using 2012-07-02RagexeRE but i can see the item and the @changelook http://nn.nachtwolke.com/dev/viewlist/ Quote Share this post Link to post Share on other sites
Mhalicot 392 Posted July 20, 2013 I cant apply it in rathena rev. 17406 Error: pc.h too many Include :/ Quote Share this post Link to post Share on other sites
Brynner 34 Posted July 20, 2013 I cant apply it in rathena rev. 17406 Error: pc.h too many Include :/ i don't think this gonna work for rA. since rA still using packet_db.txt Quote Share this post Link to post Share on other sites
Mhalicot 392 Posted July 20, 2013 Yeah.. That's what I also think.. Downloading ... Quote Share this post Link to post Share on other sites
Uzieal 89 Posted July 20, 2013 I love the approach Hercules takes in create a better emulator. Quote Share this post Link to post Share on other sites
OnNplay 27 Posted July 22, 2013 It's not only better, it's more closer to newbie capability in term of easiness. Quote Share this post Link to post Share on other sites