Posts: 14
Threads: 4
Joined: Apr 2011
I want a script (Or service provides) to integrate html on my website, giving the server status, ex 18/20 (18 players out of 20) ... etc.
I tried, I could not find!
thx
Posts: 3,462
Threads: 72
Joined: Jun 2010
Posts: 14
Threads: 4
Joined: Apr 2011
13 Apr 11, 02:35AM
(This post was last modified: 13 Apr 11, 02:36AM by sentenza.)
too complicated for me, thank you.
I would have made script that has a setup
Posts: 951
Threads: 23
Joined: Jun 2010
No offense but I don't think you would have made a script at all. O.O
Posts: 14
Threads: 4
Joined: Apr 2011
Is there a site like GameTracker compatible with servers assault cube?
Posts: 1,436
Threads: 7
Joined: Jun 2010
13 Apr 11, 04:55PM
(This post was last modified: 13 Apr 11, 04:55PM by tempest.)
None that I'd know of.
Some time ago, I saw a much simpler PHP script around, but I can't seem to find it. Help, anyone?
EDIT:
Found it, but it was written a long time ago and is most probably not compatible with 1.1 servers.
Posts: 14
Threads: 4
Joined: Apr 2011
I found his
http://assaultcube.us.to/ for me its been the case
Posts: 586
Threads: 24
Joined: Jun 2010
The protocol is basic enough, there's tons of available scripts (see above) that use it and can be extended by anyone with some basic knowledge of scripting - in the respective language the proof-of-concept examples are in.
It's really not that hard .. if you gave us the inclination your leaning toward (meaning language-of-choice) I bet someone would be willing to provide some base-code; it seems there's nothing freely available now - but it sure wouldn't hurt to get the
demand up, there's definitely more people than just you aching for it.
I see at least 2 good places to start above ..
acRunner und
simple-PHP-poll
Posts: 14
Threads: 2
Joined: Jun 2010
17 Apr 11, 01:52AM
(This post was last modified: 17 Apr 11, 01:34PM by MrYanDao|W$N|.)
MrYanDao|W$N| agrees to what flowtron said :D
I've started on my own server status "project" again.
Let me give you a hint.
Download acRunner and analyse the script.
$ac = new AssultCube();
$d = $ac->getServerInfo($ip, $port, false);
foreach($d['players'] as $pl) {
{
$p .= "<td>".$pl."<td>";
}
$f= json_encode($d);
Goodluck(:
EDIT:
@flowtron : Haha ! Sorry ! I just follow the format of acRunner. And it appears to be
Didn't notice that! Thanks anyway.
EDIT EDIT :
Sorry it isn't acRunner !
It's a PHP server browser script by the same author
http://forum.cubers.net/user-7563.html
Posts: 586
Threads: 24
Joined: Jun 2010
17 Apr 11, 02:17AM
(This post was last modified: 17 Apr 11, 02:24AM by flowtron.)
typo? "AssultCube" should be "AssaultCube" !?!?
great input though MrYanDao :-) Thanks!!
Posts: 3,462
Threads: 72
Joined: Jun 2010
Fiz has a way with php, not enlish.