Raised This Month: $ Target: $400
 0% 

Vote Mod (Version 4.6)


Post New Thread Reply   
 
Thread Tools Display Modes
Mordekay
Squirrel of Fortune
Join Date: Apr 2006
Location: Germany
Old 09-30-2006 , 11:33   Re: Vote Mod (Version 4.6)
Reply With Quote #51

Very nice, thx
Will install it in the next few hours.
__________________

Mordekay is offline
Mordekay
Squirrel of Fortune
Join Date: Apr 2006
Location: Germany
Old 10-14-2006 , 07:29   Re: Vote Mod (Version 4.6)
Reply With Quote #52

While i have players on the server it runs fine without any errors, but it seems that there is an error when noone is on the server.
Code:
[AMXX] Displaying debug trace (plugin "amx_votemod.amxx")
[AMXX] Run time error 4: index out of bounds 
[AMXX]    [0] 6495.attach::LoadHUD (line 165)
Any ideas?
__________________

Mordekay is offline
3volution
Junior Member
Join Date: Jun 2006
Old 10-15-2006 , 22:33   Re: Vote Mod (Version 4.6)
Reply With Quote #53

I can't quite get this to work.

I am trying to have this run SH, War3x, and CSDM, but the SH config is always loaded for some reason, and the other mods won't actually come up when voted for.

I'm sure it's because I don't have the votemod.cfg/votemod folder setup correctly, but there really isn't any documentation on it.

So, if anyone has gotten this to work properly, can you please give me an example?

BTW, is there a way to automatically have a vote called for every X rounds/maps and maybe load a custom mapcycle for each mod (I know I could do this with seperate plugins, but there are enough complications with the 100+ running on server already.)?

Last edited by 3volution; 10-15-2006 at 22:36.
3volution is offline
Mordekay
Squirrel of Fortune
Join Date: Apr 2006
Location: Germany
Old 10-18-2006 , 05:45   Re: Vote Mod (Version 4.6)
Reply With Quote #54

Nothing new on the error i reported?
__________________

Mordekay is offline
ballerbuchse
Junior Member
Join Date: Oct 2006
Old 10-18-2006 , 08:26   Re: Vote Mod (Version 4.6)
Reply With Quote #55

can anyone help me, i want add wc3ft mod and csdm mod in votemod.

what purely do I have to write in cfg thereby the this mods to be recognized?
ballerbuchse is offline
Soloist
Senior Member
Join Date: Jun 2004
Location: New York
Old 10-24-2006 , 17:24   Re: Vote Mod (Version 4.6)
Reply With Quote #56

Sorry about not posting eariler but I have been out sick with mono for the last week. But I am back now

Quote:
Originally Posted by Mordekay View Post
While i have players on the server it runs fine without any errors, but it seems that there is an error when noone is on the server.
Code:
[AMXX] Displaying debug trace (plugin "amx_votemod.amxx")
[AMXX] Run time error 4: index out of bounds 
[AMXX]    [0] 6495.attach::LoadHUD (line 165)
Any ideas?
I will look into this, I think I say this on my server too

Quote:
Originally Posted by 3volution View Post
I can't quite get this to work.

I am trying to have this run SH, War3x, and CSDM, but the SH config is always loaded for some reason, and the other mods won't actually come up when voted for.

I'm sure it's because I don't have the votemod.cfg/votemod folder setup correctly, but there really isn't any documentation on it.

So, if anyone has gotten this to work properly, can you please give me an example?

BTW, is there a way to automatically have a vote called for every X rounds/maps and maybe load a custom mapcycle for each mod (I know I could do this with seperate plugins, but there are enough complications with the 100+ running on server already.)?
Post what you have for the votemod.cfg file, there should be an example in there for superhero. and the reason they might not be showing up is because the second argument (which should be a number) is the number of people on the server so if that number of people is not on the server then its not in the menu.

Quote:
Originally Posted by ballerbuchse View Post
can anyone help me, i want add wc3ft mod and csdm mod in votemod.

what purely do I have to write in cfg thereby the this mods to be recognized?
look in the votemenu.cfg and look at the examples, it should be fairly straight forward (or so i think)
Soloist is offline
Send a message via ICQ to Soloist Send a message via AIM to Soloist Send a message via MSN to Soloist Send a message via Yahoo to Soloist
Quastenflosser
Junior Member
Join Date: Oct 2006
Old 10-25-2006 , 11:45   Re: Vote Mod (Version 4.6)
Reply With Quote #57

I test id with the WC3mod and the Gabenmod, but it dosn't work. can anyone help me?

http://img336.**************/my.php?image=votemodlt7.jpg

WC3 mod and Gaben mod is on

my votemod.cfg
Quote:
/**
* Usage: "amx_defaultcfg <Default cfg>"
*
* <Default cfg> Default cfg file
*
* Example: Of the two commands(be sure to use quotes around parameters with spaces!)
* amx_defaultcfg "Normal.cfg"
*
* Usage: "amx_addvotemenu <menu text> <Min Players> <CVAR/On Command> <Off Command>"
*
* The off command is optional, it is only there if plugins have two commands
* enabling and disabling a plugins.
*
* <menu text>: This is the text displayed in the menu itself for this item.
* <CVAR/On Command>: This is the cvar that enables and disables the plugin
* <Off Command>:
*
* Example: Be sure to use quotes around parameters with spaces!
* amx_addvotemenu "Superhero Mod" 0 "sv_superheros"
* amx_addvotemenu "Gaben Mod" 4 "gm_on" "gm_off"
*/
amx_addvotemenu "warcraft 3 FT" 0 "sv_warcraft 1" "sv_warcraft 0"
amx_addvotemenu "Gaben Mod" 0 "gm_on" "gm_off"
Quastenflosser is offline
Mordekay
Squirrel of Fortune
Join Date: Apr 2006
Location: Germany
Old 10-25-2006 , 11:53   Re: Vote Mod (Version 4.6)
Reply With Quote #58

You should change the number of minimum players to at least 2 or 4.
I think the vote get's started before any player is on the server, so they cannot vote at all
__________________

Mordekay is offline
Soloist
Senior Member
Join Date: Jun 2004
Location: New York
Old 10-25-2006 , 13:41   Re: Vote Mod (Version 4.6)
Reply With Quote #59

Quote:
Originally Posted by Quastenflosser View Post
I test id with the WC3mod and the Gabenmod, but it dosn't work. can anyone help me?

http://img336.**************/my.php?image=votemodlt7.jpg

WC3 mod and Gaben mod is on

my votemod.cfg
First of all for the warcraft3 since they use a Cvar you only have to put sv_warcraft as not "sv_warcraft 1" and "sv_warcraft 0"

so the line would be...
amx_addvotemenu "Warcraft 3 FT" 0 "sv_warcraft"

and for as to why the menu items do not show up. What do you have the vm_numplayers cvar set too.
I presume that you are in the server when you got that vote up or where you in hltv?
Soloist is offline
Send a message via ICQ to Soloist Send a message via AIM to Soloist Send a message via MSN to Soloist Send a message via Yahoo to Soloist
3volution
Junior Member
Join Date: Jun 2006
Old 10-25-2006 , 15:46   Re: Vote Mod (Version 4.6)
Reply With Quote #60

Here is what I have in my votemenu.cfg:

Code:
amx_defaultcfg	"Normal.cfg"
amx_addvotemenu "SuperHero Mod"	0 	"sv_superheros"
amx_addvotemenu "Death Match" 	1	"csdm_enable"             "csdm_disable"
amx_addvotemenu "War3x"		1	"war3x_enabled"
On the first page of this thread, you say that all the cfg files should be in the VoteMod folder, but if you move the cfgs from their respective folders, you will always get a bad load (shconfig.cfg, csdm.cfg, etc.). Should that be ignored, or should I create a copy of each and put them into the VoteMod folder, or maybe do I need to move the 'minimod' config folders into the VoteMod folder?

BTW, should the cvars be defaulted to off in the cfg files (sv_superheros 0)?
3volution is offline
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 09:35.


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