Jump to content

Search the Community

Showing results for tags 'somone'.



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

  1. Well, I've decided to make Rsps, i've had 1 before, but had no players join so... I thought about it and decided mabey somone thats exp can teamviewer my computer, and pretty much set up the whole server, i know how to code, so you won't be doing it all. You will be given CO - Owner, and if we get a domain you will have console and what not. Thanks Leave comment down below with skype name and ill add you!
  2. I need someone to help make me a jar file, for a 317 webclient. Iv tried to make one myself, but didn't work. so i'm asking if anyone will help make me one. my email is ben7024 at live . c o m email me or add me on messenger. thanks.
  3. Need Vps Somone install vps vnc desktop linux Centos pleas Ineed some to install it for me well not for free i can give credit .. add me or post here my email is : [email][email protected][/email] or my Skybe : hakam.dan thanks!!
  4. Okay i have a glitch where when i use a command teleport it deletes all NPCs if anyone can help me with this i can pay. We will agree on a price together in PM etc. Also will pay for somone to help me with adding custom crowns. And again we will agree on a price. I have been needing this help for quite some time so it will be very much appreciated! Thanks
  5. cranks

    Can somone

    Can someone Tv me and do a couple of things. 1 : Fix my quest tab, none of the options will open. 2 : Add the ::item and ::master command. Please can someone do it, ive tried but failed thanks. -cranks
  6. [quote name='Redcen1']This is for a 562. I am unsure who made this code first but i made it 562 rs2hd from 317 [b]Purpose:[/b] Gives people GP/items for voting on a website. [b]Difficulty:[/b] 5 (It just uses MySQL, that doesn't make it rise to 10...) [size=7]WEBSITE SIDE[/size] -> A webserver/hosting account with MySQL working. -> COM SQL driver ([url=http://uppit.com/v/DZIS72L4]Downloading - com.zip @ UppIT[/url]) -> A website obviously In your web hosting make a new PHP file and call it vote.php, add the following in to it: [code]<?php $host="localhost"; $username="YOUR MYSQL USERNAME"; $password="YOUR MYSQL PASSWORD"; $db_name="DATABASE NAME"; $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] The above code has three voting websites configured to work with it. If you need more, just ask me, it's easy to add a few more. Just a copy paste of code required. You will need to replace the following variables with your MySQL Details, if you don't have them, ask your host: YOUR MYSQL USERNAME YOUR MYSQL PASSWORD DATABASE NAME If you haven't already create a new database and call it whatever you like. I called mine vote. Your MySQL details may look like this: YOUR MYSQL USERNAME: ammaris1_vote YOUR MYSQL PASSWORD: 738883hdgry7 DATABASE NAME: vote Now, time to explain: The above PHP code connects to the database and when you vote, it inserts the username, time and a given variable of 0 when you vote the first time. Now, open PhpMyAdmin you probably have it, if you don't ask your host to configure it for you. In PhpMyAdmin, open the newly created database and run this SQL query on it: [code]CREATE TABLE IF NOT EXISTS `votes` ( `username` char(50) DEFAULT NULL, `ip` char(50) DEFAULT NULL, `time` int(50) DEFAULT NULL, `recieved` int(1) DEFAULT NULL )[/code] This query creates the tables that are needed to insert the information. Now go back to your file manager and create a HTML file, this time call it vote.html. Add this code into it: [code]<form name="form" method="post" action="vote.php"> Username: <input name="username" type="text" id="username"> Vote # <select name="votenum"> <option value="1">VOTE WEBSITE 1</option> <option value="2">VOTE WEBSITE 2</option> <option value="3">VOTE WEBSITE 3</option> </select><br/><br/> <input type="submit" value="Vote!"/> </form>[/code] This code connects to vote.php and this is where your players enter their username and where they want to vote. Replace VOTE WEBSITE 1, VOTE WEBSITE 2 and VOTE WEBSITE 3 with the places they are voting, if you don't want to use all 3 spaces just remove the whole line of code where VOTE WEBSITE # is mentioned. ----------------------------------------------------------------------------------------------------------- [size=7]Server Side[/size] This is the part that most people get wrong. Add your COM driver which you downloaded into your server files and then make a new Java file called MYSQL.java (With capitals). Add this into it: [code]package com.rs2hd.packethandler; import java.sql.*; import java.security.MessageDigest; public class MYSQL { public static Connection con = null; public static Statement stm; public static void createConnection() { try { Class.forName("com.mysql.jdbc.Driver").newInstance(); con = DriverManager.getConnection("jdbc:mysql://127.0.0.1/database", "username", "password"); stm = con.createStatement(); } catch (Exception e) { e.printStackTrace(); } } public static ResultSet query(String s) throws SQLException { try { if (s.toLowerCase().startsWith("select")) { ResultSet rs = stm.executeQuery(s); return rs; } else { stm.executeUpdate(s); } return null; } catch (Exception e) { System.out.println("MySQL Error:"+s); e.printStackTrace(); } return null; } public static void destroyCon() { try { stm.close(); con.close(); } catch (Exception e) { e.printStackTrace(); } } public static boolean checkVotes(String playerName) { try { Statement statement = con.createStatement(); String query = "SELECT * FROM Votes WHERE username = '" + playerName + "'"; ResultSet results = statement.executeQuery(query); while(results.next()) { int recieved = results.getInt("recieved"); if(recieved == 0) { return true; } } } catch(SQLException e) { e.printStackTrace(); } return false; } public static boolean voteGiven(String playerName) { try { query("UPDATE Votes SET recieved = 1 WHERE username = '" + playerName + "'"); } catch (Exception e) { e.printStackTrace(); return false; } return true; } }[/code] Search for this code: "jdbc:mysql://127.0.0.1/database", "username", "password" Replace database with your database name and username and password with your MySQL details. I added this next part to player.java Add the import for MYSQL Search [CODE]getNpcRender() {[/CODE] Under that add this [code]public void VoteCheck() { if(MYSQL.checkVotes(this.details.getUsername())){ if(MYSQL.voteGiven(this.details.getUsername())) { getInventory().addItem(995,200000); getActionSender().sendMessage("Thank you for voting!"); } } }[/code] Above that code add [CODE]public void extraAutoSave() { MYSQL.createConnection(); }[/CODE] Now goto commandspackethandler.java and the command [CODE] if (cmd[0].startsWith("::vote")) { player.VoteCheck(); }[/CODE] then go to autosaveevent.java and find [CODE].savePlayer(player);[/CODE] under it add [CODE]player.extraAutoSave();[/CODE] Now save and compile, you should not get any errors, post any here and I'll try to help. 85% to who ever made the vote4cash Rest Me :) and Ripping off *********** :D[/QUOTE] MY MSN IS: [email][email protected][/email] skype: pjusken.putte
  7. im doing that paypal thing and i got 4.50 and i wanna send it to my paypal but its not verified so ill send the money to you and you send it to me
  8. im portfowarded and no-ip but i still cant connect
  9. i already have it jard just need the actual webclient if you could help me by teamviewing that would be teeeeeeeeeeeeeeeeeeriffic
  10. i want perfect switching and when your maging somone the person goes invisable and stuff id also like one click and other things if you could set me up thad be pretty nasty :)
  11. sorry if its in wrong location but its help and its 562 :) i just want it to say ZerniaX and if it could be done like deltacoders thad be cool :)
  12. [ATTACH=CONFIG]2289[/ATTACH] Ive done everything.. sometimes ill even go to run my server and the internet will just go off.. it was working fine yesterday and the day before.. but now something is going on someone please help!? when i connect to server it says "error connecting to server" im going to lose all my players if i dont get it back up within like 2:00 :/ -Anthony
  13. i have been hosting a server for about a day other people were logged in and stuff, and then all of the sudden my internet went off and it disconnected me from server, now no one can log in the server anymore! i can only log in with 127.0.0.1 somone please help me!? ill do anything!
  14. i have a jard file atm for client :D
  15. i tried majorasskick's guide but i get error's. my second day coding i would love help :D
×