Posts: 3 Joined: Tue Jun 05 2012, 04:31AM Registered Member #7242
Hi,
I'm trying to add two more variables that are received from a server; "mission" and "gamever" (See picture). I'm guessing I need to define those in lgsl_class.php but I've not had any luck so far. My PHP-skills are also extremely limited. The page is located here (formatting is wip, working on integrating it with a PHP-Fusion site). Can someone please help me with this?
Btw I had to change the protocol (09) to (06) for ArmA 2 because ArmA 2 now use Gamespy Protocol 3 and not 2, otherwise you get "Server offline/not responding".
Posts: 3 Joined: Tue Jun 05 2012, 04:31AM Registered Member #7242
Thanks. For once there is a easy HTML/PHP solution hehe I got it working now. I was trying {$server['s']['mission']}"; I have modified lgsl_details.php What do you mean by changing the request from "sp" to "sep"?
By default the list only asks for "s", and the zone only asks "sp", which can make things faster, as behind the scenes it allows LGSL to only request what is needed.
Posts: 3 Joined: Tue Jun 05 2012, 04:31AM Registered Member #7242
Thanks for explaining the SEP-part. I can understand its faster if querying many servers simultaneously. I dont think its a problem for me. I'm only running 2 servers with LGSL (ArmA2 CO & Raven Shield). The R6 server is on only occasionally. Both servers and the website is on the same server.