client auto closes...

12/22/2010 11:21 LegendsReborn#1
when i try to login, the client closes automatically.. no errors were given..
the server is running normal i think
12/22/2010 11:36 Korvacs#2
Are you using the correct client?

Sounds like the server is sending a packet that the client doesnt like.
12/22/2010 11:46 LegendsReborn#3
oh, hey korv! actually i just tried again, now it just gives me connection timed out when i try to login, and then it gives me the "Dont Send" error. i've searched through most of the threads/post about this problem, most people still get this problem.. but i cant find a solution to it =S

im using Elite-Coemu source.
12/22/2010 16:30 { Angelius }#4
the client IP must be [ 127.0.0.1 ] other ways it'll keep crashing
12/22/2010 20:01 pro4never#5
Quote:
Originally Posted by { Angelius } View Post
the client IP must be [ 127.0.0.1 ] other ways it'll keep crashing
client ip must NOT be 127.0.0.1

Using that on patch 5165 or higher will instantly crash the client if you send it in the auth response packet.
12/22/2010 23:08 LegendsReborn#6
Quote:
Originally Posted by pro4never View Post
client ip must NOT be 127.0.0.1

Using that on patch 5165 or higher will instantly crash the client if you send it in the auth response packet.
for the 5165 source im using, i can login

it says

Test has logged in

but then it still closes my client =S
12/22/2010 23:14 pro4never#7
Are you using ip 127.0.0.1? that's why. It will crash client. Use a network, external or hamachi ip and it won't crash client.
12/23/2010 00:58 LegendsReborn#8
Quote:
Originally Posted by pro4never View Post
Are you using ip 127.0.0.1? that's why. It will crash client. Use a network, external or hamachi ip and it won't crash client.
nope i've changed it to my external ip for both client and server.
before it was 127.0.0.1 and that caused me to not even able to get on to the character creation page. but after i changed it to external i was able to create a character but when i logged in it closed automatically.
12/23/2010 01:18 { Angelius }#9
Originally Posted by pro4never
Quote:
client ip must NOT be 127.0.0.1

Using that on patch 5165 or higher will instantly crash the client if you send it in the auth response packet.
my bad i never locked at that Elite-Coemu source. so i dident know that ELITE-Coemu source = 5165
i though it wold be like any other version 5095
12/24/2010 01:31 LegendsReborn#10
alright, i installed hamachi and tried to place the hamachi ip in the client and in the server config, it still closes my client but on the server box it says "test has logged on."
but it closed my client still.
12/24/2010 01:32 Korvacs#11
Must be an invalid packet being sent then, are you definately using the correct client? Have you made any modifications to the server?
12/24/2010 02:40 LegendsReborn#12
Quote:
Originally Posted by Korvacs View Post
Must be an invalid packet being sent then, are you definately using the correct client? Have you made any modifications to the server?
hmm i dont believe so..
um theres only 3 files u need to modify right?

Login server config.
World Server Config.
Client server dat.

thats about it right?

im thinking it wouldnt be the servers problem, more towards the client or my computer, im not too sure.. i remmeber i had a native.memycpy problem but i followed ur guide and fixed that problem i think. but i still cant login without client closing on me
12/24/2010 12:17 Korvacs#13
If the client closes with no error message of any sort then an invalid packet is being sent to the client, ive done this in the past with my own servers, just need to find out which packet and alter it.

Place a breakpoint at the beginning of the login processes and step the client through the login and after sending a certain packet the client will crash, this is the packet causing the problem.
12/25/2010 00:56 LegendsReborn#14
Quote:
Originally Posted by Korvacs View Post
If the client closes with no error message of any sort then an invalid packet is being sent to the client, ive done this in the past with my own servers, just need to find out which packet and alter it.

Place a breakpoint at the beginning of the login processes and step the client through the login and after sending a certain packet the client will crash, this is the packet causing the problem.
hmm ok.. i dont really understand what or how to place a break point lol, kinda noob at these things :P
12/25/2010 01:36 Korvacs#15
Use google to find out what a breakpoint is and how to use them, they are a fundamental aspect of debugging your code, and is something that every programmer should be able to use.