Raised This Month: $51 Target: $400
 12% 

nextmap/mapchooser in Natural-Selection


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
CheesyPeteza
Senior Member
Join Date: Feb 2004
Location: UK
Old 02-23-2004 , 06:02   nextmap/mapchooser in Natural-Selection
Reply With Quote #1

The nextmap plugin uses SVC_INTERMISSION to detect when the map is about to change so it can change the map to the one in the cvar amx_nextmap. This message isn't sent in NS. This breaks nextmap and the mapchooser.

I have fixed this by using a module which detects the engine function *pfnchangelevel and overrides it.

Perhaps that would be a solution for all mods assuming the other mods use it too.

2nd problem is reading the mapcycle.txt. An NS mapcycle has lines like this:
ns_agora\minplayers\10\maxplayers\20

This is simply fixed by using the parse command after reading the line.

A non ns related problem with nextmap is that mp_chattime is not accounted for. It just sets a task to change the map in 2.5 seconds I think. Perhaps increase mp_chattime and set the task to change map with the original mp_chattime value. This isn't an issue with the above changelevel solution.
__________________
YO|Cheesy Peteza

[email protected]

CheesyPeteza is offline
SniperBeamer
AMX Mod X Founder
Join Date: Jun 2003
Location: Good Old Europe
Old 02-23-2004 , 06:24  
Reply With Quote #2

1. Specific support for other mods than cstrike is planed in later versions.
2. done
__________________
SniperBeamer is offline
CheesyPeteza
Senior Member
Join Date: Feb 2004
Location: UK
Old 02-23-2004 , 06:47  
Reply With Quote #3

OK fair enough about only doing a CS specific version at the moment.

I just thought of a problem with that mp_chattime solution I suggested, mp_chattime is just going to get bigger and bigger each map.
__________________
YO|Cheesy Peteza

[email protected]

CheesyPeteza is offline
SniperBeamer
AMX Mod X Founder
Join Date: Jun 2003
Location: Good Old Europe
Old 02-23-2004 , 15:04  
Reply With Quote #4

thank you for bug reporting
fixed
__________________
SniperBeamer is offline
CheesyPeteza
Senior Member
Join Date: Feb 2004
Location: UK
Old 02-28-2004 , 19:01  
Reply With Quote #5

If you added changelevel forwarding/blocking then you could make it so that in CS the map didn't change until the last round was finished.
__________________
YO|Cheesy Peteza

[email protected]

CheesyPeteza is offline
SniperBeamer
AMX Mod X Founder
Join Date: Jun 2003
Location: Good Old Europe
Old 02-28-2004 , 19:05  
Reply With Quote #6

http://djeyl.net/forum/index.php?showtopic=19460
__________________
SniperBeamer is offline
CheesyPeteza
Senior Member
Join Date: Feb 2004
Location: UK
Old 02-28-2004 , 19:09  
Reply With Quote #7

I'll get you next time Gadget!!!
__________________
YO|Cheesy Peteza

[email protected]

CheesyPeteza is offline
QwertyAccess
Veteran Member
Join Date: Feb 2004
Location: Enjiru Layer
Old 02-29-2004 , 17:45  
Reply With Quote #8

:O
QwertyAccess is offline
Old 06-13-2010, 10:54
MrMaCEEE
This message has been deleted by YamiKaitou. Reason: bumping really old thread
Old 06-13-2010, 11:11
ConnorMcLeod
This message has been deleted by YamiKaitou. Reason: bumping really old thread
Old 06-13-2010, 11:50
drekes
This message has been deleted by YamiKaitou. Reason: bumping really old thread
Old 06-13-2010, 14:38
human_Torch
This message has been deleted by YamiKaitou. Reason: bumping really old thread
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 13:17.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode