Neo Source

disconnected"?

int ConnectLoginServer(const char *szAddress, UINT nPort=RANPARAM::nPort);

add line in param.ini

nPort = any port number same as login config (server)
 
Good document, but there are still many problems waiting for a solution.

n - Neo Source - RaGEZONE Forums
 
any body encounter this problem...?
raffy0809 - Neo Source - RaGEZONE Forums

some info:
I'm using my own compile file and Im encounter this error.. and download Sir ramispo share but still no luck.. test running the server
check list:
using neo cfg
OBDC check
firewall/anti-virus check
'
.
.
.
.
never mine problem solve

like BDO said..

we find way...

^^
 

Attachments

  • error - Neo Source - RaGEZONE Forums
    error.webp
    28.7 KB · Views: 988
Last edited:
please share the working " GUI " and " Comment.ini " i try to use the two files from needed files in source same not compatible

see my testing result

ke05lZ3 - Neo Source - RaGEZONE Forums
 
Last edited:
lol.
where skill 237.? i see 217 only.

mine got 237..can u check properly??

please share the working " GUI " and " Comment.ini " i try to use the two files from needed files in source same not compatible

see my testing result

ke05lZ3 - Neo Source - RaGEZONE Forums

get the gui and comment.ini on source.rar.. folder "needed files"
 
Open this file for CFG. at will change you.
Code:
SC/netserverLib/s_CServer.cpp
SC/netserverLib/s_CServer.h
SC/netserverLib/s_CAgentServer.cpp
SC/netserverLib/s_CFieldServer.cpp
SC/netserverLib/s_CLoginServer.cpp
SC/netserverLib/s_CSessionServer.cpp

Example:
s_CServer.cpp
    nRetCode = CCfg::GetInstance()->Load(_T("Session.cfg"));
    nRetCode = CCfg::GetInstance()->Load(_T("Login.cfg"));
    nRetCode = CCfg::GetInstance()->Load(_T("Field.cfg"));
    nRetCode = CCfg::GetInstance()->Load(_T("Agent.cfg"));
s_CServer.h
    int    SessionStartCfg();
    int    LoginStartCfg();
    int    FieldStartCfg();
    int    AgentStartCfg();
s_CAgentServer.cpp
    if (AgentStartCfg() == NET_ERROR) return NET_ERROR;
s_CFieldServer.cpp
    if (FieldStartCfg()    == NET_ERROR) return NET_ERROR;
s_CLoginServer.cpp
    if (FieldStartCfg()    == NET_ERROR) return NET_ERROR;
s_CSessionServer.cpp
    if (SessionStartCfg()    == NET_ERROR) return NET_ERROR;    

    
if you want or follow Param.ini want to use Port.
SC/MfcExLib/
RANPARAM.cpp
RANPARAM.h
remove or use Port
    UINT                nPort                = MAX_NPORT;
-> end etc

SC/netclientLib
s_NetClient.cpp
    int CNetClient::ConnectLoginServer( const char *szAddress, UINT nPort)    // use port in param
    int CNetClient::ConnectLoginServer( const char *szAddress, int nPort)    // use port in server/cfg files
s_NetClient.h
    int        ConnectLoginServer(const char *szAddress, UINT nPort=RANPARAM::nPort);    // use port in param
    int        ConnectLoginServer(const char *szAddress, int nPort=6001);    // use port in server/cfg files

sorry, for a very bad english.
 
Back