Raised This Month: $51 Target: $400
 12% 

Custom Votes v0.5.6 (1/07)


Post New Thread Reply   
 
Thread Tools Display Modes
crazychicken
Senior Member
Join Date: Mar 2008
Old 06-23-2008 , 00:52   Re: Custom Votes v0.5 (6/22)
Reply With Quote #71

how do i stop some votes ebing accessible to players?

like voteban, just delete the lines from the cfg file?


also i made a cfg file as i want to make a vote for jetpacks, the vote comes up ok but the command doesnt work when the vote is successful. i can only get the command to change ingame thru rcon, typing sm_jetpack 0 says unrecognised command and nothing happens. It happens with alltalk too, the vote wins but the command doesnt get executed. Is it because its an rcon not an sm command?


"Votes"
{
"Jetpacks"
{
"title" "Turn Jetpacks {!sm_jetpack|onoff}?"
"type" "confirm"
"admin" "sm_kick"
"command" "sm_jetpack {!sm_jetpack}"
"trigger"
{
"command" "votejetpacks"
"notice" "%u wants to to initiate a jetpacks vote"
"percent" "55"
}
}
}
__________________

Last edited by crazychicken; 06-23-2008 at 02:12.
crazychicken is offline
willy1234x1
Senior Member
Join Date: Jun 2008
Old 06-23-2008 , 01:07   Re: Custom Votes v0.5 (6/22)
Reply With Quote #72

Great Job chundo it's running beautifully. Yet another great release.
willy1234x1 is offline
chundo
Senior Member
Join Date: May 2008
Old 06-23-2008 , 03:22   Re: Custom Votes v0.5 (6/22)
Reply With Quote #73

crazychicken - did you upgrade from 0.4, or is this the first version you installed? Sounds like the translation error Jamster ran into - if so make sure you have the latest translations file installed and restart your server. Your vote config looks fine, please post any output from your error logs if it keeps happening.

To remove a vote, just comment it out (put // at the beginning of each line). If you just want it to be available to admins, remove the trigger section and add an "admin" parameter in the config.
__________________
chundo is offline
crazychicken
Senior Member
Join Date: Mar 2008
Old 06-23-2008 , 04:20   Re: Custom Votes v0.5 (6/22)
Reply With Quote #74

thx

this is first version ive installed; i tried the newer files sp and phrases but still no joy. not sure why, no errors listed, think its weird how sm commands arent having an effect in console only with rcon in front of them
__________________

Last edited by crazychicken; 06-23-2008 at 04:23.
crazychicken is offline
willy1234x1
Senior Member
Join Date: Jun 2008
Old 06-23-2008 , 04:24   Re: Custom Votes v0.5 (6/22)
Reply With Quote #75

Well looking at your code
Code:
"Votes"
{
    "Jetpacks"
    {
        "title"        "Turn Jetpacks {!sm_jetpack|onoff}?"
        "type"        "confirm"
        "admin"        "sm_kick"
        "command"    "sm_jetpack {!sm_jetpack}"
        "trigger"
        {
            "command"    "votejetpacks"
            "notice"    "%u wants to to initiate a jetpacks vote"
            "percent"    "55"
        }
    }
}
You see to have an undefined trigger for one thing and for the command you're supposed to put cmd when refering to sm_jetpack. That's just a few things I see.
willy1234x1 is offline
crazychicken
Senior Member
Join Date: Mar 2008
Old 06-23-2008 , 04:42   Re: Custom Votes v0.5 (6/22)
Reply With Quote #76

yeah dont tell me all the things that would be useful and helpful

i copied that layout from the plugin cfg files, i assumed the trigger was the command and text next to it. when you say cmd do you mean replace command with cmd?

at the moment the vote is working so the trigger works but the command isnt kicking in, or if it is it isnt working for some reason
__________________

Last edited by crazychicken; 06-23-2008 at 05:02.
crazychicken is offline
Jamster
Veteran Member
Join Date: Jun 2008
Old 06-23-2008 , 09:12   Re: Custom Votes v0.5 (6/22)
Reply With Quote #77

This works beautifully now, thank you very much. :]
Jamster is offline
chundo
Senior Member
Join Date: May 2008
Old 06-23-2008 , 11:49   Re: Custom Votes v0.5 (6/22)
Reply With Quote #78

Quote:
Originally Posted by crazychicken View Post
yeah dont tell me all the things that would be useful and helpful

i copied that layout from the plugin cfg files, i assumed the trigger was the command and text next to it. when you say cmd do you mean replace command with cmd?

at the moment the vote is working so the trigger works but the command isnt kicking in, or if it is it isnt working for some reason
"command" or "cmd" are both supported actually, so that should be fine.

Can you please post your error / console logs? I can't help you until I see those.
__________________
chundo is offline
willy1234x1
Senior Member
Join Date: Jun 2008
Old 06-23-2008 , 15:04   Re: Custom Votes v0.5 (6/22)
Reply With Quote #79

Oh on your first post you had cmd meaning the admin or server command to run while the command would be for textchat commands.
willy1234x1 is offline
chundo
Senior Member
Join Date: May 2008
Old 06-23-2008 , 15:06   Re: Custom Votes v0.5 (6/22)
Reply With Quote #80

Yeah, I started allowing them both in the latest version. I should probably call it "execute" by default for clarity, but if so it will remain backward compatible.
__________________
chundo 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 19:53.


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