Elimination Sumo back

For things that have to do with those crazy test servers... and yeah. By request of z-man, and, of course, you gotta obey...

Moderator: Z-Man

Post Reply
User avatar
Z-Man
God & Project Admin
Posts: 11585
Joined: Sun Jan 23, 2005 6:01 pm
Location: Cologne
Contact:

Elimination Sumo back

Post by Z-Man »

For the 0.2.8.3 release bugfix crunch (at minimum), I brought that particular bugfarm server back. It's no longer running on a university computer (which always made me feel bad for abusing the resources there); now it's running on an el-cheapo VPS so we can tune the various lag compensation algorithms to that particular scenario (a good excuse, eh?). So yeah, it's probably quite a bit laggier than before.

So, what do we need for the lag tuning? Clientside recordings, of course :) If you have a low ping, but odd constant lagginess, please send one (together with notes when it was recorded). What is to be expected is the occasional lag bomb affecting everyone; there's no way to compensate those, so please ignore them. I'm looking for small microlags, like lag slides. When you send something in, be sure to describe it as best as possible, and give a time index into your recording when the effect is most visible.

And of course, BUG cries should work. LAG cries don't.

The scripts running the server are available here: https://code.launchpad.net/~z-man/armag ... rm-scripts
If you use them all, edit out my email from run_single, please :)
User avatar
-=VcL.Rajinn
Round Winner
Posts: 242
Joined: Fri Aug 29, 2008 9:35 pm

Re: Elimination Sumo back

Post by -=VcL.Rajinn »

Very nice.

Although, I see that the server is down right now :( I wanted to go play in it to compare my clone server to yours.

Thanks for sharing the scripts btw =) If you don't mind, could you post the config files?
Image
User avatar
Z-Man
God & Project Admin
Posts: 11585
Joined: Sun Jan 23, 2005 6:01 pm
Location: Cologne
Contact:

Re: Elimination Sumo back

Post by Z-Man »

-=VcL.Rajinn wrote:Although, I see that the server is down right now :( I wanted to go play in it to compare my clone server to yours.
Yeah, the script has the nasty habit of getting stuck at times. I don't know why.

The detailed configuration files of current elimination sumo follow. Pick out what you like. singleplayer.cfg and multiplayer.cfg are used to have different settings depending on whether only one or multiple players are online, shockingly.
everytime.cfg:

Code: Select all

include everytime_trigger.cfg
dedicated_idle 0.0000001
include everytime_fifo.cfg
autoexec.cfg:

Code: Select all

casacl 2 0

RECORDING_DEBUGLEVEL 3

include singleplayer.cfg
include multiplayer.cfg
cycle_delay .1

server_name Bugfarm Elimination Sumo
talk_to_master 1
dedicated_idle 12

round_center_message Stay Inside And Survive!
message_of_day Yeah, back. Sort of. I'm still reconstructing the elimination script, so that may be a bit bumpy, but BUG calls should work again. Have fun :)

spam_maxlen 160

# better lag handling
lag_credit 2
lag_credit_single .5
#lag_credit .5
#lag_credit_single .05
dedicated_fps 20
lag_offset_server 0.005
lag_offset_legacy 0.010

# eliminate teams by score
team_elimination_mode 2

max_out_rate 64

# admin
local_user Z-Man <haha, I'm not telling>
user_level Z-Man@ 1
global_id 1

include admins.cfg

max_clients 12
singleplayer.cfg:

Code: Select all

include examples/cvs_test/fortress_physics.cfg

map_file Anonymous/polygon/regular/square-1.0.1.aamap.xml

sp_size_factor -6
AI_IQ 200
SP_AI_IQ 200
sp_game_type 0
multiplayer.cfg:

Code: Select all

include examples/cvs_test/sumo_complete.cfg
User avatar
-=VcL.Rajinn
Round Winner
Posts: 242
Joined: Fri Aug 29, 2008 9:35 pm

Re: Elimination Sumo back

Post by -=VcL.Rajinn »

Thanks :D

It's interesting to see how you set up your lag credentials
Image
User avatar
Z-Man
God & Project Admin
Posts: 11585
Joined: Sun Jan 23, 2005 6:01 pm
Location: Cologne
Contact:

Re: Elimination Sumo back

Post by Z-Man »

Well, yeah: running on a cheap VPS, there's bound to be all sizes of lag bombs. Since it's sumo, where direct cycle-to-cycle confrontations are less important than mazing, adding more tolerance to avoid lag slides seemed to be the way to go.
User avatar
-=VcL.Rajinn
Round Winner
Posts: 242
Joined: Fri Aug 29, 2008 9:35 pm

Re: Elimination Sumo back

Post by -=VcL.Rajinn »

Are these all the files that your server takes? I also have settings_custom.cfg and server_info.cfg. Do I need these files at all?

Another thing I noticed:

I am running the latest sty+ct build for this server; at the end when people do their victory dance, what if they don't die? xD

I noticed that people can go onnn and onn and onnn and the server won't kill em.
Image
User avatar
Z-Man
God & Project Admin
Posts: 11585
Joined: Sun Jan 23, 2005 6:01 pm
Location: Cologne
Contact:

Re: Elimination Sumo back

Post by Z-Man »

-=VcL.Rajinn wrote:Are these all the files that your server takes? I also have settings_custom.cfg and server_info.cfg. Do I need these files at all?
I don't typically use them in my setups. They're just included from other configuration files and not needed.
-=VcL.Rajinn wrote:I am running the latest sty+ct build for this server; at the end when people do their victory dance, what if they don't die? xD
Everybody dies sooner or later :) If long victory dances bother you, add a deathzone with a long enough timer that it doesn't disturb normal play.
User avatar
-=VcL.Rajinn
Round Winner
Posts: 242
Joined: Fri Aug 29, 2008 9:35 pm

Re: Elimination Sumo back

Post by -=VcL.Rajinn »

Z-Man wrote:
-=VcL.Rajinn wrote:Are these all the files that your server takes? I also have settings_custom.cfg and server_info.cfg. Do I need these files at all?
I don't typically use them in my setups. They're just included from other configuration files and not needed.
-=VcL.Rajinn wrote:I am running the latest sty+ct build for this server; at the end when people do their victory dance, what if they don't die? xD
Everybody dies sooner or later :) If long victory dances bother you, add a deathzone with a long enough timer that it doesn't disturb normal play.

Hehe, it's cool.

And i just added

include autoexec.cfg to both of those files.
Image
User avatar
DDMJ
Reverse Outside Corner Grinder
Posts: 1882
Joined: Thu Jun 08, 2006 12:15 am
Location: LA, CA, USA, NA
Contact:

Re: Elimination Sumo back

Post by DDMJ »

What he's saying is that instead of using server_info.cfg and settings_custom.cfg to organize his server settings (server info (name, options, etc) and settings (cycle settings, etc)), he just puts them all in one file called autoexec.cfg.
User avatar
-=VcL.Rajinn
Round Winner
Posts: 242
Joined: Fri Aug 29, 2008 9:35 pm

Re: Elimination Sumo back

Post by -=VcL.Rajinn »

Alright, I experienced a server crash with this script,

the elimination was about to start
8 players in the tournament
pathetique says something
thats the last thing the server reads
im bummed and have to go shut down the server
/me goes to cry

here is what happened in my logs:
[5] .dBd|Pathetique: What I can't figure out
++ wc -l /opt/elimination/servers/elim/var/players.txt
++ awk '{ print $1 - 1; }'
+ players=8
+ 8 == 4
/opt/elimination/servers/elim/elimination: line 89: 8: command not found
+ test 8 -gt 12
+ test 8 -gt 8
+ test 8 -gt 4
+ round 5 8 3
+ test 3 = 1
+ echo SAY 8 players, score multiplier 5, 3 rounds to next elimination.
[0] Admin: 8 players, score multiplier 5, 3 rounds to next elimination.
+ round_core 5 8 3
[0] Deleting objects...
[0] Deleting grid...
[0] Stay Inside And Survive!
[0] Time: 69.8067 seconds
Sent: 1171238 bytes in 9509 packets (16778.3 bytes/s)
Received: 396100 bytes in 8668 packets (5674.24 bytes/s)
[0] Timestamp: 2009/04/02 10:32:33
[0] Creating grid...
[7] ~*AcE.tóáStý: 20's
[0] done!
[0] Resetting scores...
[0] New Match
[0] Go (round 1 of 1 )!
[0] 3
[0] 2
[2] -=VcL.Rajinn --> -=}ID< °Steam°: [email protected]
[0] 1
[0] 0
[2] -=VcL.Rajinn: w00t
[0] ~*AcE.tóáStý core dumped -=}ID< °Steam° for 30 points.
[0] -=VcL.Rajinn was awarded 20 points for conquering -=}ID< °Steam°'s base.
[0] ~*AcE.tóáStý was awarded 20 points for conquering -=}ID< °Steam°'s base.
[0] -=}ID< ARiløu was awarded 20 points for conquering -=}ID< °Steam°'s base.
[0] .dBd|Pathetique core dumped Hmmm for 30 points.
[0] -=}ID< ARiløu core dumped ~*AcE.tóáStý for 30 points.
[0] -=VcL.Rajinn was awarded 30 points for conquering ~*AcE.tóáStý's base.
[0] -=}ID< ARiløu was awarded 30 points for conquering ~*AcE.tóáStý's base.
[0] tilde~~ was awarded 30 points for conquering Hmmm's base.
[0] .dBd|Pathetique was awarded 30 points for conquering Hmmm's base.
[0] .dBd|Pathetique core dumped tilde~~ for 30 points.
[0] .dBd|Pathetique was awarded 60 points for conquering tilde~~'s base.
[0] .dBd|Pathetique's zone collapses harmlessly for lack of enemy contacts.
[0] tilde~~ core dumped .dBd|Pathetique for 30 points.
[0] -=}ID< ARiløu core dumped -=VcL.Rajinn for 30 points.
[5] .dBd|Pathetique: oi
[6] -=}ID< °Steam° --> -=VcL.Rajinn: thanks
[0] -=VcL.Rajinn core dumped -=}ID< ARiløu for 30 points.
[2] -=VcL.Rajinn: wd!
[1] -=}ID< ARiløu: :D
[0] Match Winner: .dBd|Pathetique
[0] Overall Winner: .dBd|Pathetique after 1 rounds.
[5] .dBd|Pathetique: What I can't figure out is why my hex sumo server has no ladder.
quit
elimination: no process killed
+ true
++ minutes
+++ date +%M
+++ sed -e 's/^0//'
++ onehour=28
++ test 28 -ge 32
++ echo 28
+ start=28
+ test 28 -ge 27
+ start=27
+ echo '#NOP'
[0] Command SILENCE_ALL unknown.
bold marking: i dunno what that means z-man... does your server do that when 8 players play?

It will work if 4 ppl are in the tournament, but when it got to 8, the server went crazy


EDIT: Line 89 of the elimination script only includes this:

if ${players} == 4; then

Doesn't know what to do if 8 players are found. :/
Image
User avatar
Z-Man
God & Project Admin
Posts: 11585
Joined: Sun Jan 23, 2005 6:01 pm
Location: Cologne
Contact:

Re: Elimination Sumo back

Post by Z-Man »

The 8 == 4 error should be fixed now. The other error may indeed be the freezer I'm getting every now and then too, dunno. If I can't diagnose it on my own server, I certainly can't on yours, sorry.
User avatar
-=VcL.Rajinn
Round Winner
Posts: 242
Joined: Fri Aug 29, 2008 9:35 pm

Re: Elimination Sumo back

Post by -=VcL.Rajinn »

(Z-Man says sorry for accidentally editing out stuff, darn unexpected button functions, not the first time it got me)

did you update the script on bzr? i noticed that it hasnt been updated in 4 weeks and you've probably fixed things up since then
Image
User avatar
Z-Man
God & Project Admin
Posts: 11585
Joined: Sun Jan 23, 2005 6:01 pm
Location: Cologne
Contact:

Re: Elimination Sumo back

Post by Z-Man »

Yep, it's updated: http://bazaar.launchpad.net/~z-man/arma ... evision/20

(And sorry. I always confuse the edit-someone-else's-post button with the 'quote' button which is usually at that spot on all other forums. grumble. The bit I edited out and lost was about the coincidence of the 8-error and the crash.)
User avatar
-=VcL.Rajinn
Round Winner
Posts: 242
Joined: Fri Aug 29, 2008 9:35 pm

Re: Elimination Sumo back

Post by -=VcL.Rajinn »

oh em gee -.-

I didn't have the latest revision!!!!!

I still had the

Code: Select all

if ${players} == 4; then
part, not

Code: Select all

if test ${players} == 4; then
Thanks z-man!!!!! hopefully this will fix the issue i had last night!
Image
Post Reply