GoldenEye: Source Forums
Debriefing => Bug Reports & Fixes => Topic started by: Troy on August 06, 2012, 11:47:03 pm
-
When using sourcemod to set the next level (sm_nextlevel), it does not work. When a map vote is ran, it sets sm_nextmap to "map name". However when the match ends, it selects a different map. This is a very important feature as it gives players the opportunity to select the next map. This needs to be fixed and included in the upcoming patch.
Thanks
-
I ran a mapvote on my localhost test and it worked perfectly fine... might need more info to nail that one down
The map vote should not be setting sm_nextlevel, it should be calling the changelevel command. sm_nextlevel is nothing but a container like the real "nextlevel" command
-
KM, I ran a test with UMC (Ultimate Mapchooser). I set the next map to change when the round ended. When I did, it set sm_nextmap to the map I had chosen. When the round ended I saw this:
Server cvar 'nextlevel' changed to "map name"
The next map that loaded was the one I selected.
I also tried not selecting a map after the map vote ran. Therefore it selected one. I typed nextmap and it printed a map. When the next map loaded, it was not the map the nextmap command reported it to be.
My best guess would be that when the match completes, it's not running this. Therefore, the next map isn't being set. (Mapchooser.sp worked in 4.1. This tells me this is yet again a 4.2 problem.)
- Correction to my above post, it's sm_nextmap not sm_nextlevel.
-
I am pretty sure i have this already going troy http://forums.geshl2.com/index.php/topic,7114.0.html
....
-
No, your bug was when you change the level the server hangs. (Which has been fixed.) This bug is when the nextmap is set, it does not switch to it at the end of the map.
-
I think I found the reason. I will test the fix in my way home this afternoon.
-
Nice one KM. I'm eagerly waiting to find out the results.
-
I have successfully fix this, but it required editing the mapchooser script. There is absolutely no way around this without removing GE:S's advanced changelevel functionality or breaking the other bug's fix....
http://update.geshl2.com/mapchooser-ges.smx
-
were does this file go?
-
If you are using the stock mapchooser SM provides, put it into the disabled folder. Download the above file and put it into plugins.
-
I have talked to Steell (author of UMC) and got KM's fix into UMC.
http://www.mediafire.com/?v923l599rzwuy5z
(These changes will be included in future releases of the plugin.)