Digital Paint Discussion Board
Paintball 2: The Game => Paintball 2 Discussion => Topic started by: mRokita on June 25, 2014, 09:50:34 AM
-
Hi!
I had some free time and i wrote a web serverbrowser.
It's available at http://htmldp.com/sb (http://htmldp.com/sb).
Server stats are refreshed every 20 seconds, serverlist is updated every 1 minute.
Enjoy & post your feedback here :)
-
Nice work. One thing, you forgot to add the port to "Join Game".
Edit: You should just show one line of server info and when someone clicks on it, it will pop up a div under it with all info.
-
Where are Arctic servers?
-
Hmm strange looks like they don't respond
EDIT: fixed after application restart
EDIT 2: @rocki: thanks, fixed
-
v1.1
[BUGFIX] Connecting players are displayed now on a grey background.
[FEATURE] You are now able to link a server/make an iframe with its stats. Help page is available at http://sb.htmldp.com/addsb.html (http://sb.htmldp.com/addsb.html)
[FEATURE] Linked map names to their downloads
[FEATURE] The player list is now scrollable, so the table isn't resized when there are more players online.
[FEATURE] Server's IP and port are now displayed.
[FEATURE] You can now access the website from http://sb.htmldp.com (http://sb.htmldp.com)
-
[FEATURE] Global stats added (Current player count and average players online).
-
i would bold the blue against the black or make it a white color. Its hard to see it against the black.
-
[BUGFIX] The app doesnt crash when the list from http://dplogin.com/serverlist.php (http://dplogin.com/serverlist.php) is downloaded as empty because of no connection to dplogin.com.
-
As less rude as possible why would people use this instead of the server browser that comes with the game?
-
As less rude as possible why would people use this instead of the server browser that comes with the game?
Clipz, you have a smartphone, don't you?
-
Clipz, you have a smartphone, don't you?
You have Paintball on your smartphone ?
-
Yeah I have a smartphone but as ic3y is referring to I don't play pball on it.
-
Yeah I have a smartphone but as ic3y is referring to I don't play pball on it.
What if you're stranded in the wilderness and NEED to see who's online. ;)
-
What if you're stranded in the wilderness and NEED to see who's online. ;)
If you're stranded in the wilderness this wont help either - or are you able to pull a mobile transmission tower supplying internet access out of your ***?
-
I just personally think it's a waste of time. Unless you added a friend system and could track and see when your friends play and if they are currently on. Also adding some type of messenger could be cool.
But just another server browser is useless when the game comes with one.
-
If you're stranded in the wilderness this wont help either - or are you able to pull a mobile transmission tower supplying internet access out of your ***?
The joke was lost in translation somewhere in there
-
The joke was lost in translation somewhere in there
Oops, sorry
-
Unless you added a friend system and could track and see when your friends play and if they are currently on.
I'll add a 'last seen playing' function in the next update. I mean something like Yuri's !seen on irc.
Also adding some type of messenger could be cool.
I'll have to run a python script on every pb server to make it real.
-
Not a messenger to message people in game. Something more of if people are on the site you can message them like Facebook has.
-
U mean sth like a shoutbox?
-
No, its a messenger. Once you login to the site you can message other players who are logged in. Do you use facebook? Its a perfect example.
-
I dont think so, i think my sentence is clear, but i will try again for you: If you are lost in the wilderness, you won't have internet access with your smartphone anyway.
That was the joke, it's useless in every situation.
I vote for the messenger that clipz mentioned. IRC is nice, but not overly friendly to the 12yo's that play.
-
I like this sb . Just because I can see who is playing when im on my mobile
-
I like this sb . Just because I can see who is playing when im on my mobile
Thanks, im so happy that its useful for some people (including myself) :)
No, its a messenger. Once you login to the site you can message other players who are logged in. Do you use facebook? Its a perfect example.
Yep, i use fb, but i dont know much about writing web apps, but i'll try to learn python's DJango or PHP ;)
-
Arctic is no longer displayed, i don't really want to waste time on fighting with that.
If you want to see Arctic again, talk to ic3y, not to me
-
Arctic is no longer displayed, i don't really want to waste time on fighting with that.
If you want to see Arctic again, talk to ic3y, not to me
Okay, thanks for the information
-
Okay, thanks for the information
xD
-
Version 1.1 released, it has many great features.
Now it works in a bit different way.
If you dont want to enable javascript (its enabled by default in all the browsers but Lynks, Links etc. ;D ), use this url: http://sb.htmldp.com/index.py?expandall=1 (http://sb.htmldp.com/index.py?expandall=1).
If you want to use it for hidden servers (servers with public set to 0), use a link like this:
http://sb.htmldp.com/index.py?server=SERVER'S_IP:PORT
Example:
http://sb.htmldp.com/index.py?server=htmldp.com:27910 (http://sb.htmldp.com/index.py?server=htmldp.com:27910)
-
Maybe you can remove the website and email links, if they are show "None". And i would link the ip to paintball2:// instead of http://.
-
Maybe you can remove the website and email links, if they are show "None". And i would link the ip to paintball2:// instead of http://.
Done
-
I've started working on the new SB, source and installation tutorial is available at https://github.com/mRokita/WebSB.
I'll add some AngularJS based frontend soon.
Feel free to contribute or install it on your own server.
At the moment, the only thing it provides is API with server list history.
There's no documentation yet, just play with thise urls:
https://sb.mrokita.pl/api/v1/scans
https://sb.mrokita.pl/api/v1/scans/latest
https://sb.mrokita.pl/api/v1/scans/3
https://sb.mrokita.pl/api/v1/servers
https://sb.mrokita.pl/api/v1/scans/latest/?show_players=1&show_variabes=1
https://sb.mrokita.pl/api/v1/scans/latest/?show_players=1&show_variabes=1
https://sb.mrokita.pl/api/v1/scans/latest/5.189.151.21:27920?show_players=1&show_variabes=1
https://sb.mrokita.pl/api/v1/servers/5.189.151.21:27920?show_players=1&show_variabes=1