Jump to content

Search the Community

Showing results for tags 'autovote'.

More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


  • RuneLocus
    • News & Announcements
    • Information Booth
    • Website Support
    • Introductions
    • Chat
    • Forum Games
  • RuneScape Development
    • RSPS General
    • RuneScape Private Server (RS2)
    • RuneScape Private Server (503+)
    • RuneScape Private Server (EoC 742+)
  • Other
    • Digital Art
    • Gaming
    • Webdevelopment
    • Computers
  • Marketplace
    • RuneScape Market
    • RSPS Market
    • Others Market
    • Freelance Middleman Services
  • Super Secret Club's Topics

Product Groups

  • RuneLocus Pro

Find results in...

Find results that contain...

Date Created

  • Start


Last Updated

  • Start


Filter by number of...


  • Start



Found 6 results

  1. Hello, Our server (Ice-Age) is currently looking for a Developer that can make an automatic vote-system. You can contact Kira (The Owner) through skype : live.saed.1992 or you can add me on skype and i'll redirect you to Kira (my skype: devjaron) We are willing to pay real $$ for your work! Thanks in advance, Jaron
  2. [IMG]http://rspserver.com/images/motivote.png[/IMG] Download at [URL="http://www.runelocus.com/forums/showthread.php?102928-Ultimate-Vote-Script-Motivote-(SERVER-amp-WEBSITE)"]http://www.runelocus.com/forums/showthread.php?102928-Ultimate-Vote-Script-Motivote-(SERVER-amp-WEBSITE)[/URL] [SIZE=1]Note: This can be applied to any server, RL just forced me to use a thread prefix.[/SIZE] So I made [URL="http://www.runelocus.com/forums/showthread.php?102928-Ultimate-Vote-Script-Motivote-(SERVER-amp-WEBSITE)"]Motivote[/URL] pretty easy to install, right off the bat. The only real tricky part is going to be writing the code that gives the user the reward, but I've made that as simple as I can make it. [url]https://www.youtube.com/watch?v=GhOyPmwqw1s[/url] [LIST=1] [*]Create a MySQL database, user, and give the user as many privileges as you can. [*]Extract Motivote-(WHATEVER CURRENT VERSION IS)-web.rar and upload the contents into a directory on your website. I'd use /vote/. [*]Set permissions on config.php to 0777. If you don't, the script will tell you what to put in config.php by yourself. [*]Visit [url]http://yoursite.com/vote/[/url] and enter the installation information and just follow the steps. [*]MAKE SURE YOU SAVE YOUR [B]SERVER DATA CALLBACK KEY[/B] AND YOUR [B]ADMIN CONTROL PASSWORD[/B]! [/LIST] [IMG]http://i.imgur.com/pQSpAJP.png[/IMG] [I][COLOR="#FF0000"][B]Then, for the server installation, include Motivote-(current version).jar in your build path.[/B][/COLOR][/I] [SIZE=1]For PI, here's the method I added in PlayerHandler.java: [url=http://pastebin.com/T6Vvcvvd]Add to PlayerHandler.java - Pastebin.com[/url][/SIZE] Create RewardHandler.java: [CODE]import server.model.players.Client; import server.model.players.Player; import server.model.players.PlayerHandler; import com.rspserver.motivote.MotivoteHandler; import com.rspserver.motivote.Reward; public class RewardHandler extends MotivoteHandler<Reward> { [MENTION=15855]Over[/MENTION]ride public void onCompletion(Reward reward) { int itemID = -1; if (reward.rewardName().equalsIgnoreCase("gold")) { itemID = 995; } // SOME OF THIS CODE WILL BE DIFFERENT FOR YOUR SERVER, CHANGE IT ACCORDINGLY. everything to do with motivote will stay the same! if (PlayerHandler.isPlayerOn(reward.username())) { Player p = PlayerHandler.getPlayer(reward.username()); if (p != null && p.isActive == true) // check isActive to make sure player is active. some servers, like project insanity, need extra checks. { synchronized(p) { Client c = (Client)p; if (c.getItems().addItem(995, reward.amount())) { c.sendMessage("You've received your vote reward! Congratulations!"); reward.complete(); } else { c.sendMessage("Could not give you your reward item, try creating space."); } } } } } }[/CODE] Add where you initialize/start everything else: [CODE]new Motivote(new RewardHandler(), "http://yoursite.com/vote/", "server data callback key").start();[/CODE] [IMG]http://i.imgur.com/nB5EdTn.png[/IMG] Really, it's that easy. If you have any issues, just post a reply and I'll try and sort them out to the best of my ability. Thanks!
  3. I've been searching some, and i couldn't find any tutorial how to setup a auto-vote system, most likely one for PI. Anybody that could help me out here? Whould be awsome :3
  4. Download this! [url]https://www.dropbox.com/s/6wietr6kuv7fwgh/vote.zip?m=[/url] [CODE] if (cmd[0].equals("vote")) { player.getPackets().sendOpenURL("Vote Link In Here."); return true; }[/CODE] Add this in your regularplayer.java Now go into your launcher.java add this import: import org.Vote.*; public static MainLoader vote = new MainLoader("Host", "User", "Pass", "db"); Add this also in launcher.java under public final class Launcher { (fill in your stuff in each thing) Add this command in regularplayer.java. [CODE] if (cmd[0].equals("claim")) { try { VoteReward reward = Launcher.vote.hasVoted(player.getUsername().toLowerCase().replaceAll(" ", "_")); if(reward != null){ switch(reward.getReward()){ case 0: player.getInventory().addItem(995, 10000000); //vote id 0 break; case 1: //vote id 1 break; //add more here default: player.getPackets().sendMessage(99, "Reward not found.", player); break; } player.getPackets().sendMessage(99, "Thank you for voting.", player); } else { player.getPackets().sendMessage(99, "You have no items waiting for you.", player); } } catch (Exception e){ player.getPackets().sendMessage(99, "[GTL Vote] An SQL error has occured.", player); } return true; }[/CODE] Now Download The Vote.zip, and extract it, add the gtlvote in the libs. Edit Start Rune-Evo [CODE]@title Rune-Evo Server @echo off java -XX:-OmitStackTraceInFastThrow -server -cp bin;data/libs/* com.rs.Launcher true true false pause[/CODE] Change it to this^ Server Side Done. Now Login into your sites cpanel, so like this. Yoursite.com/cpanel/ Upload the vote.zip and extract it there. Now do yoursite.com/vote which will take you to the installing page, fill in all the database info. Remember to take out the gtlvote.jar out from the vote.zip before uploading. After filling everything, click submit. Now gtlvote is installed to your site. Any error's? Pm Me Or Post It! I Will Reply Soon. If you need a host, I'd use hosting24.com!
  5. As title states Is there any autoVote systems that work with [Dementhium/637] Servers ? Please let me know below
  6. Dezolation

    AutoVote Problem

    I have fixed the problem, thank you everyone for the suggestions.