Raised This Month: $32 Target: $400
 8% 

Custom Votes Redux (v1.7 - 4/13/14)


Post New Thread Reply   
 
Thread Tools Display Modes
w7rus
New Member
Join Date: Mar 2016
Old 03-27-2016 , 14:21   Re: Custom Votes Redux (v1.7 - 4/13/14)
Reply With Quote #241

Can you make chat type of vote? Cuz using basevotes for votebanning and votekicking a bit obv, better if someone who need will type chattrigger select option and addcount for choosen option.

I mean like in old ver.:
chat
- The vote is carried out using only chat triggers. A trigger section must be defined, and once the trigger threshold is reached, the command is executed without a menu vote.

or better bring back all features from old version but updated.

Last edited by w7rus; 03-27-2016 at 14:23. Reason: wuat?
w7rus is offline
341464
Senior Member
Join Date: Dec 2010
Location: GetClientEyePosition
Old 04-13-2016 , 05:26   Re: Custom Votes Redux (v1.7 - 4/13/14)
Reply With Quote #242

Quote:
Originally Posted by DaftMink View Post
Hey can someone help me with these errors I'm getting, not sure whats up.
Using the latest customvotes.smx from the op.

Spoiler


My config looks like this:
https://dl.dropboxusercontent.com/u/...ustomvotes.cfg
Pretty much getting the same thing. I'll try to fix it later today and upload a fixed version.
__________________
341464 is offline
Send a message via Skype™ to 341464
doroemon
Senior Member
Join Date: Dec 2009
Location: TF2 AFK Server
Old 04-15-2016 , 12:03   Re: Custom Votes Redux (v1.7 - 4/13/14)
Reply With Quote #243

PHP Code:
L 04/09/2016 11:07:02SourceMod error session started 
L 04
/09/2016 11:07:02Info (map "pl_upward") (file "errors_20160409.log"
L 04/09/2016 11:07:02: [SMException reportedInvalid convar handle 0 (error 4
L 04/09/2016 11:07:02: [SMBlamingcustomvotes-nativevotes.smx() 
L 04/09/2016 11:07:02: [SMCall stack trace
L 04/09/2016 11:07:02: [SM]   [0GetConVarBool 
L 04
/09/2016 11:07:02: [SM]   [1Line 1548C:\Users\doroemon\Desktop\new map chooser\addons\sourcemod\scripting\customvotes-nativevotes.sp::VoteHandler_Simple() 
L 04/09/2016 11:07:02: [SM]   [3Call_Finish 
L 04
/09/2016 11:07:02: [SM]   [4Line 531C:\Users\doroemon\Desktop\new map chooser\addons\sourcemod\scripting\nativevotes.sp::DoAction() 
L 04/09/2016 11:07:02: [SM]   [5Line 483C:\Users\doroemon\Desktop\new map chooser\addons\sourcemod\scripting\nativevotes.sp::OnSelect() 
L 04/09/2016 11:07:02: [SM]   [6Line 471C:\Users\doroemon\Desktop\new map chooser\addons\sourcemod\scripting\nativevotes.sp::OnVoteSelect() 
L 04/09/2016 11:07:02: [SM]   [7Line 404C:\Users\doroemon\Desktop\new map chooser\addons\sourcemod\scripting\nativevotes.sp::Command_Vote() 
L 04/09/2016 11:07:02: [SM]   [9FakeClientCommand 
L 04
/09/2016 11:07:02: [SM]   [10Line 619nativevotes/game.sp::Game_VoteYes() 
L 04/09/2016 11:07:02: [SM]   [11Line 979C:\Users\doroemon\Desktop\new map chooser\addons\sourcemod\scripting\nativevotes.sp::StartVoting() 
L 04/09/2016 11:07:02: [SM]   [12Line 868C:\Users\doroemon\Desktop\new map chooser\addons\sourcemod\scripting\nativevotes.sp::StartVote() 
L 04/09/2016 11:07:02: [SM]   [13Line 1261C:\Users\doroemon\Desktop\new map chooser\addons\sourcemod\scripting\nativevotes.sp::Native_Display() 
L 04/09/2016 11:07:02: [SM]   [15NativeVotes_Display 
L 04
/09/2016 11:07:02: [SM]   [16Line 612C:\Users\doroemon\Desktop\new map chooser\addons\sourcemod\scripting\include\nativevotes.inc::NativeVotes_DisplayToAll() 
L 04/09/2016 11:07:02: [SM]   [17Line 1493C:\Users\doroemon\Desktop\new map chooser\addons\sourcemod\scripting\customvotes-nativevotes.sp::Vote_Simple() 
L 04/09/2016 11:07:02: [SM]   [18Line 1387C:\Users\doroemon\Desktop\new map chooser\addons\sourcemod\scripting\customvotes-nativevotes.sp::CastSimpleVote() 
L 04/09/2016 11:07:02: [SM]   [19Line 310C:\Users\doroemon\Desktop\new map chooser\addons\sourcemod\scripting\customvotes-nativevotes.sp::OnClientSayCmd() 
L 04/09/2016 11:07:03: [SMException reportedInvalid convar handle 0 (error 4
L 04/09/2016 11:07:03: [SMBlamingcustomvotes-nativevotes.smx() 
L 04/09/2016 11:07:03: [SMCall stack trace
L 04/09/2016 11:07:03: [SM]   [0GetConVarBool 
L 04
/09/2016 11:07:03: [SM]   [1Line 1548C:\Users\doroemon\Desktop\new map chooser\addons\sourcemod\scripting\customvotes-nativevotes.sp::VoteHandler_Simple() 
L 04/09/2016 11:07:03: [SM]   [3Call_Finish 
L 04
/09/2016 11:07:03: [SM]   [4Line 531C:\Users\doroemon\Desktop\new map chooser\addons\sourcemod\scripting\nativevotes.sp::DoAction() 
L 04/09/2016 11:07:03: [SM]   [5Line 483C:\Users\doroemon\Desktop\new map chooser\addons\sourcemod\scripting\nativevotes.sp::OnSelect() 
L 04/09/2016 11:07:03: [SM]   [6Line 471C:\Users\doroemon\Desktop\new map chooser\addons\sourcemod\scripting\nativevotes.sp::OnVoteSelect() 
L 04/09/2016 11:07:03: [SM]   [7Line 404C:\Users\doroemon\Desktop\new map chooser\addons\sourcemod\scripting\nativevotes.sp::Command_Vote() 
L 04/09/2016 11:07:05: [SMException reportedInvalid convar handle 0 (error 4
L 04/09/2016 11:07:05: [SMBlamingcustomvotes-nativevotes.smx() 
L 04/09/2016 11:07:05: [SMCall stack trace
L 04/09/2016 11:07:05: [SM]   [0GetConVarBool 
L 04
/09/2016 11:07:05: [SM]   [1Line 1548C:\Users\doroemon\Desktop\new map chooser\addons\sourcemod\scripting\customvotes-nativevotes.sp::VoteHandler_Simple() 
L 04/09/2016 11:07:05: [SM]   [3Call_Finish 
L 04
/09/2016 11:07:05: [SM]   [4Line 531C:\Users\doroemon\Desktop\new map chooser\addons\sourcemod\scripting\nativevotes.sp::DoAction() 
L 04/09/2016 11:07:05: [SM]   [5Line 483C:\Users\doroemon\Desktop\new map chooser\addons\sourcemod\scripting\nativevotes.sp::OnSelect() 
L 04/09/2016 11:07:05: [SM]   [6Line 471C:\Users\doroemon\Desktop\new map chooser\addons\sourcemod\scripting\nativevotes.sp::OnVoteSelect() 
L 04/09/2016 11:07:05: [SM]   [7Line 404C:\Users\doroemon\Desktop\new map chooser\addons\sourcemod\scripting\nativevotes.sp::Command_Vote() 
L 04/09/2016 11:07:06: [SMException reportedInvalid convar handle 0 (error 4
L 04/09/2016 11:07:06: [SMBlamingcustomvotes-nativevotes.smx() 
L 04/09/2016 11:07:06: [SMCall stack trace
L 04/09/2016 11:07:06: [SM]   [0GetConVarBool 
L 04
/09/2016 11:07:06: [SM]   [1Line 1548C:\Users\doroemon\Desktop\new map chooser\addons\sourcemod\scripting\customvotes-nativevotes.sp::VoteHandler_Simple() 
L 04/09/2016 11:07:06: [SM]   [3Call_Finish 
L 04
/09/2016 11:07:06: [SM]   [4Line 531C:\Users\doroemon\Desktop\new map chooser\addons\sourcemod\scripting\nativevotes.sp::DoAction() 
L 04/09/2016 11:07:06: [SM]   [5Line 483C:\Users\doroemon\Desktop\new map chooser\addons\sourcemod\scripting\nativevotes.sp::OnSelect() 
L 04/09/2016 11:07:06: [SM]   [6Line 471C:\Users\doroemon\Desktop\new map chooser\addons\sourcemod\scripting\nativevotes.sp::OnVoteSelect() 
L 04/09/2016 11:07:06: [SM]   [7Line 404C:\Users\doroemon\Desktop\new map chooser\addons\sourcemod\scripting\nativevotes.sp::Command_Vote() 
L 04/09/2016 11:09:40: [SMException reportedInvalid convar handle 0 (error 4
L 04/09/2016 11:09:40: [SMBlamingcustomvotes-nativevotes.smx() 
L 04/09/2016 11:09:40: [SMCall stack trace
L 04/09/2016 11:09:40: [SM]   [0GetConVarBool 
L 04
/09/2016 11:09:40: [SM]   [1Line 1548C:\Users\doroemon\Desktop\new map chooser\addons\sourcemod\scripting\customvotes-nativevotes.sp::VoteHandler_Simple() 
L 04/09/2016 11:09:40: [SM]   [3Call_Finish 
L 04
/09/2016 11:09:40: [SM]   [4Line 531C:\Users\doroemon\Desktop\new map chooser\addons\sourcemod\scripting\nativevotes.sp::DoAction() 
L 04/09/2016 11:09:40: [SM]   [5Line 483C:\Users\doroemon\Desktop\new map chooser\addons\sourcemod\scripting\nativevotes.sp::OnSelect() 
L 04/09/2016 11:09:40: [SM]   [6Line 471C:\Users\doroemon\Desktop\new map chooser\addons\sourcemod\scripting\nativevotes.sp::OnVoteSelect() 
L 04/09/2016 11:09:40: [SM]   [7Line 404C:\Users\doroemon\Desktop\new map chooser\addons\sourcemod\scripting\nativevotes.sp::Command_Vote() 
L 04/09/2016 11:09:40: [SM]   [9FakeClientCommand 
L 04
/09/2016 11:09:40: [SM]   [10Line 619nativevotes/game.sp::Game_VoteYes() 
L 04/09/2016 11:09:40: [SM]   [11Line 979C:\Users\doroemon\Desktop\new map chooser\addons\sourcemod\scripting\nativevotes.sp::StartVoting() 
L 04/09/2016 11:09:40: [SM]   [12Line 868C:\Users\doroemon\Desktop\new map chooser\addons\sourcemod\scripting\nativevotes.sp::StartVote() 
L 04/09/2016 11:09:40: [SM]   [13Line 1261C:\Users\doroemon\Desktop\new map chooser\addons\sourcemod\scripting\nativevotes.sp::Native_Display() 
L 04/09/2016 11:09:40: [SM]   [15NativeVotes_Display 
L 04
/09/2016 11:09:40: [SM]   [16Line 612C:\Users\doroemon\Desktop\new map chooser\addons\sourcemod\scripting\include\nativevotes.inc::NativeVotes_DisplayToAll() 
L 04/09/2016 11:09:40: [SM]   [17Line 1493C:\Users\doroemon\Desktop\new map chooser\addons\sourcemod\scripting\customvotes-nativevotes.sp::Vote_Simple() 
L 04/09/2016 11:09:40: [SM]   [18Line 1387C:\Users\doroemon\Desktop\new map chooser\addons\sourcemod\scripting\customvotes-nativevotes.sp::CastSimpleVote() 
L 04/09/2016 11:09:40: [SM]   [19Line 310C:\Users\doroemon\Desktop\new map chooser\addons\sourcemod\scripting\customvotes-nativevotes.sp::OnClientSayCmd() 
L 04/09/2016 11:09:57: [SMException reportedInvalid convar handle 0 (error 4
L 04/09/2016 11:09:57: [SMBlamingcustomvotes-nativevotes.smx() 
L 04/09/2016 11:09:57: [SMCall stack trace
L 04/09/2016 11:09:57: [SM]   [0GetConVarBool 
L 04
/09/2016 11:09:57: [SM]   [1Line 1548C:\Users\doroemon\Desktop\new map chooser\addons\sourcemod\scripting\customvotes-nativevotes.sp::VoteHandler_Simple() 
L 04/09/2016 11:09:57: [SM]   [3Call_Finish 
L 04
/09/2016 11:09:57: [SM]   [4Line 531C:\Users\doroemon\Desktop\new map chooser\addons\sourcemod\scripting\nativevotes.sp::DoAction() 
L 04/09/2016 11:09:57: [SM]   [5Line 483C:\Users\doroemon\Desktop\new map chooser\addons\sourcemod\scripting\nativevotes.sp::OnSelect() 
L 04/09/2016 11:09:57: [SM]   [6Line 471C:\Users\doroemon\Desktop\new map chooser\addons\sourcemod\scripting\nativevotes.sp::OnVoteSelect() 
L 04/09/2016 11:09:57: [SM]   [7Line 404C:\Users\doroemon\Desktop\new map chooser\addons\sourcemod\scripting\nativevotes.sp::Command_Vote() 
L 04/09/2016 21:11:21SourceMod error session started 
Customvotes NativeVote in my TF2 server is not work very well,
When it show the menu,sometimes I can't press anything in menu,
And "Yes" "No" Votes are reverse , Please Help!
Source version : 1.8.0.5875
doroemon is offline
Paroro
New Member
Join Date: Apr 2016
Old 04-16-2016 , 21:14   Re: Custom Votes Redux (v1.7 - 4/13/14)
Reply With Quote #244

I put in your plugin on my TF2 server.
voteban doesn't work.
even i change {TARGET_ID} to {TARGET_NAME}
I use Sourcebans++ 1.5.3

Code:
"Ban player"
 {
  "type"   "players"
  "vote"   "1"
  "minimum"  "4"
  "ratio"   "0.6"
  "command"  "sm_ban {TARGET_NAME}"
  "start_notify" [SM] {VOTER_NAME} ({VOTER_STEAMID}) started a vote to ban {TARGET_NAME}."
  "call_notify" "[SM] Vote cast for {yes|no}."
  "pass_notify" "[SM] Vote passed."
  "fail_notify" "[SM] Vote failed. Received: {VOTE_AMOUNT} Required: {VOTE_REQUIRED}"
  "chattrigger" "voteban"
  }

Last edited by Paroro; 04-16-2016 at 21:15.
Paroro is offline
Creampuffyness
Senior Member
Join Date: Jun 2009
Old 04-17-2016 , 19:48   Re: Custom Votes Redux (v1.7 - 4/13/14)
Reply With Quote #245

Quote:
Originally Posted by Paroro View Post
I put in your plugin on my TF2 server.
voteban doesn't work.
even i change {TARGET_ID} to {TARGET_NAME}
I use Sourcebans++ 1.5.3

Code:
"Ban player"
 {
  "type"   "players"
  "vote"   "1"
  "minimum"  "4"
  "ratio"   "0.6"
  "command"  "sm_ban {TARGET_NAME}"
  "start_notify" [SM] {VOTER_NAME} ({VOTER_STEAMID}) started a vote to ban {TARGET_NAME}."
  "call_notify" "[SM] Vote cast for {yes|no}."
  "pass_notify" "[SM] Vote passed."
  "fail_notify" "[SM] Vote failed. Received: {VOTE_AMOUNT} Required: {VOTE_REQUIRED}"
  "chattrigger" "voteban"
  }
Your command is incomplete. If you are looking to permanent ban use:
"command" "sm_ban {TARGET_NAME} 0"

For a 30 mins Ban use:
"command" "sm_ban {TARGET_NAME} 30"

etc etc
__________________
Creampuffyness is offline
Paroro
New Member
Join Date: Apr 2016
Old 04-19-2016 , 04:02   Re: Custom Votes Redux (v1.7 - 4/13/14)
Reply With Quote #246

Quote:
Originally Posted by Creampuffyness View Post
Your command is incomplete. If you are looking to permanent ban use:
"command" "sm_ban {TARGET_NAME} 0"

For a 30 mins Ban use:
"command" "sm_ban {TARGET_NAME} 30"

etc etc
It works!
Thanks for help me!
Paroro is offline
doroemon
Senior Member
Join Date: Dec 2009
Location: TF2 AFK Server
Old 04-27-2016 , 03:05   Re: Custom Votes Redux (v1.7 - 4/13/14)
Reply With Quote #247

Can someone can fix the Customvotes NativeVote?
I really like this plugin,please
doroemon is offline
Paroro
New Member
Join Date: Apr 2016
Old 04-29-2016 , 21:48   Re: Custom Votes Redux (v1.7 - 4/13/14)
Reply With Quote #248

Code:
"Set Nextmap"
 {
  "type"   "map"
  "vote"   "1"
  "ratio"   "0.6"
  "cooldown"  "180"
  "minimum"  "1"
  "command"  "sm_nextmap {MAP_NAME}"
  "maplist"  "default"
  "recentmaps" "3"
  "currentmap" "0"
  "start_notify" "[SM] {VOTER_NAME} ({VOTER_STEAMID})이(가) 다음 맵을{MAP_NAME}로 하길 원합니다."
  "call_notify" "[SM] 응답: {yes|no}."
  "pass_notify" "[SM] 투표 성공! 투표 내용을 반영합니다."
  "fail_notify" "[SM] 투표 실패! 응답한 수: {VOTE_AMOUNT} 필요한 수: {VOTE_REQUIRED}"
  "chattrigger" "votemap"
 }
I set cooldown on 180 seconds
but doesn't work
how can i work this thing?
plz help

p.s sorry for my english
Paroro is offline
MaloModo
Veteran Member
Join Date: Aug 2008
Old 05-28-2016 , 15:32   Re: Custom Votes Redux (v1.7 - 4/13/14)
Reply With Quote #249

I am sort of revisiting this. Try to load menu with sm_votemenu (unknown command):

Code:
L 05/28/2016 - 14:15:07: [SM] Native "GetConVarBool" reported: Invalid convar handle 0 (error 4)
L 05/28/2016 - 14:15:07: [SM] Displaying call stack trace for plugin "customvotes.smx":
L 05/28/2016 - 14:15:07: [SM]   [0]  Line 353, D:\Server\tf\addons\sourcemod\scripting\customvotes.sp::Menu_ChooseVote()
L 05/28/2016 - 14:15:07: [SM]   [1]  Line 283, D:\Server\tf\addons\sourcemod\scripting\customvotes.sp::Command_ChooseVote()
Cheers.
MaloModo is offline
Dragonisser
AlliedModders Donor
Join Date: Jan 2014
Location: Germany
Old 06-22-2016 , 15:15   Re: Custom Votes Redux (v1.7 - 4/13/14)
Reply With Quote #250

Works perfectly, thanks a lot
Dragonisser 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 23:26.


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