Raised This Month: $ Target: $400
 0% 

Server WebControl


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Schinken
Junior Member
Join Date: Mar 2010
Old 05-09-2010 , 11:38   Server WebControl
Reply With Quote #1

Hey there,
i just programmed a Webinterface to control your server, it's basically like a browser version of HLSW (only Source-Servers right now).

I found it the best way to start showing it to the modding community .

It's not even alpha yet, but it works.
You can:
  • View players
  • Kick players
  • View maplist
  • Change map
  • get status report
  • exec configs (only TF2 ETF2L config right now)
It can be found over here: http://webcontrol.planned-chaos.com/

Do you think it's worth continue programming it?
Or do you have any suggestions?

Just tell me here

(As i'm still developing it, it might have some bugs and might have some errors while i test things)

Last edited by Schinken; 05-09-2010 at 11:40.
Schinken is offline
shustas
SourceMod Donor
Join Date: May 2007
Location: London
Old 05-09-2010 , 11:46   Re: Server WebControl
Reply With Quote #2

Depends on how trustworthy you are to put server details and rcon on your website ;)

And your planned-chaos site name doesnt give that trust
__________________
shustas is offline
Schinken
Junior Member
Join Date: Mar 2010
Old 05-09-2010 , 11:53   Re: Server WebControl
Reply With Quote #3

Oh.. i'm sorry :/

I could PM you the details of one of my Servers, so you can test it.
Schinken is offline
aand
Junior Member
Join Date: Dec 2007
Old 05-12-2010 , 00:00   Re: Server WebControl
Reply With Quote #4

Bad RCON password or Server is offline! Warning: session_destroy(): Trying to destroy uninitialized session in /srv/www/htdocs/web140/html/webcontrol/logout.php on line 6 Everything cleaned up! Keep the world green.

I think the server was changing maps
At first I thought it's an error...

Hey this is cool, work on it!
aand is offline
kwski43
Senior Member
Join Date: Mar 2009
Old 05-12-2010 , 05:05   Re: Server WebControl
Reply With Quote #5

Even when I set ip and port and not rcon it does not give me bad rcon error
and btw: I do NOT trust hosted scripts with not published source code
__________________
kwski43 is offline
Schinken
Junior Member
Join Date: Mar 2010
Old 05-14-2010 , 00:25   Re: Server WebControl
Reply With Quote #6

I'm sorry for you who got an error, you could try it again now .

Here is the actual source:

http://webcontrol.planned-chaos.com/webcontrol.rar
Schinken is offline
kwski43
Senior Member
Join Date: Mar 2009
Old 05-14-2010 , 03:17   Re: Server WebControl
Reply With Quote #7

You cannot put:
PHP Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<
html xmlns="http://www.w3.org/1999/xhtml"
before
PHP Code:
<?php session_start();
this will produce "headers already sent" error, use
PHP Code:
<?php session_start(); 
echo 
'<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">'
;
instead
and instead of using seperated files for every action try to do it in one or few files

I'm not so sure if its worth doing, there is already SourceRcon giving same features as you do.
__________________

Last edited by kwski43; 05-14-2010 at 03:20.
kwski43 is offline
Schinken
Junior Member
Join Date: Mar 2010
Old 05-14-2010 , 03:47   Re: Server WebControl
Reply With Quote #8

Quote:
Originally Posted by kwski43 View Post
You cannot put:
PHP Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<
html xmlns="http://www.w3.org/1999/xhtml"
before
PHP Code:
<?php session_start();
this will produce "headers already sent" error, use
PHP Code:
<?php session_start(); 
echo 
'<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">'
;
instead
Okay, i changed it, thank you.

Well, okay, SourceRCON, it's just a Class isn't it? I mean, i am doing nothing else than using a similiar Class and putting it together to a Website.

Ofcourse you could just use SourceRCON if you prefer it ;).
Schinken is offline
kwski43
Senior Member
Join Date: Mar 2009
Old 05-14-2010 , 03:52   Re: Server WebControl
Reply With Quote #9

Quote:
Originally Posted by Schinken View Post
Okay, i changed it, thank you.

Well, okay, SourceRCON, it's just a Class isn't it? I mean, i am doing nothing else than using a similiar Class and putting it together to a Website.

Ofcourse you could just use SourceRCON if you prefer it ;).
Basically I use my own panel with real-time remote console so IT > SourceRCON. If you could implement an telnet console to it(reading from when server has -netconport and -netconpassword set) it would be nice start to enhance your script =)
__________________
kwski43 is offline
dungeon
Senior Member
Join Date: Sep 2009
Old 05-14-2010 , 10:46   Re: Server WebControl
Reply With Quote #10

just tested it by upping the sourc to my webserver.

As soon as i logged in i got

Deprecated: Function set_magic_quotes_runtime() is deprecated in /****/******/public_html/webcontrol/common.php on line 51
dungeon is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 19:42.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode