Jump to content

Search the Community

Showing results for tags 'vote4cash'.



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 90 results

  1. [url=http://projectpks.com][IMG]http://puu.sh/5FS49.png[/IMG][/url] [CENTER][SIZE=5][B][U]Some Extra Features![/U][/B][/SIZE] [B]Training Locations Donator and Extreme Donator features Revenants Safe/Risk Pking 23/23 skills working 100% Gilded Altar Squeal of Fortune Money Pouch Clan Wars Safe and Risk portal for fun fights. Glacors with fire spell weekness. Loyalty Shop FightCaves/Fight Kiln Queen Black Dragon Barrows Frost Dragons Slayer Tower with all floors (including slayer task system) Polypore Dungeon Corporeal Beast Kalphite Queen Bork Tormented Demons Godwars (Zaros/Nex, Bandos, Armadyl, Zamorak, Saradomin)[/B] [SIZE=5][B][U]Skills![/U][/B][/SIZE] [B]Attack Strength Defence Ranged Prayer Magic Runecrafting Dungeoneering HitPoints Agility Herblore Thieving Crafting Fletching Slayer Hunter Mining Smithing Fishing Cooking Firemaking Woodcutting Summoning[/B] [SIZE=5][B][U]Pictures![/U][/B][/SIZE] [SIZE=4][B]Thieving Area![/B][/SIZE] [IMG]http://puu.sh/5xnae.jpg[/IMG] [SIZE=4][B]Slayer Tower![/B][/SIZE] [IMG]http://puu.sh/5xng4.jpg[/IMG] [SIZE=4][B]Agility![/B][/SIZE] [IMG]http://puu.sh/5xnij.jpg[/IMG] [SIZE=4][B]Bandos![/B][/SIZE] [IMG]http://puu.sh/5xnkE.jpg[/IMG] [SIZE=4][B]Armadyl![/B][/SIZE] [IMG]http://puu.sh/5xnlZ.jpg[/IMG] [SIZE=4] [B]Saradomin![/B][/SIZE] [IMG]http://puu.sh/5xnnO.jpg[/IMG] [SIZE=4][B]Zamorak![/B][/SIZE] [IMG]http://puu.sh/5xnoH.jpg[/IMG] [SIZE=4][B]QBD![/B][/SIZE] [IMG]http://puu.sh/5xnqX.jpg[/IMG] [SIZE=4][B]Corp![/B][/SIZE] [IMG]http://puu.sh/5xntA.jpg[/IMG] [SIZE=4][B]Nex![/B][/SIZE] [IMG]http://puu.sh/5xnvx.jpg[/IMG] [SIZE=4][B]Dicing![/B][/SIZE] [IMG]http://puu.sh/5xnyM.jpg[/IMG] [SIZE=4][B]Bank Tabs![/B][/SIZE] [IMG]http://puu.sh/5xnBt.jpg[/IMG] [SIZE=4][B]Money Pouch![/B][/SIZE] [IMG]http://puu.sh/5xnGg.jpg[/IMG] [SIZE=4][B]DirectX Support![/B][/SIZE] [IMG]http://puu.sh/5xnIN.png[/IMG] [SIZE=4][B]Clan Chat system![/B][/SIZE] [IMG]http://puu.sh/5xnKl.jpg[/IMG] [SIZE=4][B]Aura Shop![/B][/SIZE] [IMG]http://puu.sh/5xnMP.png[/IMG] [SIZE=4][B]Pk Shop![/B][/SIZE] [IMG]http://puu.sh/5xnUu.jpg[/IMG] [SIZE=4] [B]Level Point Shop![/B][/SIZE] [IMG]http://puu.sh/5xnVd.jpg[/IMG] [SIZE=4] [B]Dice Zone! :: Dicezone[/B][/SIZE] [IMG]http://puu.sh/5xnXR.jpg[/IMG] [B]Custom Dungeoneering![/B] [IMG]http://puu.sh/5FS92.jpg[/IMG] [B]Advanced Duneoneering![/B] [IMG]http://puu.sh/5FSd1.jpg[/IMG] [B]DonatorZone![/B] [IMG]http://puu.sh/5FSeP.jpg[/IMG] [B]Glacors![/B] [IMG]http://puu.sh/5FSic.jpg[/IMG] [B]Working Emotes![/B] [IMG]http://puu.sh/5FSnS.jpg[/IMG] [SIZE=4][B]Website[/B][/SIZE] - [url]http://www.projectPks.com[/url] [SIZE=4][B]Forums[/B][/SIZE] - [url]http://projectpks.com/forum/[/url] [SIZE=4][B]Webclient[/B][/SIZE] - [url]http://projectpks.com/Webclient.html[/url] [SIZE=4][B]Vote[/B][/SIZE] - [url]http://projectpks.com/vote/#?step=1[/url] [B]I have took your guys advice and Spent more time on the thread design i am not a profossional by any means! So please take that into consideration when judging! Thanks for looking ~Tyler[/B] [SIZE=2][B]Thread Design by, Tyler.[/B][/SIZE] [IMG]http://i.imgur.com/6bOTCsy.gif[/IMG][/CENTER]
  2. [CENTER] [IMG]http://i.imgur.com/ndCCXpN.png[/IMG] Homepage: [url=http://fatality614.org/]Fatality614 · Runescape Private Server[/url] Forums: [url=http://fatality614.org/forums]Fatality614 - Runescape Private Server Forums[/url] Webclient: [url=http://fatality614.org/play/]Fatality614 WebClient[/url] Jar File: [url=http://fatality614.org/loader.jar]Fatality614 · Download[/url][/CENTER] [B]Features:[/B] - 24.7 Uptime - Vote4Reward System - Webclient - Autocasting - Private Messaging - x2 token weekend - Active helpful staff - 4 Levels of Donator status - Regular updates! - Completely Lag Free! - 100% working leeches - Runescape like Combat - redone accuracy to be like runescape - Working Korasi’s Sword - Multi Barrages - Xp Counter - Working weapon specs and effects - Working curses prayer book, including turmoil! - All spell books, Moderns, Ancients and Lunars - All Spirit shields working, Even their affects. - Working Teleblock - Staff of light Special - Yell with custom tags - Daily Tournament Events
  3. I'm willing to pay 10$ for someone to set up an automatic voting system for my server! with MYSQL and server,client sided coding done... Please add my skype, I will be the first skype account to apear: Hamza-ftw TY.
  4. if you set up a vote for cash thing and make a working Installation Step 1 Database Address e.g. localhost Database Username e.g. Root Database Password Password Database Name e.g. server_votes ill pay up to $15 just need a working database fml
  5. biggs8888

    vote4cash yell

    Hey, I was wondering if its possible when someone has voted it says there name like this "test has voted and received 50m" here is my claim command [code=apache]if (playerCommand.startsWith("claim")) { if(c.checkVotes(c.playerName)) { c.getItems().addItem(995, 50000000); c.sendMessage("Thanks for voting!"); } else { c.sendMessage("You have not yet voted, type ::vote to do so"); }
  6. biggs8888

    Vote4Cash help

    no one wants to help me so i am going to try this so here is the problem when i created the whole vote4cash right but when someone click on this link [URL="http://phantomx.freeoda.com/vote.php"]http://phantomx.freeoda.com/vote.php[/URL] and type in there username and go onto server and do ::claim its says they have not voted yet do ::vote to vote. can someone please help?
  7. When I set up [url]http://www.runelocus.com/forums/showthread.php?83147-PI-RSPS-GTLVote-V1-0-NEW-VOTING-SCRIPT!-CALLBACKS[/url] I get these errors server sided [code] Evolution PK Starting..... Don't Close [12/6/12 8:27 PM]: Evolution PK [12/6/12 8:27 PM]: [Server] Finished Loading Evolution PK Maps [12/6/12 8:27 PM]: [Server] Evolution PK is Now Online! [12/6/12 8:27 PM]: Started saving accs [12/6/12 8:27 PM]: [LOGGED IN]: elmo [12/6/12 8:27 PM]: java.sql.SQLException: Access denied for user 'evopk317_votin g'@'##############' (using password: YES) [12/6/12 8:27 PM]: at com.mysql.jdbc.SQLError.createSQLException(SQLError.j ava:1055) [12/6/12 8:27 PM]: at com.mysql.jdbc.SQLError.createSQLException(SQLError.j ava:956) [12/6/12 8:27 PM]: at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java: 3536) [12/6/12 8:27 PM]: at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java: 3468) [12/6/12 8:27 PM]: at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java: 917) [12/6/12 8:27 PM]: at com.mysql.jdbc.MysqlIO.secureAuth411(MysqlIO.java:397 4) [12/6/12 8:27 PM]: at com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:1282) [12/6/12 8:27 PM]: at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionI mpl.java:2142) [12/6/12 8:27 PM]: at com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.j ava:773) [12/6/12 8:27 PM]: at com.mysql.jdbc.JDBC4Connection.<init>(JDBC4Connection .java:46) [12/6/12 8:27 PM]: at sun.reflect.NativeConstructorAccessorImpl.newInstance 0(Native Method) [12/6/12 8:27 PM]: at sun.reflect.NativeConstructorAccessorImpl.newInstance (NativeConstructorAccessorImpl.java:57) [12/6/12 8:27 PM]: at sun.reflect.DelegatingConstructorAccessorImpl.newInst ance(DelegatingConstructorAccessorImpl.java:45) [12/6/12 8:27 PM]: at java.lang.reflect.Constructor.newInstance(Constructor .java:525) [12/6/12 8:27 PM]: at com.mysql.jdbc.Util.handleNewInstance(Util.java:406) [12/6/12 8:27 PM]: at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionI mpl.java:352) [12/6/12 8:27 PM]: at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegist eringDriver.java:282) [12/6/12 8:27 PM]: at java.sql.DriverManager.getConnection(DriverManager.ja va:579) [12/6/12 8:27 PM]: at java.sql.DriverManager.getConnection(DriverManager.ja va:221) [12/6/12 8:27 PM]: at org.runetoplist.MySQLConnectionPool.getFreeConnection (MySQLConnectionPool.java:61) [12/6/12 8:27 PM]: at org.runetoplist.MySQLResultCallable.call(MySQLResultC allable.java:29) [12/6/12 8:27 PM]: at org.runetoplist.MySQLResultCallable.call(MySQLResultC allable.java:1) [12/6/12 8:27 PM]: at java.util.concurrent.FutureTask$Sync.innerRun(FutureT ask.java:334) [12/6/12 8:27 PM]: at java.util.concurrent.FutureTask.run(FutureTask.java:1 66) [12/6/12 8:27 PM]: at java.util.concurrent.ThreadPoolExecutor.runWorker(Thr eadPoolExecutor.java:1110) [12/6/12 8:27 PM]: at java.util.concurrent.ThreadPoolExecutor$Worker.run(Th readPoolExecutor.java:603) [12/6/12 8:27 PM]: at java.lang.Thread.run(Thread.java:722) [12/6/12 8:27 PM]: java.util.concurrent.ExecutionException: java.lang.NullPointe rException [12/6/12 8:27 PM]: at java.util.concurrent.FutureTask$Sync.innerGet(FutureT ask.java:252) [12/6/12 8:27 PM]: at java.util.concurrent.FutureTask.get(FutureTask.java:1 11) [12/6/12 8:27 PM]: at org.runetoplist.VoteChecker.getReward(VoteChecker.jav a:40) [12/6/12 8:27 PM]: at server.model.players.packets.Commands.playerCommands( Commands.java:102) [12/6/12 8:27 PM]: at server.model.players.packets.Commands.processPacket(C ommands.java:48) [12/6/12 8:27 PM]: at server.model.players.PacketHandler.processPacket(Pack etHandler.java:140) [12/6/12 8:27 PM]: at server.model.players.Client.processQueuedPackets(Clie nt.java:3575) [12/6/12 8:27 PM]: at server.model.players.PlayerHandler.process(PlayerHand ler.java:300) [12/6/12 8:27 PM]: at server.GameEngine.run(GameEngine.java:19) [12/6/12 8:27 PM]: at server.Server$1.execute(Server.java:165) [12/6/12 8:27 PM]: at server.task.Task.tick(Task.java:107) [12/6/12 8:27 PM]: at server.task.TaskScheduler.run(TaskScheduler.java:125) [12/6/12 8:27 PM]: at java.util.concurrent.Executors$RunnableAdapter.call(E xecutors.java:471) [12/6/12 8:27 PM]: at java.util.concurrent.FutureTask$Sync.innerRunAndReset (FutureTask.java:351) [12/6/12 8:27 PM]: at java.util.concurrent.FutureTask.runAndReset(FutureTas k.java:178) [12/6/12 8:27 PM]: at java.util.concurrent.ScheduledThreadPoolExecutor$Sche duledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178) [12/6/12 8:27 PM]: at java.util.concurrent.ScheduledThreadPoolExecutor$Sche duledFutureTask.run(ScheduledThreadPoolExecutor.java:293) [12/6/12 8:27 PM]: at java.util.concurrent.ThreadPoolExecutor.runWorker(Thr eadPoolExecutor.java:1110) [12/6/12 8:27 PM]: at java.util.concurrent.ThreadPoolExecutor$Worker.run(Th readPoolExecutor.java:603) [12/6/12 8:27 PM]: at java.lang.Thread.run(Thread.java:722) [12/6/12 8:27 PM]: Caused by: java.lang.NullPointerException [12/6/12 8:27 PM]: at org.runetoplist.PoolConnection.borrow(PoolConnection. java:27) [12/6/12 8:27 PM]: at org.runetoplist.MySQLConnectionPool.getFreeConnection (MySQLConnectionPool.java:66) [12/6/12 8:27 PM]: at org.runetoplist.MySQLResultCallable.call(MySQLResultC allable.java:29) [12/6/12 8:27 PM]: at org.runetoplist.MySQLResultCallable.call(MySQLResultC allable.java:1) [12/6/12 8:27 PM]: at java.util.concurrent.FutureTask$Sync.innerRun(FutureT ask.java:334) [12/6/12 8:27 PM]: at java.util.concurrent.FutureTask.run(FutureTask.java:1 66) [12/6/12 8:27 PM]: ... 3 more [12/6/12 8:28 PM]: Average Cycle Time: 25ms [12/6/12 8:28 PM]: Players online: 1, engine load: 5.27% [/code] The #'s are my IP Server.java [code] public static VoteChecker voteChecker = new VoteChecker("evopk317.com", "evopk317_runetoplistv2", "evopk317_voting", "password"); [/code] Deps folder pic [IMG]http://i47.tinypic.com/2r7sgu1.jpg[/IMG]
  8. Hey guys, I've been following the tutorial on how to add a Vote4Cash for my 562 loading 659 server. I've done everything correctly and curiously, i'm getting this error when i click on the "Sumbit" button. This is the error i'm getting :l : [CODE] PHP Error Message Parse error: syntax error, unexpected T_STRING in /home/a7466754/public_html/vote/vote.php on line 76 [/CODE] Also the code i'm having is really basic.. if someone can help me to improve it, it would be nice.. cause even if you don't type any username it sumbit O.o Anyways, thanks for reading my post and I hope you'll be able to help me out! :D Alex.
  9. for RSPS, the famous PHP and javascript Vote4Cash Proxy detector is a fail. my friend the other day asked me to vote for him, so when i accessed it, it detected that i run a webserver(Port 80) which sometimes can be used as a proxy, so i decided to test how safe this system is. Using a Free VPN(Not kiddie proxys), i was able to get 23 Auth Codes in 10 minutes. Litterally. Heres an example of my skype conversation [QUOTE] Start: [9/30/2012 10:32:40 PM] Alex: ELY ARE U DERE [9/30/2012 10:32:45 PM] Andrew ( Elycin ): DEPENDS [9/30/2012 10:32:49 PM] Alex: [REDACTED LINK] [9/30/2012 10:32:50 PM] Alex: (worry) [9/30/2012 10:32:53 PM] Alex: vote for mehhh later after realising that im blocked: [9/30/2012 10:33:23 PM] Andrew ( Elycin ): just becasue i have a port open because i run servers [9/30/2012 10:33:23 PM] Alex: :3 [9/30/2012 10:33:24 PM] Andrew ( Elycin ): Proxy ban. [9/30/2012 10:33:27 PM] Andrew ( Elycin ): they ban you. later on after the idea of testing: [9/30/2012 10:50:35 PM] Andrew ( Elycin ): working on number 3 [9/30/2012 10:50:41 PM] Alex: lol these kids on here are like WTF ... [9/30/2012 10:56:47 PM] Andrew ( Elycin ): Number 3 coming up [9/30/2012 10:57:08 PM] Andrew ( Elycin ): trmkx7 [9/30/2012 10:57:14 PM] Andrew ( Elycin ): number 4 ccoming up [9/30/2012 11:00:13 PM] Andrew ( Elycin ): c77z2d [9/30/2012 11:00:19 PM] Andrew ( Elycin ): Number 5 coming up [9/30/2012 11:03:13 PM] Andrew ( Elycin ): 83q415 [9/30/2012 11:05:56 PM] Andrew ( Elycin ): Number 6 [9/30/2012 11:05:57 PM] Andrew ( Elycin ): y83488 [/QUOTE] As a message to all of you server owners, Learn codes fast. becase A Vote system that checks for open ports wont save you, some of you may have already expierienced this. This is a needed fix for servers if you want economy to be stable. but since i do know some php. i will give advice. Create an IP Blacklist and use these VPN tools to block the IP's. so that they cant use it when trying to slip a few codes. create a system that uses value checking. Expample: Before click on vote, get value, value = 100.... if voted, check value, if value increased then award cash And i hope i helped some honestly server owners that have had this issue.
  10. [IMG]http://gyazo.com/d37febac8b5d16c3aab42cea279ae763.png[/IMG] Only happens when it opens the mysql connetion any idea? :(
  11. When I type ";;claim" it gives me a big error and nulls the server and makes the person that did the command logout. The error is posted below and any help would be great. [CODE]java.lang.ClassNotFoundException: com.mysql.jdbc.Driver at java.net.URLClassLoader$1.run(URLClassLoader.java:366) at java.net.URLClassLoader$1.run(URLClassLoader.java:355) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:354) at java.lang.ClassLoader.loadClass(ClassLoader.java:423) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308) at java.lang.ClassLoader.loadClass(ClassLoader.java:356) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:186) at com.rs.utils.VoteManager.createConnection(VoteManager.java:17) at com.rs.utils.VoteManager.checkVote(VoteManager.java:32) at com.rs.game.player.content.Commands.processNormalCommand(Commands.java:2815) at com.rs.game.player.content.Commands.processCommand(Commands.java:92) at com.rs.net.decoders.WorldPacketsDecoder.processPackets(WorldPacketsDecoder.java:1693) at com.rs.net.decoders.WorldPacketsDecoder.decode(WorldPacketsDecoder.java:419) at com.rs.net.ServerChannelHandler.messageReceived(ServerChannelHandler.java:127) at org.jboss.netty.channel.SimpleChannelHandler.handleUpstream(SimpleChannelHandler.java:95) at org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:563) at org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:558) at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:268) at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:255) at org.jboss.netty.channel.socket.nio.NioWorker.read(NioWorker.java:91) at org.jboss.netty.channel.socket.nio.AbstractNioWorker.processSelectedKeys(AbstractNioWorker.java:373) at org.jboss.netty.channel.socket.nio.AbstractNioWorker.run(AbstractNioWorker.java:247) at org.jboss.netty.channel.socket.nio.NioWorker.run(NioWorker.java:35) at org.jboss.netty.util.ThreadRenamingRunnable.run(ThreadRenamingRunnable.java:102) at org.jboss.netty.util.internal.DeadLockProofWorker$1.run(DeadLockProofWorker.java:42) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at java.lang.Thread.run(Thread.java:722) [/CODE]
  12. Getting this error in my run: [CODE]java.lang.ClassNotFoundException: com.mysql.jdbc.Driver at java.net.URLClassLoader$1.run(URLClassLoader.java:202) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:190) at java.lang.ClassLoader.loadClass(ClassLoader.java:306) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) at java.lang.ClassLoader.loadClass(ClassLoader.java:247) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:169) at com.rs2hd.packethandler.MYSQL.createConnection(MYSQL.java:13) at com.rs2hd.model.Player.extraAutoSave(Player.java:697) at com.rs2hd.util.AutoSaveEvent.execute(AutoSaveEvent.java:47) at com.rs2hd.event.Event.run(Event.java:65) at com.rs2hd.model.World$1.run(World.java:178) at com.rs2hd.Server$2.run(Server.java:145) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:44 1) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask. access$301(ScheduledThreadPoolExecutor.java:98) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask. run(ScheduledThreadPoolExecutor.java:206) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExec utor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor .java:908) at java.lang.Thread.run(Thread.java:662)[/CODE] Willing to pay RSGP.
  13. Can someone link me a tutorial? Yes I used the search button BUT guess what. No tuts whatsoever -.- If you can help me, I will give ya a rank on my server and I coul give you rsgp. [email][email protected][/email] [B]Also how do I change a weapons speed? Rapie is too slow on my server[/B]...
  14. Looking for a vote4cash system with callback links to make sure they voted... If you help me add to my server then I will pay you 10$ or 20m rsgp, you're choice... only contact me via Skype plz.... Skype Name: dylan.ryan94
  15. I am willing to pay 2m rsgp for someone to add vote4cash for me... PI
  16. fallen2dc

    Vote4cash

    My voting works.. but how do i make it so u can vote every hour? not 24hours? can someone help please! i tried everything and same thing i waited 3hours.. and so i didnt do it right [PHP]<?php /** * @author Stuart <RogueX | iVariable> * @version 1.1 UPDATED: 06.09.2010 * @comment fixed a few bugs */ /** * mysql database hostname */ define("MYSQL_HOST", "mysql3.000webhost.com"); /** * mysql username to connect to the database server */ define("MYSQL_USERNAME", "a3075136_vote"); /** * mysql password the password to connect to the database server */ define("MYSQL_PASSWORD", "pass"); /** * mysql database the database name in which you have your vote table setup */ define("MYSQL_DATABASE", "a3075136_vote"); /** * vote url this is the url which where users will be sent to on voting */ define("VOTE_URL", "www.moparscape.org/serverstatus.php?action=up&server=dubbzscapez.no-ip.biz"); /** * The number of hours between voting */ define("VOTE_HOURS", 1); /** * connect() this function is used to connect to the mysql database server. */ function connect() { if ([email protected]_connect(MYSQL_HOST, MYSQL_USERNAME, MYSQL_PASSWORD)) die("Could not connect to mysql database: " . mysql_error()); if ([email protected]_select_db(MYSQL_DATABASE)) die("Could not select mysql database: " . mysql_error()); $tables = mysql_list_tables(MYSQL_DATABASE); while (list($temp) = mysql_fetch_array($tables)) { if ($temp == "votes") { return; } } query("CREATE TABLE `votes` ( `playerName` VARCHAR( 255 ) NOT NULL , `ip` VARCHAR( 255 ) NOT NULL, `time` BIGINT NOT NULL , `recieved` INT( 1 ) NOT NULL DEFAULT '0')"); } /** * query(string query) this function is used to query the mysql database server. */ function query($s) { $query = @mysql_query($s); if (!$query) die("Error running query('" . $s . "'): " . mysql_error()); return $query; } /** * anti_inject(string text) this function is used to make sure no injections can be made. */ function anti_inject($sql) { $sql = preg_replace(sql_regcase("/(from|select|insert|delete|where|drop table|show tables|#|\*|--|\\\\)/"), "", $sql); $sql = trim($sql); $sql = strip_tags($sql); $sql = addslashes($sql); $sql = strtolower($sql); return $sql; } /** * clean_request(int timestamp, string username) this function is used to delete any entries if they have already expired. */ function clean_request($time, $username) { $query = query("SELECT * FROM `votes` WHERE `playerName`='" . $username . "'"); if (mysql_num_rows($query) > 0) { $row = mysql_fetch_array($query); $timerequested = $row['time']; if ($time - $timerequested > VOTE_HOURS * 60) query("DELETE FROM `votes` WHERE time='" . $timerequested . "'"); } } /** * vote_entries(string ip) this function is used return the number of rows within the table */ function vote_entries($ip) { $query = query("SELECT * FROM `votes` WHERE ip='" . $ip . "'"); return mysql_num_rows($query); } /** * This is the actual working of the script please do not touch anything below if you do not know what you are doing... */ if (isset($_POST['submit']) || isset($_GET['username']) && isset($_GET['type'])) { connect(); if ($_POST['submit']) { if(@fsockopen($_SERVER['REMOTE_ADDR'], 80, $errno, $errstr, 1)) die("Sorry but you have port 80 open, this is to stop voting by proxy address."); if(isset($_COOKIE['voted'])) die("Sorry but it looks like you have already voted..."); $username = anti_inject($_POST['username']); $ip = gethostbyaddr($_SERVER['REMOTE_ADDR']); clean_request(time(), $username); if (vote_entries($ip) == 0) { setcookie ("voted", "yes", VOTE_HOURS * 60); query("INSERT INTO `votes` (`playerName`, `ip`, `time`) VALUES ('" . $username . "', '" . $ip . "', '" . time() . "')"); header("Location: " . VOTE_URL . ""); } else { die("You have already voted once today."); } } elseif ($_GET['type'] == "checkvote") { $username = anti_inject($_GET['username']); $query = query("SELECT * FROM `votes` WHERE `playerName`='" . $username . "'"); if (mysql_num_rows($query) == 1) { $results = mysql_fetch_array($query); if ($results['recieved'] == 0) { query("UPDATE `votes` SET `recieved`='1' WHERE `playerName`='" . $username . "'"); die("user needs reward..."); } else { die("user been given reward..."); } } else { die("Vote not found... ". $username ."."); } } } ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Vote for a reward!</title> </head> <body> <div align="center" style="color:#00F"><h2>Vote for a reward!</h3></div> <table align="center"> <form action="vote.php" method="post"> <tr> <td align="right">Username: </td> <td><input name="username" type="text" /></td> </tr> <tr> <td> </td> <td align="center"><input type="submit" name="submit" value="Vote now" /></td> </tr> </form> </table> </body> </html>[/PHP]
  17. Can someone please help look! it wont work it either brings me to webhostin page or says i already voted... and how do i make it voting every hour [PHP]<?php /** * [MENTION=52317]auth[/MENTION]or Stuart <RogueX | iVariable> * @version 1.1 UPDATED: 06.09.2010 * [MENTION=67687]Com[/MENTION]ment fixed a few bugs */ /** * mysql database hostname */ define("MYSQL_HOST", "mysql3.000webhost.com"); /** * mysql username to connect to the database server */ define("MYSQL_USERNAME", "a3075136_vote"); /** * mysql password the password to connect to the database server */ define("MYSQL_PASSWORD", "pAass"); /** * mysql database the database name in which you have your vote table setup */ define("MYSQL_DATABASE", "a3075136_vote"); /** * vote url this is the url which where users will be sent to on voting */ define("VOTE_URL", "www.moparscape.org/serverstatus.php?action=up&server=dubbzscapez.no-ip.biz?type=checkvote&username="); /** * The number of hours between voting */ define("VOTE_HOURS", 1); /** * connect() this function is used to connect to the mysql database server. */ function connect() { if ( [MENTION=103481]Mysql[/MENTION]_connect(MYSQL_HOST, MYSQL_USERNAME, MYSQL_PASSWORD)) die("Could not connect to mysql database: " . mysql_error()); if ( [MENTION=103481]Mysql[/MENTION]_select_db(MYSQL_DATABASE)) die("Could not select mysql database: " . mysql_error()); $tables = mysql_list_tables(MYSQL_DATABASE); while (list($temp) = mysql_fetch_array($tables)) { if ($temp == "votes") { return; } } query("CREATE TABLE `votes` ( `playerName` VARCHAR( 255 ) NOT NULL , `ip` VARCHAR( 255 ) NOT NULL, `time` BIGINT NOT NULL , `recieved` INT( 1 ) NOT NULL DEFAULT '0')"); } /** * query(string query) this function is used to query the mysql database server. */ function query($s) { $query = [MENTION=103481]Mysql[/MENTION]_query($s); if (!$query) die("Error running query('" . $s . "'): " . mysql_error()); return $query; } /** * anti_inject(string text) this function is used to make sure no injections can be made. */ function anti_inject($sql) { $sql = preg_replace(sql_regcase("/(from|select|insert|delete|where|drop table|show tables|#|\*|--|\\\\)/"), "", $sql); $sql = trim($sql); $sql = strip_tags($sql); $sql = addslashes($sql); $sql = strtolower($sql); return $sql; } /** * clean_request(int timestamp, string username) this function is used to delete any entries if they have already expired. */ function clean_request($time, $username) { $query = query("SELECT * FROM `votes` WHERE `playerName`='" . $username . "'"); if (mysql_num_rows($query) > 0) { $row = mysql_fetch_array($query); $timerequested = $row['time']; if ($time - $timerequested > VOTE_HOURS * 3600) query("DELETE FROM `votes` WHERE time='" . $timerequested . "'"); } } /** * vote_entries(string ip) this function is used return the number of rows within the table */ function vote_entries($ip) { $query = query("SELECT * FROM `votes` WHERE ip='" . $ip . "'"); return mysql_num_rows($query); } /** * This is the actual working of the script please do not touch anything below if you do not know what you are doing... */ if (isset($_POST['submit']) || isset($_GET['username']) && isset($_GET['type'])) { connect(); if ($_POST['submit']) { if(@fsockopen($_SERVER['REMOTE_ADDR'], 80, $errno, $errstr, 1)) die("Sorry but you have port 80 open, this is to stop voting by proxy address."); if(isset($_COOKIE['voted'])) die("Sorry but it looks like you have already voted..."); $username = anti_inject($_POST['username']); $ip = gethostbyaddr($_SERVER['REMOTE_ADDR']); clean_request(time(), $username); if (vote_entries($ip) == 0) { setcookie ("voted", "yes", VOTE_HOURS * 3600); query("INSERT INTO `votes` (`playerName`, `ip`, `time`) VALUES ('" . $username . "', '" . $ip . "', '" . time() . "')"); header("Location: " . VOTE_URL . ""); } else { die("You have already voted today."); } } elseif ($_GET['type'] == "checkvote") { $username = anti_inject($_GET['username']); $query = query("SELECT * FROM `votes` WHERE `playerName`='" . $username . "'"); if (mysql_num_rows($query) == 1) { $results = mysql_fetch_array($query); if ($results['recieved'] == 0) { query("UPDATE `votes` SET `recieved`='1' WHERE `playerName`='" . $username . "'"); die("user needs reward..."); } else { die("user been given reward..."); } } else { die("Vote not found... ". $username ."."); } } } ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Vote for a reward!</title> </head> <body> <div align="center" style="color:#00F"><h2>Vote for a reward!</h3></div> <table align="center"> <form action="vote.php" method="post"> <tr> <td align="right">Username: </td> <td><input name="username" type="text" /></td> </tr> <tr> <td> </td> <td align="center"><input type="submit" name="submit" value="Vote now" /></td> </tr> </form> </table> </body> </html>[/PHP]
  18. Solved! thanks redevolutionx
  19. Zirl

    Vote4Cash help

    i need to make a vote4cash system on my server and i have no clue how i need someone to link me to a complete tutorial or help me
  20. so, i need help with my vote system, but my vote.php gives this error: error connecting to mysql server - No connection could be made because the target machine actively refused it. You can check it at [url]http://www.infinity-servers.com/vote/vote.php[/url] the host its set for localhost, password its correct and user its root whats the problem then?
  21. is there an 667 vote4cash tutorial? or somebody that can do it for me? redevolutionx,
  22. 711 vote4cash system ? does anyone knows a 711 vote4cash?
  23. who could help me? i am using rscalifornia v2 source src\com\rs
  24. Tyler

    Vote4Cash

    Need help setting this up.. I have tried before but all I get is this: [url]http://www.serenity659.com/vote.html[/url] Just put in a random username when asked, and then hit vote. It comes up with vote.php but it says nothing is on page? When I do have something: [CODE]<?php $host="localhost"; $username="HIDDEN"; $password="HIDDEN"; $db_name="HIDDEN"; $link = mysql_connect("$host", "$username", "$password")or die("cannot connect"); mysql_select_db("$db_name")or die("cannot select DB"); $username=$_POST['username']; $voteid = ($_POST['votenum']); $username = stripslashes($username); $username = mysql_real_escape_string($username); $time = time(); $ip = $_SERVER['REMOTE_ADDR']; if(clean_requests($time)) { if(vote_entries($ip) == 0) { mysql_query("INSERT INTO Votes (username, ip, time, recieved) VALUES ('$username', '$ip', '$time', '0')", $link) or die("An internal error has occured please try again later.<br/>To go back click <a href='index.php'><b>HERE</b></a>"); header("Location: ".votenow($voteid).""); } else { die("You have already voted once today<br/>To go back click <a href='index.php'><b>HERE</b></a>"); } } else { die("An internal error has occured please try again later.<br/>To go back click <a href='index.php'><b>HERE</b></a>"); } function clean_requests($time) { $query = mysql_query ( "SELECT * FROM Votes"); $i = 0; while($row = mysql_fetch_array($query)) { $i++; $timerequested = $row['time']; if($time-$timerequested > 12*3600) { if (!mysql_query( "DELETE FROM Votes WHERE time='$timerequested'")) { return false; } } } return true; } function vote_entries($ip) { $entries = mysql_query ( "SELECT * FROM Votes WHERE ip = '$ip'" ); if ( !$entries ) { die ( "Unable to get number of entries: " . mysql_error () ); } return mysql_num_rows ( $entries ); } function votenow($votenum) { $url = ""; if($votenum) { switch($votenum) { case 1: $url = "VOTE LINK 1; break; case 2: $url = "VOTE LINK 2"; break; case 3: $url = "VOTE LINK 3"; break; default: die("Error!"); break; } } return $url; } ?>[/CODE]
×