Jump to content


  • Content count

  • Joined

  • Last visited

Everything posted by PwntNoob

  1. [CENTER][B]Welcome RuneLocus Members.[/B] I've been working on this for a few weeks, and was going to complete it so it's ready to host etc. But... I'm getting bored with seeing the same old shit haha. I will admit, it's not the best server, but it's a good PI to start with! [B]Features.[/b] Not going to bother filling this thread up with all the features, I kept a log on pastebin. If you want to read through them, here is the link: [url=http://pastebin.com/qamLGuA6#]Updates @Pastebin[/url] [B]Stuff that needs fixing.[/B] Skill cape shop freezes client. (Plenty of fixes out there). 2H swords, and godswords need correct stances. A few of the new 602 emote icons need background removing. Client throws a odex_null sometimes. There is more like minor bugs, you can find yourself. [b]Things you should know.[/b] This is 100% webclient ready; It has auto cache updater and downloader. Can be made .jar. [b]Media.[/b] [IMG]https://dl.dropbox.com/s/w8j5uuyoxdknjjk/RuneLocus.png[/IMG] [IMG]https://dl.dropbox.com/s/7bd1kh9e4ry0lcx/RuneLocus1.png?[/IMG] [IMG]https://dl.dropbox.com/s/bcv4usbnx1u9go2/RuneLocus2.png[/IMG] [B]Download Links.[/B] Source: [url=https://mega.co.nz/#!oIwRha4Z!SG1B0RuanJ4oV2yEtEmfxslmvLFHVmdTPoqL6HRD5_M]Server[/url] Client: [url=https://mega.co.nz/#!sI5SkDoa!RVJejL9Ha-R0mQuxgbf4tGkxowehy4eVJGm3ABhX4Wk]Client[/url] Cache: [url=https://www.dropbox.com/s/5bn0u2un7e7psx3/RunePwnCache.zip]Cache[/url] Package: [url=https://mega.co.nz/#!5YJ22IoZ!LeGF9tUbmlf9GveSWKSeYL74CNteLJY59rIun9mRR9Y]Client & Server[/url] Original Base: [url=https://www.moparscape.org/smf/index.php?topic=594828.0]Deshi Basara[/url] [b]Credits.[/b] PwntNoob TeamVictory Sanity Graham I may have forgoten a few people, but see anything that's yours, let me know you will get credits. [B]Terms of use.[/b] You can leech this, download and host if you want. Don't use the name RunePwn though. You must thank this thread if you download. Don't release this on any other sites. [B]Virus Scan.[/B] I know someone will as for it, so here you go. [IMG]https://dl.dropbox.com/s/jwztnki57i2c1v9/RuneLocus3.png[/IMG] [B]-PwntNoob[/b] [/CENTER]
  2. Hello everyone. I've just joined and this is a lot better then Moparscape. I will be staying I think ;)
  3. [B]Hello RuneLocus Members.[/B] Today I'm going to show you something pretty simple, because most noobs use TrisidaX and ask me about the ban command. The problem is, when you ban someone. It instantly removes the players name in BannedUsers.txt. The issue causing it is the person who released Trisidia attempted to add timed bans at one point and did not complete it. You will need to locate: [CODE]RS2LoginProtocolDecoder.java[/CODE] Normally it is in: [CODE]src.server.net.[/CODE] Once you are there, you need to find the following code, It should be around line 172: [CODE]if(Connection.isNamedBanned(cl.playerName)) {[/CODE] Next you need to replace that whole method with my one. I have marked the changed lines in red which I'll further explain. [CODE] if(Connection.isNamedBanned(cl.playerName)) { PlayerSave.loadGame(cl, cl.playerName, cl.playerPass); if(System.currentTimeMillis() < cl.banEnd) { returnCode = 4; } else { cl.banEnd = 0; Connection.removeNameFromBanList(cl.playerName); } }[/CODE] Change that whole method to: [CODE] if(Connection.isNamedBanned(cl.playerName)) { PlayerSave.loadGame(cl, cl.playerName, cl.playerPass); [COLOR="#FF0000"]//if(System.currentTimeMillis() < cl.banEnd) {[/COLOR] returnCode = 4; [COLOR="#FF0000"] /**} else { cl.banEnd = 0; Connection.removeNameFromBanList(cl.playerName); }**/[/COLOR] }[/CODE] [B]Now for the most basic explanation..[/B] This line is checking how long the player had been banned for, and forcing an banEnd(); upon it. [CODE][COLOR="#FF0000"]//if(System.currentTimeMillis() < cl.banEnd) {[/COLOR][/CODE] This is making the players ban = 0 minutes. [CODE][COLOR="#FF0000"]cl.banEnd = 0;[/COLOR][/CODE] Finally, this is removing the players name from the BanList. [CODE][COLOR="#FF0000"]Connection.removeNameFromBanList(cl.playerName);[/COLOR][/CODE] In further explanation, the timed bans was not completed.. Obviously.. So what is happening, you type ::ban example player and it's writing the line, then removing it instantly due to it resetting the ban time back to 0. With these lines removed, It will keep the players name in the ban list, and won't remove it unless they have been unbanned. Thanks for reading, if you need snippets or help with anything, Pm me or comment below.
  4. [B]Hello Noobs.[/B] I found some tutorial on induvidial saving for PI, but he put's the method into Process() { I thought I'd make it be handled by a cycleeventmanager so it's better performance wise. This is a snippet, don't ask me questions or ask for help please. Original on mopar: [url]https://www.moparscape.org/smf/index.php?topic=496563.0[/url] Here is the new save: [CODE] public void PwntNoobSaving() { CycleEventHandler.getSingleton().addEvent(c, new CycleEvent() { [MENTION=15855]Over[/MENTION]ride public void execute(CycleEventContainer c) { if (System.currentTimeMillis() - lastAutoSave > 180000) { //Saves every 3 minutes, You can change if you want. if (this != null) { //Checking if player is actual. saveCharacter = true; //Saves game for the player. lastAutoSave = System.currentTimeMillis(); } } } [MENTION=15855]Over[/MENTION]ride public void stop() { } }, 180000); };[/CODE] Also, here is a better news sinppet. [CODE] public void autoMessage() { CycleEventHandler.getSingleton().addEvent(c, new CycleEvent() { [MENTION=15855]Over[/MENTION]ride public void execute(CycleEventContainer c) { int r3 = 0; r3 = Misc.random(6); if (r3 == 0) { sendMessage(""+ Config.NEWS_ONE +""); } else if (r3 == 3) { sendMessage(""+ Config.NEWS_TWO +""); } else if (r3 == 4) { sendMessage(""+ Config.NEWS_THREE +""); } else if (r3 == 5) { sendMessage(""+ Config.NEWS_FOUR +""); } } [MENTION=15855]Over[/MENTION]ride public void stop() { } }, 180000); };[/CODE]
  5. [B]*What browser are you visiting on?[/B] Google Chrome. [B]*What internet provider do you use?[/B] BT Infinity Fiberobtic. [B]*Are there any pages the lag appears to be worse on? (index, profiles etc.)[/B] Every forum page. [B]*Are there any times RuneLocus appears offline to you? (Try to give a time and date).[/B] It has a few times but I didn't record the date and time :( It could possible be MySQL speeds, Maybe the webhost hasn't updated it.
  6. [quote name='alik01441']Vote command doesn't work A self-made shop doesn't opens Drop rates are too low, so I want to change that. Can someone help me via skype/ tv? I have been following a lot of guides, but it still doesn't wants to work :([/QUOTE] I haven't got time to help you on TV atm but here are some tips bro. [QUOTE]Vote command doesn't work[/QUOTE] You need to add this client sided if it won't work using the sendFrame126 method. [QUOTE]A self-made shop doesn't opens[/QUOTE] Make sure you add a case in actionhandler that makes a NPC show the shop. Don't just add it to the cfg file. [QUOTE]Drop rates are too low, so I want to change that.[/QUOTE] Open something like drops.tsm not the cfg file though. After the NPCID: is the drop rate out of 100 I believe.
  7. [quote name='scorpion832']FalconPunch said : it takes you 5 days to google some pictures? NICE. Scorpion832's Reply: shut up.[/QUOTE] [img]https://dl.dropbox.com/s/u2qbcg0ygn94frh/RKO%20Yourself.jpg[/img]
  8. [quote name='Arix'][code] String displayName = username2; [/code] will not compile because username2 is not declared anywhere. What I did find out is that when the player does not have a display name, everywhere else in the client the server would send an empty string instead of the regular username however in this it sends the username instead of an empty string.[/QUOTE] Sorry then mate. Only thing I could really think of, Don't work with this revision.
  9. The only thing I can see so far is that you do indeed string username2, but it isn't used in the receive packet. [CODE]username, displayName, username2[/CODE] So maybe you could try changing your receiving method to this one and let me know if it worked? [CODE] if (IncomingPacket.RECEIVE_PRIVATE_MESSAGE_PACKET == class25.INCOMMING_PACKET) { boolean hasDisplayName = stream.readUnsignedByte() == 1; String username = stream.readString(-323676906); String displayName = username2; if (hasDisplayName) { displayName = stream.readString(-726880698); } long l = (long) stream.readUnsignedShort(); long l_489_ = (long) stream.read24BitUnsignedInteger((byte) -115); int rights = stream.readUnsignedByte(); long l_491_ = l_489_ + (l << 32); boolean bool_492_ = false; while_93_: do { for (int i_493_ = 0; i_493_ < 100; i_493_++) { if (l_491_ == client.aLongArray8915[i_493_]) { bool_492_ = true; break while_93_; } } if (rights != 2) { if (client.aBoolean8811 && !client.aBoolean8812 || client.aBoolean8802) { bool_492_ = true; } else if (Class287.method2722(displayName, -2116888507)) { bool_492_ = true; } } } while (false); if (!bool_492_) { client.aLongArray8915[client.anInt8916 * 1594173071] = l_491_; client.anInt8916 = 1356544111 * ((1 + client.anInt8916 * 1594173071) % 100); String decryptedMessage = (Class248.decryptStringMessage(Class127_Sub1.huffManDecryption(stream, -1313378115), 19429593)); if (2 == rights) { Class25.addNewPM(7, 0, new StringBuilder().append(Class247.method2368(1, -278777595)).append(username).toString(), new StringBuilder().append(Class247.method2368(1, -278777595)).append(displayName).toString(), username, decryptedMessage, null, -1, 1446000206); } else if (rights == 1) { Class25.addNewPM(7, 0, new StringBuilder().append(Class247.method2368(0, -278777595)).append(username).toString(), new StringBuilder().append(Class247.method2368(0, -278777595)).append(displayName).toString(), username, decryptedMessage, null, -1, 1446000206); } else if (rights != 0) { Class25.addNewPM(3, 0, "<img=" + rights + ">" + username, "<img=" + rights + ">" + displayName, username, decryptedMessage, null, -1, 1446000206); } else { Class25.addNewPM(3, 0, username, displayName, username, decryptedMessage, null, -1, 1446000206); } } class25.INCOMMING_PACKET = null; return true; }[/CODE] Let me know if it worked [MENTION=94449]Arix[/MENTION]. Might not as I don't code anything 600+.
  10. [quote name='Drowning']You think because you say "All rights reserved" it actually means something? You obviously don't have any copyright to something already owned by someone else. Stupid child. Learn a thing or two about copyrights: [url]www.copyright.gov/help/faq/index.html[/url][/QUOTE] Well said..
  11. [quote name='falconpunch']it takes you 5 days to google some pictures? NICE.[/QUOTE] Lmafo. I bet his server is a complete leech haha. [URL=http://www.runelocus.com/forums/usertag.php?do=list&action=hash&hash=HowDoICompile]#HowDoICompile[/URL]
  12. [quote name='Nice Cape']glad you've been helped![/QUOTE] Nice gravedig haha
  13. [CENTER] [B]Welcome to RunePwn[/B] Some of you may already know us. We are glad to announce that the server is back online. Featuring an all new server, with the best performance to make your gaming experience enjoyable. Come and check us out, you will never regret it. We have a nice growing community, a stable economy and best of all, a custom exp selector. You play the way you want. [B]Forums[/B] We have a full vBulletin 5 license, but we are currently unable to use it due to our webhost being restricted. Will be featuring IPBoards within the next few days so that we can replace simple machines. Make sure you register on the forums so that you are updated with future movements of the server. [url]http://runepwn.net/[/url] [B]Server overview and key features[/B] You can select your EXP rate. There are over 15 bosses. Active staff members. Full clan setup system with ranking. RS2 Game engine and netty framework. Stable economy. Fully working castle wars. The list just goes on. [B]Server Media[/B] [spoiler=Media] [img]https://dl.dropbox.com/s/2rbvi7e7ha10tso/Untitled.png[/img] [IMG]https://dl.dropbox.com/s/bfwhjaff3g25smd/Home.png[/IMG] [IMG]https://dl.dropbox.com/s/5ry2291xnud3732/Pets.png[/IMG] [IMG]https://dl.dropbox.com/s/c4r8opgzttcivra/Varrock.png[/IMG] [IMG]https://dl.dropbox.com/s/1myx8j0ijwm6lva/Shopping.png[/IMG] [IMG]https://dl.dropbox.com/s/qi3nwb9bd853ndz/Castle%20Wars.png[/IMG] [IMG]https://dl.dropbox.com/s/it64fjmuav5yo9e/Clan%20Setup%202.png[/IMG] [IMG]https://dl.dropbox.com/s/vx5j4ciwvxvx49p/Clan%20Setup.png[/IMG] [IMG]https://dl.dropbox.com/s/i0yhzegyvi9n1ae/Clan%20Talk.png[/IMG] [IMG]https://dl.dropbox.com/s/b44heh9vu9646g2/Lunar.png[/IMG] More media coming soon! [IMG] [/IMG] [IMG] [/IMG] [IMG] [/IMG] [IMG] [/IMG] [IMG] [/IMG] [IMG] [/IMG] [IMG] [/IMG] [IMG] [/IMG] [IMG] [/IMG] [IMG] [/IMG] [IMG] [/IMG] [IMG] [/IMG] [IMG] [/IMG] [/spoiler] [B]What can we offer you?[/B] We offer you a nice server where you can level up fast or slow or even in the middle. What ever exp rate you like. Also, there are 21 working skills to train so you will never be bored. We have a unique home with plenty of room for extention. [COLOR="#FF0000"]The first 5 players will be given a chaotic of their choice![/COLOR] [/CENTER]
  14. You need to make a java file. When you compile it will be converted to class. Class is unreadable by any human.
  15. This is a complete joke. [URL=http://www.runelocus.com/forums/usertag.php?do=list&action=hash&hash=GodSend]#GodSend[/URL] HQ (E.G My mums shitty apartment)
  16. PwntNoob

    highscores help.

    Have you got remoteSQL setup?
  17. [quote name='storm powner']download never java version[/QUOTE] Download newer version of java from oracle.
  18. PwntNoob

    databse gfx

    You just need to find the correct animation ID then replace it with the current ones.
  19. Eclipse is hard to setup for the first time using it. But once you get used to it, it will be in your favor for ever. CMD is shit.
  20. Hate delta so not sure. Maybe force noclip when you teleport there? Haha
  21. [quote]im simply saying freeforums is a piece of shit[/quote] Yeah I know that. Don't get defensive mate, Not bitching at you, just simply saying an idea for him...
  22. Find something like this in your click object class: [CODE]if(c.playerRights >= 3) { Misc.println("objectId1: "+c.objectId+" ObjectX: "+c.objectX+ " objectY: "+c.objectY+" Xoff: "+ (c.getX() - c.objectX)+" Yoff: "+ (c.getY() - c.objectY)); }[/CODE] Then you can change the rest and put it in a different class etc.. [CODE] Misc.println[/CODE] That's all i'm going to say. Figure the rest out. P.S [CODE]c.sendMessage("");[/code]
  23. [CODE] 'reached end of file while parsing' [/CODE] You have a missing bracket.
  24. [quote name='Sheepish']Just don't bother posting, if you're not going to help me. With this source it's not 100% simple, also I need other things done as well which will be the things that are worth money. so just leave the forums and go live your sad life.[/QUOTE] Bit rude to be honest. He is helping by suggesting you do work yourself instead of getting others to do it. The best way in life it to learn new things, not have others do it for you.
  25. I like the name other then the 'X' It's too overused now haha. OT: Good luck with this, looks nice to be honest.