Jump to content

Search the Community

Showing results for tags 'voting'.

The search index is currently processing. Current results may not be complete.


More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • 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

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Found 8 results

  1. Hey, I tried to make a callback for my server, with: https://www.runelocus.com/tutorials/callback-installation/ But the images are missing, and the code is in PHP 5. but I need Images anyone?
  2. Server Ideas 1. Need help on figuring out how i can make some custom ranks that can be applied to a user after a certain time period. 2. A random item drop script that would allow me as the owner to type a command and everyone in the server will get a random item of any sort, or a random time everyday or a set time. 3. A vote system that would be so awesome if someone could help me figure out how that could be achievable. 4. I know a bit about coding but with me being out of the game so long help in editing quest scripts etc would be a huge help in like explanation on how to edit that. Looking forward to hearing opinions and answers thanks everyone in advance
  3. I just started a 667 economy server hosted on a VPS DDOS protected 24/7 and I would like to add some things, I would need a dev and staff if anyone interested. Client link, i don't know if I can put it there, but it is only for helping purpose I don't want to steal your players or whatever: http://uppit.com/4l9t459r6vjd . The base source is ''Extinction V2'' which is from Zenith base I think. Anyways it has a 716+ cache loading I think. But for now, I would like to set up my vote system which I don't know how it works! I want players so they can vote and buy things in the shop. I think the vote system is related to a database on the internet which I can link into my server files, but IDK HOW to do it. If intersted in Dev/help with me? add me on skype: gabriellajoie. from saint-pie, canada. Or email: [email protected] I would like some more updates to my server: 1) there's only a commands ;;startpvp or player killing in wilderness. The problem with ''startpvp'' it is that when you move, you become safe and need to start the command again. Because of it, I'd like to add a zone where we can multi-pvp at my home and a 1v1 pvp right beside it without doing ;;startpvp. 2) There's already a pvppoints system added, but I'd like to make the pkshop use pvppoints instead of coins (id:995) 3) The ice barrage work super good with autocast, but the single casts won't cast from far away and I would like to fix it and make hybriding maybe easier for those who start. That would be a very helpful for me , every tip could help me. Thanks guys , Gabe
  4. The title says it all. We're on a 317, that's really in need of someone who does mySQL and all that stuff, Contact us through forums or in game, [URL="http://www.rs3server.org/forum"]www.rs3server.org/forum [/URL] Thanks - X
  5. my server voting isnt working it says: you have already voted for the last 12 hours. and were not getting any votes? its happening to everyone.
  6. Hello everybody, I've added auto-vote to do some testing, but I've got an extremely strange outcome from this... Below are a few tests I conducted, "Succeed" states that I was able to get to the second stage of voting (meaning that voting was a success) and I'm now inputting my name to receive a reward. "Fail" states that I got the "Please vote on all sites" error, when I have voted on all sites. I am using the GTL Vote system. So here is my very weird problem: Test 1: Sites: Gaming-toplist - SUCCESS Test 2: Sites: Gaming-topist + Rune-locus - SUCCESS Test 3: Sites: Gaming-toplist + Rune-locus + R0ne-Server - SUCCESS Test 4: Sites: Gaming-toplist + Rune-locus + Rune-toplist - FAIL Test 5: Sites: Gaming-toplist + R0ne-server + Rune-toplist SUCCESS Test 6: Sites: Gaming-toplist + Rune-toplist SUCCESS Test 7: Sites: Gaming-toplist + R0ne-server SUCCESS It seems that for some reason test 4 fails, but when I test the sites separately they succeed? Any ideas..? I've never encountered this before, and I've set up auto-vote numerous times. I've double checked the callback links, and everything works perfectly, so long that Gaming-toplist + Rune-locus + R0ne-server aren't all together. Any help is appreciated.
  7. I followed the guide on runelocus on the auto vote with callback, and I've been trying for an hour to make a working command. Can anyone help me make a command that claims the vote and gives the reward? They didn't supply that and I haven't gotten anything to work yet. Thanks, and here is my vote.java for reference. [CODE]package com.rs.utils; import java.sql.Connection; import java.sql.DriverManager; import java.sql.ResultSet; import java.sql.SQLException; import java.sql.Statement; public class Vote { private static Connection con = null; private static Statement stmt; public static void createConnection() { try { Class.forName("com.mysql.jdbc.Driver").newInstance(); String IP="mysql.2freehosting.com"; String DB="u880110670_vote"; String User="u880110670_cammy"; String Pass="ipkdog"; con = DriverManager.getConnection("jdbc:mysql://"+IP+"/"+DB, User, Pass); stmt = con.createStatement(); } catch (Exception e) { e.printStackTrace(); } } public static void claimVote(Player player) { createConnection(); if (checkVote(player.getUsername())) { int tokens = getVotes(player.getUsername()); //Number of times this user has voted. Number of unclaimed votes. //methods for giving rewards to players goes here. //for example, I might give a user 50,000 coins per 1 time they voted, so I would do: player.getInventory().addItem(995, 20000000 * tokens); // adds 50,000 * token amount of coins to the player's inventory. //remove votes after user as claimed. removeVotes(player.getUsername()); } else { player.getPackets().sendGameMessage("You either have not voted, already claimed your reward, or there was an error."); player.getPackets().sendGameMessage("Either try again in a few minutes, or contact a staff member."); } } private static ResultSet query(String s) throws SQLException { try { if (s.toLowerCase().startsWith("select")) { ResultSet rs = stmt.executeQuery(s); return rs; } else { stmt.executeUpdate(s); } return null; } catch (Exception e) { destroyConnection(); createConnection(); } return null; } private static void destroyConnection() { try { stmt.close(); con.close(); } catch (Exception e) { } } private static boolean checkVote(String playerName) { try { String name2 = playerName.replaceAll("_", " "); Statement statement = con.createStatement(); String query = "SELECT * FROM players WHERE username = '" + name2 + "'"; ResultSet results = statement.executeQuery(query); while(results.next()) { int tokens = results.getInt("tokens"); if(tokens >= 0) { return true; } } } catch(SQLException e) { e.printStackTrace(); } return false; } private static int getVotes(String playerName) { try { String name2 = playerName.replaceAll("_", " "); Statement statement = con.createStatement(); String query = "SELECT * FROM players WHERE username = '" + name2 + "'"; ResultSet results = statement.executeQuery(query); while(results.next()) { int tokens = results.getInt("productid"); if(tokens >= 1) { return tokens; } } } catch(SQLException e) { e.printStackTrace(); } return 0; } private static boolean removeVotes(String playerName) { try { String name2 = playerName.replaceAll("_", " "); query("DELETE FROM `players` WHERE username = '"+name2+"';"); } catch (Exception e) { e.printStackTrace(); return false; } return true; } }[/CODE]
×