Liberty Unleashed

Scripting => Script Releases => Topic started by: Thijn on October 25, 2010, 08:16:21 pm

Title: PHP Query
Post by: Thijn on October 25, 2010, 08:16:21 pm
Liberty Unleashed PHP Query

Description
This is an Query script written in PHP to query your server and display the information (for example) on your website.
It comes with an basic example which displays the hostname, players, max players, game mode.
I've also added an example which will display an Live Map and the players positions.

For an Live Example click here (http://thijn.vrocker-hosting.co.uk/LU/) for the normal Query, and here (http://thijn.vrocker-hosting.co.uk/LU/map.php) for the Live Map.

Features
- Query anything you need, and from any server you want!
- Display an Map showing players and their position

Download
Latest version: PHP Query 1.0 (http://thijn.vrocker-hosting.co.uk/files/lu/LU_Query.zip)
Skin Files: Skins (http://thijn.vrocker-hosting.co.uk/files/lu/Skins.zip)
Title: Re: PHP Query
Post by: niCe on October 25, 2010, 11:24:22 pm
Seems like TeamID, Kills, Deaths and Score is always returned as 0.
Title: Re: PHP Query
Post by: Thijn on October 26, 2010, 07:45:12 am
Seems like TeamID, Kills, Deaths and Score is always returned as 0.
Yeh thats an scripting issue I thought
Title: Re: PHP Query
Post by: xxxMDjxxx on March 25, 2011, 09:14:41 am
Yea this is great!
Im running it on www.anticefur-kamera.tk (http://www.anticefur-kamera.tk)
Ive added refresh on 1 second and now you can see the dots moving :D
Only thing i couldnt achieve is when you point at a dot to se data, the data dissapears since the whole page is refreshing...
I tryed to add it to frames to only refresh the map but i had no sucsess...
Im actualy good at php but this one was giving me problems for a few hours :p
could you try making that.....?
Title: Re: PHP Query
Post by: Thijn on March 25, 2011, 12:04:21 pm
You could do that using ajax, since it only updates the coordinates of the blips.
I'll make it when I have some time.
Also, I would recommend to put down the refresh to 5 seconds or something like that to avoid lagg or your hoster blaming you for high bandwidth usage ;P
Title: Re: PHP Query
Post by: Orpheus on March 25, 2011, 04:19:25 pm
Or set a variable when a player is highlighted fr data, and pause or don't fire the refresh.
so if the variable isn't set then refresh, otherwise display data, it would stop the map updating whilst the user is highlighting a players dot and then make it fire and deset the variable when you scroll off the player dot.

Regards Orph
Title: Re: PHP Query
Post by: xxxMDjxxx on March 25, 2011, 08:06:24 pm
You could do that using ajax, since it only updates the coordinates of the blips.
I'll make it when I have some time.
Also, I would recommend to put down the refresh to 5 seconds or something like that to avoid lagg or your hoster blaming you for high bandwidth usage ;P

I found about that on google i tryed some ajax codes but... its been about 2 years since i last even looked at php :p
And i wont have problems with my hoster, since i have my own server, so im the hoster ...
Title: Re: PHP Query
Post by: Ankris on October 29, 2015, 08:49:34 pm
*epic bump*

Link/subdomain down.
Title: Re: PHP Query
Post by: Thijn on November 09, 2015, 06:25:09 pm
(http://files.thijn.ovh/img/a6af5e3fb6d60044ae74e4cb3a681315/LU_Query.zip) (http://files.thijn.ovh/download/a6af5e3fb6d60044ae74e4cb3a681315/LU_Query.zip)
(http://files.thijn.ovh/img/6d17c513e78d3d6b8dc6517da850c8d4/Skins.zip) (http://files.thijn.ovh/download/6d17c513e78d3d6b8dc6517da850c8d4/Skins.zip)