sl.dta remove
#1

Engine/Network/CommunicationInterface.cpp

int CCommunicationInterface::ReadInfo( LoginServer* stLogin )
{
{
sprintf(stLogin[0].szAddress, "your ip"); //edit to your server port/ip
sprintf(stLogin[0].szPort, "%d", port); //pwesty sl.dta removal
}

return 1;
}

Credits: pwesty

Dont forget to change ip here:

Line: 784

{
TempIP.SetIP( 127, 0, 0, 1, USA);
m_vecIPFilter.push_back( TempIP );
}

 

#2

I'm not able to compile when I add the code

 

 

#3

post the errors that the compiler show !

#4

Did you deleted fully function ReadInfo and replaced?

What error?

must be like here: 2

#5

Tested, can confirm that it works! 

Rondo explained well how it works, probably you just need to configure correctly the variables /index.php?/profile/20320-netoforlan2/&do=hovercard" data-mentionid="20320" href="/index.php?/profile/20320-netoforlan2/" rel="">@netoforlan2

Example:

//Engine/Network/CommunicationInterface.cpp
int CCommunicationInterface::ReadInfo( LoginServer* stLogin )
{
int port = 4001; //change here the port, i've just created a simple var that store the port value

sprintf(stLogin[0].szAddress, "127.0.0.1"); //edit the "127.0.0.1" with your ip, leave the ""
sprintf(stLogin[0].szPort, "%d", port); //pwesty sl.dta removal

return 1;
}

Then check "CommunicationInterface.cpp"

Line: 784

{
TempIP.SetIP( 127, 0, 0, 1, USA); //here you can change 127, 0, 0, 1 with your ip like --> TempIP.SetIP(93, 128, 450, 34, USA);
m_vecIPFilter.push_back( TempIP ); //don't touch this line
}

Hope to have helped ? 

 

#6

I managed to solve thank you all



Forum Jump:


Users browsing this thread: 1 Guest(s)