Raised This Month: $ Target: $400
 0% 

Deagles' Map Management 3.23


Post New Thread Reply   
 
Thread Tools Display Modes
LaineN
Veteran Member
Join Date: Mar 2008
Location: Sweden
Old 02-22-2009 , 12:08   Re: Deagles' Map Management 3.23
Reply With Quote #711

Quote:
Originally Posted by bmann_420 View Post
Updated to 3.23, Thank You DynamicBits

And thank you for everybody's support in this matter er plugin
Where in the code did you changed? What lines?
Will change it in my modified version
__________________
Bollnas Team - HideNSeek

See all of Bollnas Team's HideNSeek
servers at
http://bollnasteam.se/!

LaineN is offline
naven
Veteran Member
Join Date: Jun 2008
Location: Poland, Cieszyn
Old 02-22-2009 , 13:44   Re: Deagles' Map Management 3.23
Reply With Quote #712

Great plugin!
__________________
naven.com.pl
"At the end of the day, there are always going to be mental disorders and people who cause violence for no other reason than the fact that they're fucked up and lost. And all we can do is try to learn from it." Corey Taylor.
naven is offline
DynamicBits
Senior Member
Join Date: Sep 2007
Location: US
Old 02-22-2009 , 13:54   Re: Deagles' Map Management 3.23
Reply With Quote #713

Quote:
Originally Posted by LaineN View Post
Where in the code did you changed? What lines?
Will change it in my modified version :D
Changes from v3.22 to 3.23:
What do you have different in your modified version? Is it something that perhaps everyone would like to see in the official version?


--
Andy
DynamicBits is offline
LaineN
Veteran Member
Join Date: Mar 2008
Location: Sweden
Old 02-22-2009 , 14:14   Re: Deagles' Map Management 3.23
Reply With Quote #714

Quote:
Originally Posted by DynamicBits View Post
What do you have different in your modified version? Is it something that perhaps everyone would like to see in the official version?
Nah, it's just some style changes. Red numbers in menu and so on...
__________________
Bollnas Team - HideNSeek

See all of Bollnas Team's HideNSeek
servers at
http://bollnasteam.se/!

LaineN is offline
cameron0620
Junior Member
Join Date: Nov 2007
Old 02-23-2009 , 01:24   Re: Deagles' Map Management 3.23
Reply With Quote #715

I am having problems with the new version of this plugin with the vote percentages. Everytime the next map vote is finalized everyone gets kicked from the server. I tried disabling all my other 3rd party plugins except this one and it still did it. Unfortunately I had the log feature of the plugin turned off, but here is the server log of one time it happened.

Code:
L 02/22/2009 - 18:50:44: Server cvar "amx_nextmap" = "cs_mansionsimpsons" 
L 02/22/2009 - 18:50:44: "{QC}*DESTRUCTOR*ANAL*<90><STEAM_0:0:8121798><TERRORIST>" disconnected 
L 02/22/2009 - 18:50:44: "KoOsta` <3EbaK<84><STEAM_0:0:80795><CT>" disconnected 
L 02/22/2009 - 18:50:44: "Qc-Gaudet*<89><STEAM_0:0:2138287><TERRORIST>" disconnected 
L 02/22/2009 - 18:50:44: "uT.| Most_pimpin<86><STEAM_0:0:22862420><CT>" disconnected 
L 02/22/2009 - 18:50:44: "GodleeCheTTe<94><STEAM_0:0:6121432><CT>" disconnected 
L 02/22/2009 - 18:50:44: Team "TERRORIST" triggered "Terrorists_Win" (CT "2") (T "3") 
L 02/22/2009 - 18:50:44: World triggered "Round_End" 
L 02/22/2009 - 18:50:44: "uT.| PARAPALEGIC SNAKE<91><STEAM_0:0:18116357><CT>" disconnected 
L 02/22/2009 - 18:50:44: "uT.| ~Sticky-Weed~<87><STEAM_0:0:20107453><TERRORIST>" disconnected 
L 02/22/2009 - 18:50:44: "uT.| Sniper~ Rm |LoLz|<95><STEAM_0:0:22329961><TERRORIST>" disconnected 
L 02/22/2009 - 18:50:44: "yourmomgoestocollege<92><STEAM_0:0:23066025><CT>" disconnected 
L 02/22/2009 - 18:50:44: "Jack Herrer<53><STEAM_0:1:9459519><TERRORIST>" disconnected 
L 02/22/2009 - 18:50:47: "KoOsta` <3EbaK<97><STEAM_0:0:80795><>" connected, address "98.221.50.113:60997"

here is my plugins.ini

Code:
; Custom - Add 3rd party plugins here
amxdestroy.amxx
fakefull_original.amxx
utservers.amxx
ultimate_chat.amxx
eawp2scout.amxx
round_money.amxx
clan_tag_checker.amxx

amx_super.amxx debug
smart_slash.amxx
deagsmapmanager.amxx
I also run hookmod and logmod as metamod plugins. I have since reverted back to the previous release of your plugin and it works fine.

Last edited by cameron0620; 02-23-2009 at 01:37.
cameron0620 is offline
ScHrAnZ DiNgEnS
Senior Member
Join Date: Sep 2007
Old 02-23-2009 , 03:43   Re: Deagles' Map Management 3.23
Reply With Quote #716

Quote:
Originally Posted by DynamicBits View Post

What do you have different in your modified version? Is it something that perhaps everyone would like to see in the official version?


--
Andy
I have added a funktion from Glileo that when a admin choose a Map it counts as two votes

PHP Code:
public vote_count(idkey) {
    if (
get_cvar_float("amx_vote_answers")) {
        new 
name[32];
        
get_user_name(idname31);
        if (
key == maps_to_select) {
            
client_print(0print_chat"%L"LANG_PLAYER"DMAP_CHOSE_MAPEXTENDING"name);
        } else if (
key maps_to_select) {
            
client_print(0print_chat"%L"LANG_PLAYER"DMAP_CHOSE_MAP"namenmaps[nnextmaps[key]]);
        }
    }
    if (
access(id,ADMIN_DMAP))
    {
        new 
voteWeight 2;///add maybe a pcvar
        
nvotes[key] += voteWeight;
        
g_TotalVotes += voteWeight;
        
client_print(idprint_chat"%L"id"DMAP_VOTE_WEIGHTED"voteWeight);
    }
    else
    {
        
nvotes[key] += 1;
        
g_TotalVotes += 1;
    }
    
    
    
g_AlreadyVoted[id] = true;
    
show_vote_menu(false);

    return 
PLUGIN_HANDLED;

I alredy addet that if is only one player on the server he can rockthevote and ignore minimumwait for RTV.

I added this part to "public rock_the_vote (id)" after the check if an vote iss inprogress

PHP Code:
if(currentplayers == 1) { ///maybe add a cvar to enabled it and use "if(currentplayers == 1 && get_pcvar_num(dmap_cvarname))
        
rocked[id] = 1;
        
rocks++;
        
client_print(0print_chat"%L"LANG_PLAYER"DMAP_RTV_STARTING"rocks);
        
set_hudmessage(22270,0, -1.00.3110.010.02.04.04);
        
show_hudmessage(0"%L"LANG_PLAYER"DMAP_RTV_START"rocks);
        
hasbeenrocked 1;
        
inprogress 1;
        
mselected false;
        
set_task(15.0"rock_it_now"765100); 

Greets,
Matze
ScHrAnZ DiNgEnS is offline
Send a message via ICQ to ScHrAnZ DiNgEnS Send a message via AIM to ScHrAnZ DiNgEnS
-=hunter=-
Senior Member
Join Date: Jul 2008
Old 02-23-2009 , 07:34   Re: Deagles' Map Management 3.23
Reply With Quote #717

bmann_420 & DynamicBits
Can you please:
1) To add Command for admin: say /next which immediately will call Amx Nextmap Menu and after this voting will be Menu for admin:
Code:
Changelevel to:
01. Yes
02. No
03. Revote
2) If voting failed (example, on server 0 players or nobody votes) then nextmap will be random map.
3) Change function client_print to
Code:
svc_saytext = get_user_msgid("SayText");
message_begin(MSG_ONE, svc_saytext, { 0, 0, 0 }, id);
write_byte(id);
write_string(msg);
message_end();
so non-english characters(example, russian) will shows not fully in game.
4) To optimize plugin so server laggs when appears message:"Map Voting will begin in... secs".
Thanks

Last edited by -=hunter=-; 02-23-2009 at 07:36.
-=hunter=- is offline
Send a message via ICQ to -=hunter=- Send a message via Skype™ to -=hunter=-
-=hunter=-
Senior Member
Join Date: Jul 2008
Old 02-23-2009 , 08:07   Re: Deagles' Map Management 3.23
Reply With Quote #718

Hmm, when voting is is finalized then all players kicked from server with error:
"Host_Error: UserMsg: Not Present on Client 25"
-=hunter=- is offline
Send a message via ICQ to -=hunter=- Send a message via Skype™ to -=hunter=-
cameron0620
Junior Member
Join Date: Nov 2007
Old 02-23-2009 , 15:56   Re: Deagles' Map Management 3.23
Reply With Quote #719

^^ Yes, that is the same error I saw in the server console when it kicked everyone from my server. No amxx error log or message appears in the server log when it kicks everyone.

I had a corrupt sound file in a mappack once that no matter what map was playing, it kicked everyone who tried to connect with a similar message.

"Host_Error: UserMsg: Not Present on Client 100"

I did some searching at that time and never found anything useful about that error. I only found the problem when I tried to delete the server, and it wouldn't delte that certain sound file. That folder still sits there today with that sound file in it because it can't even be deleted in dos.
cameron0620 is offline
ScHrAnZ DiNgEnS
Senior Member
Join Date: Sep 2007
Old 02-24-2009 , 04:02   Re: Deagles' Map Management 3.23
Reply With Quote #720

Quote:
Originally Posted by -=hunter=- View Post
Hmm, when voting is is finalized then all players kicked from server with error:
"Host_Error: UserMsg: Not Present on Client 25"
Update the langfile, not only the plugin, that solved the problem for me.
ScHrAnZ DiNgEnS is offline
Send a message via ICQ to ScHrAnZ DiNgEnS Send a message via AIM to ScHrAnZ DiNgEnS
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 10:05.


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