CompleteLogin

09/07/2011 00:47 Arco.#1
Alright, well I login to my 5017 server, and for some reason data type 130 (CompleteLogin) isn't getting send from the client to the server. So all the functions that happen after login don't happen. But I can still login, and do everything I want, like chat, fight, npcs, shop, etc etc. Anyone know why?
09/07/2011 00:59 MegaArcherZGX#2
Shake it,Works Every Time

Would u like to share with us why r u still working with such an old source?:confused:
09/07/2011 01:02 Arco.#3
Out of boredom.
09/07/2011 01:30 ImFlamedCOD#4
Its because the client is not recognizing the fact that it has had a complete login. Lots of things could cause this , packets errors, client defective. Retrace your steps for a complete login make sure that the server is sending all of the correct packets at login. I'm sure if you do this you will find the error.
09/07/2011 03:48 .Kinshi#5
You have to reply to a bunch of packets you get when you login before it will send it.
Like confrim friends, guild, etc.
09/07/2011 03:53 Spirited#6
You should get 1010:74 first. If you do but nothing else, then check the buffer coming into the socket system. It's probably that you're getting multiple packets in one buffer. Look at Project Kibou's buffer splitter.
09/07/2011 15:28 Korvacs#7
[Only registered and activated users can see links. Click Here To Register...]

I battle with the login sequence for 4267 in that thread, which obviously isnt identical to 5017, but its very close and really the order doesnt change as far as i can recall.
09/08/2011 00:48 CptSky#8
Arco, you still have my email, so if you want help, you can ask. My 5017 source is really complete and I have the majority of the packets structure/enum/process...
09/09/2011 07:15 Arco.#9
So these are the only datatypes that are being processed, in order.
74
114
75
76
96

So what I'm wondering is why 130 isn't being sent to server.
09/09/2011 07:21 _DreadNought_#10
As ImFlamed suggested, Is there anything that should be triggering the Complete login thats not just processing an subtype? Maybe you need to check if your processing them correctly and if it needs to be relayed.

Yes that probably sounds like a load of shit, Yes its 6:30am, no I dont care.
09/09/2011 09:11 Korvacs#11
You just need to respond to each by sending the same packet subtype back and it will complete
09/09/2011 12:02 CptSky#12
GetPosition = 74,
GetItemSet = 75,
GetGoodFriend = 76,
GetWeaponSkillSet = 77,
GetMagicSet = 78,
GetSynAttr = 97,

The subtype of the login sequence.
09/10/2011 08:16 Arco.#13
And datatype 130 is supposed to be after all that isn't it?
09/10/2011 15:19 Korvacs#14
One of three things will happen once going through the login sequence, if you complete it successfully and the client is the correct version you will receive the 130 packet. If not then you wont receive a packet. The last option is that you didnt complete the sequence correctly, so the client will restart it and you will go round in circles.