Jump to content

Search the Community

Showing results for tags 'script'.



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

  1. I need to compile or run this code to dump music [CODE]import java.io.*; import java.util.zip.GZIPInputStream; public class MidiDumper { private static final String folder = "C:\\WINDOWS\\.file_store_32\\runescape\\"; private static final String savefolder = "C:\\save\\"; private static DataInputStream cache; public static void main(String args[]) throws Exception { File f = new File(folder + "main_file_cache.dat2"); byte bytes[] = new byte[(int) f.length()]; new FileInputStream(f).read(bytes); BufferedInputStream cache2 = new BufferedInputStream(new ByteArrayInputStream(bytes)); cache = new DataInputStream(cache2); cache.mark(bytes.length); DataInputStream midi = new DataInputStream(new FileInputStream(folder + "main_file_cache.idx11")); int count = 0; while (midi.available() > 0) { int length = (midi.readUnsignedByte() << 16) + (midi.readUnsignedByte() << 8) + midi.readUnsignedByte(); int offset = (midi.readUnsignedByte() << 16) + (midi.readUnsignedByte() << 8) + midi.readUnsignedByte(); byte[] b = readFile(length, offset); if(b == null) continue; File file = new File(savefolder + "midi" + (++count) + ".mid"); if(!file.exists()) if(!file.createNewFile()) continue; RandomAccessFile raf = new RandomAccessFile(file, "rw"); raf.write(b); raf.close(); } } public static byte[] getParody(int index) throws Exception { cache.reset(); byte buffer[] = new byte[520]; int jump = index * 520; cache.skipBytes(jump); cache.readFully(buffer); return buffer; } public static byte[] readFile(int size, int offset) throws Exception { byte b[] = getFile(size, offset); int length = ((b[5] & 0xff) << 24) + ((b[6] & 0xff) << 16) + ((b[7] & 0xff) << 8) + b[8]; if(length > 0) { if(b[0] == 2) { GZIPInputStream d = new GZIPInputStream(new ByteArrayInputStream(b, 9, length)); byte z[] = new byte[b.length]; int i = d.read(z); byte x[] = new byte[i]; System.arraycopy(z, 0, x, 0, i); return x; } else if(b[0] == 1) { System.out.println("Fu**in' sh**, it's not a midi!!!"); return null; } return b; } return null; } public static byte[] getFile(int size, int offset) throws Exception { if(offset <= 0) return null; byte outfile[] = new byte[size]; int bits = offset; int length = 0; while(true) { byte buffer[] = getParody(bits); if(buffer == null) return null; bits = ((buffer[4] & 0xff) << 16) + ((buffer[5] & 0xff) << 8) + (buffer[6] & 0xff); if(size - length - 8 > 512) { System.arraycopy(buffer, 8, outfile, length, 512); } else { System.arraycopy(buffer, 8, outfile, length, size - length - 8); return outfile; } length += 512; } } }[/CODE] But i dont know how.
  2. i need to convert rs music to mid http:// [url]www.rune-[/url] server.org/ runescape-development/rs-503-client-server/snippets/394195-midi-encoder.html but i dont know how compile java script.
  3. Title says it all... For Melzar the Mad combat script with full dialogue+sounds while battling... I know that this can be revised much better but idc I was using this for Dragon Slayer quest and was just focusing on the minimal content for melzar. [CODE] package com.rs.game.npc.combat.impl; import com.rs.game.Animation; import com.rs.game.Entity; import com.rs.game.ForceTalk; import com.rs.game.Graphics; import com.rs.game.npc.NPC; import com.rs.game.World; import com.rs.game.WorldObject; import com.rs.game.WorldTile; import com.rs.game.npc.combat.CombatScript; import com.rs.game.npc.combat.NPCCombatDefinitions; import com.rs.game.player.Player; import com.rs.utils.Utils; public class MelzarTheMadCombat extends CombatScript { [MENTION=15855]Over[/MENTION]ride public Object[] getKeys() { return new Object[] { "Melzar the Mad" }; } [MENTION=15855]Over[/MENTION]ride public int attack(final NPC npc, final Entity target) { final NPCCombatDefinitions defs = npc.getCombatDefinitions(); npc.setNextAnimation(new Animation(defs.getAttackEmote())); switch (Utils.getRandom(5)) { case 0: npc.setNextForceTalk(new ForceTalk("Cabbage stew!")); npc.playSound(8040, 2); break; case 1: npc.setNextForceTalk(new ForceTalk("Feel the wrath of my feet!")); npc.playSound(8016, 2); break; case 2: npc.setNextForceTalk(new ForceTalk("Let me drink my tea in peace!")); npc.playSound(8012, 2); break; case 3: npc.setNextForceTalk(new ForceTalk("By the power of custard!")); npc.playSound(8004, 2); break; case 4: npc.setNextForceTalk(new ForceTalk("Leave me alone, I need to feed my pet rock!")); npc.playSound(7953, 2); break; } delayHit(npc, 1, target, getMagicHit(npc, getRandomMaxHit(npc, 250, NPCCombatDefinitions.MAGE, target))); World.sendProjectile(npc, target, 1375, 34, 16, 30, 35, 16, 0); return defs.getAttackDelay(); } } [/CODE]
  4. Needed a toplist script for another project so I decided to rip this template It's a complete toplist script that uses mysql, allows users to add there own servers and has a 100% callback API. Yes it is meant for minecraft but with a bit of editing you could easily turn it into an rsps script Features : [LIST] [*]Callback API [*]Allows users to upload banners [*]Supports ip logging [*]Allows you to clear votes every month [*]Allows captchas and other authentification services [*]Multi-vote blocking such as cookie storing and ip blocking [*]Has a built in comments system where users can comment on servers [*]Displays downtime, uptime, voting statistics, etc [*]Allows port selection [/LIST] preview > [url]http://codecanyon.net/item/complex-minecraft-servers-list/full_screen_preview/4062368[/url] Download > [url]http://www.thelulzproject.com/rsps/runelocus/toplist%20script.zip[/url] enjoy
  5. [center] [url=http://gamingtoplist.net/resources/GTLVote/RSPS][i][size=300][RSPS]GTLVote[/size][/i][/url] GTLVote is based off RTL Voting Script V2. [/center] [spoiler=Downloads] V1.0 [Latest] :[url="http://gamingtoplist.net/resources/GTLVote/RSPS/?dl=1.0"]http://gamingtoplist.net/resources/GTLVote/RSPS/?dl=1.0[/url] [/spoiler] [spoiler=Media] [img]http://i.imgur.com/x0f98.png[/img] [img]http://i.imgur.com/1n46d.png[/img] [img]http://i.imgur.com/FwGTB.png[/img] [img]http://i.imgur.com/p4eW3.png[/img] [img]http://i.imgur.com/WLGxB.png[/img] [img]http://i.imgur.com/bFrym.png[/img] [img]http://i.imgur.com/N8Q0t.png[/img] [img]http://i.imgur.com/4XsU7.png[/img] [img]http://i.imgur.com/XJ87P.png[/img] [img]http://i.imgur.com/1ktnz.png[/img] [img]http://i.imgur.com/GzK0g.png[/img] [/spoiler] [spoiler=Changelog] [list] [*]New admin CP design [*]New installation design [*]Added auto update checker [*]Added security to admin CP [*]Re-coded the way you edit stuff in admin CP [*]Added notes in Admin CP [*]Fixed installation, it can only create the table once & it will show if the "create table" managed or failed. [*]Updated Admin CP homepage's news system. It loads from GamingToplist's news now. RuneToplist's is dead. [*]Added GamingToplist voting callback. [*]Fixed voting themes on internet explorer. [*]Admins can change voting link comments on the admin CP. [*]Voting links won't go outside the wrapper anymore. [*]New maximum Voting links, rewards & settings are 10. [*]Smarter Installation. [*]Smarter Admin CP. [/list] [/spoiler] [SIZE="4"]Tutorial:[/SIZE] [spoiler=Tutorial] [quote name='Danny RTL'][SIZE="4"][B]Intro:[/B][/SIZE] Description: How to add Vote for Items/Vote for Cash/Vote Script to your server Difficulty: 4/10 What you should know: How to read, Copy+Paste, how to create a database, how to upload files onto a website Quick note: I am the owner of RuneTopList and this is the Voting Script which we provide for free to our users. [SIZE="4"][B]Features:[/B][/SIZE] - Uses runetoplist and runelocus callback features to check if the user has voted. - Detects when a website is down thereby not making people need to vote on it. - No javascript needed for it to work - Works great on all browsers, yes even IE. - Easy to update details with the admincp. - Easy install with our installer. - Statistics in the admincp to see voting trends. - 8 beautiful themes/skins with more coming out in a few days. - No need for auth codes ::check/::reward and the user gets their reward. [SIZE="4"][B]Media:[/B][/SIZE] [url=http://www.youtube.com/watch?v=p8PhYbwiIiM]RuneTopList Voting Script V2 (Vote4Cash) - YouTube[/url] [SPOILER="Vote Script"] [IMG]http://i.imgur.com/SvCkT.png[/IMG] [IMG]http://i.imgur.com/faNkZ.png[/IMG] [IMG]http://i.imgur.com/j2kuy.png[/IMG] [IMG]http://i.imgur.com/Mzau8.png[/IMG] [IMG]http://i.imgur.com/Qden3.png[/IMG] [IMG]http://i.imgur.com/bA3AK.png[/IMG] [IMG]http://i.imgur.com/scWAq.png[/IMG] [IMG]http://i.imgur.com/e0JmO.png[/IMG] [IMG]http://i.imgur.com/W8gkv.png[/IMG] [IMG]http://i.imgur.com/HzNop.png[/IMG] [IMG]http://i.imgur.com/g6awp.png[/IMG] [IMG]http://i.imgur.com/zLzB1.png[/IMG] [/SPOILER] [url=http://www.youtube.com/watch?v=fMe7yJLinqQ]RuneTopList Voting Script V1 INSTALLATION - YouTube[/url] [url=http://www.youtube.com/watch?v=acUoaoDfKso&feature=youtu.be]RuneTopList Voting Script V2 ADMINCP - YouTube[/url] [SPOILER="Installation+AdminCP"] [IMG]http://i.imgur.com/dRSLP.png[/IMG] [IMG]http://i.imgur.com/xIoYe.png[/IMG] [IMG]http://i.imgur.com/hmOub.png[/IMG] [IMG]http://i.imgur.com/bnxq9.png[/IMG] [IMG]http://i.imgur.com/8mb1a.png[/IMG] [IMG]http://i.imgur.com/fBOaM.png[/IMG] [IMG]http://i.imgur.com/bnnDZ.png[/IMG] [/SPOILER] [SIZE="4"][B]How To Install:[/B][/SIZE] Misc: 1. Make a back up of your old voting script, just in case something goes wrong. 2. Make sure you have a site registered on runetoplist and runelocus. Website side: 1. Download [URL="http://www.mediafire.com/?725ykczi1hp9a74"]this[/URL], unzip it. Then upload the vote folder to ur root directory on your webserver. 2. Create a database called "runetoplistv2" in your cpanel 3. Go to [COLOR="Orange"]YOURDOMAIN.COM[/COLOR]/vote/install/ 4. Follow the instructions on screen till your done. (Make sure you read the comments when filling in the forms.) 5. Delete the install folder in your root/vote/ directory (This is important for sercurity reasons.) 6. Go onto [url=http://www.runetoplist.com/edit.php]Edit Site - RuneScape Top List, Private Servers[/url], then login. Make sure that the callback field is "[COLOR="orange"]http://www.YOURDOMAIN.COM[/COLOR]/vote/php/callback.php?callback=" 7. Go onto [url=http://www.runelocus.com/login.html]RuneLocus » Login[/url], then login. Click edit. Make sure that the callback field is "[COLOR="orange"]http://www.YOURDOMAIN.COM[/COLOR]/vote/php/callback.php" 8. Welldone website side is done...(If you want to change any details you can at [COLOR="orange"]YOURDOMAIN.COM[/COLOR]/vote/admincp/) Server side: 1. Add [URL="http://www.mediafire.com/?jaw3m313xz5zxd0"]this jar file[/URL] to ur deps folder 2. Right click your compile bat file and click edit. Find "deps/mysql.jar;" just after the semi colan add "deps/RuneTopListV2.jar;" 3. Right click your run bat file and click edit. Find "deps/mysql.jar;" just after the semi colan add "deps/RuneTopListV2.jar;" 4. Open up Server.java add this import: "import org.runetoplist.VoteChecker;". Then find "public static FightCaves fightCaves = new FightCaves();" below that add "public static VoteChecker voteChecker = new VoteChecker("[COLOR="orange"]DATABASE ADDRESS[/COLOR]", "[COLOR="orange"]DATABASE NAME[/COLOR]", "[COLOR="orange"]DATASE UESRNAME[/COLOR]", "[COLOR="orange"]DATABASE PASSWORD[/COLOR]");" 5. Open up Commands.java add this import: "import org.runetoplist.*;". Then add [URL="http://pastebin.com/raw.php?i=i8k0ZfQg"]this [/URL]command. [SIZE="4"][B]Still need help:[/B][/SIZE] - If its a small thing post here and ill help. - If you want me to install this over TV for you ill do it for $20. - If you want a custom skin/theme to match your website I can do that for $25. - If you find any bugs please pm me/post here/report it on runetoplist.com [SIZE="4"][B]Bug Fixes (These dont apply if you just downloaded the voting script)[/B][/SIZE] [SPOILER="Bug fixes, these are already fixed if u just downloaded the voting script"]In vote/php/callback.php change: [CODE]} else if (gethostbyname('runelocus.com') == gethostbyname($_SERVER['REMOTE_ADDR'])) {[/CODE] to [CODE]} else {[/CODE] In vote/js/script.js change (Line # 43): [CODE]newhash = newhash + field.name + "=" + field.value + "&";[/CODE] to [CODE]newhash = newhash + field.name + "=" + field.value.replace(/ /g,'_') + "&";[/CODE] Replace your command with: [url]http://pastebin.com/raw.php?i=i8k0ZfQg[/url] Rplace your old .jar file with: [url=http://www.mediafire.com/?jaw3m313xz5zxd0]RuneTopListV2.1.jar[/url] [/SPOILER] [SIZE="4"][B]Credits:[/B][/SIZE] [SPOILER="credits"] Nikki - For [url]http://www.rune-server.org/programming/application-development/247650-mysql-connection-pool-multi-threaded-executor.html[/url] [/SPOILER][/QUOTE] [/spoiler] Server sided is still the same as RuneToplist V2. Credits: Danny RTL (RuneToplist) Zerak (GamingToplist) Regards, Zerak.
  6. Hi, If i try to add a combat script to a npc, it doesnt load. I putted it into the right location (src/com/rs/game/npc/combat/impl) Did i do something wrong ? im using the zenith 667 source if your wondering. Kind regards, Kon
  7. [CENTER][URL="http://www.gtlvote.gamingtoplist.net/"][IMG]http://i.imgur.com/4ZT19.png[/IMG][/URL][/CENTER] [COLOR=#000000][B][I]Changelog[/I][/B][/COLOR] [LIST] [*][COLOR=#000000]New Admin CP and Installation page theme.[/COLOR] [*][COLOR=#000000]Theme System.[/COLOR] [*][COLOR=#000000]More Callbacks. (RuneLocus, Rune-Server & Top100Arena)[/COLOR] [*][COLOR=#000000]Toggle Callbacks.[/COLOR] [*][COLOR=#000000]User and IP can only vote once per 12 hours.[/COLOR] [*][COLOR=#000000]Since some toplists are using 1 vote per 24 hours, we've made so you can just click on the button if you've already voted in the past 24hours. And it will count as voted.[/COLOR] [*][COLOR=#000000]Re-Coded JAR file, added GUI system[/COLOR] [*][COLOR=#000000]Can turn on/off GUI on Admin CP.[/COLOR] [*][COLOR=#000000]New "New GTLVote version has been released" message design.[/COLOR] [*][COLOR=#000000]Better Settings Page.[/COLOR] [*][COLOR=#000000]And alot more![/COLOR] [/LIST] Themes: [B][URL="http://gtlvote.gamingtoplist.net/themes"]GTLVote - Voting Script.[/URL][/B] Download: [B][URL="http://gtlvote.gamingtoplist.net/runescape"]GTLVote - Voting Script.[/URL][/B] Having issues?: [B][URL="http://gtlvote.gamingtoplist.net/ticket/"]Ticket System[/URL][/B] [B]Some Demos[/B] [URL="http://codeusa.net/vote/#?step=1"]CodeUSA - Voting[/URL] [URL="http://desolationx.net/vote/#?step=1"]DesolationX - Voting[/URL] Here's the tutorial for Project Insanity: [SPOILER=PI] [quote] I am writing a tutorial on how to add GTL Vote V1.1 (Not released yet and this won't work on V1.0) Firstly: Server.java add this import: [code]import org.Vote.*;[/code] Still in Server.java find: [code]public static PestControl pestControl = new PestControl();[/code] Under that add: [code]public static MainLoader vote = new MainLoader("MYSQLHOST", "MYSQLUSER", "MYSQLPASS", "MYSQLDB");[/code] Done in Settings.java; Save and quit. Then in Commands.java; also add this import: [code]import org.Vote.*;[/code] Still in Commands.java add this command: [code]if (playerCommand.equalsIgnoreCase("check") || playerCommand.equalsIgnoreCase("reward")) { try { VoteReward reward = Server.vote.hasVoted(c.playerName.replaceAll(" ", "_")); if(reward != null){ switch(reward.getReward()){ case 0: //rewards break; case 1: //etc default: c.sendMessage("Reward not found."); break; } c.sendMessage("Thank you for voting."); } else { c.sendMessage("You have no items waiting for you."); } } catch (Exception e){ c.sendMessage("[GTL Vote] A SQL error has occured."); } }[/code] Done in Commands.java; Save and quit. Now, go to server files and in the "deps" folder, add the Vote jar file. Now edit your compile.bat and add this: [code]deps/GTLVote.jar[/code] So that it looks something like this: [img]http://i.imgur.com/9ibNq.png[/img] Now save that and edit your run.bat file and add this: [code]deps/GTLVote.jar[/code] So now it looks like this: [img]http://i.imgur.com/06q4T.png[/img] Now compile & run and that should be all. Remember, this won't work until GTLVote V1.1 is released. [/quote] [/SPOILER] Here's the tutorial for 667/***: [SPOILER=667] [quote] Hello, This is how to set up GTL Vote V1.1 on 667/*** revision servers. Firstly in Launcher.java [code]import org.Vote.*;[/code] Then still in Launcher.java (right at the top below "public final class Launcher {") [code]public static MainLoader vote = new MainLoader("Host", "User", "Pass", "db");[/code] Then you can close Launcher.java Open Commands.java Add this import at the top: [code]import org.Vote.*;[/code] Still in Commands.java. In your playerCommands add: [code]case "check": case "reward": try { VoteReward reward = Launcher.vote.hasVoted(player.getUsername().toLowerCase().replaceAll(" ", "_")); if(reward != null){ switch(reward.getReward()){ case 0: //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] BUT CAREFUL BECAUSE THERE IS ALREADY A CHECK COMMAND!! (It's advised to change that one to "CheckIP") Now add GTLVote.jar to data/libs (or just your libs folder, which ever you use.). Compile + done! [/quote] [/SPOILER] And now, the website sided tutorial: [B]1. Download the .ZIP file. 2. Extract it on your website, folder can be called whatever you want (vote, voting, etc..) 3. Enter the link (ex. [URL="http://www.yoursite.com/vote/"]www.yoursite.com/vote/[/URL] and it should redirect you to /vote/install 4. Fill in your database information (Do not use the old database, you must create a new for V1.1) 5. Click on Submit, fill your settings, click on submit, fill the voting links (Don't forget to read the comment boxes), click on submit, fill your Reward list & click on Submit. 6. You've now installed your GTLVote V1.1 on website.[/B] Your website must allow Remote MySQL (We recommend a webhost with cPanel) If you have cPanel on your webhost, but don't know how to set up "Remote MySQL". Then follow this tutorial: [B]1. Login to your cPanel on your website. ([URL="http://gamingtoplist.net/forums/URL"]http://yoursite.com/cpanel[/URL]) 2. You'll see a search field on the left side, type "Remote MySQL" in the field. 3. It should show this: [URL="http://gamingtoplist.net/forums/URL"]http://i.imgur.com/6JeTS.png[/URL] 4. Click on the icon and you will see a page like this: [URL="http://gamingtoplist.net/forums/URL"]http://i.imgur.com/3J9fE.png[/URL] 5. In the field, you'll have to write your server IP and then click on "Add Host" 6. Your MySQL should have been allowed to be remoted by your server, which let's the server use your website's mysql.[/B] [COLOR=#000000]If you're using Xampp on the same computer as your server, then it's fine. You'll just have to type the correct MySQL information. If you're using 000Webhost, this would not work. 000Webhost does NOT allow Remote MySQL. We suggest this webhost: [/COLOR][URL="http://hawkhost.com/"][COLOR=#000000]HawkHost[/COLOR][/URL] [B][U]Remember:[/U][/B] If you are using RuneLocus callback, put your callback url on RuneLocus to "[URL]http://yoursite.com/vote/php/callback.php[/URL]" And on RuneToplist, put the callback url to "[URL]http://yoursite.com/vote/php/callback.php?callback=[/URL]" [B]Credits[/B] [I]RuneToplist : GTLVote base(RuneToplist Voting script V2) Zerak : GTLVote Dylannnn : GTLVote.jar[/I] Have any questions? Please post below. Thanks, Zerak.
  8. This is a little script I whipped up and had sitting around. What it does: It takes the input from a form and checks the RuneScape oldschool hiscores to see if the users exists. If the user exists it will direct you to the page that displays the signature. Live Preview: [url=http://07tools.com/signatures/]Demo[/url] [b]Download:[/b] [url=http://rspsdesigns.com/forum/showthread.php?tid=90&pid=373#pid373]Download...[/url]
  9. [B]RCS comes with an installer![/B] [B]Introduction:[/B] Well, I'm sure you're wondering what in the heck is RCS? RCS or RuneScape Community Script is a [I]free[/I] script that imitates RuneScape's 2006-08 website. It allows older era servers to add that next step of nostalgia; what's better than having a fully functional website just like it was when the server was made? [B][SIZE=7][color=red](NOTICE 5/01/13)[/color] - VERSION 1.5 RELEASED![/SIZE][/B] [B]Table of Contents[/B] [list] [*]Current Features [*]Upcoming/Planned features [*]Download [/list] [CENTER][SIZE=5]LATEST RELEASE (V1.5)[/SIZE][/CENTER] [code] Changelog *Added infraction system (upon giving infraction, a message is sent to the user with details) *Offense page (users can view infractions they've received here) *Forum Profile pages added (might be buggy) [] *Added donation system; you have to manually set it up under the IPN folder, which includes adding your own donator button the donation page. -> also please note that the minimum donaton is set to $2.00 *Donors have different colored posts on forums ~~~~~~~ *Donors have a "donor" title under their username~~~~~ You can make people donators via the ACP in "Lookup user" *Donors have more BBCodes, such as the following: ~~~~ *When moderators escalate a thread, they can provide a reason *Administrators now have signatures. You can change/create a signature in the ACP homepage by clicking on the "change signature" button. *Fixed cookies not working properly on localhost [if you still encounter a problem regarding cookies (login/logout, etc), please PM me. [/code] [CENTER][SIZE=5]FEATURES[/SIZE][/CENTER] [spoiler=Pictures] [img]http://puu.sh/2LcDw[/img] [img]http://puu.sh/2LcEy[/img] [img]http://puu.sh/2LcFH[/img] [img]http://puu.sh/2LcG5[/img] [/spoiler] [list] [*]Fully functional message center [*]Infraction system [*]Offense page to review infractions [*]Forum profile pages [*]Moderation and Administration center [*]Fully functional forums [*]100% forum mutes [*]Easy-to-use forum reporting system, and easy design for the moderators [*]Well-designed moderation system for forum moderators [*]Story system [*]News System [*]Customizable settings [*]Easy installation [*]And of course, a lot more... [/list] [CENTER][SIZE=5]EASY INSTALLATION[/SIZE] [img]http://puu.sh/18oiP[/img] [SIZE=5]PLANNED FEATURES[/SIZE][/CENTER] [list] [*]None. [/list] [CENTER][SIZE=5]DOWNLOAD[/SIZE][/CENTER] [url=http://adf.ly/OEEM1]Download RCS v1.5[/url]
  10. I want to create the exact same Npc Dicing Script that was in Near Reality I will be putting it into a 718. If you have it or a version of it coded for a lower revision I would still really appreciate the code! :D Thanks!
  11. I am currently developing a RuneScape fansite script, I have been working on it for a bit and I have gotten alot done already. The script will not be used by me, instead I will be releasing it as an open source script and updating it, etc. [b]The code currently isn't the most secure, although I have implemented a bit of security into it.[/b] This is the official dev/update thread for the script. [b]CODE SAMPLE[/b] [code] <?php session_start(); require_once '/config/dataConfig.php'; require_once '/config/siteConfig.php'; $pageName = "Member"; if($_SESSION['loggedIn'] === 1) { $result = mysql_query("SELECT id,email,title,avatar FROM users WHERE username ='$username'"); $row = mysql_fetch_array($result); if (!$result) { echo 'Could not run query: ' . mysql_error(); exit; } $username = mysql_real_escape_string($_SESSION['username']); $id = mysql_real_escape_string($row[0]); $title = mysql_real_escape_string($row[2]); include '/tmpl/ovr/ovrHead.php'; include '/tmpl/navAndHead.php'; echo '<div id="content">'; echo '<h1>Welcome, <a href="profile.php?user='.$username.'">'.$username.'</a>!</h1>'; echo '<div id="memMessage">'; echo '<p>Below are a few more options for you to customize your profile! Take a minute to update your profile!</p>'; include 'tmpl/editForm.php'; echo '</div>'; echo '</div>'; echo '<div id="sideBar">'; echo '</div>'; echo '<div class="clear"></div>'; include '/tmpl/ovr/ovrFoot.php'; } else { include '/tmpl/ovr/ovrHead.php'; include '/tmpl/navAndHead.php'; echo '<div id="content">'; echo '<div id="memMessage">'; echo '<center><strong><p>You must login to view this page! <a href="login.php">Login</a> or <a href="register.php">register</a>.</p></strong></center>'; echo '</div>'; echo '</div>'; echo '<div id="sideBar">'; echo '</div>'; echo '<div class="clear"></div>'; include '/tmpl/ovr/ovrFoot.php'; } ?> [/code] [b]Update Log:[/b] [color=green]Complete[/color] [color=orange]Almost Done[/color] [color=red]Not Started[/color] [color=green]User Registration[/color] [color=green]User Login[/color] [color=green]User Profile[/color] [color=green]User Update Profile[/color] [color=green]User Logout[/color] [color=orange]User Ranks[/color] [color=orange]User Display Page (Members page)[/color] [color=orange]User Submitted Guides[/color] [color=orange]Latest Guides[/color] [color=orange]Site News[/color] [color=red]Guide Moderation[/color] - WILL BE ADDING MORE - [b]Note:[/b] If you want to be on the dev team (currently isn't one) contact me VIA private message!
  12. [code]#!/bin/bash #Author: Divine-X clear #Clears the terminal echo "Welcome" sleep 2 echo "Enter: 1) Install Package, 2) Uninstall Package(.deb files only), 3) Exit" read response #Reads what they entered clear if [ $response -eq 1 ]; then echo "Enter the directory of the deb file" read direct cd $direct #Go to directory(don't know why it gives an error but it still works! echo "Enter the name of the .deb file(add .deb at the end)" read f sudo dpkg -i $f #Install the package elif [ $response -eq 2 ]; then echo "Enter the .deb file you want to uninstall(add .deb at the end)" read pack sudo dpkg --info $pack #Gather and send the .deb files information to the terminal echo " " echo "Enter the Package(can be found by scrolling up)" read f sudo dpkg -r $f #Uninstall the package echo "Package successfully uninstalled!" elif [ $response -eq 3 ]; then exit fi [/code] This is my bash script I just finished working on, if there's any Bash scripters here and can help me improve in anyway it'll be appreciated! Install [img]http://img802.imageshack.us/img802/2695/terminal017.png[/img] [img]http://img198.imageshack.us/img198/5636/terminal018.png[/img] [img]http://img809.imageshack.us/img809/7466/terminal019.png[/img] [img]http://img22.imageshack.us/img22/3936/terminal020.png[/img] [img]http://img42.imageshack.us/img42/8426/terminal021.png[/img] Uninstall [img]http://img4.imageshack.us/img4/2695/terminal017.png[/img] [img]http://img42.imageshack.us/img42/5636/terminal018.png[/img] [img]http://img5.imageshack.us/img5/7466/terminal019.png[/img] [img]http://img7.imageshack.us/img7/3936/terminal020.png[/img] [img]http://img163.imageshack.us/img163/8426/terminal021.png[/img] [img]http://img41.imageshack.us/img41/4993/terminal022.png[/img] [img]http://img713.imageshack.us/img713/577/terminal023.png[/img]
  13. hey people im going to make an community but need mysql and php script for webclient maker but ill cant find it please do an good one thank you
  14. Darker

    RTL Script on a 718

    Yo guys, im trying to add vote4cash from RuneToplist V2 Script. Getting that error when any1 login: [img]http://gyazo.com/749155f2aa15d193a5a712b3d2f3db31.png?1344367521[/img] [code] ERROR! THREAD NAME: New I/O worker #1 java.lang.NoClassDefFoundError: Lorg/runetoplist/VoteChecker; at java.lang.Class.getDeclaredFields0(Native Method) at java.lang.Class.privateGetDeclaredFields(Unknown Source) at java.lang.Class.getDeclaredField(Unknown Source) at java.io.ObjectStreamClass.getDeclaredSUID(Unknown Source) at java.io.ObjectStreamClass.access$700(Unknown Source) at java.io.ObjectStreamClass$2.run(Unknown Source) at java.io.ObjectStreamClass$2.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.io.ObjectStreamClass.<init>(Unknown Source) at java.io.ObjectStreamClass.lookup(Unknown Source) at java.io.ObjectStreamClass.initNonProxy(Unknown Source) at java.io.ObjectInputStream.readNonProxyDesc(Unknown Source) at java.io.ObjectInputStream.readClassDesc(Unknown Source) at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source) at java.io.ObjectInputStream.readObject0(Unknown Source) at java.io.ObjectInputStream.readObject(Unknown Source) at com.rs.utils.SerializableFilesManager.loadSerializedFile(SerializableFilesManager.java:67 ) at com.rs.utils.SerializableFilesManager.loadPlayer(SerializableFilesManager.java:25) at com.rs.net.decoders.LoginPacketsDecoder.decodeWorldLogin(LoginPacketsDecoder.java:167) at com.rs.net.decoders.LoginPacketsDecoder.decode(LoginPacketsDecoder.java:41) at com.rs.net.ServerChannelHandler.messageReceived(ServerChannelHandler.java:98) at org.jboss.netty.channel.SimpleChannelHandler.handleUpstream(SimpleChannelHandler.java:95) at org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:5 63) at org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:5 58) 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(AbstractNioWorke r.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(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: java.lang.ClassNotFoundException: org.runetoplist.VoteChecker at java.net.URLClassLoader$1.run(Unknown Source) at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) ... 35 more [SerializableFilesManager] Recovering account: infinity ERROR! THREAD NAME: New I/O worker #1 java.lang.NoClassDefFoundError: Lorg/runetoplist/VoteChecker; at java.lang.Class.getDeclaredFields0(Native Method) at java.lang.Class.privateGetDeclaredFields(Unknown Source) at java.lang.Class.getDeclaredField(Unknown Source) at java.io.ObjectStreamClass.getDeclaredSUID(Unknown Source) at java.io.ObjectStreamClass.access$700(Unknown Source) at java.io.ObjectStreamClass$2.run(Unknown Source) at java.io.ObjectStreamClass$2.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.io.ObjectStreamClass.<init>(Unknown Source) at java.io.ObjectStreamClass.lookup(Unknown Source) at java.io.ObjectStreamClass.initNonProxy(Unknown Source) at java.io.ObjectInputStream.readNonProxyDesc(Unknown Source) at java.io.ObjectInputStream.readClassDesc(Unknown Source) at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source) at java.io.ObjectInputStream.readObject0(Unknown Source) at java.io.ObjectInputStream.readObject(Unknown Source) at com.rs.utils.SerializableFilesManager.loadSerializedFile(SerializableFilesManager.java:67 ) at com.rs.utils.SerializableFilesManager.loadPlayer(SerializableFilesManager.java:25) at com.rs.net.decoders.LoginPacketsDecoder.decodeWorldLogin(LoginPacketsDecoder.java:167) at com.rs.net.decoders.LoginPacketsDecoder.decode(LoginPacketsDecoder.java:41) at com.rs.net.ServerChannelHandler.messageReceived(ServerChannelHandler.java:98) at org.jboss.netty.channel.SimpleChannelHandler.handleUpstream(SimpleChannelHandler.java:95) at org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:5 63) at org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:5 58) 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(AbstractNioWorke r.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(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: java.lang.ClassNotFoundException: org.runetoplist.VoteChecker at java.net.URLClassLoader$1.run(Unknown Source) at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source)[/code]
  15. I know the scriptId but not the params. If you click on the play button then the interface will popup cuz of the script that has been sent. Would anyone share the params plox? And no you don't send the squeal of fortune interface like this: [code] player.getInterfaceManager().sendScreenInterface(96, 1253); [/code] Or can anyone tell me at least the format? example: sendRunScript(scriptid, int, int, int);
  16. RuneTopList Voting Script V2 Does someone Got the .zip file? And Woulda share it with me?
  17. A teacher at my school asked me to write them a image upload script so they could see what it looks like, so I did but here is the code: [CODE] /** * userGUI.java */ package instantapic_core; import java.awt.BorderLayout; import java.awt.FlowLayout; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import javax.swing.JButton; import javax.swing.JCheckBox; import javax.swing.JFrame; import javax.swing.JPanel; import javax.swing.JTextArea; /** * @author Administrator * Handles: GUI-User Interface * */ @SuppressWarnings("serial") public class userGUI extends JFrame implements ActionListener { // Created by Curtis JButton myButton = new JButton("Snap It!"); JCheckBox jpg1 = new JCheckBox("JPG"); JTextArea myText = new JTextArea("Image Console... READY"); JPanel bottomPanel = new JPanel(); JPanel holdAll = new JPanel(); public userGUI() { super("Snap Fest"); bottomPanel.setLayout(new FlowLayout()); bottomPanel.add(jpg1); bottomPanel.add(myButton); holdAll.setLayout(new BorderLayout()); holdAll.add(bottomPanel, BorderLayout.SOUTH); holdAll.add(myText, BorderLayout.CENTER); getContentPane().add(holdAll, BorderLayout.CENTER); myButton.addActionListener(this); setDefaultCloseOperation(DISPOSE_ON_CLOSE); } public static void main(String[] args) { userGUI myApplication = new userGUI(); myApplication.setLocation(10,10); myApplication.setSize(180,95); myApplication.setVisible(true); } @Override public void actionPerformed(ActionEvent e) { // TODO Auto-generated method stub if(e.getSource() == myButton) myText.setText("Uploading image... DONE"); setVisible(false); snapImage.takeImage(); setVisible(true); } } [/CODE] [CODE] /** * snapImage.java */ package instantapic_core; import java.awt.*; import java.awt.image.*; import java.io.*; import javax.imageio.*; public class snapImage { String pn; String jv; public static void takeImage() { try { Toolkit toolkit = Toolkit.getDefaultToolkit(); Dimension screenSize = toolkit.getScreenSize(); Rectangle rect = new Rectangle(0,0,screenSize.width,screenSize.height); Robot robot = new Robot(); BufferedImage image = robot.createScreenCapture(rect); File file; file = new File("img.jpg"); ImageIO.write(image, "jpg", file); ftpControll.uploadIt(); } catch(Exception e) { System.out.println(e.getMessage()); } } /** * @param args */ public static void main(String[] args) { // TODO Auto-generated method stub } } [/CODE] [CODE] /** * ftpControll.java */ package instantapic_core; import java.io.File; import java.util.Random; import org.apache.http.HttpEntity; import org.apache.http.HttpResponse; import org.apache.http.HttpVersion; import org.apache.http.client.HttpClient; import org.apache.http.client.methods.HttpPost; import org.apache.http.entity.mime.MultipartEntity; import org.apache.http.entity.mime.content.ContentBody; import org.apache.http.entity.mime.content.FileBody; import org.apache.http.impl.client.DefaultHttpClient; import org.apache.http.params.CoreProtocolPNames; import org.apache.http.util.EntityUtils; public class ftpControll { @SuppressWarnings("deprecation") public static void uploadIt() throws Exception { final String alphabet = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ"; //final int N = alphabet.length(); Random r = new Random(); HttpClient httpclient = new DefaultHttpClient(); httpclient.getParams().setParameter(CoreProtocolPNames.PROTOCOL_VERSION, HttpVersion.HTTP_1_1); HttpPost httppost = new HttpPost("http://localhost/instantapic/uploadit.php"); File inputedFile = new File("img.jpg"); File newName = new File(""+alphabet.charAt(r.nextInt(alphabet.length()+5))+".jpg"); if(newName.exists()) throw new Exception("File Exists"); boolean success = inputedFile.renameTo(newName); if(!success) { System.out.println("Could not rename file"); } File totalFile = new File(""+newName+""); File file = new File(""+totalFile+""); String fileName = file.getName(); System.out.println(fileName); MultipartEntity mpEntity = new MultipartEntity(); ContentBody cbFile = new FileBody(file, "image/jpeg"); mpEntity.addPart("userfile", cbFile); httppost.setEntity(mpEntity); System.out.println("executing request " + httppost.getRequestLine()); HttpResponse response = httpclient.execute(httppost); HttpEntity resEntity = response.getEntity(); System.out.println(response.getStatusLine()); if (resEntity != null) { System.out.println(EntityUtils.toString(resEntity)); } if (resEntity != null) { resEntity.consumeContent(); } httpclient.getConnectionManager().shutdown(); } } [/CODE] [CODE] // uploadit.php <?php $newname = rand(20,50).".jpg"; if (is_uploaded_file($_FILES['userfile']['tmp_name'])) { echo "File ". $_FILES['userfile']['name'] ." uploaded successfully as ".$newname.".\n"; move_uploaded_file ($_FILES['userfile'] ['tmp_name'], $newname); } else { echo "Possible file upload attack: "; echo "filename '". $_FILES['userfile']['tmp_name'] . "'."; print_r($_FILES); } ?> [/CODE] What do you think?
  18. Can someone give me there case file of the wrench in the settings tab. I just need the case # though the break;. The source im using doesn't have the right case and I can't find it in the clickingbuttons file. Using 317 PI
  19. Hi, I need some help with my Visual Basic script. What happens is; when the download starts the window freezes and it says that there is a vshost.exe is not responding. Can someone please tell me why this is happening? The script is below: [CODE] Public Class Form1 Private Sub Button1_Click_1(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click If System.IO.File.Exists("C:\cache\cache.zip") = True Then MsgBox("File already exists") Else Dim firstTime As Date Dim secondTime As Date Dim results As TimeSpan Dim estimate As Integer firstTime = TimeValue(Now) My.Computer.Network.DownloadFile _ ("http://global-pvp.com/cache/test.zip", _ "C:\cache\test.zip") secondTime = TimeValue(Now) results = secondTime - firstTime Label1.Text = results.TotalSeconds 'Displays time at the moment My.Computer.FileSystem.DeleteFile("C:\cache\test.zip") estimate = results.TotalSeconds * 1000 Timer1.Start() My.Computer.Network.DownloadFile _ ("http://global-pvp.com/cache/cache.zip", _ "C:\cache\cache.zip") End If End Sub Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick ProgressBar1.Increment(+2) End Sub End Class [/CODE]
×