Client and Server for the persistent WarTech map. Uses WCF to communicate via a RESTful API.
To bootstrap a local copy, you will need to do the following:
- Download VS Community 2017 from https://visualstudio.microsoft.com/downloads/
- Install ".NET desktop development" and "Game Development with Unity" packages in the VS Community 2017 installer
- Open VS, open any .sln file under PersistentMap
- Right click Solution, choose 'Restore nuGet packages'
- Right click references, click Add Reference, add relevant DLL from steam\SteamApps\common\BATTLETECH\BattleTech_Data\Managed (names will match)
- Set 'BattleTechGame' environment variable: Control Panel -> Search for 'environment' -> set to Steam path (as above, plus drive letter)
- Enable your account to bind localhost:8001
netsh http add urlacl url=http://+:8001/warServices user=<USERNAME>
- Add Gzip compression on responses. Check that client can received
- Move IP flood check in WarServices::PostMissionResult to pre-request message inspector (http://mezhov.com/2008/05/data-compression-wcf/)
- "ServerURL" : "http://roguetech.org:8001/",