Jump to content
Sign in to follow this  
satvir

Auto-Vote Rsps 718 (Rune-Evo)

Recommended Posts

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!

Share this post


Link to post
Share on other sites
This has been released before and stop taking another person's work without giving credits.

Share this post


Link to post
Share on other sites
[quote name='halo 3']This has been released before and stop taking another person's work without giving credits.[/QUOTE]

What this guy said.

Share this post


Link to post
Share on other sites
May have been taken from someone else but still, people pay 20$ tops for this and you have given people a way out of that! :)

Share this post


Link to post
Share on other sites
Fail. When you google the votescripts, both GTLVote script and RuneTopListV2 come with the tutorial for 317's and 718's. Also you need to add callbacks, which you didnt. This tutorial is useless.

Share this post


Link to post
Share on other sites
I'm buying serversided vote error fix, i have it 90% done. Im offering $20. Im using runetoplistv2.jar btw.

Share this post


Link to post
Share on other sites
Add me on skype: fbowna92 if ur willing to help :D

Share this post


Link to post
Share on other sites
Sign in to follow this  

×