Raised This Month: $ Target: $400
 0% 

Deagles' Map Management 2.30b Updated 10/28


Post New Thread Closed Thread   
 
Thread Tools Display Modes
James
Senior Member
Join Date: Dec 2004
Old 02-18-2007 , 16:38   Re: Deagles' Map Management 2.30b Updated 10/28
#681

Quote:
Originally Posted by Hit_alive View Post
How to disable logs?
You must edit manually script. I added logging variable for example...
__________________
Do good things, and good things happen to you
James is offline
Spiky Pirate
Senior Member
Join Date: Oct 2006
Old 02-18-2007 , 16:49   Re: Deagles' Map Management 2.30b Updated 10/28
#682

thank you sir
Spiky Pirate is offline
sHum
Member
Join Date: May 2006
Old 02-19-2007 , 17:51   Re: Deagles' Map Management 2.30b Updated 10/28
#683

hey

im trying to figure this out ... i want to have music play at the end of the map, via the plugin MapEnd-Sounds (search it) .. before i switched to Deags' map manager, the mapend sounds work fine, having the mp_chattime 20.0 was perfect.

but with deagmapmanager, it appears the mp_chattime is hardcoded into the plugin, forcing this cvar, and making the MapEnd-sounds plugin redundant.. cos dmap would change the map too quickly.

soo im trying to slow it down, by editing the .sma ... i been playing around on my own, but im not getting what i need. I change the mp_chattime within the script to 20.0, it doesnt work, it still switches too fast, as though it doesnt make a difference. then i changed the "set_task" for "DelayedChange" to 20.0 , and now, the map end time is fine, the music plays and all, and it works. but it switches to the wrong map.. instead of switching to the map selected by votes/dmap, it switcches to the next map on the server's mapcycle.txt file.. it doesnt change to the one voted for/chosen by amx_nextmap.

can anyone care to help out a lil'?

Code:
public levelchange(){ 
   if(istimeset2==1)
   {  							 //Allow automatic map change to take place.
      set_cvar_float("mp_timelimit",get_cvar_float("mp_timelimit")-2.0)
      istimeset2=0
   }
   else{
	if(get_cvar_float("mp_timelimit")>=4.0){   //Allow automatic map change to take place.
		if(!istimeset)
		   oldtimelimit=get_cvar_float("mp_timelimit")
		set_cvar_float("mp_timelimit",get_cvar_float("mp_timelimit")-3)
		istimeset=1
	}else
		if(get_cvar_num("mp_winlimit"))      //Allow automatic map change based on teamscores
		{
			new largerscore
			largerscore=(teamscore[0]>teamscore[1])?teamscore[0]:teamscore[1]
			iswinlimitset=1
			oldwinlimit=get_cvar_num("mp_winlimit")
			set_cvar_num("mp_winlimit",largerscore)
		}
   }
   //If we are unable to achieve automatic level change, FORCE it.
   set_task(2.1,"DelayedChange",444444)
}
public changeMap(){ //Default event copied from nextmap.amx, and changed around.
  set_cvar_float( "mp_chattime" , 18.0 ) // make sure mp_chattime is long
  remove_task(444444)
  set_task( 18.0 , "DelayedChange")
}
public DelayedChange(){
   new smap[32] 
   get_cvar_string("amx_nextmap",smap,31) 
   server_cmd( "changelevel %s", smap )
this is currently the code im running off, that im having trouble with, the map is not changing to the one players vote for, and changes to the server's mapcycle.txt map.

need help .. =/

Last edited by sHum; 02-19-2007 at 18:38.
sHum is offline
jayboychan
Junior Member
Join Date: Feb 2007
Old 02-19-2007 , 18:14   Re: Deagles' Map Management 2.30b Updated 10/28
#684

How do I stop the original Map voting that came with AMXX but keep this one active?
at last 2 minutes there will always be 2 votings comming up, kinda weired!

someone help plz ^^
jayboychan is offline
Spiky Pirate
Senior Member
Join Date: Oct 2006
Old 02-19-2007 , 18:31   Re: Deagles' Map Management 2.30b Updated 10/28
#685

@ jayboychan,

go to plugins.ini and then
;mapchooser.amxx ; allows to vote for next map

put a semi colon right in front of "mapchooser.amxx"
Spiky Pirate is offline
sHum
Member
Join Date: May 2006
Old 02-20-2007 , 00:33   Re: Deagles' Map Management 2.30b Updated 10/28
#686

how can i get Deags Map Manager to work hand-in-hand with sister plugin "MapEnd-Sounds" ?

mapend-sounds calls for "mp_chattime 20.0" to have the map-end sounds play, while DeagsMap overrides it with it's own "mp_chattime" cvar that is hard-coded within the source, as i posted in my previous post...

sucks how u cant have the planet's 2 best map-handling features on the same platter...
sHum is offline
vlad
Junior Member
Join Date: Mar 2004
Old 02-20-2007 , 07:18   Re: Deagles' Map Management 2.30b Updated 10/28
#687

Quote:
Originally Posted by ToT | V!PER View Post
Is JTP working on making a multilingual version? Does anybody know?
Are there any useful changes within 2.40 of JTP?
http://forums.alliedmods.net/showthread.php?t=51519
vlad is offline
James
Senior Member
Join Date: Dec 2004
Old 02-20-2007 , 09:00   Re: Deagles' Map Management 2.30b Updated 10/28
#688

Quote:
Originally Posted by James View Post
When I allow 3 of 5 maps can be nominated by players, which maps are finally nominated? first 3 map which is typed by first 3 writers? Or 3 top maps, which have most nomination votes?

Anyone?
__________________
Do good things, and good things happen to you
James is offline
Hit_alive
Junior Member
Join Date: Dec 2004
Location: Belarus
Old 02-23-2007 , 08:32   Re: Deagles' Map Management 2.30b Updated 10/28
#689

Quote:
Originally Posted by James View Post
You must edit manually script. I added logging variable for example...
Help me please as where to remove? ;-)
Hit_alive is offline
vlad
Junior Member
Join Date: Mar 2004
Old 02-23-2007 , 10:18   Re: Deagles' Map Management 2.30b Updated 10/28
#690

Quote:
Originally Posted by vlad View Post
Quote:
Originally Posted by ToT | V!PER View Post
Is JTP working on making a multilingual version? Does anybody know?
Are there any useful changes within 2.40 of JTP?
http://forums.alliedmods.net/showthread.php?t=51519
Attached Files
File Type: zip deagsmapmanager.zip (27.0 KB, 145 views)
vlad is offline
Closed Thread



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 01:42.


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