This site is a testing version, but all data is shared with the live forum.


Raised This Month: $ Target: $400
 0% 

mapvote


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Jokerz99
Senior Member
Join Date: Apr 2008
Old 05-15-2008 , 18:57   Re: mapvote
Reply With Quote #1

dumb question is this suppose to work with rtv or no? if not how can normal users trigger it?
__________________
Jokerz99 is offline
zerak
Senior Member
Join Date: Feb 2008
Old 05-16-2008 , 13:10   Re: mapvote
Reply With Quote #2

Jokerz99 only admin can trigger a vote or the timer since I only considered mapchooser and not rockthevote. This is the second request for rtv, should it automaticaly choose the maps then like a normal vote? Isn't there any plugin that can be dynamicaly linked to a command as to allow users to vote for a command? If this is true I could give a boolean option to mapvote_vote command forcing it to queue the vote, now it will not since I only expect admins to execute this command while it will queu if it is the trigger.

Last edited by zerak; 05-16-2008 at 13:16.
zerak is offline
Jokerz99
Senior Member
Join Date: Apr 2008
Old 05-16-2008 , 15:57   Re: mapvote
Reply With Quote #3

well honestly i see this addon replacing rtv because of the way it picks maps in slots. The current rtv picks randomly from maplist.txt but yours is a more advanced version. I would rather your plugin be triggered by rtv then the current rtv map voting menu.
__________________
Jokerz99 is offline
zerak
Senior Member
Join Date: Feb 2008
Old 05-16-2008 , 17:08   Re: mapvote
Reply With Quote #4

Oh thought RTV allowed people to select maps for the vote through the use of nominate
zerak is offline
Lapoxickle
Junior Member
Join Date: May 2008
Old 05-20-2008 , 10:45   Re: mapvote
Reply With Quote #5

plugin fails to compile, "unable to read voteManager" (both versions)
Lapoxickle is offline
ChrissT
New Member
Join Date: May 2008
Old 05-20-2008 , 10:59   Re: mapvote
Reply With Quote #6

vote manager is an include file created for show in Hint number of votes every map gets.
here it is http://forums.alliedmods.net/showthread.php?p=602932
ChrissT is offline
Lapoxickle
Junior Member
Join Date: May 2008
Old 05-20-2008 , 11:04   Re: mapvote
Reply With Quote #7

ah, thanks alot ChrissT
Lapoxickle is offline
r3dh3adkid
Senior Member
Join Date: Apr 2008
Location: Georgia
Old 05-20-2008 , 13:09   Re: mapvote
Reply With Quote #8

where am i suppose to put that file when i try to compile?
__________________
r3dh3adkid is offline
ChrissT
New Member
Join Date: May 2008
Old 05-20-2008 , 13:24   Re: mapvote
Reply With Quote #9

voteManager.inc goes to /cstrike/addons/sourcemod/scripting/include
and mapvote.sp in /cstrike/addons/sourcemod/scripting/
and then:
for linux run 'chmod 755 compile.sh' and 'chmod 755 spcomp'
and execute ./compile.sh. After compile you'll find mapvote.smx in /cstrike/addons/sourcemod/scripting/compiled .
for windows run compile.exe and then you'll find mapvote.smx in \cstrike\addons\sourcemod\scripting\compiled .

move or copy mapvote.smx in /cstrike/addons/sourcemod/plugins and thats it
ChrissT is offline
zerak
Senior Member
Join Date: Feb 2008
Old 05-20-2008 , 15:24   Re: mapvote
Reply With Quote #10

Chrisst I am impressed that you managed to modify that scrappy code.
A good way of learning and a good way make it fit the needs.

Never thought anyone would do that since it is ugly as h***, like WORN (write once read never). One reason for this is that there is no stuct nor classes.
Planning to update it once everything run but I will happily use your modified code but I will probably add a switch if one the slots to get reduced when condition is not fullfilled. But then I will steel your code probably

However I want to do like 100 diffrent plugins that I feel is missing

trawiator
Thank you, will look into it later but could you tell me if you did something to trigger this?

r3dh3adkid
tell me how you progress or give an output of "sm plugins list" if it give any message in the logs or server console (will most certainly get errors here if you experience trouble and it is loaded)
zerak 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 12:22.


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