Deagles' Map Management 3.23
27 Attachment(s)
Alright people, as we all know Deagles Map management has been out forever, but the author has not logged in, in over a year. Me and a few other people have been supporting it since I dont even know when. I came across a revision from JTP10181's CVS site. I used that for a while, then updated it again, then again. It seems to many people use this its hard to control a plugin with no author and 62 pages to read of issues/requests.
I thought it would be a good idea to start from scratch, somewhat. I am placing version 2.47 up here for an updated and constantly supported plugin. (it was actually a request from a respectable source :D) I would not post this just off the whim, I asked some higher ups for their advice on what to do, as in how to go about this since its out already and whatnot, and this is what it came up to be. (If I missed anybody for Support please let me know, as this has been around here and there so much its hard to keep track of) I hope the layout of this page is a good enough Description, if not, let me know lol. Onto the plugin itself: -(Plugin Support) DynamicBits thedeagles3 for Origional (deags origional - port to amxmodx) BigBaller for porting it originally, JTP10181 for Major code cleanup & Additions The entire Amx Mod X Community who pitched in ==================================== Installing:
==================================== Commands and Usage: The vote can be rocked by say "rockthevote", depending on the cvar rtv_percent and the # of people who rockthevote -Say Commands: (All added in 2.40) listmaps rockthevote rtv nextmap -Admin Commands: dmap_mapsurl dmap_mapsnum <N> (Specifies how many maps will be in the next vote) dmap_rockthevote (makes the map vote instantly (rockthevote)) dmap_quietmode <OFF|NOSOUND|SILENT> (Default: OFF)(quiet mode for you people who must have silence on your server dmap_rtvpercent <n> (Default:60)n must be from 3-100, at least this many players have to "rockthevote" dmap_rtvplayers <n> (default:1)(n must be from 1 to 32) this many players have to rockthevote for the vote to start. Note both conditions have to be met, #players, and Percent. dmap_rtvwait <n> (Default: 10) n must be from 5 to 30, this value is minutes before rockthevote will be accepted) dmap_rtvtoggle (Default:ON. this will toggle on/off the ability of players to rockthevote, Note that Admins with ACCESS_MAP will still be able to use dmap_rockthevote, to manually force a vote) dmap_banlastmaps <n> (from 0-20) this will allow admins, (like DoubleTap) to eliminate the Dust syndrome. dmap_freeze (Default for CS: ON. this will toggle on/off freeze (only available in CS) dmap_status (self-explanatory) dmap_help (shows very general help) dmap_messages <N> (Determines interval between display of messages. Default: 3 mintues) dmap_nominations <N> (Determines maximum nominations that a user can make. Default: 3 maps) dmap_default (sets all settings back to the default) dmap_maxcustom <N> Sets maximum custom maps that can be nominated by all players. Added in 2.40 dmap_cyclemode (Disables Voting (To restore voting use dmap_votemode) dmap_votemode (This enables voting, default) dmap_cancelvote (cancels the rocked vote) dmap_nominate Cvars:
Config Files:
==================================== Change log: I added the Change log from since it was original release, starting with jtp's changes. Code:
v3.23 - 2009-02-17 by DynamicBits==================================== Multilingual:
Additional Info:
|
Re: Deagles Map Management 2.47
Plz tell what was fixed and what's new
|
Re: Deagles Map Management 2.47
Quote:
|
Re: Deagles Map Management 2.47
I've recently read the log of changes but to my mind you should add these cvars:
- dmap_fastchange (0 - freezing after last round, 1 - fastchange with mp_chattime 0) - dmap_nodustchanges 2 (how many changes of map appear with no dust and dust2 autonomination in streak; but dust and dust2 are available to be nominated by players) - dmap_votetimestart 3 (how many minutes before end of map voting is started) - dmap_voices (0 - no voices, 1 - all voices except "loading on your computer", 2 - all voices [default]) - dmap_mapstovote 5 (1-7 how many maps are shown in voting time, also you may upgrade to vote randomness, for example, on one map 2 choices, on another 5 choices) |
Re: Deagles Map Management 2.47
Dam draft, its almost you were ready for this. lol
But yea, you see the command changes and teh major code cleanup in the top, but the changelog is somewhat bigger, so I kept it in the zip And im just about to move, so it may be a few days before theirs somewhat of a pro-activeness to this. I just wanted it released to get some dam good support with and updated plugins. :D |
Re: Deagles Map Management 2.47
Hello PM, I been looking for a clean version of this Ty
|
Re: Deagles Map Management 2.47
the only good changes are multilanguage and cleanup of code?? so what was wrong with the old, i had no problems with it at all and the size of the source isnt smaler in comparison to 2.30 it is much bigger "about 20kb)
|
Re: Deagles Map Management 2.47
bmann what about adding cvars listed by me? if you add them your plugin will get approved, cleaning the code good job, but as u see there were no problems with oldest versions...
|
Re: Deagles Map Management 2.47
Their was not problems, just the author cant support it, no additions can be made or any progress can be made. I wouldnt have posted this is somebody diddnt request it with respectable stature enough to persuade me. I will add those (dont think it would make or break a approval) but their will be additions and changes, that the difference here. The front page has a description, t he code has been cleaned up since the 2.30 pretty much is extremely old and their are many new ways of doing things now which will be implemented here. I find a bunch of reasons why this should be here, if its not worthy, then it will be put in unapproved.
|
Re: Deagles Map Management 2.47
Hi!
Actually I have 2 problems when using this plugin. First affects only newer versions (I have tested 2.46 and 2.47): As soon as the map is changed I just get a bad server message in the console with a long trace (I can post this if needed). Im running newest hlds with newest stable amxx on a windows box (sadly i can't change to linux, not my server). The second problem is, that setting the banlastmaps cvar to 0 seems not to work. My goal is, that 2 maps are always available for voting and the remaining slots get filled with nominated maps (if there are any). Now as soon as the second map is running, there will only be the option for extending the timelimit, which usually results in extending the map until no one is on the server anymore. "dmap_status" reports, that 0 last played maps will be banned from the vote, so at least the cvar should be set correctly. Thanks for any help! //Edit: Maybe I should add, that the second problem occurs with 2.30b and 2.40. I did not test 2.46 and 2.47 but I did a diff between 2.40 and 2.47 and think that the difference is mainly the multiple language support and a new function to cancel votes. I might still be wrong, reading the code without comments and being not into the amxx language makes it a little hard to get an overview. |
Re: Deagles Map Management 2.47
I would like to get the message if possible
Ill check out the ban issue (I cant test anything at the moment, i have to wait at least a few days I have been moving, so im limited.) Regardless, ill take a look. @n-o-l-o lol |
Re: Deagles Map Management 2.47
Quote:
|
Re: Deagles Map Management 2.47
[off-topic]omg Brad is alive :D[/offtopic]
|
Re: Deagles Map Management 2.47
4 Attachment(s)
:D
Thanks. Until you did this I will checkout GHWs Custom Nextmap :wink: |
Re: Deagles Map Management 2.47
wow, the configs. Overlook their somehow.
The others, we'll see about. |
Re: Deagles Map Management 2.47
Quote:
|
Re: Deagles Map Management 2.47
Nuff Said about that i guess.
|
Re: Deagles Map Management 2.47
@ n-o-l-o
WHy would you want the configs to be in a diff dir again? The configs dir is where they belong. |
Re: Deagles Map Management 2.47
Hello.
I have little idea: Transfer message about nominated map from HUD to chat (print_chat)- because can't saw nominated maps when spectating or death because there are banner from Steam (Valve). Screens: Live: http://img205.**************/img205/6408/zyjekz2.jpg Death: http://img526.**************/img526/3574/trupfd6.jpg That's only my idea ;] Sorry for bad english. |
Re: Deagles Map Management 2.47
MIght have to move the hud also, but yea we'll see about adding the chat, maybe a cvar for it.
|
Re: Deagles Map Management 2.47
Very easy to add my cvar to catch nominations. I'm just posting the code used. Here you go:
//first place to add public say_nextmap(id){ new timeleft = get_timeleft() new time2=timeleft-timeleft%60 new minutesleft=floatround(float(time2)/60.0) new mapname[32] get_mapname(mapname,31) new smap[32] get_cvar_string("amx_nextmap",smap,31) if(minutesleft>=2&&!mselected) { if(get_cvar_num("nominationsAllowed") == 1){ client_print(0,print_chat,"A Vote will occur in %d %s Say ^"nominations^" for a list of nominations.",(minutesleft==3||minutesleft==2 )?timeleft-100:minutesleft-2,(minutesleft==3||minutesleft==2)?"sec.":"mi n.") } }//this is continued //this is the next place public listnominations(id) { if(get_cvar_num("nominationsAllowed") == 1){ new a=0,string3[512],string1[128] if(a<nmaps_num) { //show_hudmessage(id,"The following maps have been nominated for the next map vote:") add(string3,511,"Maps that have been nominated for the next map vote:") } while(a<nmaps_num) { new name1[16] get_user_name(whonmaps_num[a], name1, 25) //set_hudmessage(255,0,0, 0.12, 0.3+0.08*float(a), 0, 15.0, 15.04, 1.5, 3.75, 2+a) //show_hudmessage(id,"%s by: %s",nmaps[a],name1) format(string1,128,"^n%s by: %s",nmaps[a],name1) add(string3,511,string1,100) a++ } hudtext16(string3,random_num(0,222),random_nu m(0,111),random_num(111,222),300,10,random_nu m(6,8),15,id) } } //next spot public HandleSay(id){ new chat[256] read_args(chat, 256) new saymap[256] saymap=chat remove_quotes(saymap) new saymap2[28] read_args(saymap2,28) remove_quotes(saymap2) new chat2[32] format(chat2,31,"cs_%s",saymap2) if(containi(chat,"lastmapsplayed") != -1){ client_print(id,print_center,"The last maps played are now listed in your console") show_lastmapsplayed(id) } if(containi(chat, "<")!=-1||containi(chat, "?")!=-1||containi(chat, ">")!=-1||containi(chat, "*")!=-1||containi(chat, "&")!=-1||containi(chat, ".")!=-1) { return PLUGIN_CONTINUE } if(containi(chat, "nominations") != -1) { if(get_cvar_num("nominationsAllowed") == 0){ client_print(id,print_chat,"Nominations are not currently allowed, maps will be chosen randomly") return PLUGIN_HANDLED } if(mselected) client_print(id,print_chat, "Vote in progress....") else if(nmaps_num==0) client_print(id,print_chat, "No maps have been nominated so far, type nominate map_name to nominate a map") else listnominations(id) } else //only 2 more to go lol public handle_nominate(id,map[]) { if(get_cvar_num("nominationsAllowed") == 0){ client_print(id,print_chat,"Nominations are not currently allowed") return PLUGIN_HANDLED } //last place plugin_init(){ register_cvar("nominationsAllowed","1")} |
BUG:
In voting doesnt show each player vote.
amx_vote_answers = 1, but this client_print(0,print_chat,"%L",LANG_PLAYER,"D MAP_CHOSE_MAPEXTENDING", name ) else if ( key < maps_to_select ) client_print(0,print_chat,"%L",LANG_PLAYER,"D MAP_CHOSE_MAP", name, nmaps[nnextmaps[key]] ) doesnt show. With 2.30b works fine, any solution? |
Re: Deagles Map Management 2.47
Well thats kinda weird, i highly doubt its the code, cause it works in all my servers. (it shows who voted for what map). Do you have the .txt file where its supposed to be?
|
Re: Deagles Map Management 2.47
Quote:
|
Re: Deagles Map Management 2.47
Found a small language error.
It's trying to read this: MAP_LISTMAPS_FINISHED = Finished displaying %d maps in your console. When it should try and read this: DMAP_LISTMAPS_FINISHED = Finished displaying %d maps in your console. You forgot to add the D in DMAP. |
Re: Deagles Map Management 2.47
Thankx bud, im just trying to Indent alll of the code now, and the indenter gave me 49 errors, which in turn, as you fix them slowly, give you about 70 of em. Im down to 9 and cant seem to get rid of em all. lol When I put out that one, pretty soon here I will make that change and a few others with a new language. :D
|
Re: Deagles Map Management 2.47
There is a part of this plugin that shows messages about the maps and what-not. In my server, I set it to 20 minutes.
How do I turn that off? I don't need anything flashing on the screen about maps. I tried to set it to zero, but it wouldn't let me. |
Re: Deagles Map Management 2.47
the new version 2.47 kick player before map changes.
old version 2.30b works good. pls fix the kickbug. |
Re: Deagles Map Management 2.47
lol, what other plugins do u have running? If I cant reproduce it, then I wont know how to fix it, and I have had 2.47 running for a while on a few of my servers. So its either a conflict, or something else besides the plugin i believe. Unless other people have this issue, I dunno. THeir is over 100 people with this version right now, so I would like to know.
@Captain, It wouldnt be easy to get those off. And im sure exactly what messages your talking about. If its the HUD's then thats just too much work. |
Re: Deagles Map Management 2.47
It wouldnt be easy to get those off. And im sure exactly what messages your talking about. If its the HUD's then thats just too much work.[/quote]
No problem. I figured it would be quite an undertaking to do that but thought I would ask anyhow. I will just set the messages to every 20 minutes and be done with it. Thanks for the response! +karma for you |
Re: Deagles Map Management 2.47
lol, yea, & sorry bud. And thankx :D
|
Re: Deagles Map Management 2.47
bmann
Look at my other 2 posts in the "Suggestions/Requests" section and see if either one of those would be feasable. I imagine if anybody could make those work, you could. Thanks again! |
Re: Deagles Map Management 2.47
Many other Plugins, but the old version is ok.
this comes in console: Last 32 messages parsed. 119260 0502 svc_sound 119260 0514 ScoreInfo 119260 0524 svc_sound 119265 0008 svc_stufftext 119265 0025 svc_stufftext 119265 0042 svc_stufftext 119265 0064 svc_stufftext 119265 0081 svc_stufftext 119265 0098 CurWeapon 119265 0102 svc_time 119265 0107 svc_choke 119265 0108 svc_clientdata 119265 0138 svc_deltapacketentities 119265 0238 svc_pings 119265 0290 svc_temp_entity 119265 0366 svc_sound 119265 0378 svc_temp_entity 119265 0387 svc_temp_entity 119265 0396 svc_temp_entity 119265 0405 svc_temp_entity 119265 0414 svc_temp_entity 119265 0423 svc_temp_entity 119265 0432 svc_temp_entity 119265 0441 svc_temp_entity 119265 0450 svc_temp_entity 119265 0459 svc_temp_entity 119265 0468 svc_temp_entity 119265 0477 svc_temp_entity 119265 0486 svc_sound 119265 0500 svc_sound 119265 0512 svc_temp_entity BAD: 567:svc_bad Host_Error: CL_ParseServerMessage: I |
Re: Deagles Map Management 2.47
THat was kinda the same thing as Schmackbolzen on the first page. I need to look all that up, cause i dont even know where to start on that.
|
Re: Deagles Map Management 2.47
I've the same "kickproblem" by mapchange:
Quote:
Quote:
Quote:
console: Quote:
|
Re: Deagles Map Management 2.47
Hey bmann, nice work! Possible you could add this though?
register_clcmd( "say rtv", "rock_the_vote", 0, "Rocks the Vote" ) A lot of people are used to "rtv" instead of "rock the vote". |
Re: Deagles Map Management 2.47
Gotcha, i can add that. And that fix for those who it kicks and gives those weird messages, i , i dunno. Gonna have to figure it out. weird shit
|
Re: Deagles Map Management 2.47
Excellent. I love this plugin, and I'm glad to see it's getting supported again. :)
A few suggestions, though. For the next version, can you expand the rtv_wait range so that it will accept smaller and larger numbers? I've had a number of players on my server wish they could rock the vote sooner after a map change. Also, if you could set it up so that "rtv" could be used as a chat command in addition to "rockthevote", that would be excellent. A slightly more complicated issue (and not quite as basic or necessary) to fix would be to provide a way to define how many custom maps can appear in a map vote unless nominated. So, say, if no one nominates anything, the server can only pick 2 of 5 map choices from the list of customs, and all the others must be marked as default. Again, nice work, and awesome to see someone taking care of this awesome piece of code. :) |
Re: Deagles Map Management 2.47
Quote:
|
Re: Deagles Map Management 2.47
Oo, whoops. lol
@Baron THe first part is already in the next version, its these bloody errors i cant seem to get rid of, but trying. The second part, we'll see About the Kick Issue Is it for a lan server? (that connects to the internet) or is it a hosted server? And if you possibly use Linksys by chance (Make sure your firmware is updated) |
| All times are GMT -4. The time now is 08:16. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.