GoldenEye: Source Forums

  • November 30, 2024, 06:35:17 am
  • Welcome, Guest
Advanced search  

News:

Pages: [1]   Go Down

Author Topic: [Bug] Nextmap  (Read 6703 times)

0 Members and 3 Guests are viewing this topic.

Troy

  • GE:S Coder
  • 00 Agent
  • ***
  • Posts: 821
  • Reputation Power: 260
  • Troy is awe-inspiring!Troy is awe-inspiring!Troy is awe-inspiring!Troy is awe-inspiring!Troy is awe-inspiring!Troy is awe-inspiring!Troy is awe-inspiring!Troy is awe-inspiring!Troy is awe-inspiring!Troy is awe-inspiring!Troy is awe-inspiring!Troy is awe-inspiring!
  • Offline Offline
[Bug] Nextmap
« 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
« Last Edit: August 07, 2012, 12:01:59 am by Troy »
Logged
Complete - Arsenal, One Bullet is Enough, Tournament DM v2, TurboDM
Defunct - Agent Under Fire
VC - Being such a dick, KM must be stroked before springing into action.

killermonkey

  • GES Programmer
  • Retired Lead Developer
  • GE:S Fanatic
  • *
  • Posts: 5,473
  • Reputation Power: 346
  • killermonkey is awe-inspiring!killermonkey is awe-inspiring!killermonkey is awe-inspiring!killermonkey is awe-inspiring!killermonkey is awe-inspiring!killermonkey is awe-inspiring!killermonkey is awe-inspiring!killermonkey is awe-inspiring!killermonkey is awe-inspiring!killermonkey is awe-inspiring!killermonkey is awe-inspiring!killermonkey is awe-inspiring!
  • Offline Offline
    • DroidMonkey Apps
Re: [Bug] Nextmap
« Reply #1 on: August 07, 2012, 01:35:24 am »

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
Logged

Troy

  • GE:S Coder
  • 00 Agent
  • ***
  • Posts: 821
  • Reputation Power: 260
  • Troy is awe-inspiring!Troy is awe-inspiring!Troy is awe-inspiring!Troy is awe-inspiring!Troy is awe-inspiring!Troy is awe-inspiring!Troy is awe-inspiring!Troy is awe-inspiring!Troy is awe-inspiring!Troy is awe-inspiring!Troy is awe-inspiring!Troy is awe-inspiring!
  • Offline Offline
Re: [Bug] Nextmap
« Reply #2 on: August 07, 2012, 03:31:14 am »

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.
« Last Edit: August 07, 2012, 04:51:03 am by Troy »
Logged
Complete - Arsenal, One Bullet is Enough, Tournament DM v2, TurboDM
Defunct - Agent Under Fire
VC - Being such a dick, KM must be stroked before springing into action.

tg99

  • Agent
  • *
  • Posts: 26
  • Reputation Power: 14
  • tg99 barely matters.tg99 barely matters.
  • Offline Offline
    • Tactical Gaming
Re: [Bug] Nextmap
« Reply #3 on: August 07, 2012, 06:21:24 am »

I am pretty sure i have this already going troy http://forums.geshl2.com/index.php/topic,7114.0.html

....
Logged
Signed:Media Department of Tactical Gaming,
Part of Department of Public Relations
Web: http://www.tacticalgaming.org

Troy

  • GE:S Coder
  • 00 Agent
  • ***
  • Posts: 821
  • Reputation Power: 260
  • Troy is awe-inspiring!Troy is awe-inspiring!Troy is awe-inspiring!Troy is awe-inspiring!Troy is awe-inspiring!Troy is awe-inspiring!Troy is awe-inspiring!Troy is awe-inspiring!Troy is awe-inspiring!Troy is awe-inspiring!Troy is awe-inspiring!Troy is awe-inspiring!
  • Offline Offline
Re: [Bug] Nextmap
« Reply #4 on: August 07, 2012, 01:38:43 pm »

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.
« Last Edit: August 07, 2012, 01:44:12 pm by Troy »
Logged
Complete - Arsenal, One Bullet is Enough, Tournament DM v2, TurboDM
Defunct - Agent Under Fire
VC - Being such a dick, KM must be stroked before springing into action.

killermonkey

  • GES Programmer
  • Retired Lead Developer
  • GE:S Fanatic
  • *
  • Posts: 5,473
  • Reputation Power: 346
  • killermonkey is awe-inspiring!killermonkey is awe-inspiring!killermonkey is awe-inspiring!killermonkey is awe-inspiring!killermonkey is awe-inspiring!killermonkey is awe-inspiring!killermonkey is awe-inspiring!killermonkey is awe-inspiring!killermonkey is awe-inspiring!killermonkey is awe-inspiring!killermonkey is awe-inspiring!killermonkey is awe-inspiring!
  • Offline Offline
    • DroidMonkey Apps
Re: [Bug] Nextmap
« Reply #5 on: August 07, 2012, 04:49:39 pm »

I think I found the reason. I will test the fix in my way home this afternoon.
Logged

Troy

  • GE:S Coder
  • 00 Agent
  • ***
  • Posts: 821
  • Reputation Power: 260
  • Troy is awe-inspiring!Troy is awe-inspiring!Troy is awe-inspiring!Troy is awe-inspiring!Troy is awe-inspiring!Troy is awe-inspiring!Troy is awe-inspiring!Troy is awe-inspiring!Troy is awe-inspiring!Troy is awe-inspiring!Troy is awe-inspiring!Troy is awe-inspiring!
  • Offline Offline
Re: [Bug] Nextmap
« Reply #6 on: August 07, 2012, 05:55:54 pm »

Nice one KM.  I'm eagerly waiting to find out the results.
Logged
Complete - Arsenal, One Bullet is Enough, Tournament DM v2, TurboDM
Defunct - Agent Under Fire
VC - Being such a dick, KM must be stroked before springing into action.

killermonkey

  • GES Programmer
  • Retired Lead Developer
  • GE:S Fanatic
  • *
  • Posts: 5,473
  • Reputation Power: 346
  • killermonkey is awe-inspiring!killermonkey is awe-inspiring!killermonkey is awe-inspiring!killermonkey is awe-inspiring!killermonkey is awe-inspiring!killermonkey is awe-inspiring!killermonkey is awe-inspiring!killermonkey is awe-inspiring!killermonkey is awe-inspiring!killermonkey is awe-inspiring!killermonkey is awe-inspiring!killermonkey is awe-inspiring!
  • Offline Offline
    • DroidMonkey Apps
Re: [Bug] Nextmap
« Reply #7 on: August 08, 2012, 01:27:29 am »

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
Logged

tg99

  • Agent
  • *
  • Posts: 26
  • Reputation Power: 14
  • tg99 barely matters.tg99 barely matters.
  • Offline Offline
    • Tactical Gaming
Re: [Bug] Nextmap
« Reply #8 on: August 08, 2012, 02:19:01 pm »

were does this file go?
Logged
Signed:Media Department of Tactical Gaming,
Part of Department of Public Relations
Web: http://www.tacticalgaming.org

Troy

  • GE:S Coder
  • 00 Agent
  • ***
  • Posts: 821
  • Reputation Power: 260
  • Troy is awe-inspiring!Troy is awe-inspiring!Troy is awe-inspiring!Troy is awe-inspiring!Troy is awe-inspiring!Troy is awe-inspiring!Troy is awe-inspiring!Troy is awe-inspiring!Troy is awe-inspiring!Troy is awe-inspiring!Troy is awe-inspiring!Troy is awe-inspiring!
  • Offline Offline
Re: [Bug] Nextmap
« Reply #9 on: August 08, 2012, 03:36:32 pm »

If you are using the stock mapchooser SM provides, put it into the disabled folder.  Download the above file and put it into plugins.
« Last Edit: August 08, 2012, 08:53:21 pm by Troy »
Logged
Complete - Arsenal, One Bullet is Enough, Tournament DM v2, TurboDM
Defunct - Agent Under Fire
VC - Being such a dick, KM must be stroked before springing into action.

Troy

  • GE:S Coder
  • 00 Agent
  • ***
  • Posts: 821
  • Reputation Power: 260
  • Troy is awe-inspiring!Troy is awe-inspiring!Troy is awe-inspiring!Troy is awe-inspiring!Troy is awe-inspiring!Troy is awe-inspiring!Troy is awe-inspiring!Troy is awe-inspiring!Troy is awe-inspiring!Troy is awe-inspiring!Troy is awe-inspiring!Troy is awe-inspiring!
  • Offline Offline
Re: [Bug] Nextmap
« Reply #10 on: August 08, 2012, 06:19:19 pm »

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.)
« Last Edit: August 09, 2012, 03:05:39 am by Troy »
Logged
Complete - Arsenal, One Bullet is Enough, Tournament DM v2, TurboDM
Defunct - Agent Under Fire
VC - Being such a dick, KM must be stroked before springing into action.
Pages: [1]   Go Up