General > Off-Topic

server.cfg : I think i havnt made this correctly.

<< < (2/2)

JamminR:
Meg,
Running ded server, in console, I get the following error, even though I have cheats turned on. May not work from command line?
"Can't use cheat command gamemode_set in multiplayer, unless the server has sv_cheats set to 1."

However, not specifying anything about gamemode, mine starts in sandbox mode. The following appears right after LUA/ULib/ULX initializes.
Registering gamemode 'sandbox' derived from 'base'

Not sure what 'base' is or where it comes from.


Griff, you do know you have all your sbox_blah settings commented out, right?
Remove the // from in front of them if you didn't mean for them to be,

Using the FIND command from server console, found the following, searching for 'gamemode'
sv_gamemode and sv_defaultgamemode are probably what you would need to make sure you're setting, if uncommenting out the sbox_ lines doesn't work.

--- Code: ---find gamemode
"gamemode_reload"
 game cheat
 - Reloads the gamemode. This won't transfer new clientside files - so you'll ne
ed to restart the map for connected clients to see the changes.
"gamemode_set"
 game cheat
 - Set the gamemode. Takes the gamemode name.
"sv_gamemode" = "sandbox"
 game replicated
 - The current gamemode name
"sv_defaultgamemode" = "sandbox"
 game archive replicated
 - The default gamemode
"map2"
 game
 - <map> <gamemode> - Start a map with named gamemode instead of the default

--- End code ---

Griff:
i know i have them commented out..... but ok, il try that code you gave me.

JamminR:

--- Quote from: griff ---yes i do know i have the sbox settings blanked. even when theyre not, it just says (unknown command)
--- End quote ---

Sprry. you even said that in your first post.
Running any better?

Navigation

[0] Message Index

[*] Previous page

Go to full version