Pages: [1] 2
  Print  
Author Topic: OA Dedicated Server Config  (Read 31626 times)
Akts^Itachi
Nub


Cakes 0
Posts: 24


http://oa.akatsuki.ro/


WWW
« on: May 23, 2011, 04:03:39 AM »

I have a question for OA community and an answer for people looking to fix a "snauf" that took me some time to figure-it out.


Jumping over the bridge in ps37ctf is NOT a gravity issue, is a pMove cvar thing.
Here are the settings allowing this to happen:
pMove_float 0
pMove_mSec 8
pMove_fixed 1

What I think these settings are doing (not shure thow, correct me if i'm wrong) is that they force the caracter behaviour in a certain way, body more rigid & less movement resolution, allowing a glinch (like strafe's bug) to jump over an edge at limit size.

Edit : this link explains alot
(DO NOT LINK) h t t p s : / / openarena . wikia . com/wiki/Game_physics


The other setting I heared is important in a server cfg is videoflags. By default 7, I was asked to (and did) set-it 0. This way, the vertex graphics mode is available for the client ?

Edit : videoflags, like I supposed, allows different graphics
http://openarena.ws/board/index.php?topic=3781.msg32938#msg32938


Another polemics is the game version.
Many players suggested OA 0.8.1 instead of 0.8.5 (for server, have course)

I'm not only a programmer, but a server admin also. I know by experience, that updates & patches are meant to "fix" things, so for me 0.8.5 is synonym of less bugs and better inner working (maybe better memory allocation etc.) The other cool feature which I also implemented is the custom voting system. I also use OAX (Open Arena eXpanded) which I understand that will be included by default in 0.8.6

(btw, b3 bot is kinda heavy; spawning a daemon for himself, meaning 2 processes runing: OA + B3. not quite elegant)

So until someone enlightens me (with arguments) why should I run a 0.8.1 instead of 0.8.5, I'll follow my instinct.

The last thing I want to ask about, is specific configs.
Do you know/think some cvars should be tweaked in function of the gametype ?
Meaning, for example, videoflags: are they important for all weps only ?
Are there another cvars that may be ok in a insta rail server but not suitable for a all weps tdm/ffa ?

Well, thank you all for reading this far, any help/opinion is greatly appreciated.
I know that you, like I, are doing this for fun and with no payement Smiley



Edit :
More reading I do about the 0.8.5 tweaking, less I want to change things. These settings are there with a meaning, trying to make the play more smooth and fair. I know there are many hardcore 0.8.1 players and changing a bit is annoying for them. Then again, I was a q3 1.16 player and took alot to get used to 1.32. Well, I think this is the same, adapt or rest behind situation. Nevertheless, the OA community doesn't really need that right now.
Since the hardcore players spend much more time playing than the "n00bz", I think that they should be more comprehensive about-it. Meanwhile I keep hearing complaining: that's not like on the other server, these settings sux & so on. That's so childish. This is a game, right ?!
« Last Edit: May 23, 2011, 07:08:59 AM by Akts^Itachi » Logged

itachi is the only guy in the universe who can paint his nails in black and still look like a bad-ass
Gig
In the year 3000
***

Cakes 45
Posts: 4394


WWW
« Reply #1 on: May 23, 2011, 06:07:46 AM »

Jumping over the bridge in ps37ctf is NOT a gravity issue, is a pMove cvar thing.
Here are the settings allowing this to happen:
pMove_float 0
pMove_mSec 8
pMove_fixed 1

What I think these settings are doing (not shure thow, correct me if i'm wrong) is that they force the caracter behaviour in a certain way, body more rigid & less movement resolution, allowing a glinch (like strafe's bug) to jump over an edge at limit size.
The values you mentioned enable "Fixed 125 fps emulation" physics... for more info about it (and the other available game physics options), please take a look to this page:
(DO NOT LINK) h t t p s : / / openarena . wikia . com/wiki/Game_physics (EDIT: I see you found that page by yourself and modified your post while I was writing this reply)

I'm sorry I can't help you with the other questions (I don't know about videoflags... and about 0.8.1, maybe someone does not like the "accurate" physics, or the "push award" feature, enabled by default in 0.8.5? Maybe RMF may tell you, he played 0.8.1 a lot after 0.8.5 was released).
Anyway, if you want, you can take a look to these other server-administration-related pages:
(DO NOT LINK) h t t p s : / / openarena . wikia . com/wiki/Manual/Multiplayer
(DO NOT LINK) h t t p s : / / openarena . wikia . com/wiki/Servers
(DO NOT LINK) h t t p s : / / openarena . wikia . com/wiki/Configuration_examples
(DO NOT LINK) h t t p s : / / openarena . wikia . com/wiki/Tweak#Tweaking_online_gaming_parameters
(DO NOT LINK) h t t p s : / / openarena . wikia . com/wiki/Special_game_options
(DO NOT LINK) h t t p s : / / openarena . wikia . com/wiki/Manual/Using_Mods#Notes_for_Server_Administrators
Logged

I never want to be aggressive, offensive or ironic with my posts. If you find something offending in my posts, read them again searching for a different mood there. If you still see something bad with them, please ask me infos. I can be wrong at times, but I never want to upset anyone.
7
Member


Cakes 7
Posts: 278


Is 7 up?


« Reply #2 on: May 23, 2011, 08:10:43 AM »

If you're using a recent OAX version you could use the technically superior pmove_float solution and still enable your players to make the 125 fps jumps. Recent OAX versions have the g_gravityModifier cvar to cut down on the gravity just a little to simulate the framerate dependent and pmove_fixed rounding errors. Try this with oaxB48 and every player should be able to make the 125 fps jumps without choppy movement etc:
Code:
pmove_float 1
g_gravityModifier 0.945
Logged

I'm on the ten most wanted list, I've got it dead in the groove.
My face is on every wanted poster in town, for the way I move.
Akts^Itachi
Nub


Cakes 0
Posts: 24


http://oa.akatsuki.ro/


WWW
« Reply #3 on: May 23, 2011, 08:41:42 AM »

Thanx for ur reply Gig,

and thank you too seven Smiley

If you're using a recent OAX version you could use the technically superior pmove_float solution and still enable your players to make the 125 fps jumps. Recent OAX versions have the g_gravityModifier cvar to cut down on the gravity just a little to simulate the framerate dependent and pmove_fixed rounding errors. Try this with oaxB48 and every player should be able to make the 125 fps jumps without choppy movement etc:
Code:
pmove_float 1
g_gravityModifier 0.945

yes, i'm using the latest oax and i was wondering, with the g_gravityModifier may i affect only one map ? the annoying thing is only the bridge wall on ps37.

i have tryied with :
set d1 "map oasago2; set g_gravity 800; set nextmap vstr d2"
set d2 "map ps37ctf; set g_gravity 790; set nextmap vstr d3"
set d3 "map pul1ctf; set g_gravity 840; set nextmap vstr d1"
and the gravity was 790 during warmup, but after the warmup is automatically falling back to 800.

so, replacing g_gravity with the g_gravityModifier should work ? anyway, i will give-it a try this evening.
« Last Edit: May 23, 2011, 09:04:36 AM by Akts^Itachi » Logged

itachi is the only guy in the universe who can paint his nails in black and still look like a bad-ass
Cacatoes
Banned for leasing own account
Posts a lot
*

Cakes 73
Posts: 1427


also banned for baiting another to violate rules


« Reply #4 on: May 23, 2011, 09:13:46 AM »

- I never noticed gravity was set back to 800, but maybe that's coz I don't have warmup enabled on these servers.
- I think the same than you about that 081/085 story, some people seem tostick to the few details of what went slightly wrong after the update rather than searching for a solution with both developers & players. Developers should adapt to feedbacks as well and I think OA is not so bad in that regard even if it did mistakes.
- I never used gravity modifier, I'm not sure it's that elegant but I don't know more elegant than adapting to each map in order to give it a good feeling, probably each should have a suggested gravity based on pmove_float 1.
- I'm not sure /videoflags is still valid, IIRC Sago told it was buggy so it may have been removed.

Good luck with setting up the servers Wink
Logged

Todo: Walk the cat.
7
Member


Cakes 7
Posts: 278


Is 7 up?


« Reply #5 on: May 23, 2011, 09:22:54 AM »

so, replacing g_gravity with the g_gravityModifier should work ? anyway, i will give-it a try this evening.

No, you should set g_gravityModifier in your configuration only once, preferably after where you set pmove_float:

Code:
set pmove_float "1"
set g_gravityModifier "0.945"

...

set d1 "map oasago2; set nextmap vstr d2"
set d2 "map ps37ctf; set nextmap vstr d3"
set d3 "map pul1ctf; set nextmap vstr d1"
Logged

I'm on the ten most wanted list, I've got it dead in the groove.
My face is on every wanted poster in town, for the way I move.
Gig
In the year 3000
***

Cakes 45
Posts: 4394


WWW
« Reply #6 on: May 23, 2011, 09:23:41 AM »

NOTE: Someone replied while I was still writing this post.

Uhm... I don't remember if I tested this "warmup-end" thing when I wrote this:
(DO NOT LINK) h t t p s : / / openarena . wikia . com/wiki/Configuration_examples/Weapon_rotation#Changing_gravity_and_speed
(I thought I did it, but if you are experiencing problems...)

In my tests at the time, I placed the g_gravity at the very end of the line of the script
(Example:
Code:
set d1 "elimination_chain 0; elimination_machinegun 999; map am_galmevish; set nextmap vstr d2; g_speed 400; g_gravity 1300"
set d2 "elimination_machinegun 0; elimination_shotgun 999; map am_galmevish; set nextmap vstr d3; g_speed 280; g_gravity 600"
), but I suppose it should have worked also simply placing it anywhere after the "map" command, like you did (anyway, if you want to try to move it at the very end of the line and then tell us if it works...). I suppose I should check again... Are you using the DO NOT LINK[/b]) h t t p s : / / openarena . wikia . com/wiki/Elimination#CVARs]"Elimination" warmup variables or something else? In which gametype does your server run?

However, the g_gravitymodifer has been created to workaround such problems with g_gravity: unlike g_gravity, it is not automatically reset on map load/restart... it will not change again until you change it again in your rotation script...

A couple of examples:
Quote
set pmove_float "1"
set d1 "set g_gravitymodifer 1; map oasago2; set nextmap vstr d2"
set d2 "set g_gravitymodifer 0.945; map ps37ctf; set nextmap vstr d3"
set d3 "set g_gravitymodifer 1; map pul1ctf; set nextmap vstr d1"
Should (unless I misplaced the command... I haven't tested this now!) make the "125-fps-similar" gravity (not to be confused with "125-fps-emulated physics", even if the goal is to emulate it without its drawbacks) for ps37ctf only, then returning back to the standard jumps for "accurate" physics.

while
Quote
set pmove_float "1"
set g_gravitymodifier 0.945
set d1 "map oasago2; set nextmap vstr d2"
set d2 "map ps37ctf; set nextmap vstr d3"
set d3 "map pul1ctf; set nextmap vstr d1"
will use a "125-fps-similar" gravity for all the maps.


Important question: 7, are you sure that 0.945 value emulates 125 fps gravity at any g_gravity, or is there the risk that this may be true only at g_gravity 800?
« Last Edit: May 23, 2011, 09:47:55 AM by Gig » Logged

I never want to be aggressive, offensive or ironic with my posts. If you find something offending in my posts, read them again searching for a different mood there. If you still see something bad with them, please ask me infos. I can be wrong at times, but I never want to upset anyone.
Akts^Itachi
Nub


Cakes 0
Posts: 24


http://oa.akatsuki.ro/


WWW
« Reply #7 on: May 23, 2011, 09:57:00 AM »

In my tests at the time, I placed the g_gravity at the very end of the line of the script

i think that may be the issue, that i set nextmap after the gravity.
alltough, it was working fine with some maps and not with others.

anyway,
here's my cfg : http://www.superbots.org/supeR,InstaCTF/
Logged

itachi is the only guy in the universe who can paint his nails in black and still look like a bad-ass
7
Member


Cakes 7
Posts: 278


Is 7 up?


« Reply #8 on: May 23, 2011, 11:26:52 AM »

Important question: 7, are you sure that 0.945 value emulates 125 fps gravity at any g_gravity, or is there the risk that this may be true only at g_gravity 800?

It will emulate 125 fps correctly for g_gravity 800, but that's the standard gravity value that's hard coded into 99% of the maps out there (that's also the reason why you have to set g_gravity after a map command).

By the way after experimenting I found out that g_gravityModifier 0.9475 actually emulates 125 fps physics a little better still, so sorry for the incorrect value I stated before (looked it up on the forum instead of in my config). Setting g_gravityModifier to 0.9475 amounts to a g_gravity of 758 on maps with hard coded default gravity (800 * 0.9475 = 758).
Logged

I'm on the ten most wanted list, I've got it dead in the groove.
My face is on every wanted poster in town, for the way I move.
Akts^Itachi
Nub


Cakes 0
Posts: 24


http://oa.akatsuki.ro/


WWW
« Reply #9 on: May 23, 2011, 12:30:34 PM »

Important question: 7, are you sure that 0.945 value emulates 125 fps gravity at any g_gravity, or is there the risk that this may be true only at g_gravity 800?

It will emulate 125 fps correctly for g_gravity 800, but that's the standard gravity value that's hard coded into 99% of the maps out there (that's also the reason why you have to set g_gravity after a map command).

By the way after experimenting I found out that g_gravityModifier 0.9475 actually emulates 125 fps physics a little better still, so sorry for the incorrect value I stated before (looked it up on the forum instead of in my config). Setting g_gravityModifier to 0.9475 amounts to a g_gravity of 758 on maps with hard coded default gravity (800 * 0.9475 = 758).

i have an issue right now on the server

i have the B47 and seems gravityModifier is not working

does-it only works on B48 so i have to svn & build ?
Logged

itachi is the only guy in the universe who can paint his nails in black and still look like a bad-ass
Gig
In the year 3000
***

Cakes 45
Posts: 4394


WWW
« Reply #10 on: May 23, 2011, 12:36:48 PM »

G_gravitymodifer is listed in OAX B47 features (and why should you get B48 from SVN? It's "mod format download" is available from the OAX forum thread...)...

Anyway, have you tried to use the "classic" g_gravity system, but placing it at the very end of each line of the rotatin script? Did something change or not? I am curious to know it...
« Last Edit: May 24, 2011, 10:23:18 AM by Gig » Logged

I never want to be aggressive, offensive or ironic with my posts. If you find something offending in my posts, read them again searching for a different mood there. If you still see something bad with them, please ask me infos. I can be wrong at times, but I never want to upset anyone.
7
Member


Cakes 7
Posts: 278


Is 7 up?


« Reply #11 on: May 24, 2011, 09:55:30 AM »

i have the B47 and seems gravityModifier is not working

Did you start the server with +set fs_game oaxB47 ?
Logged

I'm on the ten most wanted list, I've got it dead in the groove.
My face is on every wanted poster in town, for the way I move.
Akts^Itachi
Nub


Cakes 0
Posts: 24


http://oa.akatsuki.ro/


WWW
« Reply #12 on: May 24, 2011, 10:53:26 AM »

i've just downloaded the oax b48

the oax is working, i have the ! admin system on and configured since long ago

and no, i didn't retryied yet with the gravity (in the end of string)

i make all remaining tests this evening, i'll keep you posted

ty all for ur help & time,
is recomforting to see that the others are sympathic to the problem and really helping

the odd thing is that on the oax google dev page there's no dl link for the latest b48
Logged

itachi is the only guy in the universe who can paint his nails in black and still look like a bad-ass
Akts^Itachi
Nub


Cakes 0
Posts: 24


http://oa.akatsuki.ro/


WWW
« Reply #13 on: May 24, 2011, 11:15:02 AM »

not related - votecustom file is case sensitive

it seems that in b48 there's no g_gravityModifier

when i /rcon g_ [TAB] the cvar doesn't get listed


any tougths ?
Logged

itachi is the only guy in the universe who can paint his nails in black and still look like a bad-ass
sago007
Posts a lot
*

Cakes 62
Posts: 1664


Open Arena Developer


WWW
« Reply #14 on: May 24, 2011, 11:40:46 AM »

the odd thing is that on the oax google dev page there's no dl link for the latest b48
It was missing from the release script. I have uploaded B48 manually and added a call to googlecode_upload for future releases.

when i /rcon g_ [TAB] the cvar doesn't get listed
Maybe it has not been used locally yet? It should be defined once a local server has been launched once.
Logged

There are nothing offending in my posts.
Akts^Itachi
Nub


Cakes 0
Posts: 24


http://oa.akatsuki.ro/


WWW
« Reply #15 on: May 24, 2011, 12:13:51 PM »

Maybe it has not been used locally yet? It should be defined once a local server has been launched once.

http://www.superbots.org/supeR,InstaCTF/

all the server cfg is available there
(except passwords, have course)

and yes, the cvar is set in the default cfg and yes, the server has been rebooted. twice.
Logged

itachi is the only guy in the universe who can paint his nails in black and still look like a bad-ass
sago007
Posts a lot
*

Cakes 62
Posts: 1664


Open Arena Developer


WWW
« Reply #16 on: May 24, 2011, 12:48:12 PM »

and yes, the cvar is set in the default cfg and yes, the server has been rebooted. twice.
I am not talking about the server. The client does not retrieve its autocompletion from the server only once the client has hosted a local/skirmish game and thereby writing the variables to its local config file will the autocomplete work.
Logged

There are nothing offending in my posts.
Akts^Itachi
Nub


Cakes 0
Posts: 24


http://oa.akatsuki.ro/


WWW
« Reply #17 on: May 25, 2011, 11:21:43 AM »

well well

in oax b48 there is no g_gravityModifier

the gravity by map tweak works.

i'm looking forward for the gravityModifier fix. untill then, pMove it is.


EDIT - if u have any ideeas, i'm on server. /connect superbots.org
Logged

itachi is the only guy in the universe who can paint his nails in black and still look like a bad-ass
7
Member


Cakes 7
Posts: 278


Is 7 up?


« Reply #18 on: May 25, 2011, 02:05:00 PM »

well well

in oax b48 there is no g_gravityModifier

I can assure you there is because I've played and tested it, and sago as the coder sure should know in case I am crazy Wink

Just because g_gravityModifier doesn't show up in autocompletion doesn't mean the cvar doesn't exist but that it wasn't written to your local q3config.cfg. Why don't you install oaxB48 on your own machine and start a skirmish game with some bots; after you've exited and restarted the game, g_gravityModifier should turn up in autocompletion also. I have attached a screenshot of the autocompletion as proof.
Logged

I'm on the ten most wanted list, I've got it dead in the groove.
My face is on every wanted poster in town, for the way I move.
Akts^Itachi
Nub


Cakes 0
Posts: 24


http://oa.akatsuki.ro/


WWW
« Reply #19 on: May 25, 2011, 02:26:04 PM »

well

my oax was in baseoa folder

i've put-it (because you have insisted) in the fs_game folder

and - f*ck-me sideways - it works

mea culpa
Logged

itachi is the only guy in the universe who can paint his nails in black and still look like a bad-ass
Gig
In the year 3000
***

Cakes 45
Posts: 4394


WWW
« Reply #20 on: May 26, 2011, 01:09:18 AM »

OAX in baseoa folder?
OAX have to be used like any mod, in a separate folder from baseoa! You may have caused problems in those who connected to your server...

To avoid errors, I just added two notes DO NOT LINK[/b]) h t t p s : / / openarena . wikia . com/index.php?title=OpenArena_eXpanded&action=historysubmit&diff=8750&oldid=8645]here and DO NOT LINK[/b]) h t t p s : / / openarena . wikia . com/index.php?title=Manual%2FUsing_Mods&action=historysubmit&diff=8755&oldid=8687]here...

PS: Did you try to place the g_gravity at the very end of the line of the script?
« Last Edit: May 26, 2011, 01:58:28 AM by Gig » Logged

I never want to be aggressive, offensive or ironic with my posts. If you find something offending in my posts, read them again searching for a different mood there. If you still see something bad with them, please ask me infos. I can be wrong at times, but I never want to upset anyone.
Akts^Itachi
Nub


Cakes 0
Posts: 24


http://oa.akatsuki.ro/


WWW
« Reply #21 on: May 26, 2011, 01:40:41 AM »

i was putting oax in baseoa to avoid downloading by clients, and like i sayd, the !admin works this way

and yes, g_gravity at the end of the string works also on default maps ( with the exception of few custom maps )
Logged

itachi is the only guy in the universe who can paint his nails in black and still look like a bad-ass
Gig
In the year 3000
***

Cakes 45
Posts: 4394


WWW
« Reply #22 on: May 26, 2011, 02:06:16 AM »

i was putting oax in baseoa to avoid downloading by clients, and like i sayd, the !admin works this way
Excuse me, what do you mean with "avoid downloading by clients"? If clients would not download the OAX pk3 file, how could they use its features?
I don't know how the !admin system works, but AFAIK mods have to be placed in a separate folder.

Quote
and yes, g_gravity at the end of the string works also on default maps ( with the exception of few custom maps )
Who knows why not with some maps...  Huh Could you please give me the name (and a download link, if you have it) of one of such maps? I'd like to take a look...  Smiley
Logged

I never want to be aggressive, offensive or ironic with my posts. If you find something offending in my posts, read them again searching for a different mood there. If you still see something bad with them, please ask me infos. I can be wrong at times, but I never want to upset anyone.
Akts^Itachi
Nub


Cakes 0
Posts: 24


http://oa.akatsuki.ro/


WWW
« Reply #23 on: May 26, 2011, 02:39:03 AM »

for the !admin system, pls try-it. put oax in server's baseoa then connect with a client without oax.


here's a map on which the alter of the gravity is resetted after the warmup (g_gravity NOT g_gravityModifier)
http://www.superbots.org/baseoa/index.php?dir=&file=ps6ctf.pk3
Logged

itachi is the only guy in the universe who can paint his nails in black and still look like a bad-ass
Gig
In the year 3000
***

Cakes 45
Posts: 4394


WWW
« Reply #24 on: May 26, 2011, 03:02:59 AM »

put oax in server's baseoa then connect with a client without oax
Do you mean placing homepath\baseoa\oaxb48\oax.pk3 or homepath\baseoa\oax.pk3 ?
Logged

I never want to be aggressive, offensive or ironic with my posts. If you find something offending in my posts, read them again searching for a different mood there. If you still see something bad with them, please ask me infos. I can be wrong at times, but I never want to upset anyone.
Pages: [1] 2
  Print  
 
Jump to: