AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Voteban menu button doesn't show (https://forums.alliedmods.net/showthread.php?t=147186)

GarbageBox 01-06-2011 08:09

Voteban menu button doesn't show
 
2 Attachment(s)
I am using the Alka's voteban plugin.
But I find some problem with it.
Just like what the image show
below no.7 is nothing show, it should be 8 players and the next page words.
But although there is no words show, the no.8, 9 and 0 is still work when I press it.
What's the problem

SnoW 01-06-2011 08:12

Re: Voteban menu button doesn't show
 
Is this the original source? Why aren't you posting in the plugin thread? Why isn't there at least a link to the plugin thread?

GarbageBox 01-06-2011 09:09

Re: Voteban menu button doesn't show
 
This is not the original code.
It is edited by fysiks of my request no log and no voteban reason.
Edited: http://forums.alliedmods.net/showthread.php?t=139875

fysiks 01-06-2011 18:12

Re: Voteban menu button doesn't show
 
I'm guessing that it's because you are over the character limit. If player names are shorter than you won't have the problem. Or, to make it safe for both short and long names you will need to truncate all the names to a fixed length.

Or, I think, because it is not the new style menu you can just make the array szMenu[] declared on line 101 longer (the 256 to something bigger). That is if there is not a limit set by the HL engine for displaying menus.

GarbageBox 01-07-2011 03:44

Re: Voteban menu button doesn't show
 
Thank, fixed now.
It's the szMenu lead the problem out

bumctik 02-04-2011 16:15

Re: Voteban menu button doesn't show
 
1 Attachment(s)
I`m trying using the Alka's voteban plugin
in my Half-life 1 server
but
when i say voteban
plugins menu Appears menu with errors in the coding probably or that it (see attach)

After the player was banned the menu it doesn't disappear normally?
And the last - in logs is written as though the player banned itself
Code:

L 02/05/2011 - 02:59:57: Log file started (file "valve\addons\amxmodx\logs\voteban\05-02-2011.log") (game "valve") (amx "1.8.1.3746")
L 02/05/2011 - 02:59:57: Player 'Bossy_Ozzy' voted for banning 'Bossy_Ozzy' for:
L 02/05/2011 - 03:11:21: Player 'Blood_Splatter_Analyst' voted for banning 'Blood_Splatter_Analyst' for:  cheat


fysiks 02-04-2011 18:45

Re: Voteban menu button doesn't show
 
Quote:

Originally Posted by bumctik (Post 1407188)
I`m trying using the Alka's voteban plugin
in my Half-life 1 server
but
when i say voteban
plugins menu Appears menu with errors in the coding probably or that it (see attach)

After the player was banned the menu it doesn't disappear normally?
And the last - in logs is written as though the player banned itself
Code:

L 02/05/2011 - 02:59:57: Log file started (file "valve\addons\amxmodx\logs\voteban\05-02-2011.log") (game "valve") (amx "1.8.1.3746")
L 02/05/2011 - 02:59:57: Player 'Bossy_Ozzy' voted for banning 'Bossy_Ozzy' for:
L 02/05/2011 - 03:11:21: Player 'Blood_Splatter_Analyst' voted for banning 'Blood_Splatter_Analyst' for:  cheat


It will only display correctly in games that are able to use colored menus. What game are you playing?

bumctik 02-04-2011 23:41

Re: Voteban menu button doesn't show
 
vale - Half life 1 death match:cry:
could you help me to correct the plug-in that it worked correctly?

fysiks 02-05-2011 01:20

Re: Voteban menu button doesn't show
 
Quote:

Originally Posted by bumctik (Post 1407188)
I`m trying using the Alka's voteban plugin
in my Half-life 1 server
but
when i say voteban
plugins menu Appears menu with errors in the coding probably or that it (see attach)

Fixed. See link below.

Quote:

Originally Posted by bumctik (Post 1407188)
After the player was banned the menu it doesn't disappear normally?

Correct. You have to select option 0 to exit.

Quote:

Originally Posted by bumctik (Post 1407188)
And the last - in logs is written as though the player banned itself
Code:

L 02/05/2011 - 02:59:57: Log file started (file "valve\addons\amxmodx\logs\voteban\05-02-2011.log") (game "valve") (amx "1.8.1.3746")
L 02/05/2011 - 02:59:57: Player 'Bossy_Ozzy' voted for banning 'Bossy_Ozzy' for:
L 02/05/2011 - 03:11:21: Player 'Blood_Splatter_Analyst' voted for banning 'Blood_Splatter_Analyst' for:  cheat


Fixed. See link below.

http://forums.alliedmods.net/showpos...2&postcount=41

You will want voteban_nocolor.

bumctik 02-06-2011 10:32

Re: Voteban menu button doesn't show
 
voteban_nocolor didn`t working :cry:



Plugin file open error


All times are GMT -4. The time now is 02:07.

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