Jump to content

  • Log in with Facebook Log in with Twitter Log In with Google Log In with Steam Sign In
  • Create Account
Photo

nextmap hangs server

- - - - -

  • Please log in to reply
7 replies to this topic

#1
OFFLINE   Fnatic

Fnatic

    Newbie

  • Members
  • Pip
  • 6 posts
0
Unknown

hello

 

I have a server running on Silent (213.108.30.111), and have this repeatable issue:

 

setup:

g_gametype 6

mapvotecycle.cfg contains a correctly working cycle and working maps

 

 

issue:

nextmap cmd + nextmap voting works fine, until we try them on this map: te_valhalla.pk3

(this map is not part of the mapvotecycle.cfg, I have several other maps voteable on server, outside of the cycle, the issue seems only to occur for this 1 map)

 

 

doing nextmap on that map makes the server hang (after little while it reboots, but meanwhile the players experience the issue)

 

Solution?

I tried the solution proposed in another post here (by twiti):

create a te_valhalla.script (defining a mapwinner), load that in /silent/mapscripts/

with these contents:

 

game_manager
{
    spawn
    {
        // Set scenario information

        //wm_mapdescription        "valhalla."

        // Set the respawn times

        wm_allied_respawntime        1
        wm_axis_respawntime        1

        wm_set_round_timelimit        5

        // set map winner 0 - axis, 1 - allies

        wm_setwinner 0


    }
}
 

note - fyi:

also as advised in the other post I found, I check the nextmap contens. It contains vstr d4 (or another dx, ie the next nr in cycle).

this was the case already before, and after I tried the mapscript mentioned above.

 

Any idea on rootcause and how this can be solved?

 

TX!

 

 

 



#2
OFFLINE   Fnatic

Fnatic

    Newbie

  • Members
  • Pip
  • 6 posts
0
Unknown

Just to confirm any unclarity in original post: the mentioned attempts for solution did not work. Issue still exists.

 

Suggestions welcome.



#3
OFFLINE   gaoesa

gaoesa

    Advanced Member

  • Management
  • PipPipPipPip
  • 4391 posts
341
Will become famous
  • LocationFinland

The shrubbot !nextmap command is supposed to end the map in a tie and start the intermission for map voting. This is different from how it originally worked, which is, it just executed the nextmap cvar. From the description it sounds like the map script could indeed be missing something, which triggers some form of infinite loop in the server. Both of these things can be defined as bugs of course, one in the map and one in the mod. If you have other frag only maps that work correctly, I would compare the scripts to see what is possibly missing. That is the faster way to get it working.

 

Just a thought I got while writing this post, have you checked that the g_gametype is still 6 when the valhalla map is running and has not changed.



#4
OFFLINE   Fnatic

Fnatic

    Newbie

  • Members
  • Pip
  • 6 posts
0
Unknown

hey

 

yes, g_gametype checked - still 6

 

tried compare with purefrag script, but nothing there which helped me...



#5
OFFLINE   Fnatic

Fnatic

    Newbie

  • Members
  • Pip
  • 6 posts
0
Unknown

i tried including extra instructions in silent/mapconfigs/te_valhalla.cfg

 

 

1) not solving the issue:

set wm_setwinner 0
set nextmap vstr d501
set d501 "set g_gametype 6 ; map oasis ; set nextmap vstr d1"

2) not solving the issue (even worse, nextmap doesn't contain the previous vstr anymore but map-restart):

set wm_setwinner 0
set nextmap vstr d501
set d501 "set g_gametype 6 ; map oasis"

3) not solving the issue:

set wm_setwinner 0
set nextmap vstr d501
set d501 "exec server.cfg"

each time the result is that server seems to block, and after a while restarts mapvotecycle

 

 

Any ideas?

 

Thx!



#6
OFFLINE   sageone

sageone

    Regular Member

  • Members
  • PipPipPip
  • 59 posts
2
A step in the right direction
  • LocationToronto

I was able to reproduce it.  Seems I have the same issue but never noticed.  

 

I have 48 map files in etmain.

Joined

Menu-voted te_valhalla

Waited 10s after warmup

Menu-voted next map

disconnect symbol flashes and server appears crashed

Watchdog did bring server back online

 

md5sum:  2654d2be84fe5a7d1ce7142d72e81953  te_valhalla.pk3

 

logs:

Vote Passed: Load Next Map
xpsave: wrote server rating: 2.600000
serverstats: wrote 36 mapstats
Exit: Nextmap vote passed.
score: 0  ping: 0  client: 0 sageone.
red:0  blue:0
xpsave: wrote server rating: 2.600000
serverstats: wrote 36 mapstats
Sending gameCompleteStatus to etmaster.idsoftware.com
********************
ERROR: Couldn't find a spawn point
********************
----- Server Shutdown -----
Sending heartbeat to etmaster.idsoftware.com
=== ShutdownGame -------------------------------------------
*=====CLOSING DATABASE
  Buffers cleaned.
  Big Memory Cache cleaned.
*=====DATABASE IS CLOSED
ShutdownGame: done. Closing log.
------------------------------------------------------------
---------------------------
WARNING: watchdog will trigger in 4 seconds
Idle Server with no map - triggering watchdog

 

 

I believe this is a map script issue with respect to gametypes (voting etc) but my mapping skills are not that savvy.

game_manager
{
        spawn
        {
                // Set scenario information
                //wm_mapdescription             "valhalla."
                // Set the respawn times
                wm_allied_respawntime           1
                wm_axis_respawntime             1
                wm_set_round_timelimit          5
        }
}


#7
OFFLINE   sageone

sageone

    Regular Member

  • Members
  • PipPipPip
  • 59 posts
2
A step in the right direction
  • LocationToronto

The fix is a new .script file.  Place this inside silent/mapscripts/te_valhalla.script and restart server.

Tested and works.

game_manager
{
        spawn
        {
                // valhalla was missing an allied ipi, which causes a
                // fatal spawnpoint not found if the allies actaually win
                create
                {
                        classname "info_player_intermission"
                        origin "304 400 496"
                        target "inter1"
                        scriptname "ipi1"
                        // allies
                        spawnflags 2
                }
                // Set scenario information
                //wm_mapdescription             "valhalla."
                // Set the respawn times
                wm_allied_respawntime           1
                wm_axis_respawntime             1
                wm_set_round_timelimit          5
        }
}
// created entities seem to need a scriipt, just to make etpro happy
//ipi1
//{
//}

Edited by sageone, 28 February 2016 - 04:01 PM.


#8
OFFLINE   Fnatic

Fnatic

    Newbie

  • Members
  • Pip
  • 6 posts
0
Unknown

works - thx!






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users