why is this happening ?err:connection with the server is interrupted

07/19/2022 20:10 bighacko#1
so i have been trying to run hybrid 5017 source
but everytime i try to login
i get error :connection with the server is interrupted ,please relogin
iam using conquer loader v5.2
and local ip 192.168.x.x in config
iam sure ports are excatly the same in the loader and the source
iam getting no excepetions in the console too
so why is this error happening ?

pls help:handsdown:
07/19/2022 21:22 Spirited#2
Quote:
Originally Posted by bighacko View Post
so i have been trying to run hybrid 5017 source
but everytime i try to login
i get error :connection with the server is interrupted ,please relogin
iam using conquer loader v5.2
and local ip 192.168.x.x in config
iam sure ports are excatly the same in the loader and the source
iam getting no excepetions in the console too
so why is this error happening ?

pls help:handsdown:
Are you literally using "192.168.x.x" in your config?
07/19/2022 21:33 bighacko#3
Quote:
Originally Posted by Spirited View Post
Are you literally using "192.168.x.x" in your config?
thanks for responding
no i got my ip from cmd ipconfig
it's 192.168.1.6
07/19/2022 23:36 Spirited#4
You shouldn't need to use ConquerLoader for 5017. Server.dat should be in plain text for you to modify. But if you're having problems connecting, then check your firewall settings. You may need to add an exception for the ports you want open.
07/20/2022 00:54 bighacko#5
ok ...i changed the ip in server dat however i got error
("server.dat is damaged or failed to open ,please reinstall the game")
so iam using conquer loader for now
i turned firewall off completely
yet still the same the error
i have another 5017 sources that works on the same clients aero/arco
but idon't get why hybrid doesn't
__________________________________________________ ____
if (Database.IsValidAccount(Client, ref Client.Identifier))
{
Console.WriteLine("ok");
if (Kernel.AuthPool.ContainsKey(Client.Identifier))
{
Kernel.AuthPool[Client.Identifier] = Client;
}
else
{
Kernel.AuthPool.Add(Client.Identifier, Client);
}
Client.AuthPhase = AuthPhases.AuthComplete;
Sender.Send(PacketBuilder.AuthResponse("192.168.1. 6", Client.Identifier, 255, 5816));
}
else
{
Console.WriteLine("no");
Sender.Disconnect();
}

__________________________________________________ ______
i think the error has to do with this code
i added these console statements ok/no:feelsbadman:
and no gets printed in the console
so the statement in red is never true and disconnect() is called :thinking:
iam no coder so can you help
ty
07/20/2022 04:26 Spirited#6
If you run the following command in a command prompt window, do you see the ports you're expecting in the LISTENING state?

Code:
netstat -anp TCP
Optionally, you can go to Resource Monitor instead (search in start menu) and go to the Network tab. Should be under Listening Ports.
07/20/2022 15:54 bighacko#7
Quote:
Originally Posted by Spirited View Post
If you run the following command in a command prompt window, do you see the ports you're expecting in the LISTENING state?

Code:
netstat -anp TCP
Optionally, you can go to Resource Monitor instead (search in start menu) and go to the Network tab. Should be under Listening Ports.
both ports 9958,5816 are listening ..
[Only registered and activated users can see links. Click Here To Register...]
07/20/2022 16:59 thisismyaccountokay#8
Have you set a breakpoint on the disconnect and looked at the call stack to figure out why it's failing?
08/08/2022 16:26 bighacko#9
i tried using windows 10 32 , windows 7
still didn't work really
08/08/2022 18:45 Spirited#10
Quote:
Originally Posted by bighacko View Post
i tried using windows 10 32 , windows 7
still didn't work really
Version of Windows shouldn't matter unless you're running something unsupported.

Just looked over your code example... must have missed your description below the image. It sounds like you may not have your database set up correctly. Are your database connection strings correct?
08/09/2022 01:15 bighacko#11
Quote:
Originally Posted by Spirited View Post
Version of Windows shouldn't matter unless you're running something unsupported.

Just looked over your code example... must have missed your description below the image. It sounds like you may not have your database set up correctly. Are your database connection strings correct?
thanks spirited :handsdown:
i'm using the database from the original thread ..its flatfile so i don't have to connect to db
is that right :confused:
____________________________________________
original thread
[Only registered and activated users can see links. Click Here To Register...]

the db
[Only registered and activated users can see links. Click Here To Register...]
08/09/2022 01:20 Spirited#12
Quote:
Originally Posted by bighacko View Post
thanks spirited :handsdown:
i'm using the database from the original thread ..its flatfile so i don't have to connect to db
is that right :confused:
____________________________________________
original thread
[Only registered and activated users can see links. Click Here To Register...]

the db
[Only registered and activated users can see links. Click Here To Register...]
Oh, I see. If that's the case, have you tried debugging the server and stepping into the IsValidAccount method to see why it's returning false? Aka. if it can't find the file or if it's returning a bad password match? That could help you narrow down why it's failing. The original thread may also help you with questions that've already been asked.
08/12/2022 03:10 bighacko#13
Quote:
Originally Posted by Spirited View Post
Oh, I see. If that's the case, have you tried debugging the server and stepping into the IsValidAccount method to see why it's returning false? Aka. if it can't find the file or if it's returning a bad password match? That could help you narrow down why it's failing. The original thread may also help you with questions that've already been asked.


it turned out to be a dumb error
kinshi database comes with no accounts created
as soon as i made an account it worked
i thought logging in creates an account like other sources
turns out not:rolleyes:
ty
08/12/2022 08:39 Spirited#14
Quote:
Originally Posted by bighacko View Post
it turned out to be a dumb error
kinshi database comes with no accounts created
as soon as i made an account it worked
i thought logging in creates an account like other sources
turns out not:rolleyes:
ty
Sweet! Glad it was something simple. Yeah, a lot of sources actually don't use that hack. It was a way of getting around not knowing the password encryption back then. Have fun!