Fnatic Posted February 12, 2016 Share Posted February 12, 2016 hello I have a server running on Silent (213.108.30.111), and have this repeatable issue: setup:g_gametype 6mapvotecycle.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! Quote Link to comment Share on other sites More sharing options...
Fnatic Posted February 13, 2016 Author Share Posted February 13, 2016 Just to confirm any unclarity in original post: the mentioned attempts for solution did not work. Issue still exists. Suggestions welcome. Quote Link to comment Share on other sites More sharing options...
Management gaoesa Posted February 13, 2016 Management Share Posted February 13, 2016 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. Quote Link to comment Share on other sites More sharing options...
Fnatic Posted February 13, 2016 Author Share Posted February 13, 2016 hey yes, g_gametype checked - still 6 tried compare with purefrag script, but nothing there which helped me... Quote Link to comment Share on other sites More sharing options...
Fnatic Posted February 27, 2016 Author Share Posted February 27, 2016 i tried including extra instructions in silent/mapconfigs/te_valhalla.cfg 1) not solving the issue:set wm_setwinner 0set nextmap vstr d501set 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 0set nextmap vstr d501set d501 "set g_gametype 6 ; map oasis"3) not solving the issue:set wm_setwinner 0set nextmap vstr d501set d501 "exec server.cfg"each time the result is that server seems to block, and after a while restarts mapvotecycle Any ideas? Thx! Quote Link to comment Share on other sites More sharing options...
sageone Posted February 27, 2016 Share Posted February 27, 2016 I was able to reproduce it. Seems I have the same issue but never noticed. I have 48 map files in etmain.JoinedMenu-voted te_valhallaWaited 10s after warmupMenu-voted next mapdisconnect symbol flashes and server appears crashedWatchdog did bring server back online md5sum: 2654d2be84fe5a7d1ce7142d72e81953 te_valhalla.pk3 logs:Vote Passed: Load Next Mapxpsave: wrote server rating: 2.600000serverstats: wrote 36 mapstatsExit: Nextmap vote passed.score: 0 ping: 0 client: 0 sageone.red:0 blue:0xpsave: wrote server rating: 2.600000serverstats: wrote 36 mapstatsSending 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 CLOSEDShutdownGame: done. Closing log.---------------------------------------------------------------------------------------WARNING: watchdog will trigger in 4 secondsIdle 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 } } Quote Link to comment Share on other sites More sharing options...
sageone Posted February 28, 2016 Share Posted February 28, 2016 (edited) 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 February 28, 2016 by sageone Quote Link to comment Share on other sites More sharing options...
Fnatic Posted March 26, 2016 Author Share Posted March 26, 2016 works - thx! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.