A couple simple server questions

Discuss anything to do with Nexuiz here.

Moderators: Nexuiz Moderators, Moderators

A couple simple server questions

Postby only_turns_right » Sat Aug 02, 2008 2:18 pm

Hey all! After quite a bit of finagling with cvars and nexuis cfg variables, we've started a dedicated server with an old-school Rocket Arena™ style set up:
all weapons and ammo and no pickups;
250 health and armor;
1 v 1 - winner stays, loser goes to the back of the line.

It's almost perfect except for 2 small things I'd like to change, and I'm wondering if it can be done first of all, and how to do it if it can :P

1: I'd like to turn off the health/armor rot and regen.

2: I'd like people to be able to 'step out of line' and continue to spectate.
As it is now, when you're in line you're a spectator and there's no way to stay there.
The only way to get out of line is to leave the server which sucks when there's a
small amount of people online anyway. I'm hoping people can come in and spectate
for a bit then jump into line if they want, or just hop out when they need to go afk.


any help would be great. Unfortunately I can't code so making a custom game type is kinda out of the question for us.

btw it's a public server, feel free to jump in. You should find it in the list as "[ONLY] an arena server" There is a bot that sits around until
2 people log in (so the first person who logs in has something to do by himself.) The bot will leave as soon as 2 people are playing.[/b]

turns_right


-----------edit---------------

after posting this i slapped myself and went to the nexuiz ninjaz cvar list. I found these:

g_balance_armor_rot
g_balance_armor_rotlinear
g_balance_health_rot
g_balance_health_rotlinear
g_balance_pause_armor_rot
g_balance_pause_armor_rot_spawn
g_balance_pause_health_rot
g_balance_pause_health_rot_spawn

Could someone explain how they work for me? Or is this even what I'm looking for? Because now i'm thinking that in this context, 'rot' = rotation maybe....
only_turns_right
Member
 
Posts: 10
Joined: Sat Aug 02, 2008 2:04 pm

update!

Postby only_turns_right » Sat Aug 02, 2008 4:38 pm

The cvars I listed above work!! 250 health / armor and no rot! (makes for a more honest fight imho.) I left the regen for now, to give new players a chance - but I may pull that out too depending on who frequents the server.

Still no luck on the spectator issue; and I realize I have a new problem!

TIMELIMIT and FRAGLIMIT keep resetting to 0!

I've made sure timelimit_override and fraglimit_override are set to 0 and entered timelimit 15 and fraglimit 10 in the arena.cfg.

When I exec the cfg they work fine but once the next map spawns they reset to 0. Obviously this is a config problem but I can't see what I'm doing wrong. Frag and timelimit worked fine before we made this arena.cfg file....
only_turns_right
Member
 
Posts: 10
Joined: Sat Aug 02, 2008 2:04 pm

Postby KadaverJack » Sat Aug 02, 2008 6:17 pm

Try time-/fraglimit_override -1 (that will disable the override, 0 means "force unlimited")
KadaverJack
Site admin and forum addon
 
Posts: 1102
Joined: Tue Feb 28, 2006 9:42 pm

Postby only_turns_right » Sat Aug 02, 2008 6:55 pm

yeah i've tried that.
In trying to track this down, i've set up a new bat file and created a new server.cfg so that i can control everything (normally we have a generic server.cfg and then we exec gametype.cfg as required)

things i've tried:

tried setting overrides to 0 and -1. no effect as far as i can tell.
tried commenting out overrides and just using a fraglimit and timelimit variable. It works when when you exec it, but not when you start the server or change maps.

tried setting fraglimit_override to 10 and timelimit_override to 15. The time limit sets just fine but for some reason fraglimit resets to 0.

Looking in the server console i noticed something strange. I put at the end of the cfg file, "fraglimit 10" and in the console it reads it but the very next thing it says is "fraglimit 0" as if something else is setting it. Very strange since there's nothing after that in the config file.

this is really frustrating because it's such a simple thing normally.
only_turns_right
Member
 
Posts: 10
Joined: Sat Aug 02, 2008 2:04 pm

Postby only_turns_right » Sat Aug 02, 2008 8:38 pm

update: it appears that g_arena 1 gametype forces a fraglimit of 0 no matter what you do. I'm just accepting that and keeping a lower time limit. If anyone can find a workaround that's great, but i'm more interested in getting the spectator thing working tbh.
only_turns_right
Member
 
Posts: 10
Joined: Sat Aug 02, 2008 2:04 pm


Return to Nexuiz - General Discussion

Who is online

Users browsing this forum: No registered users and 1 guest

cron