[Request]Packets Order

03/03/2011 22:03 Mr_PoP#1
as my topic thread says i need the packets order
am done from:

Code:
charinfoPacket
ItemUsagePacket
CommandPacket(AcceptLocation,Jump,update,RequestItemInfo,RequestFriendInfo,RequestWeaponInfo,RequestSkillInfo,RequestPKMode,RequestGuildInfo and CompleteLogin)
then WalkPacket
so is there anyorder for packets inside the gameserver!?
03/04/2011 09:15 pro4never#2
Quote:
Originally Posted by Mr_PoP View Post
all i wanted to know is should i work on the packets with order

Basic functionality first is ALWAYS a good rule of thumb.


Hero Info Packet
Chat Packet
General Data Packet
Walk packet.

That will get you login and full movement around the game so they should obviously be first.


You could now do entity spawning but till you have items it's not like there's a point coding attack systems.

Item Usage
Item Info

All item related calculations (Item Type, + bonuses, item databases, etc)

Now worry about seeing other entities.

Entity Spawn packet
-Mob/player can easily use the same entity class, only a couple offsets change

Now that you can see other monsters/players you can worry about things such as attacking/player interactions and more advanced game systems like guilds/trade/teams/view gears/etcetcetc.


Whenever you are thinking of something to add you should be asking yourself "what does this system rely on" and if anything it relies on isn't coded yet... then it should be done first.
03/04/2011 19:07 Mr_PoP#3
Quote:
Originally Posted by pro4never View Post
Basic functionality first is ALWAYS a good rule of thumb.


Hero Info Packet
Chat Packet
General Data Packet
Walk packet.

That will get you login and full movement around the game so they should obviously be first.


You could now do entity spawning but till you have items it's not like there's a point coding attack systems.

Item Usage
Item Info

All item related calculations (Item Type, + bonuses, item databases, etc)

Now worry about seeing other entities.

Entity Spawn packet
-Mob/player can easily use the same entity class, only a couple offsets change

Now that you can see other monsters/players you can worry about things such as attacking/player interactions and more advanced game systems like guilds/trade/teams/view gears/etcetcetc.


Whenever you are thinking of something to add you should be asking yourself "what does this system rely on" and if anything it relies on isn't coded yet... then it should be done first.
yeah thanks thats what am exactly doing am just making sure that if i didnt make it in order the client wont crash or something wrong wont happend , thnx

Edit: Does the client request to spwan the NPCs,Monsters?