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

Deagles' Map Management 2.30b Updated 10/28


Post New Thread Closed Thread   
 
Thread Tools Display Modes
bmann_420
AMX_Super Pooper
Join Date: Jan 2005
Location: [SuperCentral.co]
Old 06-09-2007 , 23:11   Re: Deagles' Map Management 2.30b Updated 10/28
#861

AH yes, my bad (i believe in yea Brad)
__________________
bmann_420 is offline
whoville sheriff
Junior Member
Join Date: May 2007
Old 06-12-2007 , 22:38   Re: Deagles' Map Management 2.30b Updated 10/28
#862

If anyone is interested, I added a function to list the banned maps and the time they were played for players who have favorite maps. I also had to fix one array size because I was getting a runtime error for one portion. With permission, and if anyone wants, I can post the added code so they can incorporate this into the origional. Let me know guys. Thanks, great plugin.
whoville sheriff is offline
bmann_420
AMX_Super Pooper
Join Date: Jan 2005
Location: [SuperCentral.co]
Old 06-13-2007 , 03:08   Re: Deagles' Map Management 2.30b Updated 10/28
#863

I wouldnt mind takin a look at it.
__________________
bmann_420 is offline
whoville sheriff
Junior Member
Join Date: May 2007
Old 06-13-2007 , 17:26   Re: Deagles' Map Management 2.30b Updated 10/28
#864

First this needs to be changed:

Quote:
new rocked[33] // was 32, throwing runtime errors during rock the vote
Then, I made the function for people to see the last maps played that are unavailable for voting:
Quote:
public show_lastmapsplayed(id)
{
new text[256],p
new time = get_cvar_num("mp_timelimit")
console_print(id,"Currently %s is being played", lastmaps[0])
for(p=1;p<=(bannedsofar - 1);p++)
{
format(text,255,"%s",lastmaps[p])
console_print(id,"The map %s was played %d minutes ago",text,(p*time))
}
console_print(id,"These maps are not yet available for nomination")
return PLUGIN_HANDLED
}
Then, All that is left, is adding the handlesay and the plugin init commands like this:
Quote:
if(containi(chat,"lastmapsplayed") != -1){
client_print(id,print_center,"The last maps played are now listed in your console")
show_lastmapsplayed(id)
}
Quote:
register_concmd("lastmapsplayed","show_lastma psplayed",0,"Will show you the last maps played, not available for nomination")
Then you are all set. Let me know if you need any help. I may be new, but I have made about 5 plugins that are currently being used in my clans servers. Thanks again!

P.S. My plugins consist of DOD-rollthedice, WhoDog's Boom, modified jedi force grab(modified for bots), modified DOD-flamethrower, and a few more.
whoville sheriff is offline
bmann_420
AMX_Super Pooper
Join Date: Jan 2005
Location: [SuperCentral.co]
Old 06-13-2007 , 18:18   Re: Deagles' Map Management 2.30b Updated 10/28
#865

If you want you can click on the CVS/SVN link in my sig, i have a revised version of this also.
__________________
bmann_420 is offline
whoville sheriff
Junior Member
Join Date: May 2007
Old 06-13-2007 , 20:25   Re: Deagles' Map Management 2.30b Updated 10/28
#866

Everything else works fine for the dod server. I just thought I would add my 2 cents in case you were trying to do the same.
whoville sheriff is offline
bmann_420
AMX_Super Pooper
Join Date: Jan 2005
Location: [SuperCentral.co]
Old 06-14-2007 , 01:05   Re: Deagles' Map Management 2.30b Updated 10/28
#867



Ill add yours to the CVS, although i dont think many players will be aggressive enough to see what maps were banned. But hey, it helps.
__________________
bmann_420 is offline
ajmstyle
Junior Member
Join Date: Jun 2007
Old 06-14-2007 , 06:22   Re: Deagles' Map Management 2.30b Updated 10/28
#868

hello everyone, I got a question about this plugin. Im not sure if it was answered already judging by the size of this thread.

Well here goes. I currently have a Sven server up and the default "nextmap" plugin doesn't read seem the "nextmap" variable in the "<mapname>.cfg" file.

I'm curious if this plugin rectifies this issue.

If not, does would anyone be so kind as to shed some light on how to modify this or maybe the default nextmap plugin to notice the "nextmap" variable in the map's .cfg file and set it to be displayed as so in the game?

Thanks in advance.
ajmstyle is offline
whoville sheriff
Junior Member
Join Date: May 2007
Old 06-14-2007 , 21:56   Re: Deagles' Map Management 2.30b Updated 10/28
#869

Quote:
Originally Posted by bmann_420 View Post
Ill add yours to the CVS, although i dont think many players will be aggressive enough to see what maps were banned. But hey, it helps.
I have actually had many people request this because we have a 16 maps before revoting in our server. It has been popular. Thanks again and good luck.
whoville sheriff is offline
bmann_420
AMX_Super Pooper
Join Date: Jan 2005
Location: [SuperCentral.co]
Old 06-14-2007 , 22:06   Re: Deagles' Map Management 2.30b Updated 10/28
#870

RIght on

Question: Can you make a function that will disable voting if the server is 70% full? Possibly the percentage defined by a cvar
__________________
bmann_420 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 04:32.


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