Author Topic: Couple questions  (Read 1996 times)

SkateR

  • Autococker
  • Posts: 1173
Couple questions
« on: April 18, 2007, 08:51:41 AM »
K

How do I turn chat spam protection off?

Why doesnt flagmustbeatbase 0 and flagcapendsround 0 stay in my server cfg? I always have to enter those commands at the beginning of a match.


magalhaes

  • Autococker
  • Posts: 1256
Re: Couple questions
« Reply #1 on: April 18, 2007, 08:53:10 AM »
i think its "set floodprotect 0"

write set flagmustbeatbase 0 it in the configs

KiLo

  • Autococker
  • Posts: 2086
Re: Couple questions
« Reply #2 on: April 18, 2007, 09:33:46 AM »
Magalhaes is right it is cvar_set floodprotect 0.

As far as those commands not staying in your config, make sure that the config is not set to Read Only. My configs were like that and I couldn't save my controls or anything.

Zorchenhimer

  • Autococker
  • Posts: 2614
Re: Couple questions
« Reply #3 on: April 18, 2007, 12:29:21 PM »
In the config it needs to say "seta floodprotect 0" ("set" instead of "seta" should work too), not "cvar_set floodprotect 0".

KiLo

  • Autococker
  • Posts: 2086
Re: Couple questions
« Reply #4 on: April 18, 2007, 12:35:58 PM »
In the config it needs to say "seta floodprotect 0" ("set" instead of "seta" should work too), not "cvar_set floodprotect 0".

My fault there I thought he meant in-game.

SkateR

  • Autococker
  • Posts: 1173
Re: Couple questions
« Reply #5 on: April 18, 2007, 12:40:04 PM »
I have set flagmustbeatbase 0 and set flagcapendsround 0 in my server config and it never works.

Zorchenhimer

  • Autococker
  • Posts: 2614
Re: Couple questions
« Reply #6 on: April 18, 2007, 12:54:37 PM »
Then try "seta" in stead of "set". :)
And no, I have no clue as to what the difference between them is.

lekky

  • Autococker
  • Posts: 2449
Re: Couple questions
« Reply #7 on: April 18, 2007, 01:11:57 PM »
set is just for that session, seta is perm?

magalhaes

  • Autococker
  • Posts: 1256
Re: Couple questions
« Reply #8 on: April 18, 2007, 01:49:39 PM »
set is just for that session, seta is perm?
hm dont think so...i think theres no difference

Matze

  • 68 Carbine
  • Posts: 346
Re: Couple questions
« Reply #9 on: April 18, 2007, 02:51:21 PM »
As far as i know seta stands for setArchive, meaning that the changed cvar value will be archived (save).

Don't know in which way it's working for dp, though.

Cobo

  • Autococker
  • Posts: 1362
Re: Couple questions
« Reply #10 on: April 18, 2007, 04:09:21 PM »
I believe that seta ran from inside DP2 will add the command to the config and set is just for the session.
I guess it shouldnt really matter if you have set or seta in the config since its going to be executed when you start anyway.

jitspoe

  • Administrator
  • Autococker
  • Posts: 18802
Re: Couple questions
« Reply #11 on: April 18, 2007, 04:58:18 PM »
I have set flagmustbeatbase 0 and set flagcapendsround 0 in my server config and it never works.
a) Make sure that's the config (and the only config) you're executing.
b) Make sure the setting isn't in there again later in the file.

{appy Hamper

  • VM-68
  • Posts: 128
Re: Couple questions
« Reply #12 on: May 07, 2007, 01:18:26 PM »
set is just for that session, seta is perm?
hm dont think so...i think theres no difference

seta is permanent.  or set "always" is how I think of it.  Cobo is correct, I believe, about the difference being in-game.  seta will write it to the config.cfg file.

y00tz

  • Autococker
  • Posts: 2742
Re: Couple questions
« Reply #13 on: May 07, 2007, 09:09:48 PM »
Not to be redundant, but rather supportive, from quake 2 server doc:

 set (command)
syntax: set [variable] [string]
Sets the value of a valid cvar or a user-created variable.

 seta (command)
syntax: set [variable] [string]
Sets the value of a valid cvar or a user-created variable. It will also archive the variable and its current setting in CONFIG.CFG (not user-created ones though).


jitspoe

  • Administrator
  • Autococker
  • Posts: 18802
Re: Couple questions
« Reply #14 on: May 08, 2007, 12:24:36 PM »
Dedicated servers do not save config files, so seta and set act the same.  On clients, however, variables set with "seta" will also archive (get written to the config.cfg file).