Some years ago I developed some wad with skulltag ad DoomBulder 2. Now I'm trying to understand the "user login" with zandronum to retrieve the userid of the player in my wad and store some value in custom database.
I launch the test wad on DoomBuilder2 with the values:
+authhostname zandroauthtest.oscillicious.com:16666 +sv_forcelogintojoin 1
Scripts of wad:
Code: Select all
script 1 ENTER CLIENTSIDE
{
ACS_Execute(2,1,0,0,0);
}
script 2 (void)
{
Log(d:PlayerNumber());
if(PlayerIsLoggedIn(PlayerNumber()))
Log(s:"logged in");
else
Log(s:"not logged");
}
thank all !