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

Custom Votes v0.5.6 (1/07)


Post New Thread Reply   
 
Thread Tools Display Modes
chundo
Senior Member
Join Date: May 2008
Old 01-07-2009 , 15:32   Re: Custom Votes v0.5.5 (8/25)
Reply With Quote #261

Ouch. Yeah, big bug. This was a holdover from a pre-chat-trigger version, and I never updated it to factor in public vote triggers. Should have a new version soon.
__________________
chundo is offline
chundo
Senior Member
Join Date: May 2008
Old 01-07-2009 , 15:37   Re: Custom Votes v0.5.5 (8/25)
Reply With Quote #262

BrutalGeorge:

If the vote status panel bothers you, use a different status option (as ThatGuy suggests.) Unfortunately since I'm using a panel to display the results, any press of a number key (switch weapons, etc) will make it disappear, but when a new vote comes in, it reappears again. This is intended, so you see a running status of the votes.
__________________
chundo is offline
chundo
Senior Member
Join Date: May 2008
Old 01-07-2009 , 15:50   Re: Custom Votes v0.5.5 (8/25)
Reply With Quote #263

The root of the bug is that Custom Votes is designed to allow normal users to initiate votes IF the "admin" parameter is not set for a vote - and it is not set for many of the core votes.

In addition to some minor code changes, the fix options are:
1) Update vote definitions to add the "admin" parameter
2) Require ADMIN_GENERIC access at minimum for ALL votes (excluding chat triggers, of course)

#1 is already done and ready for release. Quick poll: what would you prefer? Is anyone currently allowing normal users to initiate votes? Or should I eliminate that feature and go with option #2?

Edit: nevermind, I'll add both, #2 configurable by a CVAR.
__________________

Last edited by chundo; 01-07-2009 at 17:52.
chundo is offline
chundo
Senior Member
Join Date: May 2008
Old 01-07-2009 , 18:12   Re: Custom Votes v0.5.6 (1/07)
Reply With Quote #264

Version 0.5.6 released. !votemenu issues should be fixed, in addition to a couple other bugfixes mentioned in main post.

Trip reports appreciated.
__________________

Last edited by chundo; 01-07-2009 at 18:12. Reason: typo
chundo is offline
Hitman-
Junior Member
Join Date: Sep 2008
Old 01-09-2009 , 13:29   Re: Custom Votes v0.5.6 (1/07)
Reply With Quote #265

How do you use this to allow an admin to pick from 3 maps and then the winning map will Set the next map (not immediately change)
Hitman- is offline
chundo
Senior Member
Join Date: May 2008
Old 01-09-2009 , 18:24   Re: Custom Votes v0.5.6 (1/07)
Reply With Quote #266

Code:
"3mapvote"
 {
   "title"        "Which map should be next?"
   "type"         "list"
   "admin"        "sm_admin"
   "cmd"          "sm_setnextmap #4"
   "options"
   {
      "#1"      "#1"
      "#2"      "#2"
      "#3"      "#3"
   }
   "params"
   {
      "1" "mapcycle"
      "2" "mapcycle"
      "3" "mapcycle"
   }
 }
__________________
chundo is offline
monkie
Senior Member
Join Date: Oct 2006
Location: Shanghai, China
Old 01-16-2009 , 21:06   Re: Custom Votes v0.5.6 (1/07)
Reply With Quote #267

sorry to report:
Code:
L 01/16/2009 - 14:44:11: SourceMod error session started
L 01/16/2009 - 14:44:11: Info (map "dod_orange_chaos_arena") (file "errors_20090116.log")
L 01/16/2009 - 14:44:11: [SM] Native "RemoveFromArray" reported: Invalid index 2 (count: 1)
L 01/16/2009 - 14:44:11: [SM] Displaying call stack trace for plugin "customvotes.smx":
L 01/16/2009 - 14:44:11: [SM]   [0]  Line 1635, /home/jeremy/dev/personal/sourcemod-plugins/customvotes/scripting/customvotes.sp::ClearCurrentVote()
L 01/16/2009 - 14:44:11: [SM]   [1]  Line 1085, /home/jeremy/dev/personal/sourcemod-plugins/customvotes/scripting/customvotes.sp::CVote_VoteHandler()
L 01/16/2009 - 14:52:33: Error log file session closed.
L 01/16/2009 - 14:52:35: SourceMod error session started
L 01/16/2009 - 14:52:35: Info (map "dod_donner") (file "errors_20090116.log")
L 01/16/2009 - 14:52:35: [SM] Native "RemoveFromArray" reported: Invalid index 2 (count: 0)
L 01/16/2009 - 14:52:35: [SM] Displaying call stack trace for plugin "customvotes.smx":
L 01/16/2009 - 14:52:35: [SM]   [0]  Line 1635, /home/jeremy/dev/personal/sourcemod-plugins/customvotes/scripting/customvotes.sp::ClearCurrentVote()
L 01/16/2009 - 14:52:35: [SM]   [1]  Line 256, /home/jeremy/dev/personal/sourcemod-plugins/customvotes/scripting/customvotes.sp::OnMapStart()
L 01/16/2009 - 15:58:57: Error log file session closed.
L 01/16/2009 - 15:59:00: SourceMod error session started
L 01/16/2009 - 15:59:00: Info (map "dod_colmar") (file "errors_20090116.log")
L 01/16/2009 - 15:59:00: [SM] Native "RemoveFromArray" reported: Invalid index 2 (count: 0)
L 01/16/2009 - 15:59:00: [SM] Displaying call stack trace for plugin "customvotes.smx":
L 01/16/2009 - 15:59:00: [SM]   [0]  Line 1635, /home/jeremy/dev/personal/sourcemod-plugins/customvotes/scripting/customvotes.sp::ClearCurrentVote()
L 01/16/2009 - 15:59:00: [SM]   [1]  Line 256, /home/jeremy/dev/personal/sourcemod-plugins/customvotes/scripting/customvotes.sp::OnMapStart()
L 01/16/2009 - 16:47:29: Error log file session closed.
L 01/16/2009 - 16:47:31: SourceMod error session started
L 01/16/2009 - 16:47:31: Info (map "dod_flash") (file "errors_20090116.log")
L 01/16/2009 - 16:47:31: [SM] Native "RemoveFromArray" reported: Invalid index 2 (count: 0)
L 01/16/2009 - 16:47:31: [SM] Displaying call stack trace for plugin "customvotes.smx":
L 01/16/2009 - 16:47:31: [SM]   [0]  Line 1635, /home/jeremy/dev/personal/sourcemod-plugins/customvotes/scripting/customvotes.sp::ClearCurrentVote()
L 01/16/2009 - 16:47:31: [SM]   [1]  Line 256, /home/jeremy/dev/personal/sourcemod-plugins/customvotes/scripting/customvotes.sp::OnMapStart()
L 01/16/2009 - 17:57:53: Error log file session closed.
L 01/16/2009 - 17:57:54: SourceMod error session started
L 01/16/2009 - 17:57:54: Info (map "dod_argentan") (file "errors_20090116.log")
L 01/16/2009 - 17:57:54: [SM] Native "RemoveFromArray" reported: Invalid index 2 (count: 0)
L 01/16/2009 - 17:57:54: [SM] Displaying call stack trace for plugin "customvotes.smx":
L 01/16/2009 - 17:57:54: [SM]   [0]  Line 1635, /home/jeremy/dev/personal/sourcemod-plugins/customvotes/scripting/customvotes.sp::ClearCurrentVote()
L 01/16/2009 - 17:57:54: [SM]   [1]  Line 256, /home/jeremy/dev/personal/sourcemod-plugins/customvotes/scripting/customvotes.sp::OnMapStart()
L 01/16/2009 - 18:46:46: Error log file session closed.
L 01/16/2009 - 18:46:49: SourceMod error session started
L 01/16/2009 - 18:46:49: Info (map "dod_palermo") (file "errors_20090116.log")
L 01/16/2009 - 18:46:49: [SM] Native "RemoveFromArray" reported: Invalid index 2 (count: 0)
L 01/16/2009 - 18:46:49: [SM] Displaying call stack trace for plugin "customvotes.smx":
L 01/16/2009 - 18:46:49: [SM]   [0]  Line 1635, /home/jeremy/dev/personal/sourcemod-plugins/customvotes/scripting/customvotes.sp::ClearCurrentVote()
L 01/16/2009 - 18:46:49: [SM]   [1]  Line 256, /home/jeremy/dev/personal/sourcemod-plugins/customvotes/scripting/customvotes.sp::OnMapStart()
L 01/16/2009 - 19:33:11: Error log file session closed.
L 01/16/2009 - 19:33:14: SourceMod error session started
L 01/16/2009 - 19:33:14: Info (map "dod_jagd") (file "errors_20090116.log")
L 01/16/2009 - 19:33:14: [SM] Native "RemoveFromArray" reported: Invalid index 2 (count: 0)
L 01/16/2009 - 19:33:14: [SM] Displaying call stack trace for plugin "customvotes.smx":
L 01/16/2009 - 19:33:14: [SM]   [0]  Line 1635, /home/jeremy/dev/personal/sourcemod-plugins/customvotes/scripting/customvotes.sp::ClearCurrentVote()
L 01/16/2009 - 19:33:14: [SM]   [1]  Line 256, /home/jeremy/dev/personal/sourcemod-plugins/customvotes/scripting/customvotes.sp::OnMapStart()
L 01/16/2009 - 19:46:29: Error log file session closed.
L 01/16/2009 - 19:46:29: SourceMod error session started
L 01/16/2009 - 19:46:29: Info (map "dod_orange_iceworld") (file "errors_20090116.log")
L 01/16/2009 - 19:46:29: [SM] Native "RemoveFromArray" reported: Invalid index 2 (count: 0)
L 01/16/2009 - 19:46:29: [SM] Displaying call stack trace for plugin "customvotes.smx":
L 01/16/2009 - 19:46:29: [SM]   [0]  Line 1635, /home/jeremy/dev/personal/sourcemod-plugins/customvotes/scripting/customvotes.sp::ClearCurrentVote()
L 01/16/2009 - 19:46:29: [SM]   [1]  Line 256, /home/jeremy/dev/personal/sourcemod-plugins/customvotes/scripting/customvotes.sp::OnMapStart()
L 01/16/2009 - 23:20:01: Error log file session closed.
L 01/16/2009 - 23:20:05: SourceMod error session started
L 01/16/2009 - 23:20:05: Info (map "dod_kalt") (file "errors_20090116.log")
L 01/16/2009 - 23:20:05: [SM] Native "RemoveFromArray" reported: Invalid index 2 (count: 0)
L 01/16/2009 - 23:20:05: [SM] Displaying call stack trace for plugin "customvotes.smx":
L 01/16/2009 - 23:20:05: [SM]   [0]  Line 1635, /home/jeremy/dev/personal/sourcemod-plugins/customvotes/scripting/customvotes.sp::ClearCurrentVote()
L 01/16/2009 - 23:20:05: [SM]   [1]  Line 256, /home/jeremy/dev/personal/sourcemod-plugins/customvotes/scripting/customvotes.sp::OnMapStart()
L 01/17/2009 - 00:28:03: Error log file session closed.
L 01/17/2009 - 00:28:06: SourceMod error session started
L 01/17/2009 - 00:28:06: Info (map "dod_anzio") (file "errors_20090117.log")
L 01/17/2009 - 00:28:06: [SM] Native "RemoveFromArray" reported: Invalid index 2 (count: 0)
L 01/17/2009 - 00:28:06: [SM] Displaying call stack trace for plugin "customvotes.smx":
L 01/17/2009 - 00:28:06: [SM]   [0]  Line 1635, /home/jeremy/dev/personal/sourcemod-plugins/customvotes/scripting/customvotes.sp::ClearCurrentVote()
L 01/17/2009 - 00:28:06: [SM]   [1]  Line 256, /home/jeremy/dev/personal/sourcemod-plugins/customvotes/scripting/customvotes.sp::OnMapStart()
L 01/17/2009 - 01:14:25: Error log file session closed.
L 01/17/2009 - 01:14:27: SourceMod error session started
L 01/17/2009 - 01:14:27: Info (map "dod_flash") (file "errors_20090117.log")
L 01/17/2009 - 01:14:27: [SM] Native "RemoveFromArray" reported: Invalid index 2 (count: 0)
L 01/17/2009 - 01:14:27: [SM] Displaying call stack trace for plugin "customvotes.smx":
L 01/17/2009 - 01:14:27: [SM]   [0]  Line 1635, /home/jeremy/dev/personal/sourcemod-plugins/customvotes/scripting/customvotes.sp::ClearCurrentVote()
L 01/17/2009 - 01:14:27: [SM]   [1]  Line 256, /home/jeremy/dev/personal/sourcemod-plugins/customvotes/scripting/customvotes.sp::OnMapStart()
L 01/17/2009 - 02:00:22: Error log file session closed.
L 01/17/2009 - 02:00:25: SourceMod error session started
L 01/17/2009 - 02:00:25: Info (map "dod_subterrainia") (file "errors_20090117.log")
L 01/17/2009 - 02:00:25: [SM] Native "RemoveFromArray" reported: Invalid index 2 (count: 0)
L 01/17/2009 - 02:00:25: [SM] Displaying call stack trace for plugin "customvotes.smx":
L 01/17/2009 - 02:00:25: [SM]   [0]  Line 1635, /home/jeremy/dev/personal/sourcemod-plugins/customvotes/scripting/customvotes.sp::ClearCurrentVote()
L 01/17/2009 - 02:00:25: [SM]   [1]  Line 256, /home/jeremy/dev/personal/sourcemod-plugins/customvotes/scripting/customvotes.sp::OnMapStart()
L 01/17/2009 - 02:43:36: Error log file session closed.
L 01/17/2009 - 02:43:37: SourceMod error session started
L 01/17/2009 - 02:43:37: Info (map "dod_avalanche") (file "errors_20090117.log")
L 01/17/2009 - 02:43:37: [SM] Native "RemoveFromArray" reported: Invalid index 2 (count: 0)
L 01/17/2009 - 02:43:37: [SM] Displaying call stack trace for plugin "customvotes.smx":
L 01/17/2009 - 02:43:37: [SM]   [0]  Line 1635, /home/jeremy/dev/personal/sourcemod-plugins/customvotes/scripting/customvotes.sp::ClearCurrentVote()
L 01/17/2009 - 02:43:37: [SM]   [1]  Line 256, /home/jeremy/dev/personal/sourcemod-plugins/customvotes/scripting/customvotes.sp::OnMapStart()
L 01/17/2009 - 03:28:53: Error log file session closed.
L 01/17/2009 - 03:28:54: SourceMod error session started
L 01/17/2009 - 03:28:54: Info (map "dod_argentan") (file "errors_20090117.log")
L 01/17/2009 - 03:28:54: [SM] Native "RemoveFromArray" reported: Invalid index 2 (count: 0)
L 01/17/2009 - 03:28:54: [SM] Displaying call stack trace for plugin "customvotes.smx":
L 01/17/2009 - 03:28:54: [SM]   [0]  Line 1635, /home/jeremy/dev/personal/sourcemod-plugins/customvotes/scripting/customvotes.sp::ClearCurrentVote()
L 01/17/2009 - 03:28:54: [SM]   [1]  Line 256, /home/jeremy/dev/personal/sourcemod-plugins/customvotes/scripting/customvotes.sp::OnMapStart()
L 01/17/2009 - 04:14:06: Error log file session closed.
L 01/17/2009 - 04:14:07: SourceMod error session started
L 01/17/2009 - 04:14:07: Info (map "dod_orange_glass_arena_sr") (file "errors_20090117.log")
L 01/17/2009 - 04:14:07: [SM] Native "RemoveFromArray" reported: Invalid index 2 (count: 0)
L 01/17/2009 - 04:14:07: [SM] Displaying call stack trace for plugin "customvotes.smx":
L 01/17/2009 - 04:14:07: [SM]   [0]  Line 1635, /home/jeremy/dev/personal/sourcemod-plugins/customvotes/scripting/customvotes.sp::ClearCurrentVote()
L 01/17/2009 - 04:14:07: [SM]   [1]  Line 256, /home/jeremy/dev/personal/sourcemod-plugins/customvotes/scripting/customvotes.sp::OnMapStart()
L 01/17/2009 - 04:59:41: Error log file session closed.
L 01/17/2009 - 04:59:51: SourceMod error session started
L 01/17/2009 - 04:59:51: Info (map "dod_dijon") (file "errors_20090117.log")
L 01/17/2009 - 04:59:51: [SM] Native "RemoveFromArray" reported: Invalid index 2 (count: 0)
L 01/17/2009 - 04:59:51: [SM] Displaying call stack trace for plugin "customvotes.smx":
L 01/17/2009 - 04:59:51: [SM]   [0]  Line 1635, /home/jeremy/dev/personal/sourcemod-plugins/customvotes/scripting/customvotes.sp::ClearCurrentVote()
L 01/17/2009 - 04:59:51: [SM]   [1]  Line 256, /home/jeremy/dev/personal/sourcemod-plugins/customvotes/scripting/customvotes.sp::OnMapStart()
L 01/17/2009 - 05:10:07: Error log file session closed.
L 01/17/2009 - 05:10:11: SourceMod error session started
L 01/17/2009 - 05:10:11: Info (map "dod_colmar") (file "errors_20090117.log")
L 01/17/2009 - 05:10:11: [SM] Native "RemoveFromArray" reported: Invalid index 2 (count: 0)
L 01/17/2009 - 05:10:11: [SM] Displaying call stack trace for plugin "customvotes.smx":
L 01/17/2009 - 05:10:11: [SM]   [0]  Line 1635, /home/jeremy/dev/personal/sourcemod-plugins/customvotes/scripting/customvotes.sp::ClearCurrentVote()
L 01/17/2009 - 05:10:11: [SM]   [1]  Line 256, /home/jeremy/dev/personal/sourcemod-plugins/customvotes/scripting/customvotes.sp::OnMapStart()
L 01/17/2009 - 05:57:55: Error log file session closed.
L 01/17/2009 - 05:57:57: SourceMod error session started
L 01/17/2009 - 05:57:57: Info (map "dod_palermo") (file "errors_20090117.log")
L 01/17/2009 - 05:57:57: [SM] Native "RemoveFromArray" reported: Invalid index 2 (count: 0)
L 01/17/2009 - 05:57:57: [SM] Displaying call stack trace for plugin "customvotes.smx":
L 01/17/2009 - 05:57:57: [SM]   [0]  Line 1635, /home/jeremy/dev/personal/sourcemod-plugins/customvotes/scripting/customvotes.sp::ClearCurrentVote()
L 01/17/2009 - 05:57:57: [SM]   [1]  Line 256, /home/jeremy/dev/personal/sourcemod-plugins/customvotes/scripting/customvotes.sp::OnMapStart()
L 01/17/2009 - 06:43:51: Error log file session closed.
L 01/17/2009 - 06:43:54: SourceMod error session started
L 01/17/2009 - 06:43:54: Info (map "dod_anzio") (file "errors_20090117.log")
L 01/17/2009 - 06:43:54: [SM] Native "RemoveFromArray" reported: Invalid index 2 (count: 0)
L 01/17/2009 - 06:43:54: [SM] Displaying call stack trace for plugin "customvotes.smx":
L 01/17/2009 - 06:43:54: [SM]   [0]  Line 1635, /home/jeremy/dev/personal/sourcemod-plugins/customvotes/scripting/customvotes.sp::ClearCurrentVote()
L 01/17/2009 - 06:43:54: [SM]   [1]  Line 256, /home/jeremy/dev/personal/sourcemod-plugins/customvotes/scripting/customvotes.sp::OnMapStart()
L 01/17/2009 - 07:29:07: Error log file session closed.
L 01/17/2009 - 07:29:07: SourceMod error session started
L 01/17/2009 - 07:29:07: Info (map "dod_orange_annihilation") (file "errors_20090117.log")
L 01/17/2009 - 07:29:07: [SM] Native "RemoveFromArray" reported: Invalid index 2 (count: 0)
L 01/17/2009 - 07:29:07: [SM] Displaying call stack trace for plugin "customvotes.smx":
L 01/17/2009 - 07:29:07: [SM]   [0]  Line 1635, /home/jeremy/dev/personal/sourcemod-plugins/customvotes/scripting/customvotes.sp::ClearCurrentVote()
L 01/17/2009 - 07:29:07: [SM]   [1]  Line 256, /home/jeremy/dev/personal/sourcemod-plugins/customvotes/scripting/customvotes.sp::OnMapStart()
L 01/17/2009 - 08:14:19: Error log file session closed.
L 01/17/2009 - 08:14:19: SourceMod error session started
L 01/17/2009 - 08:14:19: Info (map "dod_orange_facingworld_v1") (file "errors_20090117.log")
L 01/17/2009 - 08:14:19: [SM] Native "RemoveFromArray" reported: Invalid index 2 (count: 0)
L 01/17/2009 - 08:14:19: [SM] Displaying call stack trace for plugin "customvotes.smx":
L 01/17/2009 - 08:14:19: [SM]   [0]  Line 1635, /home/jeremy/dev/personal/sourcemod-plugins/customvotes/scripting/customvotes.sp::ClearCurrentVote()
L 01/17/2009 - 08:14:19: [SM]   [1]  Line 256, /home/jeremy/dev/personal/sourcemod-plugins/customvotes/scripting/customvotes.sp::OnMapStart()
L 01/17/2009 - 09:11:44: Error log file session closed.
L 01/17/2009 - 09:11:46: SourceMod error session started
L 01/17/2009 - 09:11:46: Info (map "dod_kalt") (file "errors_20090117.log")
L 01/17/2009 - 09:11:46: [SM] Native "RemoveFromArray" reported: Invalid index 2 (count: 0)
L 01/17/2009 - 09:11:46: [SM] Displaying call stack trace for plugin "customvotes.smx":
L 01/17/2009 - 09:11:46: [SM]   [0]  Line 1635, /home/jeremy/dev/personal/sourcemod-plugins/customvotes/scripting/customvotes.sp::ClearCurrentVote()
L 01/17/2009 - 09:11:46: [SM]   [1]  Line 256, /home/jeremy/dev/personal/sourcemod-plugins/customvotes/scripting/customvotes.sp::OnMapStart()
__________________
monkie is offline
Send a message via MSN to monkie Send a message via Skype™ to monkie
taxi
New Member
Join Date: Jan 2009
Old 01-18-2009 , 04:04   Re: Custom Votes v0.5.6 (1/07)
Reply With Quote #268

Great plugin, installation was a breeze and it works like a charm.
However with this plugin I'm unable to select a certain map from the !votemenu and the admin voting menu. I've checked over the mapcycle files and it's listed there but not in the voting panel. Could being the default map on server startup affect this? I'd appreciate any help.

The server im running is a TF2 arena server, with arena_lumberyard as the default map if this is of any relavance.

*Edit* Being the default map wasn't the problem. I can change the map to lumberyard from the admin "changemap" but not in the !votemenu section.

Last edited by taxi; 01-18-2009 at 19:03.
taxi is offline
Conroy
New Member
Join Date: Jan 2009
Old 01-20-2009 , 13:20   Re: Custom Votes v0.5.6 (1/07)
Reply With Quote #269

realy nice plugin


edit: still one question.. is it possible to somehow change a chat type vote, so the name of a player after a certain trigger word may differ ?

Because atm players who vote have to type in the same part of the targets name, to get their votes counted together (but menu works fine)

Last edited by Conroy; 01-22-2009 at 13:13.
Conroy is offline
Guardia Republicano
Member
Join Date: Dec 2006
Location: Buenos Aires, Argentina
Old 01-24-2009 , 10:33   Re: Custom Votes v0.5.6 (1/07)
Reply With Quote #270

Quote:
Originally Posted by Hitman- View Post
How do you use this to allow an admin to pick from 3 maps and then the winning map will Set the next map (not immediately change)
I have seen this question serveral times here.
The answer is always the same:

Quote:
Originally Posted by chundo View Post
Code:
"3mapvote"
 {
   "title"        "Which map should be next?"
   "type"         "list"
   "admin"        "sm_admin"
   "cmd"          "sm_setnextmap #4"
   "options"
   {
      "#1"      "#1"
      "#2"      "#2"
      "#3"      "#3"
   }
   "params"
   {
      "1" "mapcycle"
      "2" "mapcycle"
      "3" "mapcycle"
   }
 }
Have you ever tried it? It is not working.

I think I found the problem.
First, it is using command sm_setnextmap that is not a default command of sourcemod. You have to load mapchooser plugin.

Second, after being able to run that command in console I tried the vote.
Here is my console output:

Code:
sm plugins load mapchooser
[SM] Loaded plugin mapchooser.smx successfully.
L 01/24/2009 - 13:17:37: [customvotes.smx] Deckard<4><STEAM_0:1:15603151><> initiated a changelevel vote
L 01/24/2009 - 13:17:38: [customvotes.smx] "SÃ*" (1) won with 100% of the vote (1 votes)
0 admins
sm_setnextmap
[SM] Usage: sm_setnextmap <map>
L 01/24/2009 - 13:18:38: [customvotes.smx] Deckard<4><STEAM_0:1:15603151><> initiated a setnextmapmulti vote
L 01/24/2009 - 13:18:41: [customvotes.smx] "dod_celes_b3" ("dod_celes_b3") won with 100% of the vote (1 votes)
L 01/24/2009 - 13:18:43: Team "Allies" triggered "tick_score" (score "3") (totalscore "3") (numplayers "0")
L 01/24/2009 - 13:18:44: [customvotes.smx] Executing "sm_setnextmap ""dod_celes_b3"""
CModelLoader::Map_IsValid:  Empty mapname!!!
[SM] Mapa  no encontrado.
sm_setnextmap "dod_celes_b3"
[SM] Siguiente mapa cambiado a "dod_celes_b3".
L 01/24/2009 - 13:19:37: [mapchooser.smx] "Console<0><Console><Console>" changed nextmap to "dod_celes_b3"
L 01/24/2009 - 13:19:37: server_cvar: "sm_nextmap" "dod_celes_b3"
L 01/24/2009 - 13:19:43: Team "Allies" triggered "tick_score" (score "3") (totalscore "6") (numplayers "0")
Your plugin is adding extra double quotes.
If I execute sm_setnextmap with simple double quotes it works.

You have an example using sm_setnextmap (changelevel vote) at first page. You should notice that mapchooser plugin is required.

Best regards,
Pablo.
__________________

Last edited by Guardia Republicano; 01-24-2009 at 10:39.
Guardia Republicano 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 06:47.


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