here is the full original leak's db
https://drive.google.com/file/d/1kantwSc2OfRrrF7zMEMgtEo5KZTNwMb4/view?usp=sharing
it has some extra accounts / and players and im not sure but it looks like the npc server is logging into accounts to play the game, but i have found after a bit of this
Screenshot by Lightshot
i have found that
1. the ip is in a file named lobby_info.txt
2. lobby_info.txt is inside tables\client_table.sdb
3. the game is written in delphi and i dont know poop bout delphi
so here we go on what i found
so its doin some weird stuff to call wsock connect but i could probably make a hook but the problem is ive tried forcing the ip and its getting weird results im not sure its using the right port tho now that i think about it ill have to check that next. if i follow the structure here
https://docs.microsoft.com/en-us/windows/win32/api/ws2def/ns-ws2def-sockaddr_in
then
Screenshot by Lightshot that should be the port
but assuming its not and that its using their default ports i just change the ip tho and this is what i see
Screenshot by Lightshot
i change it to this
Screenshot by Lightshot
i probably didnt need to go that overkill since the second one before last is the "edx" register and edx -16 is passed to connect which is done here
http://prntscr.com/xqg985
this goes to here which calls the wsock connect i think if i made a hook i would jack the poop here its a sexy spot
http://prntscr.com/xqgauq
http://prntscr.com/xqgcg4
http://prntscr.com/xqgiwg
from what i have seen it looks like we need a sdb packer/unpacker to be made first since the put the connect info in there and the reason a hook is little hard is cause its got some weird calls thru the delphi library stuff and also when i just change the ip manually it some how corupts the poop and im zero terminating my string and its smaller than the string im replacing and ipaddr should be char[15] otherwise i have no idea why its padded with 0's so it should be fine but some how it has a problem. but im gunna test if its the port now i just noticed that poop
i really want this game working haha
i got the client to connect now the port was actually not in the place i expected it it was a bit above the area there
http://prntscr.com/xqhkzb
doing that got this on the server
http://prntscr.com/xqhmlq
well its connecting now then logging out after doing nothing.
so ill be working on it a bit more now dam thot i was close ha