|
[PHP] AC|Server-Browser
|
|
20 Jun 11, 06:13PM
(This post was last modified: 20 Jun 11 11:58PM by sputnik.)
Post: #1
|
|||
|
|||
|
[PHP] AC|Server-Browser
I was playing around with the "AssultCube" PHP-Class from Fiz,
see: http://forum.cubers.net/thread-2259-post...l#pid43706 and build with it a small PHP-based Server-browser. Since the result is well working, i decided to publish it here. With the AC|Server-browser, you can list the AC-Servers that are currently online and search for online-players. The Application is very basic & lightweight, without js/ajax frameworks, and with minimalistic-style. Screenshots: Server-list: ![]() When you click on a server, you get detailed information: ![]() Online player-search, here searching for "|". Its also possible to make a blank-search, so that all online-players will be displayed ![]() Credits: ![]() It would be great, if clans or people with performant servers could host it. The installation is very easy. First, make sure that "fsockopen" is enabled in your php-configuration. Then just unzip and put the files somewhere in your web-directory - thats it. Download: // EDIT New Version (1.1) Add all AC-Colors / clean code Download (9kb) |
|||
|
20 Jun 11, 06:39PM
Post: #2
|
|||
|
|||
|
RE: [PHP] AC|Server-Browser
Has anyone actually managed to download this???
I get sent to a download site without a download button and it is not possible to download the file from the links on the page :( |
|||
|
20 Jun 11, 06:50PM
Post: #3
|
|||
|
|||
|
RE: [PHP] AC|Server-Browser
Very interesting thing, I'll talk with aerkefiende if it is possible to host it.
|
|||
|
20 Jun 11, 07:08PM
(This post was last modified: 21 Jun 11 10:08AM by sputnik.)
Post: #4
|
|||
|
|||
RE: [PHP] AC|Server-Browser
(20 Jun 11 06:39PM)DES|Anderson Wrote: Has anyone actually managed to download this???its a multiple file-hosting-sites download-page. Just scroll down and choose one hosting site from the list. Or use this direct-link from MediaFire: //EDIT: new DL-link, ver 1.1: Download |
|||
|
20 Jun 11, 07:33PM
(This post was last modified: 20 Jun 11 07:40PM by pwnage{TyD}.)
Post: #5
|
|||
|
|||
|
RE: [PHP] AC|Server-Browser
Very nice indeed!
I put it on a web directory on this link if anyone would like to see it running: http://servers.tearyoudown.com Original code for those who are interested: http://pastebin.com/4u5SdH0q |
|||
|
20 Jun 11, 07:36PM
(This post was last modified: 20 Jun 11 07:37PM by Andrez.)
Post: #6
|
|||
|
|||
|
RE: [PHP] AC|Server-Browser
Looks awesome, sputnik!
+1000 internets for you! PS: use Rapidshare as mirror and then choose FREE DOWNLOAD. It's the most reliable I think. |
|||
|
20 Jun 11, 08:06PM
(This post was last modified: 20 Jun 11 08:07PM by tempest.)
Post: #7
|
|||
|
|||
|
RE: [PHP] AC|Server-Browser
Rapidshare sucks IMO. Mediafire is much better. Problem is, none of those links works for me.
EDIT: Oh lol. Quote:Also, make sure that your browser does not have any addons which disable "send referrer" optionYeah right. Thanks for the link then, Sputnik. |
|||
|
20 Jun 11, 08:09PM
Post: #8
|
|||
|
|||
|
RE: [PHP] AC|Server-Browser
One thing: I know this isn't your problem per say, but I just checked my server on the list and I see this:
ReQ.|XPandora (My color codes are not used often, Note to devs: ADD THESE IN THE EXAMPLE TO THE CFG! ;-D) Could support for this be added Fiz pl0x. |
|||
|
20 Jun 11, 08:42PM
(This post was last modified: 20 Jun 11 09:04PM by tempest.)
Post: #9
|
|||
|
|||
|
RE: [PHP] AC|Server-Browser
If someone gets a flood of warnings (like I did), you may want to apply this diff.
|
|||
|
20 Jun 11, 08:45PM
Post: #10
|
|||
|
|||
RE: [PHP] AC|Server-Browser
(20 Jun 11 07:33PM)pwnage{TyD} Wrote: I put it on a web directory on this link if anyone would like to see it running: http://servers.tearyoudown.comThx for hosting. I hope this wont kill your server.. ;) (20 Jun 11 07:36PM)Andrez Wrote: +1000 internets for you!thanks mate (20 Jun 11 08:09PM)Viper Wrote: Could support for this be added Fiz pl0x.It´s not a problem to update the Class, so that all color-codes will work. If Fiz dont want/dont have time for it, I could make it. |
|||
|
20 Jun 11, 09:30PM
Post: #11
|
|||
|
|||
|
RE: [PHP] AC|Server-Browser
really really nice!
just im waiting for someone to do something that makes you talk to people in AC from a website (like this) without anyone getting lagg or anything :P |
|||
|
20 Jun 11, 09:37PM
Post: #12
|
|||
|
|||
RE: [PHP] AC|Server-Browser
(20 Jun 11 08:42PM)tempest Wrote: If someone gets a flood of warnings (like I did), you may want to apply this diff.Thx for advice. I should check my PHP-logs more often.. I will rework the syntax (especially array-syntax ;) ), perhaps also add the new color-codes and post an updated version here soon. |
|||
|
20 Jun 11, 09:53PM
Post: #13
|
|||
|
|||
| RE: [PHP] AC|Server-Browser | |||
|
20 Jun 11, 10:00PM
Post: #14
|
|||
|
|||
| RE: [PHP] AC|Server-Browser | |||
|
20 Jun 11, 11:58PM
Post: #15
|
|||
|
|||
| RE: [PHP] AC|Server-Browser | |||
|
21 Jun 11, 12:01AM
Post: #16
|
|||
|
|||
| RE: [PHP] AC|Server-Browser | |||
|
21 Jun 11, 12:05AM
Post: #17
|
|||
|
|||
|
RE: [PHP] AC|Server-Browser
Awsome stuff!!! RK should totally put that on this official website
|
|||
|
21 Jun 11, 12:27AM
Post: #18
|
|||
|
|||
|
RE: [PHP] AC|Server-Browser
By the way, sputnik, you should consider to upload it either on Akimbo or Quadropolis. Important stuff like this shouldn't be so "hidden" ;)
|
|||
|
21 Jun 11, 12:31AM
Post: #19
|
|||
|
|||
|
RE: [PHP] AC|Server-Browser
pwned, for very good reasons, I doubt RK would put this on the site.
Or he might just be lazy. |
|||
|
21 Jun 11, 12:35AM
Post: #20
|
|||
|
|||
| RE: [PHP] AC|Server-Browser | |||
|
21 Jun 11, 12:45AM
Post: #21
|
|||
|
|||
|
RE: [PHP] AC|Server-Browser
@pwned, Anvil & others:
Thx for the compliments! I just want to point out that the main work - the PHP-Class to retrieve Server-Infos - was made by fiz. So most of the credits go to him. |
|||
|
21 Jun 11, 01:30AM
(This post was last modified: 21 Jun 11 01:31AM by pwned.)
Post: #22
|
|||
|
|||
| RE: [PHP] AC|Server-Browser | |||
|
21 Jun 11, 05:21AM
Post: #23
|
|||
|
|||
|
RE: [PHP] AC|Server-Browser
Oh dang..
|
|||
|
21 Jun 11, 10:11AM
Post: #24
|
|||
|
|||
|
RE: [PHP] AC|Server-Browser
nice :)
|
|||
|
21 Jun 11, 01:09PM
Post: #25
|
|||
|
|||
| RE: [PHP] AC|Server-Browser | |||
|
22 Jun 11, 08:02AM
Post: #26
|
|||
|
|||
|
RE: [PHP] AC|Server-Browser
I did my own web-based serverbrowser - in python, not PHP though - but IMHO it's not a good idea to make this a publically available service on this website.
The reason being: we really need all the responsiveness & bandwidth we can for the masterserver - I guess you folks will understand that it'd be no good if it led to problems in-game. The forum already takes up a lot of ressources. Also, in such a high-impact application as this (web-serverbrowser) is, for this site to use an unbuffered version would be equal to having a "Go Go Go DDoS"-button blinking away :-P For a time I was actually contemplating building the buffered version from my proof-of-concept python-code - just showing the Top-10 servers (from an editorial list!) and their states as buffered from a (let's say) run-every-10-minutes poll. |
|||
|
22 Jun 11, 02:53PM
Post: #27
|
|||
|
|||
|
RE: [PHP] AC|Server-Browser
ah, i remember ZinK made a more basic one of these in php too
|
|||
|
22 Jun 11, 03:54PM
Post: #28
|
|||
|
|||
|
RE: [PHP] AC|Server-Browser
reminds me my clan search site :P
http://www.youtube.com/watch?v=Ok0HMw-ZZ...re=related |
|||
|
23 Jun 11, 12:16AM
Post: #29
|
|||
|
|||
|
RE: [PHP] AC|Server-Browser
Very, very nice sputnik :)
|
|||
|
23 Jun 11, 09:07PM
Post: #30
|
|||
|
|||
| RE: [PHP] AC|Server-Browser | |||
|
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 2 Guest(s)

![[Image: Pzyep.png]](http://i.imgur.com/Pzyep.png)
![[Image: SZtr6.png]](http://i.imgur.com/SZtr6.png)
![[Image: xduCh.png]](http://i.imgur.com/xduCh.png)
![[Image: xzStH.png]](http://i.imgur.com/xzStH.png)


![[Image: sZzMz.png]](http://i.imgur.com/sZzMz.png)
