Jump to content


  • Content count

  • Joined

  • Last visited

  1. Proper fix to the Duel Arena/Fight Pits dupe, with both minigames still fully functional. In PlayerAssistant.java search for: [code] } else if (c.inPits) {[/code] Under that add: [code] c.duelStatus = 0;[/code] If we died in Fight Pits, we obviously weren't in a duel, so we reset our duel status to 0. Next search for: [code] if (c.pitsStatus == 1) {[/code] Under that add: [code] c.pitsStatus = 0;[/code] Before it wasn't resetting the variable to 0 after we had already spawned. All credits to me, bla bla bla, enjoy. :)
  2. [b]Adding fully working ingame hiscores with saving for PI.[/b] In src/server/model/players, make a new class called HighScores.java and add this in: [code]package server.model.players; import java.io.*; import server.Config; import server.Server; import server.model.players.Client; import server.util.Misc; /** * Handles the ingame highscores. * * @author Bradley Carels */ public class HighScores { public static Object[][] PLAYERS = new Object[10][3]; public static void load() { try { BufferedReader in = new BufferedReader(new FileReader("./Data/highscores.txt")); for (int i = 0; i < 10; i++) { String[] data = in.readLine().split(" "); for (int j = 0; j < data.length; j++) PLAYERS[i][j] = (j == 0 ? data[j] : Integer.parseInt(data[j])); } System.out.println("Loaded HighScores."); } catch (IOException e) { System.out.println("Error loading HighScores."); } } public static void save() { for (int i = 0; i < 10; i++) { if (PLAYERS[i][0] == null) return; } try { BufferedWriter out = new BufferedWriter(new FileWriter("./Data/highscores.txt")); for (int i = 0; i < 10; i++) { String line = PLAYERS[i][0] + " " + PLAYERS[i][1] + " " + PLAYERS[i][2]; out.write(line, 0, line.length()); out.newLine(); } out.close(); } catch (IOException e) { System.out.println("Error saving HighScores."); } } public static void open(Client c) { c.getPA().showInterface(6308); c.getPA().sendFrame126(Config.SERVER_NAME + " HighScores", 6400); c.getPA().sendFrame126("Top PKers:", 6399); for (int i = 0; i < 40; i++) c.getPA().sendFrame126("", 8578 + i); for (int i = 0; i < 10; i++) c.getPA().sendFrame126(PLAYERS[i][1] + ". " + PLAYERS[i][0] + " - " + PLAYERS[i][2] + " Kills", 6402 + i); } public static void update(Client c) { for (int i = 0; i < 10; i++) { if (c.kills > (Integer) PLAYERS[i][2] && (c.kills < (Integer) PLAYERS[i - (i == 0 ? 0 : 1)][2] || i == 0)) { PLAYERS[i][0] = c.playerName; PLAYERS[i][2] = c.kills; } } } }[/code] [b]Edit the variables to suit your needs.[/b] Next in ActionHandler.java search for: [code]switch(objectType) {[/code] Under that switch statement add: [code] case 3192: HighScores.open(c); break;[/code] Now open Client.java and search for: [code]process() {[/code] Under that add: [code] HighScores.update(this);[/code] Now go in ShutDownHook.java and search for: [code]public void run() {[/code] Under that line add: [code] HighScores.save();[/code] Next open Server.java and search for: [code]public static void main[/code] And under that line add: [code] HighScores.load();[/code] Next open ObjectManager.java and search for: [code]public void loadCustomSpawns(Client c) {[/code] Under that add: [code] c.getPA().checkObjectSpawn(3192, 3222, 3218, 0, 10); // scoreboard[/code] Change these coordinates to wherever you want, this currently spawns the scoreboard in Lumbridge. [color=red]Last step![/color] Lastly, go into your Data folder and make a new text document called highscores.txt [b]If you followed the tutorial correctly, you now have fully working ingame highscores![/b] As always, all credits go to me. Enjoy. ;) Picture: [IMG]http://i1224.photobucket.com/albums/ee365/ZBradleyX/highscores2.png[/IMG]
  3. The point of RSPS is for it to be easier than real RS, so no I don't think you should have to walk long distances.
  4. Love these types of servers, I'm checking it out. :)
  5. [quote name='blancke']one problem , link removed because of leechers , same for the viacomX release --'[/QUOTE] There aren't any downloads for any 667 loading + right now. They all get removed because of the fact that no one has permission from the Matrix team to release them.
  6. Pvp

    Running source error

    Post your run.bat code.
  7. [SIZE="5"][COLOR="Lime"]Price Chart:[/COLOR][/SIZE] [CODE] [b][U]All prices are approximate, prices vary depending on request[/U][/b] Service Price in USD Price in RSGP __________________________________________________ [b]Skills[/b] | $7 | 9.5M | - | | | [b]Small Maps[/b] | $7 | 9.5M | - | | | [b]Medium Maps[/b] | $9 | 11M | - | | | [b]Large Maps[/b] | $11 | 15M | - | | | [b]Interfaces[/b] | 8$ | 9.1m |[/CODE] [COLOR="Lime"] [SIZE="5"]Contact Info:[/SIZE] [/COLOR] [SIZE="3"][b]Skype: [COLOR="grey"]bradley.carels[/COLOR] or [COLOR="grey"]dylan.vic[/COLOR][/b] [b]P.M. [COLOR="grey"]Pvp[/COLOR] or [COLOR="grey"]Iz3 Legend[/COLOR][/b][/SIZE]
  8. Add my Skype: bradley.carels
  9. [center][img]http://img339.imageshack.us/img339/1071/gemiii.png[/img] [url=http://www.youtube.com/user/GeminiRSRemake?feature=mhee][img]http://c.dryicons.com/images/icon_sets/socialize_icons_set/png/64x64/youtube.png[/img][/url][url=http://twitter.com/#!/GeminiRSRemake][img]http://a.dryicons.com/images/icon_sets/socialize_icons_set/png/64x64/twitter.png[/img][/url][url=http://official-gemini.com][img]http://i55.tinypic.com/t02jqu.png[/img][/url] [/center] [size=4][b][color=orange]About The Server:[/color][/b][/size] The RS Remake that actually makes it is finally here, and it's name is Gemini! Gemini is a Runescape Remake of the 459 revision, and will contain everything [i]up to[/i] June 22, 2007. We are very inspired in recreating old Runescape, which is an important aspect in the success of this remake. However, to make this happen, we are going to need all of the support we can get. [size=4][b][color=orange]The Team:[/color][/b][/size] [list] [*]Mod Bradley - Head Developer [*]Mod Rob - Website Developer [*]Pwncody - Forum Moderator [/list] [size=4][b][color=orange]Update Log:[/color][/b][/size] [list] [*][url=http://official-gemini.com/forums/index.php?topic=19.0][size=3][b]Update Log[/b][/size][/url] [/list] [size=4][b][color=orange]FAQ:[/color][/b][/size] [list] [*][url=http://official-gemini.com/forums/index.php?topic=22.0][size=3][b]Frequently Asked Questions[/b][/size][/url] [/list] [size=4][b][color=orange]Media:[/color][/b][/size] [center][IMG]http://i1098.photobucket.com/albums/g378/jerkinwhite/gemini2007.jpg[/img][/center]
  10. [CENTER][COLOR="SandyBrown"][SIZE="5"][B]Introduction[/B][/SIZE][/COLOR] [B]Hey ************! This is my first release here, because I'm usually on mopar. Some of you may remember a server called "Orical-X" or something, well that server was a complete leech from Realm of Heroes V1. Hopefully some of you that didn't believe me will believe me now. :p This will be my last PI server, I'm starting a dodian based server.[/b] [COLOR="SandyBrown"][SIZE="5"][B]Features[/B][/SIZE][/COLOR] [B]Alright, now on to the good stuff. I really can't remember all of the things I've done, so please bear with me.[/B][/center] [LIST] [*][b]Fully working dungeoneering, a million times better than V1:[/B] [*]Can no longer teleport out of dungeoneering [*]The rats and snakes and such you had to kill are now forgotten warriors! They all have correct animations and colors e.g. red warrior with bow has shooting anim and drops red keys, blue warrior with maul has maul anim and drops blue key, etc. [*]Real fully working dungeoneering boss monsters [*]Can no longer teleport out of dungeoneering [*]It will ask you if you want to leave dung now, so you can't misclick it and reset all your spirits. [*]Each boss has their own custom area, much better than V1 were all bosses were in same bland area. [*]You can kill each boss 10 times, each time they will be a higher level [*]After you have killed a boss 10 times, you can refight it at a different location. It will be a much higher level now, but it can drop dungeoneering tickets. [*][b]Custom boss teleport tab (used the music tab for it)[/b] [*][b]Added fully working bosses like strykeworms, Astea Frostweb, and more[/b] [*][b]Improved bosses like KBD, Dag kings, etc. There a million times better now, just like runescape.[/b] [*][b]Home is one that is rarely ever used, it's really nice trust. Probably best out of any dspk imo.[/b] [*][b]Improved curses[/b] [*][b]Added my custom skilling area with improvements, it's awesome, best one imo.[/b] [*][b]I know this is easy, but added the classic Island training location because I think it's fun to train there. :P[/b] [*][b]More pking teleports, I used the teles in spell book that weren't being used.[/b] [*][b]It will now save all players automatically when you shut down the server[/b] [*][b]Red chinchompas are now part of hunter, you just have to spawn them. Box traps and everything work.[/b] [/LIST] [center][b]Alright, that's all I remember. But trust me, there is ALOT more.[/b] [COLOR="SandyBrown"][SIZE="5"][B]Media[/B][/SIZE][/COLOR] [IMG]http://i1098.photobucket.com/albums/g378/jerkinwhite/divinitybossteletab.jpg[/IMG] [IMG]http://i1098.photobucket.com/albums/g378/jerkinwhite/divinitytourofhome.jpg[/IMG] [IMG]http://i1098.photobucket.com/albums/g378/jerkinwhite/divinityislandtraining.jpg[/IMG] [IMG]http://i1098.photobucket.com/albums/g378/jerkinwhite/waroncammypurepkzone.jpg[/img] [IMG]http://i1098.photobucket.com/albums/g378/jerkinwhite/waroncammysomearmourspecs.jpg[/img] [IMG]http://i1098.photobucket.com/albums/g378/jerkinwhite/waroncammymagic.jpg[/img] [IMG]http://i1098.photobucket.com/albums/g378/jerkinwhite/waroncammyskilling.jpg[/img] ^ Skilling area ^ [IMG]http://i1098.photobucket.com/albums/g378/jerkinwhite/waroncammygodwars.jpg[/img] [IMG]http://i1098.photobucket.com/albums/g378/jerkinwhite/waroncammycorp.jpg[/img] [IMG]http://i1098.photobucket.com/albums/g378/jerkinwhite/tormenteddemonsdivinity.jpg[/IMG] [IMG]http://i1098.photobucket.com/albums/g378/jerkinwhite/strykeworms.jpg[/IMG] [IMG]http://i1098.photobucket.com/albums/g378/jerkinwhite/waroncammykbd.jpg[/img] [IMG]http://i1098.photobucket.com/albums/g378/jerkinwhite/Waroncammydags.jpg[/img] [IMG]http://i1098.photobucket.com/albums/g378/jerkinwhite/waroncammyminigames.jpg[/img] [IMG]http://i1098.photobucket.com/albums/g378/jerkinwhite/dungeoneering.jpg[/IMG] [IMG]http://i1098.photobucket.com/albums/g378/jerkinwhite/divinitydungbosses.jpg[/IMG] [IMG]http://i1098.photobucket.com/albums/g378/jerkinwhite/divinitydungtab.jpg[/IMG] [IMG]http://i1098.photobucket.com/albums/g378/jerkinwhite/divinitysummoningnvn.jpg[/IMG] [COLOR="SandyBrown"][SIZE="5"][B]Credits[/B][/SIZE][/COLOR] [LIST] [*]Project Fatality [*]People from mopar that helped me when I got stuck [*]All people that played this, never would've finished this if it wasn't for their support [*]Loveandpower for help with cache downloader < 3 [/LIST][/CENTER] [COLOR="SandyBrown"][SIZE="5"][B]Download[/B][/SIZE][/COLOR] [B]Package (Server & Client):[/B] [url]http://up.ht/qapZVq[/url] [B]Cache:[/B] [url=http://up.ht/phrjm3]UppIT - Free File Sharing - Finalshowdown.rar[/url] (The auto cache downloader is working, just change where you want it to download the cache from in CacheDownloader.java) [B]Note:[/B] [I]Feel free to use this, just please give me credits, I hate leechers, so please don't make me hate you.[/I] ;)
  11. [quote name='Drowning']I never PM'd anyone saying that lol I haven't been around in awhile[/QUOTE] It was on mscp, and by a few months i mean around last november XD
  12. Drowning, are you still working on this source? I remember a few months ago I got a pm asking if I would be beta tester for v2. :P
  13. Pvp


    This seems odd, but thoughtfull. You have my full support. :)