SRCDS Steam group


Remote SRCDS scripts
#1
I am attempting to write a small control panel to strictly manage SRCDS servers, as I figured this would be a big help to the community There are some functions that I have not been able to find but I am entirely certain they are possible. I am curious if anyone can help me out.

I would like to add a function to issue a changelevel ctf_2fort. Obviously I can list all the maps in a specified folder (the maps folder) with the extention .bsp but I need some type of script that will allow me to send the actual changelevel followed by the map name to a specific SRCDS server.

I already have the start, stop, and restart scripts written up and implemented. If there are other scripts/code you guys can help me out with that will add some functionality to this I would greatly appreciate it.

I do not currently have an ETA as I want to pack as many features into this as possible so it can be a free utility for those of us that only run SRCDS servers and don't want to pay a monthly fee for a GCP.
Reply
#2
Just an FYI, I passed a link to this thread to LART.
He might be interested in helping out Smile

EDIT: This is what LART said...
LART Wrote:I have a java rcon libary and could write a small cli program that would run a command and return the resault

EDIT: More from LART, enjoy Smile
He wants to know if this will help at all...
LART Wrote:post this link and command on that form and ask him if this is what he wants.
http://lart2150.com/sourceRcon.zip

java -jar sourceRcon.jar host 27015 password "maps *"
Sending Command: maps *
-------------
PENDING: (fs) cp_castle3.bsp
PENDING: (fs) cp_dangerwillrobinson_beta.bsp
PENDING: (fs) cp_dustbowl.bsp
PENDING: (fs) cp_granary.bsp
PENDING: (fs) cp_gravelpit.bsp
PENDING: (fs) cp_labor.bsp
PENDING: (fs) cp_tooltown_B10.bsp
PENDING: (fs) cp_well.bsp
PENDING: (fs) cp_wolf.bsp
PENDING: (fs) ctf_2fort.bsp
PENDING: (fs) ctf_2fort_classic_v1.bsp
PENDING: (fs) ctf_casbah.bsp
PENDING: (fs) ctf_mach2.bsp
PENDING: (fs) ctf_quarry.bsp
PENDING: (fs) ctf_well.bsp
PENDING: (fs) duel_duel2.bsp
PENDING: (fs) falling_cp.bsp
PENDING: (fs) tc_hydro.bsp
~ Mooga ...w00t? - SRCDS.com on Twitter
[Image: 76561197965445574.png]
Please do not PM me for server related help
fqdn Wrote:if you've seen the any of the matrix movies, a game server is not all that different. it runs a version of the game that handles the entire world for each client connected. that's the 2 sentence explanation.
Reply
#3
Oh that is perfect...from what I can tell *laughs*

I honestly never messed with javascript at all. But yeah, if he can write a small web based client app that would do that I would be forever in debt. I have spent all morning searching around for functions that these commercial GSP CP providers use, such as changelevel, and having an rcon window built in, etc.

On another note, please let him know my clan really appreciates the Hlstats he is working on. We were getting horrid support from Hlstatsx. Whoever was responding to us had very broken english, and the response support tickets seemed like more questions in response to our own that kept us in a loop.

Anyways, thank you! I will keep checking this thread (I about live on these forums anyways right now) if he gets a chance to write that.
Reply
#4
I passed LART a link again Smile
He's actually made a ton of small programs like that, that he uses personally. I've been pushing for him to post them all publicly, but he's only posted pits and peaces.
~ Mooga ...w00t? - SRCDS.com on Twitter
[Image: 76561197965445574.png]
Please do not PM me for server related help
fqdn Wrote:if you've seen the any of the matrix movies, a game server is not all that different. it runs a version of the game that handles the entire world for each client connected. that's the 2 sentence explanation.
Reply
#5
Ok this is a stupid question, but who is LART lol?
Also not to volunteer Masher but he made an amazing control panel. He might be able to ask questions.
realchamp Wrote:
Hazz Wrote:Has someone helped you on these forums? If so, help someone else
Mooga Wrote:OrangeBox is a WHORE.
Reply
#6
LART is a friend of mine (and also my system admin Toungue).
He's built a name for himself in the TF2 server community because of his work on his free HLstatsX mod.

The short story is that HLstatsX charges for orange box support. Because of LART's mod, the free HLstatsX forums have been shut down.

The Long Story:
I was sitting in a coffee shop updating BeetlesMod for my TF2 server and I asked LART weather is would be possible to put up a website with information about our server and such. His response was "ya, I'll see what I can do." Later I sent him off some logs and BAM, Free TF2 starts were born. A cleaner view and such was later added as well as rewards.

EDIT: LART's Forums
~ Mooga ...w00t? - SRCDS.com on Twitter
[Image: 76561197965445574.png]
Please do not PM me for server related help
fqdn Wrote:if you've seen the any of the matrix movies, a game server is not all that different. it runs a version of the game that handles the entire world for each client connected. that's the 2 sentence explanation.
Reply
#7
Yeah, Lart is a god among men. I think he posted a link somewhere on these forums to his free Hlstats. I was paying for the service, but now that I am running multiple game servers that each require their own, I am using his.

If he would release those little scripts and what not he uses personally I would be in heaven.
Reply
#8
He sounds godly lol. Sounds like a really cool guy.
realchamp Wrote:
Hazz Wrote:Has someone helped you on these forums? If so, help someone else
Mooga Wrote:OrangeBox is a WHORE.
Reply
#9
CrimsonGT Wrote:Yeah, Lart is a god among men.

Thankyou, you have no idea how much I love you for that quote...
~ Mooga ...w00t? - SRCDS.com on Twitter
[Image: 76561197965445574.png]
Please do not PM me for server related help
fqdn Wrote:if you've seen the any of the matrix movies, a game server is not all that different. it runs a version of the game that handles the entire world for each client connected. that's the 2 sentence explanation.
Reply
#10
CrimsonGT Wrote:Oh that is perfect...from what I can tell *laughs*

I honestly never messed with javascript at all. But yeah, if he can write a small web based client app that would do that I would be forever in debt. I have spent all morning searching around for functions that these commercial GSP CP providers use, such as changelevel, and having an rcon window built in, etc.
it's java not javascript. you will need java 1.4 or newer to run it. it will have problems with rcon responses that are over 1 packet so anything really big. if there's a lot of maps maps * might not return everything, but for most people it should work just fine. there is a open source java api out there that I could use but i'm lazy and know my api because I wrote it lol.
you can use this to change levels but once again you need to have java installed and working to use it(http://java.com/). If you really want a binary I could try to compile it with gcj.

CrimsonGT Wrote:We were getting horrid support from Hlstatsx. Whoever was responding to us had very broken english, and the response support tickets seemed like more questions in response to our own that kept us in a loop.
ya they are doing some weird stuff. I think the problem with English is because they are mostly(all?) germans so English is not their first language.
Reply
#11
Hey lart, nice thing you got here.

Yeah gotta love european people, german and french people always try to speak their own language first... they don't want to learn english for some weird reason.

I on the other hand am from Europe too (Holland) but who would tell Big Grin
Join the Source Dedicated Server Support Group on Steam Community!
Source Dedicated Server (SRCDS)
Free to join, Live support! (When available)

http://forums.srcds.com/viewtopic/5114
Reply
#12
Drocona Wrote:I on the other hand am from Europe too (Holland) but who would tell Big Grin

Your screen shots aren't in english Toungue
~ Mooga ...w00t? - SRCDS.com on Twitter
[Image: 76561197965445574.png]
Please do not PM me for server related help
fqdn Wrote:if you've seen the any of the matrix movies, a game server is not all that different. it runs a version of the game that handles the entire world for each client connected. that's the 2 sentence explanation.
Reply
#13
:O

That must be old screenshots then, I've got english windows for like more than half a year now Big Grin
Join the Source Dedicated Server Support Group on Steam Community!
Source Dedicated Server (SRCDS)
Free to join, Live support! (When available)

http://forums.srcds.com/viewtopic/5114
Reply
#14
Drocona Wrote:Yeah gotta love european people, german and french people always try to speak their own language first... they don't want to learn english for some weird reason.

If you thought I was faulting them for not being good at English because their German then you misunderstood what I met. I was just saying that their English might not be good because it's not their first language. There's people who have English as their first language but still have not mastered it (like mooga Toungue) it's hard.
Reply
#15
Drocona why would you have English windows if you live in Holland lol?
realchamp Wrote:
Hazz Wrote:Has someone helped you on these forums? If so, help someone else
Mooga Wrote:OrangeBox is a WHORE.
Reply


Forum Jump:


Users browsing this thread: 5 Guest(s)