Toggle Server Mod On/Off from Console

Post your scripting questions / solutions here

Moderator: Moderators

User avatar
tltrude
Chuck Norris
Posts: 4774
Joined: Sun Jul 07, 2002 4:03 am
Location: Oklahoma, USA
Contact:

trigger_push

Post by tltrude »

You could spawn a real big trigger_push pointing upward, but I don't know if it could be turned on/off from the console.

Have you tried it without all the anti-cheat stuff turned on in the server?
Last edited by tltrude on Fri Dec 19, 2003 3:32 am, edited 2 times in total.
Tom Trude,

Image
LiTe
Corporal
Posts: 34
Joined: Sat Dec 13, 2003 1:07 pm
Contact:

Post by LiTe »

I don't run a dedicated server. I only set up a server at lan parties and then we don't use anti-cheat tools.
33rd[SS]SCpl.*LiTe*|AD|SP|

"Casualties many; Percentage of dead unknown; Combat efficiency; we're winning."
- Colonel David M. Shoup
User avatar
tltrude
Chuck Norris
Posts: 4774
Joined: Sun Jul 07, 2002 4:03 am
Location: Oklahoma, USA
Contact:

oh

Post by tltrude »

Hmmm, well it looked like they were on in the qconsole log.
Tom Trude,

Image
LiTe
Corporal
Posts: 34
Joined: Sat Dec 13, 2003 1:07 pm
Contact:

Post by LiTe »

I tried omniscent's idea, but there were two problems. One, config files can't set cvars.Second problem, I was not able to turn the .cfg off.
33rd[SS]SCpl.*LiTe*|AD|SP|

"Casualties many; Percentage of dead unknown; Combat efficiency; we're winning."
- Colonel David M. Shoup
jv_map
Site Admin
Posts: 6521
Joined: Tue Sep 03, 2002 2:53 pm
Location: The Netherlands
Contact:

Post by jv_map »

thread maps/dm/dv_mod.scr

This line is doomed to break your script, as there is no thread called 'maps/dm/dv_mod.scr'. Instead, type:

thread maps/dm/dv_mod.scr::threadname

For debugging purposes it's often best to use iprintln_noloc "text message".
Image
LiTe
Corporal
Posts: 34
Joined: Sat Dec 13, 2003 1:07 pm
Contact:

Post by LiTe »

I did this and it didn't work. The .pk3 is at http://adam.soul-e-art.com/user-dv_mod.pk3

The qconsole.log is included in the .pk3
33rd[SS]SCpl.*LiTe*|AD|SP|

"Casualties many; Percentage of dead unknown; Combat efficiency; we're winning."
- Colonel David M. Shoup
LiTe
Corporal
Posts: 34
Joined: Sat Dec 13, 2003 1:07 pm
Contact:

Post by LiTe »

bump
33rd[SS]SCpl.*LiTe*|AD|SP|

"Casualties many; Percentage of dead unknown; Combat efficiency; we're winning."
- Colonel David M. Shoup
Post Reply