Tripwire Interactive Forums

  • Please make sure you are familiar with the forum rules. You can find them here: https://forums.tripwireinteractive.com/index.php?threads/forum-rules.2334636/
This is probably a good question for Marco since he knows mostly how ServerPerks works but currently I'm having trouble setting up libHTTP4 to work with ServerPerks so far all I know is I need to add some new vars to ServerPerksMut then I need to spawn HttpSock.

So far all I know is to get someones stats I need to do something like this
Code:
Get("http://"$Mut.RemoteDatabaseURL$FMXServerPerksMut(Mut).HTTPFolder$ToSave[0].Name$".txt")
and to save someones stats to a tmp file is something like this
Code:
Post("http://"$Mut.RemoteDatabaseURL$FMXServerPerksMut(Mut).HTTPFolder$ToSave[0].Name$".txt.tmp", ToSave[0].GetSaveData());
So far that all I really know, what's confusing me on this I have no idea how to make it call get when a new player joins and get his stats