need little help with server source
#1

Hey guys, im trying to make the old Source working but got little problem.

After i try to login with the Client the LoginServer send the first Packet for the Channels buuuut

the Packet is wrong, well not wrong but the IP and Port is missing..

 

LoginServer looks okey:

 

But the Packet looks like this:

 

I set the IP also manually in the Source and tried to send it for 8 Channels but it didnt worked.

 

And i checked in the Connector source it send just an empty IP and empty Port but i dont understand the IF-Statement.

for (i = 1; i <= gserver.m_maxSubServer; i++)
{
msg << i;
if (result[i - 1])
{
msg << gserver.m_userList[result[i - 1]->m_subno - 1].m_count
<< result[i - 1]->m_ipAddr
<< result[i - 1]->m_portNumber;
}
else
{
msg << (int)-1
<< ""
<< (int)0;
}
}
I guess the LoginServer and Connector have some trouble , hope anyone got a suggestion and can explain me this if(result[i-1]) statement.^^

 

#2

2009 Files ? 

I see you don't use crypt right ?

the if say if the  i (example it is maxsubserver 5), do the 5 - 1 => 4 

so if i == 4 so result the ip and port number

#3

No i removed the Crypt.

So i have to add some subserver to get the ip & port?

i tried with 8 subserver but result was the same i dont understand why the ip is null and port also..

#4

@zicke lol it actually worked i missed just one setting file loololol

Well i can login but if i start a GameServer i cannot login lol serious [CeNsOrEd]

#5

yes i think so, the server haven't know how much sub servers set (default is every 0 = don't work) Wink

 

billing server running ? without it is possibly the connector do not transfer you to the gameserver

#6

Yeah i actually got the Problem with the BillingServer can i use the one from wizatek? 

To be specific this is my error in Connector but in gameserver all looks okey lol..

#7
Yeah you can use that from wiza  it should work fine, this with no billing etc. are not important it works Wink

#8

Im having trouble atm to enter the Char Selection, if you have any suggestion what it could be? - It says just Timed Out but the Problem is the Packet is wrong.

But i cant find this Packet to change it -,-

#9


Im having trouble atm to enter the Char Selection, if you have any suggestion what it could be? - It says just Timed Out but the Problem is the Packet is wrong.

But i cant find this Packet to change it -,-

All servers running (billing too) ?

How looks your packet ?  

From Channel to Char Selection it is the task from the connector to transfer in the gameserver

#10

The billing server is not important.

remember Eternia Episode 1 ran also without billing server.

 

What yo have to do to make the packets right is undefine all the nightshadow things



Forum Jump:


Users browsing this thread: 1 Guest(s)