Raised This Month: $32 Target: $400
 8% 

Nextmap (port from amxx)


Post New Thread Closed Thread   
 
Thread Tools Display Modes
ferret
SourceMod Developer
Join Date: Dec 2004
Location: Atlanta, GA
Old 06-19-2007 , 14:00   Re: [PLUGIN] Nextmap (port from amxx)
#11

L 06/19/2007 - 17:585: World triggered "Intermission_Time_Limit"
Going to intermission...
CHANGE LEVEL: de_aztec
L 06/19/2007 - 17:58:45: [nextmap.smx] Nextmap changed map to "cs_havana"
CHANGE LEVEL: de_aztec

I set cs_havana successfully, and nextmap indicated that, but still jumped to aztec instead. I don't think you can issue changelevel during the end of map chattime...
__________________
I'm a blast from the past!

Last edited by ferret; 06-19-2007 at 14:05.
ferret is offline
ferret
SourceMod Developer
Join Date: Dec 2004
Location: Atlanta, GA
Old 06-19-2007 , 15:56   Re: [PLUGIN] Nextmap (port from amxx)
#12

http://forums.alliedmods.net/showthread.php?t=56714

It should work as soon as nextmap works.
__________________
I'm a blast from the past!
ferret is offline
yester64
Senior Member
Join Date: May 2007
Old 06-19-2007 , 17:07   Re: [PLUGIN] Nextmap (port from amxx)
#13

i just wonder, if i have to rename the plugin.
there is another nextmap (for users to type) and than this one. they have the same name.
yester64 is offline
pRED*
Join Date: Dec 2006
Old 06-19-2007 , 17:41   Re: [PLUGIN] Nextmap (port from amxx)
#14

Hmm yea it works some of the time but not others it seems..

No idea why.
I might just borrow the stock from the other nextmap plugin (searches for current map in mapcycle.txt and then finds the next in the list). Not exactly what the amxx version does but achieves the same thing
pRED* is offline
theY4Kman
Join Date: Jun 2007
Location: Yak
Old 06-19-2007 , 17:46   Re: [PLUGIN] Nextmap (port from amxx)
#15

But what if the mapcycle has the same map twice?
__________________
http://y4kstudios.com
Is that loud enough? Oh, while I have you, check out Viper.
theY4Kman is offline
Send a message via ICQ to theY4Kman Send a message via AIM to theY4Kman Send a message via MSN to theY4Kman Send a message via Yahoo to theY4Kman Send a message via Skype™ to theY4Kman
pRED*
Join Date: Dec 2006
Old 06-19-2007 , 17:56   Re: [PLUGIN] Nextmap (port from amxx)
#16

True... Good Point. Ok I'll port the amxx way saving the data into cvars then..
pRED* is offline
ferret
SourceMod Developer
Join Date: Dec 2004
Location: Atlanta, GA
Old 06-19-2007 , 18:01   Re: [PLUGIN] Nextmap (port from amxx)
#17

Quote:
Originally Posted by pRED* | NZ View Post
Hmm yea it works some of the time but not others it seems..
Try making the mp_chattime delay even longer. Like... 20 seconds longer
__________________
I'm a blast from the past!
ferret is offline
pRED*
Join Date: Dec 2006
Old 06-19-2007 , 18:56   Re: [PLUGIN] Nextmap (port from amxx)
#18

I've finished porting all of the features from the amxx nextmap plugin. (Including some of the translation file).

It compiles fine but havn't had a chance to test it yet. If anyone wants to have a go feel free, and ill do some proper testing later today.
Attached Files
File Type: sp Get Plugin or Get Source (nextmap.sp - 863 views - 6.1 KB)
File Type: cfg plugin.nextmap.cfg (383 Bytes, 292 views)
pRED* is offline
pRED*
Join Date: Dec 2006
Old 06-19-2007 , 23:05   Re: [PLUGIN] Nextmap (port from amxx)
#19

Someone...

I've fixed it so the chat triggers actually work and i've at least partially fixed the file reading to find the next map.

Just the main thing, hooking intermission and then calling changelevel doesn't seem to be working at all.
Attached Files
File Type: sp Get Plugin or Get Source (nextmap.sp - 859 views - 6.3 KB)
pRED* is offline
kill0r
Junior Member
Join Date: Jun 2007
Old 06-20-2007 , 14:17   Re: [PLUGIN] Nextmap (port from amxx)
#20

1. I recomment to make sm_nextmap readable from 3rd party tools like hlsw:
FCVAR_PLUGIN|FCVAR_SPONLY|FCVAR_UNLOGGED| FCVAR_DONTRECORD|FCVAR_REPLICATED| FCVAR_NOTIFY

2. I suggest to rename it to info_nextmap, it's more generic then sm_,
so hlsw and other tools doesn't need to be updated that often.

3. The international token for German is not "ge", its "de". (plugin.nextmap.cfg)

4. The source engine and sourcemod is utf8 capable, you can use char's like 'ä' if you safe the file with utf8.

Last edited by kill0r; 06-22-2007 at 01:31.
kill0r is offline
Closed Thread


Thread Tools
Display Modes

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 22:39.


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