Jump to content

Xhystence

Member
  • Content count

    21
  • Joined

  • Last visited

  1. NOTE: Auto-Donate and Auto-Vote is currently down. Website Download Client HorizonX is a 317 server that's loading a higher revision content. We strive to make the server the way the players want it to be, not what we want as a staff team. We take requests and suggestions, and let our members vote on what should be changed/added upon approval. We update frequently, have an active staff team, and have a wide range of unique content. Features: - Loyalty Points - Bank Tabs - Bounty Hunter - Ironman Mode - Ultimate Ironman Mode - Well of Goodwill - Automatic Voting Rewards - Automatic Donations - Clan Chats - Full Gambling - Working Dungeons - Runespan - OSRS Bosses - Toxic Blowpipe - and more! Bosses: - God Wars Dungeon - Nex - Corporeal Beast - Tormented Demons - Dagannoth Kings - Slash Bash - Nomad - Pheonix - Bandos Avatar - Kalphite Queen - King Black Dragon - Chaos Elemental - Frost Dragons - Glacors - and more! Minigames: - Warriors Guild - Pest Control - Duel Arena - Barrows - Fight Cave - Fight Pits - Soul Wars - and more! Media
  2. Hey all, I'm Xhystence. Some people know me as Deathwish. I'm currently looking for work, although it's not free, doing graphics design and web design for people. Now, why should you pick me? Currently, I have my bachelors degree for web design and development. I also did focus on graphics design while doing my college courses. I'm flexible on my prices because it's always different for each customer. If interested, please contact me via skype. Skype - xhystence
  3. I'm looking for a source and client kinda like RoatPkz. I would be able to pay, just not a lot. please contact me on skype. Same as my username on here.
  4. I honestly have no Idea how to add custom items. Right now, they just kinda float there if i'm moving. Anyone have any idea how to help me?
  5. I added the Vote 4 cash in server and web sided and this is the error I got. [CODE]Could not connect to mysql database: Lost connection to MySQL server at 'reading initial communication packet', system error: 111[/CODE] Here is my Website Sided .php (xxxx means it's my mySQL data.) [CODE]<?php /** * @author 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", "xxxx"); /** * mysql username to connect to the database server */ define("MYSQL_USERNAME", "xxxx"); /** * mysql password the password to connect to the database server */ define("MYSQL_PASSWORD", "xxxx"); /** * mysql database the database name in which you have your vote table setup */ define("MYSQL_DATABASE", "xxxx"); /** * vote url this is the url which where users will be sent to on voting */ define("VOTE_URL", "FINALVOTING URL"); /** * The number of hours between voting */ define("VOTE_HOURS", 24); /** * 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("a2208758_forums")) die("Could not select mysql database: " . mysql_error()); $tables = mysql_list_tables("a2208758_forums"); 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 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 ."."); } } } ?> <html> <head> <title>RotateX Voting</title> <style type="text/css"> body { background-color: #111111; font-family:Arial; } .link { cursor:pointer; color: #037; text-decoration: underline; } .link:hover { color: #3300FF; } .link-done { cursor:pointer; color: #037; text-decoration: line-through; } .link-done:hover { color: #3300FF; } #container { background-color: #222222; height: auto; width: 500px; padding: 5px; border: 1px solid #333333; margin: 0 auto auto auto; -moz-box-shadow: 0 0 5px #000000; -webkit-box-shadow: 0 0 5px #000000; box-shadow: 0 0 5px #000000; } #help { background-color: #222222; height: auto; width: 500px; padding: 5px; border: 1px solid #333333; margin: 0 auto auto auto; -moz-box-shadow: 0 0 5px #000000; -webkit-box-shadow: 0 0 5px #000000; box-shadow: 0 0 5px #000000; } </style> <script type="text/javascript"> var timer; var timeLeft = 30; var voted1 = false; var voted2 = false; var voted3 = false; var voted4 = false; var voted5 = false; function clickedLink(button) { switch(button) { case 1: voted1 = true; javascript:window.open('SITE1.com', '60', 'left = 20, top = 20, width = 800, height = 600, toolbar = 0, resizable = 0, scrollbars=1'); document.getElementById("vote1").setAttribute("class", "link-done"); break; case 2: voted2 = true; javascript:window.open('SITE2.com', '60', 'left = 20, top = 20, width = 800, height = 600, toolbar = 0, resizable = 0, scrollbars=1'); document.getElementById("vote2").setAttribute("class", "link-done"); break; case 3: voted3 = true; javascript:window.open('SITE3.com', '60', 'left = 20, top = 20, width = 800, height = 600, toolbar = 0, resizable = 0, scrollbars=1'); document.getElementById("vote3").setAttribute("class", "link-done"); break; case 4: voted4 = true; javascript:window.open('SITE4.com', '60', 'left = 20, top = 20, width = 800, height = 600, toolbar = 0, resizable = 0, scrollbars=1'); document.getElementById("vote4").setAttribute("class", "link-done"); break; case 5: voted5 = true; javascript:window.open('SITE5.com', '60', 'left = 20, top = 20, width = 800, height = 600, toolbar = 0, resizable = 0, scrollbars=1'); document.getElementById("vote5").setAttribute("class", "link-done"); break; } setSitesLeft(); if (voted1 && voted2 && voted3 && voted4 && voted5) { startCountDown(); document.getElementById('statusText').style.display = 'none'; } } function startCountDown() { timer = setInterval("doCountDown();", 1000); document.getElementById('timerText').style.display = 'block'; } function doCountDown() { document.getElementById('timeLeft').innerHTML = timeLeft; timeLeft = (timeLeft - 1); if (timeLeft <= 0) { document.getElementById('links').style.display = 'none'; document.getElementById('voted').style.display = 'block'; clearTimeout(timer); } } function setSitesLeft() { var count = 5; if (voted1) { count = (count - 1); } if (voted2) { count = (count - 1); } if (voted3) { count = (count - 1); } if (voted4) { count = (count - 1); } if (voted5) { count = (count - 1); } document.getElementById('sitesLeft').innerHTML = count; } </script> </head> <body> <center><a href="LOGOCLICKLINK"><img src="LOGOIMAGEURL" /></a></center><br /> <div id="help"><strong>How It Works:</strong><br /><br />Vote on each of the links below once you have voted on all of them you will be forwarded to A page that will allow you to input your username. When you are on this page make sure you put in your username and accept. Once in game type ::claim to receive your reward!</div><br /> <div id="container"> <div id="links"> 1. <a id="vote1" onclick="clickedLink(1);" class="link">SITE 1</a> <br> 2. <a id="vote2" onclick="clickedLink(2);" class="link">SITE 2</a> <br> 3. <a id="vote3" onclick="clickedLink(3);" class="link">SITE 3</a> <br> 4. <a id="vote4" onclick="clickedLink(4);" class="link">SITE 4</a> <br> 5. <a id="vote5" onclick="clickedLink(5);" class="link">SITE 5</a> <br> <br> <span id="statusText">Click & vote at all the links above to continue, only <b id="sitesLeft">5</b> left.</span> <span id="timerText" style="display: none;">You have <b id="timeLeft">*</b> seconds left before you can claim you reward. </span> </div> <div id="voted" style="display: none;"> <form action="index.php" method="post"> <center>Username: <input type="text" name="username" /> <input type="submit" name="submit" value="Claim Reward!" /></center> </form> </div> </div> </body> </html>[/CODE] Server Sided [CODE]public boolean checkVotes(String playerName) { try { String urlString = "http://rotatexrsps.com/vote.php?type=checkvote&username="+playerName; urlString = urlString.replaceAll(" ", "%20"); URL url = new URL(urlString); BufferedReader reader = new BufferedReader(new InputStreamReader(url.openStream())); String results = reader.readLine(); if(results.length() > 0) { if(results.equals("user needs reward...")) return true; else return false; } } catch (MalformedURLException e) { System.out.println("Malformed URL Exception in checkVotes(String playerName)"); } catch (IOException e) { System.out.println("IO Exception in checkVotes(String playerName)"); } return false; }[/CODE]
  6. Alright guys, I've never seen this problem so I figured I'd mention it and see if anyone knows what the problem might be. Every time someone on my server teleports, their client freezes... Anyone know what might cause this?
  7. UPDATE - I've got to where I have the crowns changed, but how do I make it so my client will access another crown that's already in the cache and works ingame? I tried @[email protected] and all it did was add "@[email protected]" in front of the name...
  8. Alright. I've got my crowns setup to where they work in the yell, and in pm. But not regular chat? Anyone have any clue how... Source : Project-Rolex
  9. Hey Guys, I followed a guide someone else made and it didn't work. Wanted to know if someone could help tell me what I did wrong? There's nothing about the attack speed of the weapon I'm wanting to enhance, So I manually added it in like this. [CODE] case 13905: return 5; case 13907: return 5; case 18353: return 7; case 18349: return 4; [B]case 19053: return 2;[/B] }[/CODE] All I did was copy the one above, change the item ID and then made the attack speed two (My server has customs so the HP is waaaay up on almost everything). I don't get what I did wrong yet it still isn't working. Any Ideas?
  10. Is there any way someone can teamview me and help me out with this? Would help a lot. I've tried and tried and can't get it to work. Right now... My server has all staff as gold crowns and donators as silver mod crown which is a big problem. I have the other donator icons in but for some reason I can't get them to add to a rank! Please help me someone.
  11. Edit: Just can't get it to work.
  12. [CENTER]Alright. I'm using a Project-Rolex Source (I know, not too good but it's what the current players I have wanted) and it seems that all of the staff, have the gold crown and donators have the moderator crown. I want to know how to make it so the donators have the donator crowns that are already added(Picture below). Can anyone help out? Don't know if it's client or server sided to change them. Pictures of the Donator Crowns already available. (Click to make larger) [ATTACH=CONFIG]11073[/ATTACH][/CENTER]
  13. [quote name='Fuzen Seth']Replace with this [CODE]@echo off "C:\Program Files\Java\jdk1.7.0_25\bin\javac.exe" -classpath deps/log4j-1.2.15.jar;deps/jython.jar;deps/xstream.jar;deps/mina.jar;deps/mysql.jar;deps/poi.jar;deps/slf4j.jar;deps/slf4j-nop.jar -d bin src\server\event\*.java src\server\model\items\*.java src\server\model\minigames\*.java src\server\model\npcs\*.java src\server\model\objects\*.java src\server\model\players\*.java src\server\model\players\skills\*.java src\server\model\players\packets\*.java src\server\model\shops\*.java src\server\net\*.java src\server\task\*.java src\server\util\*.java src\server\world\*.java src\server\util\log\*.java src\server\*.java src\server\world\map\*.java src/server/gui/*.java pause[/CODE][/QUOTE] Still does this [ATTACH=CONFIG]8280[/ATTACH] EDIT: I changed the 21 to 25 and it still won't work... When i go to the JAVA folder in program files it says Jre7 as the folder... [ATTACH=CONFIG]8281[/ATTACH]
  14. I have this in my Compiler.bat [CODE]@echo off "C:\Program Files\Java\jdk1.7.0_21\bin\javac.exe" -classpath deps/log4j-1.2.15.jar;deps/jython.jar;deps/xstream.jar;deps/mina.jar;deps/mysql.jar;deps/poi.jar;deps/slf4j.jar;deps/slf4j-nop.jar -d bin src\server\event\*.java src\server\model\items\*.java src\server\model\minigames\*.java src\server\model\npcs\*.java src\server\model\objects\*.java src\server\model\players\*.java src\server\model\players\skills\*.java src\server\model\players\packets\*.java src\server\model\shops\*.java src\server\net\*.java src\server\task\*.java src\server\util\*.java src\server\world\*.java src\server\util\log\*.java src\server\*.java src\server\world\map\*.java src/server/gui/*.java pause[/CODE] I have JAVA 7u25 it says. [ATTACH=CONFIG]8254[/ATTACH] (CLICK IMAGE FOR LARGE) I honestly have no idea what to do.
  15. I tried that and it didn't work. What is eclispse?
×