SRCDS Steam group


new to srcds
#1
I just started a server and I was wondering:
1 What do I need to do to give myself adminship?
I was told that I dont need a mod or anything like that (Does it have something to do with rcon??)
2 What's with the configure tab? I cant seem to do anything with it.
3 Admins can do everything without sv_cheats 1 as they can with it right?
4 I can do quite a bit with the console ingame with sv_cheats 1, but I cant seem to figure out what the usage for alpha is, or how to spawn things. Let's say I wanted to spawn a watermelon. How would I do that? Is the code (relatively) the same for, say, a bookshelf or a car? It's obviously possible because I've seen admins do it and it's in garry's mod, but the admins won't say and I don't really want to crack open garry's mod to find the actual code (Nor do I know how).

Thank you

Edit: If someone has already asked these questions (which I'm sure they have, I just cant find it), could you give me a link to it?
Reply
#2
1. At minimum, a rcon_password set in your server.cfg
2. Sounds like a windows GUI thing, so idk, but it's not reccomended to use the windows GUI to run a dedicated server.
3. nope
4. idk
United Strike Marine Corps
USMC-CO| θ (theta)
Reply
#3
It asks for an rcon password no matter what, so how do I use it ingame? I saw 3 commands for it (rcon, rcon_address and rcon_password) but which one do I use to enter the password?
Reply
#4
rcon is used for running the actual command

rcon_address is your server ip

rcon_password is where you specify your password

EXAMPLE!!!

Code:
// Autoexec.cfg
//

//Rcon CVARS
rcon_password 123456

And in your config.cfg for your player settings in CS:S:

Code:
//Config.cfg

rcon_password 123456
rcon_address YOUR SERVER IP HERE!

Then to change the gravity you do this in your client console:

rcon sv_gravity 800

And there you go!

Questions?
Reply
#5
silent bob Wrote:It asks for an rcon password no matter what, so how do I use it ingame? I saw 3 commands for it (rcon, rcon_address and rcon_password) but which one do I use to enter the password?

in your server.cfg, make sure you have a line

rcon_password <password here>

in the game, type

rcon_password <password here>

then you can type

rcon <command here>

For example, if your password was secret and you wanted to be able to change the gravity in game,

you set your rcon password in your server.cfg as such:

rcon_password secret

then in the game you type

rcon_password secret

rcon mp_gravity 200

you only need to type in console your rcon password once per connection.
United Strike Marine Corps
USMC-CO| θ (theta)
Reply
#6
oooooooooooooooooooooooooooooooooooooooooooooooohhhhhhhhhhhhhhhhhhhhhhhhhhkay...​.. That seems.....odd. But I understand it now. I'll have to play around with it. Tomorrow. Thank you.
Reply
#7
Um.. I cant find the server.cfg file, but I found a server.vdf is that the same thing? btw, my server is for hl2dm

Edit: I recently stumbled across a server that gives the players special commands, such as jetpack, a color trail, a sort of grappling hook and some more that I can't really remember. My question is, how is this possible? It obviously doesn't use Mani's mod and I cant even find anything else for dm.
Reply
#8
server.vdf and server.cfg are not the same thing as far as I know. You should find server.cfg in a directory called cfg. If you dont have a server.cfg, then you should make 1.
United Strike Marine Corps
USMC-CO| θ (theta)
Reply
#9
how?
Reply
#10
you open something like notepad, and put the cvars in it you want.. like
Code:
// Autoexec.cfg
//

//Rcon CVARS
rcon_password 123456
the "//" meaning that line is "commented out" in other words them lines won't be read by the server. you should also put any other commands in there like "hostname <name of the server>" and like sv_gravity if you want it to be different, or any other cvar that you want standard on you server... and then just save it as "server.cfg" and save it in the folder that ur server runs from.. not exactly sure with hl2dm, and it should be in the cfg folder.

also.. if you want easier admin, you could use mani mod, then to use rcon you just type in ma_rcon instead of dealing with rcon_password and all that stuff.. just make sure you get the hl2dm version... which im pretty sure he has different versions for hl2dm and css, or else anyone that kills anyone will get punishd for tking.
Reply
#11
Thanks.
As for the commands of the other server that I found, I definitely want to use freeze and unfreeze, so would I just write in the .cfg "alias freeze "ent_fire !picker disablemotion" " and "alias unfreeze "ent_fire !picker enablemotion" ?"
Also, has anyone figured out how to spawn things, such as bookshelves and other prop_physics?
Reply
#12
i dont think you can spawn stuff...

its only possible in garrys mod because that has some custom entities (made in C++) and console commands that get those entities to spawn things and such...
<!--V@lΞИςΞ.electr0n--/>
Reply
#13
i have heard.. that i think with nemod?? maybe you can spawn stuff.. i know i read it somewhere... not much help.. but yea. lol
Reply
#14
Well I asked about it at the beginning of this thread, maybe that's where you heard it?
Anyway, I know it's possible because I've seen it done in regular HL2. In fact, I almost had it a few times in my own server, but it kept saying "prop_physics at (location) is missling a modelname" so all you have to do, I think, is know the modelnames of the props that you want to spawn (C:/................./metal_shard.mdl or whatever) and know the command. I was using the give command. I'll try it again, bu-

Wait...epiphany:
What if the command that that server used was something like an env_shooter? I found out that this server uses a set of commands that one of the admins wrote a long time ago and now it's being added to by one of the current admins and he won't tell anyone.

Also, I can't seem to figure out how to set commands. All I can find is "use this mod" or "use that plugin." I don't want to use someone else's plugin though, I want to write my own, I just need some help getting started. So if someone could post what I need to do to turn "ent_fire !picker disablemotion" into "freeze" so that anyone and everyone in my server can use it, i'd *greatly* appreciate it. After I have that, I can just go from there.
Reply
#15
Ah crap! I was looking around on the SourceMod forums and found someone asking where to go to learn how to make a plugin and it said that they'd have to "learn C++ very well and work with the HL2 DSK."
I'm wondering though, do I need to set up an entire plugin so I can write my own commands or can I just write a few lines into my server.cfg?
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)