Raised This Month: $ Target: $400
 0% 

Webbroadcast for non-admins


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Tim
Senior Member
Join Date: Dec 2004
Location: the Netherlands
Old 12-15-2004 , 14:33   Webbroadcast for non-admins
Reply With Quote #1

Webbroadcast for non-admin

What I'd really like to see for SourceMod is a small part of the webinterface being accesible for all-users, which tells them the current status of the gameserver as it is...

Sort of like the queryscript MadCoder wrote a long time ago (MadQuery.php) but with some basic enhancements to make it more efficient.

I've been writing this for Source myself lately, with the added functionality to only carry out a server request if there hasn't been such one in the last 5 minutes. (To prevent serverconsole flooding up with status & stats & player xxxx )
(Demo -not yet finished- here: http://www.un4given.nl )

I know there are already some scripts circulating the web that can output this information, but these can easily clog up your console if called upon multiple times in a small timeperiod.

Adding this feature to SourceMod should make sure everyone is able to set up such a page, giving the end-users a single place (the SourceMod webmanagement page) to configure both their webserver and game server information page.

If you're already building a webbased management page, then adding such a feature should be little to no work. If you're not about to admit this in SourceMod, I'd like to ask if you could then at least tell others how to easily acces the data concerning active players, kills, deaths and current map from the SQL database used to run the management page.


Best regards,
Tim

PS: Searched the forum but couldn't find anything related to this being posted before...
If I overlooked anything feel free to move / delete this

Last edited by Tim; 11-05-2008 at 09:16.
Tim is offline
BAILOPAN
Join Date: Jan 2004
Old 12-15-2004 , 14:37  
Reply With Quote #2

I'll keep this in mind when designing the plugin ability for the web interface.
__________________
egg
BAILOPAN is offline
YankeeDeuce
Member
Join Date: Dec 2004
Old 12-15-2004 , 16:54   Re: Webbroadcast for non-admins
Reply With Quote #3

Quote:
Originally Posted by Tim
Webbroadcast for non-admin

I've been writing this for Source myself lately, with the added functionality to only carry out a server request if there hasn't been such one in the last 5 minutes. (To prevent serverconsole flooding up with status & stats & player xxxx )
(Demo -not yet finished- here: http://www.student.ru.nl/timtebeek/c...x.php?server=1 )
That site looks great, would you mind sharing the code? I would love to have something like that on my page, it's much better than what I have right now.
__________________
www.strafeRight.com
#strafeRight @ irc.gamesurge.net
YankeeDeuce is offline
Tim
Senior Member
Join Date: Dec 2004
Location: the Netherlands
Old 12-15-2004 , 17:29  
Reply With Quote #4

I'll post it here for you in a couple of days...
Do you have PHP & MySQL & udp:// socket support on your webserver?
Needs all the above to be able to create a udp:// socket, get the info,
write the information in the MySQL database and output it to a webpage.
(For instance: a simple Lycos account won't be enough to run it properly)

-Tim
Tim is offline
YankeeDeuce
Member
Join Date: Dec 2004
Old 12-15-2004 , 17:34  
Reply With Quote #5

Yeah, I've got everything I need on my webserver. Thanks a lot, this will look much better than the stuff I have right now.
__________________
www.strafeRight.com
#strafeRight @ irc.gamesurge.net
YankeeDeuce is offline
Tim
Senior Member
Join Date: Dec 2004
Location: the Netherlands
Old 12-21-2004 , 20:46  
Reply With Quote #6

Link (scroll down manually)
http://forums.alliedmods.net/showthread.php?t=36921
Tim 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 22:54.


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