PDA

View Full Version : Simple Web Based AdminMod


Jarlaxle
07-03-02, 10:07am
Alright, here is my question/problem/plea for help. I am going to be running a CS server at a local LAN gaming store. Problem is that I am using a stats program so the players can see where they are ranked, and if I track by WonID then it gets all screwed up with people using different computers. So I decided to just track by names. I am looking for a way I can have a little web interface to add peoples names to the users.ini with only the flag for name holding set. That way people can reserve their name and newbies can't play on their name thereby screwing up their stats. Right now I am using the regular version of Adminmod, but I could switch to the MySQL one if it would be eaiser to implement this solution. So does anyone out there know a link to an example program or some cgi/perl to let me do this?

Jarlaxle
07-03-02, 01:15pm
I suppose I should look a little closer to home for help. Seems my roommate is a php nerd and knows mysql to boot. So now I have my reservation php page that inserts users into the mysql adminmod with nickname reservation as the flag. =) If anyone wants to take a look at it, let me know here.

Jarlaxle

]SK[
24-03-02, 12:39pm
Mind if I take a peek?

whodovoodoo
05-04-02, 08:36pm
Im planning something similar with my server. Once the webserver gets set up and configure CORRECTLY (*sigh*) im going to write a perl wrapper to run the hlds server in. What im going to do it watch STDIN for kills and names then log that to a database, then have a perl cgi script that parses the data into a searchable scoreds database. :D
Theres also SSL built into the webserver, im going to have a password secured and encrypted area for admins to enter admin_commands via web interface. Im very excited about all of this =P

your lucky you know a php dude =P that sort of thing is valuble.

]SK[
05-04-02, 08:38pm
Everyone keeps saying this but nothing gets released :(

GL hope you manage to get it working.

whodovoodoo
06-04-02, 02:02am
Yea, people never realease them because theyre probly very tailored for their own servers. I wont release mine in any official sense, but if people want the source ill give it out. With 5 seconds of perl knowledge you could get it working onyour server. I comment code :D

]SK[
06-04-02, 02:04am
Doh!