LoginServer.exe
{call dbo.Session_SaveAccount(?,?,?,?,?,?,?)}{call dbo.SB_LogBulkPerformance(?,?,?,?)}
Attachment 160100
Printable View
LoginServer.exe
{call dbo.Session_SaveAccount(?,?,?,?,?,?,?)}{call dbo.SB_LogBulkPerformance(?,?,?,?)}
Attachment 160100
we are waiting for a better repack...hope someone to make a repack of the files or a portable server for test ..
Some info:
ShopServer runs properly if gtx_servers section is commented out
SBMobile is not missing anything from the config. There are 3 binaries for this server (1 in the exe folder and 2 more in the fix folder).
Binary from fix/2 folder seems to be totally broken (?) so you can choose to use the binary from the fix/3 folder with the config.json that is currently in the exe folder or you can use the original binary from the exe folder but then you need to change your config.json to use the format from config.json_ file (once you open it you will see the difference).
Someone said about missing services and/or binaries (ID 7/8). These are existing, but the config.json for SBServer is incorrect.
7 => MatchGroupID/MatchServiceID
8 => ChatGroupID/ChatServiceID
SBServer must be configured with correct chat relay id (original files use 0 in the chat config but 1 in the sbserver config)
SBServer also has a switch for its role so it can be duplicated and 1 will be the Match server and the other will stay the world server.
You can also set all the ips to your lan ip as in some places it binds and other places uses only for connecting, to avoid confusion and errors of connection like @hemaprince had just set all of them to your lan one.Code:"role" :
{
// Whether to enable world server mode.
"role_world" : true
,
// Whether to enable match server mode.
"role_match" : false
,
// Whether to enable cross-world server mode.
"role_cross_world" : false
}
I haven't tested anything else yet so don't know if everything works with the above changes but for now there are no other errors than the SBLog server (event with those dummy procedures above, there are still a lot of them missing and some of them need to create tables as well and so on).
Note: CPU usage is very low and only the SBServer uses about 3.5gb ram (so right now 2x3.5 with match and world server). Maybe there are some configs that make this match server ignore loading all the map data and such so it can use less ram.
thanks for information you provide @YesOfCourse , i'll try with it asap
i want to add that cross world server and match server maybe related with SB Server but with another configuration and some addtional paramter to run ( i assumed this becuase ther is already file called config-sw.json which tell you that is a config for crossworld server)
for mobile server i dnt think we need it yet cuz we already dnt have the apk version o the game :) , also when copy fix/3 there class packet not found or something like that at relay server appear
to prevent SBServer from loading all maps go to sbserver/script/GeoDef.jsonand comment or remove lines of map you dnt want
for SB Server still the error [LoadGrid] Cube[resourceID:XX] does not exists
@hemaprince i am sorry to say it,i did as you say,but i also had failed,emu also have some log error,and the client also can't connect to emu at the server-login window.
maybe i did something wrong.
LS "listen_address" : "0.0.0.0:12567"
WS "listen_address" : "0.0.0.0:12557"
SB "listen_address" : "0.0.0.0:16000"
Do not modify!!!!
Automatic acquisition IP network card
Can enter the game?
Tell me in which sql table to create a new account?
I've been testing some more and the only client I was able to properly test (and seems to be the correct version/protocol) and reach the actual authentication on the login server is the official THA client.
After changing auth config in the login server and logging in with this client, the auth process successfully starts and sends the request just need to figure out the expected response data and then it might work.
Here is the request:
Code:<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
<soap12:Body>
<ws_authen_universal_Platform_return_map_by_Username xmlns="http://tempuri.org/">
<strUsername>admin</strUsername>
<strPasswordMD5>e10adc3949ba59abbe56e057f20f883e</strPasswordMD5>
<strUserIP>192.168.0.80</strUserIP>
</ws_authen_universal_Platform_return_map_by_Username>
</soap12:Body>
</soap12:Envelope>
Here is the format I've put together for the response on the auth:
The above response data is incomplete and some parts might be incorrect as well. The login server will still close your session without the correct data, which I haven't found yet, after this you will still get the world server list info for the client and see the servers as available but since your session is closed by login server, when you attempt to join the world server it will also fail and give an error code 32(?). Unfortunately I don't have the tools to debug the login server to see the expected response.Code:<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://soap/envelope/">
<soap:Body>
<ws_authen_universal_Platform_return_map_by_UsernameResponse>
<ws_authen_universal_Platform_return_map_by_UsernameResult>
<diffgr:diffgram xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:diffgr="urn:schemas-microsoft-com:xml-diffgram-v1">
<NewDataSet>
<result diffgr:id="result1">
<result>true/false</result>
<data>(?)</data>
<errorcode>(>0;UID/<0;error)</errorcode>
<errormsg>Error Message</errormsg>
</result>
<result diffgr:id="result2">
<IsBan>true/false</IsBan>
<UID>(?)</UID>
<RefName>(?)</RefName>
<IsExcusive>true/false</IsExcusive>
</result>
</NewDataSet>
</diffgr:diffgram>
</ws_authen_universal_Platform_return_map_by_UsernameResult>
</ws_authen_universal_Platform_return_map_by_UsernameResponse>
</soap:Body>
</soap:Envelope>
Edit: Added an image with everything running only the missing log procedures are throwing errors and the incorrect auth. Without the auth returning correct data, login server closes the socket (CLOSE_BY_LOGIN_SERVER_GRACEFULLY), world list server will not get the required response either (IOCP_READ_BYTES_ZERO) and world server will not get the required data so it calculates incorrect hash and so on.
Image:
Attachment 160132
Code What filePut that directory????
in my opinion the files can be easy changed,i`m sure when they did the release they changed ports or earsed lines of configs....something is here..we need to figure out a fix for this and hope to get it...i hope someone will release an ready configured files working in localhost ipis...i`m still trying to do fixes and isnt easy at all.