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.^^

 



Messages In This Thread
[No subject] - by Nikolee - 10-03-2014, 08:00 PM
[No subject] - by zicke - 10-03-2014, 09:11 PM
[No subject] - by Nikolee - 10-03-2014, 09:52 PM
[No subject] - by Nikolee - 10-03-2014, 10:43 PM
[No subject] - by zicke - 10-03-2014, 11:57 PM
[No subject] - by Nikolee - 10-04-2014, 01:24 AM
[No subject] - by zicke - 10-04-2014, 11:07 AM
[No subject] - by Nikolee - 10-04-2014, 05:36 PM
[No subject] - by zicke - 10-05-2014, 12:55 PM
[No subject] - by Wizatek - 10-05-2014, 02:10 PM
[No subject] - by zicke - 10-05-2014, 03:52 PM
[No subject] - by Nikolee - 10-05-2014, 04:36 PM
[No subject] - by fabi202cool - 10-26-2014, 12:52 AM
[No subject] - by Nikolee - 10-26-2014, 01:00 PM
[No subject] - by fabi202cool - 10-26-2014, 03:06 PM
[No subject] - by Nikolee - 10-27-2014, 09:36 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)