I am porting the server-multiplayer system in Crysis Wars to my own system as the old system has since disappeared.
I have got so far as adding a test server manually to the server multiplayer list, but however the server's ID isn't being set properly and as a result, the game will not retrieve the gameserver's IP/port.
I have found a function in the game's SDK called 'NewServer' which was the function called when each server was added to the server list when the old system was online.
It also has a few vector arrays which include the server information and its ID, which is likely why the ID was not being set properly (although I had 'set' it via a variable).
`NewServer` is being added 'properly' without Intellisense giving any errors, but however I did have to create a new instance of its class: http://puu.sh/cHZzb/d262481eb6.png
with
1 2
CMultiPlayerMenu::SGSBrowser *pMenu = new CMultiPlayerMenu::SGSBrowser;
pMenu->OnServer(1, svr, false);
but however on compilation of the program I receive 28 errors saying that some functions are already defined in MPLobbyUI.obj.
The complete error list can be found here: http://pastebin.com/YkYh80cs
The library and your application are using different compilation/linking settings; one could be /MT and other /MTd or mixing debug and release versions; or you use different compiler/linker;
If you wish, post an entire zip archive of your project an I will try to fix it for you (and you list all libraries required in the process). I could test only with VS2010.
The application is the game's mod SDK DLL, I have no source-code for the main application.
The project was built under VS2013, so you will not be able to open it, unfortunately.