Author Topic: Trouble getting "sv_cheats 1" to work on dedicated  (Read 4601 times)

Vector_Matt

  • Posts: 732
  • Turrets: +2/-1
Trouble getting "sv_cheats 1" to work on dedicated
« on: August 24, 2006, 04:02:44 pm »
I'm trying to get cheats allowed on a lan server so I can test some things out. When I try to use a cheat it says that cheats are not allowed, when I log in as an admin and try to enable it, it says that sv_cheats is read only. I have "sv_cheats 1" in my server.cfg file and it still won't allow cheats (I have confirmed that it does indeed read the .cfg file). I'm using the latest version of game.qvm and Tremded.exe form TJW's site. If anyone knows what Might be wrong, please tell me.

server.cfg
Code: [Select]
// Tremulous decicated server config
// by the Tremulous Infobase
//
// http://www.tremulous.info
//
// version 1.1


// server name & loading screen

set sv_hostname "[Blade] Tremulous" // server name in server list
set g_motd "FF, no swearing." // message at connection screen


// server password

set g_needpass 0 // toggle password needed to join the server
set g_password "" // server password


// reserved slots

set sv_privatepassword "test" // set password test -> at client to use slot
set sv_privateclients 2 // number of private slots, substracted from
// sv_maxclients

// remote control

set rconpassword "test" // set rconpassword test -> at client to log in


// main configuration

set sv_maxclients 14 // maximum number of clients
set sv_pure 0 // disallow clients with modified content
set sv_allowdownload 0 // allow downloads from the server
set sv_minrate 5000 // Minumum rate for connected clients
set sv_maxrate 25000 // Maximum rate for connected clients
set sv_minsnaps 10 // Minumum snapshots for connected clients
set sv_minping 0 // Minumum latency for connected clients
set sv_maxping 250 // Maximum latency for connected clients
// prevents connection of clients with higher ping
set sv_cheats 1

set g_allowvote 1 // enable client map/kick voting by "/callvote" cmd
set g_antilag 1 // serverside antilag feature
set g_initialmaprotation rotation1 // following the first map, start this rotation
set g_mincommandperiod 1000
set pmove_fixed 0


// gameplay specific configuration

set timelimit 60 // after 60 minutes, the game will end as a draw
set g_suddendeathtime 55 // after 55 minutes, all build points are removed
set g_teamforcebalance 1 // forces each team to have a similar number of players
set g_friendlyfire 1 // teammates may damage each other
set g_humanBuildPoints 100 // Number of buildpoints for human team, default 100
set g_humanMaxStage 2 // Maximum human stage (s1=0, s2=1, s3=2)
set g_humanStage2Threshold 0 // threshold for humans to reach stage 2, default 20
set g_humanStage3Threshold 0 // threshold for humans to reach stage 3, default 40
set g_alienBuildPoints 100 // Number of buildpoints for alien team, default 100
set g_alienMaxStage 2 // Maximum alien stage (s1=0, s2=1, s3=2)
set g_alienStage2Threshold 0 // threshold for aliens to reach stage 2, default 20
set g_alienStage3Threshold 0 // threshold for aliens to reach stage 3, default 40
set g_gravity 800 // gravity setting, default 800


//start this map first

map niveus

Hydra

  • Posts: 170
  • Turrets: +1/-1
Trouble getting "sv_cheats 1" to work on dedicated
« Reply #1 on: August 24, 2006, 04:05:48 pm »
think u have to type the sv_pure 0, then sv_cheats 1. but im not 100% sure. and the server.cfg doesnt always work, like i cant get the alien/human build points to work, i kno its the right code cose it works in the console.
img]http://img386.imageshack.us/img386/735/mdcuserbartemplatecylh3.jpg[/img]

vcxzet

  • Guest
Trouble getting "sv_cheats 1" to work on dedicated
« Reply #2 on: August 24, 2006, 04:29:41 pm »
if you write sv_pure 0 you will let anyone use their own cgame files
(aimbots custom huds auto shooter etc.)

Vector_Matt

  • Posts: 732
  • Turrets: +2/-1
Trouble getting "sv_cheats 1" to work on dedicated
« Reply #3 on: August 24, 2006, 04:32:15 pm »
Quote from: "Hydra"
think u have to type the sv_pure 0, then sv_cheats 1. but im not 100% sure. and the server.cfg doesnt always work, like i cant get the alien/human build points to work, i kno its the right code cose it works in the console.
Well I tried "sv_pure 0" then "sv_cheats 1", and it still said sv_cheats was read only. Odd that the cfg file doesn't always work.


Quote from: "vcxzet"
if you write sv_pure 0 you will let anyone use their own cgame files
(aimbots custom huds auto shooter etc.)
Actualy, custom huds can be used with sv_pure 1. Search the forums for "permahair" to find one such example.

Moofed

  • Posts: 89
  • Turrets: +1/-0
    • http://moofed.org
Trouble getting "sv_cheats 1" to work on dedicated
« Reply #4 on: August 24, 2006, 04:36:45 pm »
Start the map using /devmap

Vector_Matt

  • Posts: 732
  • Turrets: +2/-1
Trouble getting "sv_cheats 1" to work on dedicated
« Reply #5 on: August 24, 2006, 04:38:51 pm »
Quote from: "Moofed"
Start the map using /devmap
I would except I want to test the SVN version of the game.qvm, which doesn't show up as a mod and if I devmap it will use the default game.qvm. I could replace the default game.qvm with the new one, however, I still wouldn't know how to allow cheats on a server.

vcxzet

  • Guest
Trouble getting "sv_cheats 1" to work on dedicated
« Reply #6 on: August 24, 2006, 05:40:48 pm »
Quote from: "Vector_Matt"


Quote from: "vcxzet"
if you write sv_pure 0 you will let anyone use their own cgame files
(aimbots custom huds auto shooter etc.)
Actualy, custom huds can be used with sv_pure 1
. Search the forums for "permahair" to find one such example.

but you cant add a human type radar display to aliens, showing equipments and guns  :P

Sniper

  • Posts: 23
  • Turrets: +0/-0
Trouble getting "sv_cheats 1" to work on dedicated
« Reply #7 on: August 25, 2006, 12:23:18 pm »
on ET you would do /devmap mapname to get cheats on try it. Same engine may work.
img]http://wilhelmrahn.googlepages.com/dretch-for-life.png[/img]

vcxzet

  • Guest
Trouble getting "sv_cheats 1" to work on dedicated
« Reply #8 on: August 25, 2006, 12:56:55 pm »
Quote from: "Sniper"
on ET you would do /devmap mapname to get cheats on try it. Same engine may work.

et is using q3+ engine :P