Log in

View Full Version : [Release] Vote System



Paradox
20-12-09, 12:31 PM
Notes
To start a vote, you need to be a GM. The command to initiate a vote is #startvote <question>. When the vote starts all online players will receive a vote ballot. By right-clicking the vote ballot they get the options yes/no/blank vote. The vote ends in 1 minute. And the option with the heighest amount of votes wins the vote. To end a vote manually type #endvote.

Screenshots
http://i32.tinypic.com/2zsd8v5.jpg
http://i27.tinypic.com/2mhh79k.jpg
http://i27.tinypic.com/np4a42.jpg
http://i28.tinypic.com/2hol0es.jpg
http://i29.tinypic.com/34hexx2.jpg
http://i32.tinypic.com/1671c3q.jpg

Installation

1. VoteSystem+Source 1.0.1.zip somewhere.
2. Apply the patch public_eventremove.patch to <ArcEmu folder>/trunk/src (if you don't know how to apply a patch look here (http://tortoisesvn.net/docs/release/TortoiseSVN_en/tsvn-dug-patch.html).)
3. Compile ArcEmu.
4. Execute the correct SQL file: Vote ballot-90001 arcemu 3.0.x.sql or Vote ballot-90001 arcemu 3.1.x.sql
5. If you have ArcEmu rev 2778 skip to step 8.
6. Compile your script
7. Your VoteSystem.dll should be in ..\..\..\..\bin\$(ConfigurationName)\script_bin.
8. Put the VoteSystem.dll in the script_bin folder of your compiled ArcEmu.


Downloads
VoteSystem+Source 1.0.1.zip (http://filebeam.com/0ff442dff418587bb1322b81a8052815)


Additional Information
Tested on ArcEmu rev 2778.
Used the same layout as my other release :p.
Feel free to report bugs.

EDIT:
Fixed screenshots
Update to 1.0.1:
Fixed a bug where the script keeps repeating which option won the vote[/QUOTE]

-Credits To Lynie for developing
-Credits to me for the recompile.