Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Conquer Online 2 > CO2 Private Server
You last visited: Today at 00:40

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



[Help] Packet when log in

Discussion on [Help] Packet when log in within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
Kital82's Avatar
 
elite*gold: 0
Join Date: Aug 2006
Posts: 129
Received Thanks: 15
[Help] Packet when log in

Hi everbody. In my source I have a problem, when i try to log in the server, my screen freeze. I looked into others source and i send
Quote:
Client.Send(Packets.Chat(0, "SYSTEM", "ALLUSERS", "ANSWER_OK", ChatType.LoginInformation));
But nothing is happening. Someone can tell me what packet i have to send to log on correctly?
Kital82 is offline  
Old 08/03/2009, 13:47   #2
 
elite*gold: 0
Join Date: Dec 2007
Posts: 618
Received Thanks: 213
Once you login, you have to send to client an message so he'll know what to do (eg. "NEW_ROLE" = new character, "ANSWER_OK" = continue login), so, after sending "ANSWER_OK", you should send the character info packet, and wait for the location request 1010 -> 74 if i'm not wrong, once you send the location, you'll be able to walk/jump/what ever you want.
alexbigfoot is offline  
Thanks
1 User
Old 08/03/2009, 16:43   #3
 
elite*gold: 0
Join Date: Jun 2009
Posts: 787
Received Thanks: 314
After you set location you should have to handle some other packets until you receive the 'complete login' subtype.
_tao4229_ is offline  
Thanks
1 User
Old 08/03/2009, 17:17   #4
 
elite*gold: 20
Join Date: Aug 2005
Posts: 1,734
Received Thanks: 1,001
You can just echo the data packets back until you have some action to do when you get them. Works just fine. :P
tanelipe is offline  
Thanks
1 User
Old 08/03/2009, 17:56   #5
 
Kital82's Avatar
 
elite*gold: 0
Join Date: Aug 2006
Posts: 129
Received Thanks: 15
Quote:
Originally Posted by alexbigfoot View Post
Once you login, you have to send to client an message so he'll know what to do (eg. "NEW_ROLE" = new character, "ANSWER_OK" = continue login), so, after sending "ANSWER_OK", you should send the character info packet, and wait for the location request 1010 -> 74 if i'm not wrong, once you send the location, you'll be able to walk/jump/what ever you want.
Yes it's case 74.

I had an other problem wich is after sending the "CharacterInfo" packet, The client crashed.
My problem was that i didn't the send the MessagePacket at the correct moment. Now it works, and implented more things as Walk/Jump & Chat process.

Thanks alex, tao and tanelipe

#close
Kital82 is offline  
Reply




All times are GMT +1. The time now is 00:41.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.