Jump to content

Search the Community

Showing results for tags 'working'.



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

  1. Hello Runelocus. Basically I'm attempting to write my own promotional code system for my new server and have come across a problem! I've tried all sorts to fix this, and now it's currently very messy and will most certainly make some of you crazy. I originally had the command sorted into a method and was being called with a parameter, but now the code is all held within the command and I'm just using some if statements. I stripped it down to try and figure out what was going wrong, but I just can't figure it out. Basically, the user can use the command ::promo (enter code here). It takes the input after ::promo and checks if it is a valid code and rewards the player with a reward for whatever code they used. This is the command I have used. [CODE] if (playerCommand.startsWith("promo")) { if (c.usedPromoCode == 0) { if (playerCommand.substring(6) == "newbie") { c.sendMessage("You have redeemed the code " + playerCommand.substring(6)); c.usedPromoCode = 1; return; } if (playerCommand.substring(6) == "banter") { c.sendMessage("You have redeemed the code " + playerCommand.substring(6)); c.usedPromoCode = 1; return; } if (playerCommand.substring(6) == "i") { c.sendMessage("You have redeemed the code " + playerCommand.substring(6)); c.usedPromoCode = 1; return; } c.sendMessage("Sorry, the promotional code " + playerCommand.substring(6) + " doesn't exist!"); } else { c.sendMessage("Sorry, you've already used a promotional code!"); } }[/CODE] The problem is, the message 'Sorry, the promotional code 'whatever' doesn't exist!'. Even if I enter the correct code, it still shows the correct code being entered, but skips the if statements and just says the code is invalid. I'm sure I have the substring stuff right, but I just have no idea how to fix it! Once I've got it working I am capable of cleaning it up into voids and such, but I am open to any suggestions! Thanks for everyone's help! PS. Revision is PI
  2. Here's the problem [attachment=150:error.jpg] I know its telling me it can't find flo.dat in the animation folder. But when I extract the cache manually the file is in there or maybe I'm just reading it incorrectly? Kinda new at coding. Anyway if someone could help it would be much appreciated!
  3. This tutorial will show you how to add the newer style bank interface to your server, this also includes fully working bank all and bank all worn items. (NOTE: This interface has the bank tabs taken off of it because I think it looks better personally) [B][U]What your adding:[/U][/B] [URL=http://s776.photobucket.com/user/tom14431996/media/pic_zps2fc55168.png.html][IMG]http://i776.photobucket.com/albums/yy41/tom14431996/pic_zps2fc55168.png[/IMG][/URL] To begin with we need to add the interface client sided. [B]Download these sprites and put them in your cache, in the sprites folder:[/B][url=http://www.mediafire.com/download/rg3fdp3m1349u1e/Bank.rar] Click here[/url] [B][U]In RSInterface.java[/U][/B] Add: [CODE]newBank();[/CODE] Under: [CODE]aClass44 = streamLoader;[/CODE] Then add this somewhere near your other interfaces: [CODE]private static void newBank() { RSInterface Interface = addTabInterface(5292); setChildren(19, Interface); addSprite(5293, 0, "Bank/BANK"); setBounds(5293, 13, 13, 0, Interface); addHoverButton(5384, "SPRITE", 1, 17, 17, "Close Window", 250, 5380, 3); addHoveredButton(5380, "SPRITE", 3, 17, 17, 5379); setBounds(5384, 476, 16, 3, Interface); setBounds(5380, 476, 16, 4, Interface); addHoverButton(5294, "Bank/BANK", 3, 114, 25, "Set A Bank PIN", 250, 5295, 4); addHoveredButton(5295, "Bank/BANK", 4, 114, 25, 5296); setBounds(5294, 110, 285, 5, Interface); setBounds(5295, 110, 285, 6, Interface); addBankHover(21000, 4, 21001, 5, 8, "Bank/BANK", 35, 25, 304, 1, "Swap Withdraw Mode", 21002, 7, 6, "Bank/BANK", 21003, "Switch to insert items \nmode", "Switch to swap items \nmode.", 12, 20); setBounds(21000, 25, 285, 7, Interface); setBounds(21001, 10, 225, 8, Interface); addBankHover(21004, 4, 21005, 13, 15, "Bank/BANK", 35, 25, 0, 1, "Search", 21006, 14, 16, "Bank/BANK", 21007, "Click here to search your \nbank", "Click here to search your \nbank", 12, 20); setBounds(21004, 65, 285, 9, Interface); setBounds(21005, 50, 225, 10, Interface); addBankHover(21008, 4, 21009, 9, 11, "Bank/BANK", 35, 25, 115, 1, "Swap Withdrawal Mode", 21010, 10, 12, "Bank/BANK", 21011, "Switch to note withdrawal \nmode", "Switch to item withdrawal \nmode", 12, 20); setBounds(21008, 240, 285, 11, Interface); setBounds(21009, 225, 225, 12, Interface); addBankHover1(21012, 5, 21013, 17, "Bank/BANK", 35, 25, "Deposit carried items", 21014, 18, "Bank/BANK", 21015, "Empty your backpack into\nyour bank", 0, 20); setBounds(21012, 375, 285, 13, Interface); setBounds(21013, 360, 225, 14, Interface); addBankHover1(21016, 5, 21017, 19, "Bank/BANK", 35, 25, "Deposit worn items", 21018, 20, "Bank/BANK", 21019, "Empty the items your are\nwearing into your bank", 0, 20); setBounds(21016, 415, 285, 15, Interface); setBounds(21017, 400, 225, 16, Interface); addBankHover1(21020, 5, 21021, 21, "Bank/BANK", 35, 25, "Deposit beast of burden inventory.", 21022, 22, "Bank/BANK", 21023, "Empty your BoB's inventory\ninto your bank", 0, 20); setBounds(21020, 455, 285, 17, Interface); setBounds(21021, 440, 225, 18, Interface); setBounds(5383, 170, 15, 1, Interface); setBounds(5385, -4, 34, 2, Interface); Interface = interfaceCache[5385]; Interface.height = 247; Interface.width = 480; Interface = interfaceCache[5382]; Interface.width = 10; Interface.invSpritePadX = 12; Interface.height = 35; } public static void addBankHover(int interfaceID, int actionType, int hoverid, int spriteId, int spriteId2, String NAME, int Width, int Height, int configFrame, int configId, String Tooltip, int hoverId2, int hoverSpriteId, int hoverSpriteId2, String hoverSpriteName, int hoverId3, String hoverDisabledText, String hoverEnabledText, int X, int Y) { RSInterface hover = addTabInterface(interfaceID); hover.id = interfaceID; hover.parentID = interfaceID; hover.type = 5; hover.atActionType = actionType; hover.contentType = 0; hover.opacity = 0; hover.hoverType = hoverid; hover.sprite1 = imageLoader(spriteId, NAME); hover.sprite2 = imageLoader(spriteId2, NAME); hover.width = Width; hover.tooltip = Tooltip; hover.height = Height; hover.valueCompareType = new int[1]; hover.requiredValues = new int[1]; hover.valueCompareType[0] = 1; hover.requiredValues[0] = configId; hover.valueIndexArray = new int[1][3]; hover.valueIndexArray[0][0] = 5; hover.valueIndexArray[0][1] = configFrame; hover.valueIndexArray[0][2] = 0; hover = addTabInterface(hoverid); hover.parentID = hoverid; hover.id = hoverid; hover.type = 0; hover.atActionType = 0; hover.width = 550; hover.height = 334; hover.interfaceShown = true; hover.hoverType = -1; addSprite(hoverId2, hoverSpriteId, hoverSpriteId2, hoverSpriteName, configId, configFrame); addHoverBox(hoverId3, interfaceID, hoverDisabledText, hoverEnabledText, configId, configFrame); setChildren(2, hover); setBounds(hoverId2, 15, 60, 0, hover); setBounds(hoverId3, X, Y, 1, hover); } public static void addBankHover1(int interfaceID, int actionType, int hoverid, int spriteId, String NAME, int Width, int Height, String Tooltip, int hoverId2, int hoverSpriteId, String hoverSpriteName, int hoverId3, String hoverDisabledText, int X, int Y) { RSInterface hover = addTabInterface(interfaceID); hover.id = interfaceID; hover.parentID = interfaceID; hover.type = 5; hover.atActionType = actionType; hover.contentType = 0; hover.opacity = 0; hover.hoverType = hoverid; hover.sprite1 = imageLoader(spriteId, NAME); hover.width = Width; hover.tooltip = Tooltip; hover.height = Height; hover = addTabInterface(hoverid); hover.parentID = hoverid; hover.id = hoverid; hover.type = 0; hover.atActionType = 0; hover.width = 550; hover.height = 334; hover.interfaceShown = true; hover.hoverType = -1; addSprite(hoverId2, hoverSpriteId, hoverSpriteId, hoverSpriteName, 0, 0); addHoverBox(hoverId3, interfaceID, hoverDisabledText, hoverDisabledText, 0, 0); setChildren(2, hover); setBounds(hoverId2, 15, 60, 0, hover); setBounds(hoverId3, X, Y, 1, hover); } public static void addHoverBox(int id, int ParentID, String text, String text2, int configId, int configFrame) { RSInterface rsi = addTabInterface(id); rsi.id = id; rsi.parentID = ParentID; rsi.type = 8; rsi.disabledText = text; rsi.message = text2; rsi.valueCompareType = new int[1]; rsi.requiredValues = new int[1]; rsi.valueCompareType[0] = 1; rsi.requiredValues[0] = configId; rsi.valueIndexArray = new int[1][3]; rsi.valueIndexArray[0][0] = 5; rsi.valueIndexArray[0][1] = configFrame; rsi.valueIndexArray[0][2] = 0; }[/CODE] Okay that's the client sided part done now for the server sided part to add bank all and bank all worn equipment. [B][U]In ClickingButtons.java:[/U][/B] Add: [CODE]case 82024: // Deposit equipment for (int i = 0; i < c.playerEquipment.length; i++) { int itemId = c.playerEquipment[i]; int itemAmount = c.playerEquipmentN[i]; c.getItems().removeItem(itemId, i); c.getItems().bankItem(itemId, c.getItems().getItemSlot(itemId), itemAmount); } break; case 82020: // Deposit Inventory for (int i = 0; i < c.playerItems.length; i++) { c.getItems().bankItem(c.playerItems[i], i, c.playerItemsN[i]); } break; [/CODE] I may also release proper bank searching if this thread is appreciated. Please thank the thread if you found it helpful :)
  4. chaotic pker

    working bosses

    hello im making my own rsps and it 317 and my god wars dungeon bosses aint showing they are just like there standing and it aint the proper generals either and ive been trying to fix it but not accomplishing anything so if anyone could help I would be greatfull.
  5. I'm back and am having some trouble with commands not working. The command folder is in The source but when I use a command it dosent to anything in game and in my source it says something like this... Java.lang.error: Unresolved compilation problem: Then goes on about 15 lines... I have gone on eclipse and have looked at commands.java->commands->processCommand where it looks like the error is taking place. Public static boolean processCommand(Player player, String command, boolean console, boolean clientCommand) { If (command.length() == 0 // if they used ::(nothing) there is no command return false; Ect ect ect ect... I'm not typing all that out. I think this is the error but if you disagree or can help me comment below. I'm in my first month of Java so please keep it simple. Thanks!
  6. Nvm. Please delete post
  7. Hey guys, so i'm a decent coder but I always get problems and I spent hours a day trying to fix them. I have downloaded at least 250 different sources in the past 2 weeks but every single one has a fucking problem with it. I just need someone who is [B]nice enough to send a me a nice source,client and cache to me[/B]. Usually I have problems with the cache auto downloading which is the main problem. [COLOR="#FF0000"]IF SOMEONE HELPS I WILL GIVE THEM 5 DOLLARS PAYPAL OR CO-OWNER ON THE SERVER[/COLOR] Also if you cant find me a source client and cache but you are a good coder please PM my skype below!! TY Skype:NickRSPS I would be forever grateful to anyone who can help me :) Thanks Rune-locus :D
  8. Ok so I just made a skilling zone and added some trees and mining veins and that's where the good new ends.... My guy will chop/mine for arond 5 seconds and then stop, no log or xp was given. What's going on here?
  9. I'm currently working on a 317 and i need a coder who can be a partner with me and code the server. once the project is done i will buy a strong vps straight away and get web hosting + domain. So i am really looking for a good coder. post your skype or just pm me your skype and from there we will talk and then you can have access to the source and client. My main goal is for this project to be as big as servers like ikov or soulsplit. - Exile317
  10. Please can someone get my auto cache downloading working please or atleast help me as ive tried everything and it just keeps saying unable to load/download cache, please add me on skype: daannnp , as soon as i can get this bit done i can get it all on the vps and get the server going and you can be guaranteed a staff spot whenever you decide to come and play. Thanks a lot.
  11. Hay! Im looking for a full working Pest control on a 718 server, Is there any who have it? Like any folders on full working pest control ?
  12. Hi guys i tried to add a ring of weath which when you wear it drop rates are doubled so i edited npc.java and compiled and this came up [ATTACH=CONFIG]10764[/ATTACH] if anyone can help me understand why please add my skype pkdaily thanks
  13. Anyone got a working 667 or a 637 source with clients& cache - i can use. Feather's is full of bugs and shit
  14. So here is my Run.bat [CODE]@echo off title runserver "C:/Program Files/Java/jre7/bin/java.exe" -Xmx512m -cp bin;lib/*; com.rs.Launcher true true false pause][/CODE] This is the FreedomX source, I have all updated JDK, JRE, And Java.
  15. I'm currently working on a 317 and i need a coder who can be a partner with me and code the server. once the project is done i will buy a strong vps straight away and get web hosting + domain. So i am really looking for a good coder. post your skype or just pm me your skype and from there we will talk and then you can have access to the source and client. My main goal is for this project to be as big as servers like ikov or soulsplit. - Exile317
  16. Hey guys so I have been trying to fix my PM system for a while now. Alright so basically what happens is this: [IMG]http://i.imgur.com/kKy7l6j.png[/IMG] When a username has a display name, it'll say "from bla" in the receiver's client however it DOES send to loll instead of bla. I looked at the order of variables in the packets and they match. I think they use a script to display it on-screen so I wanted to look in the script wether I can see why it's doing this... the only problem is I can't get the script :P Could anyone tell me how to get it or perhaps someone has already found a solution to this? I refactored some of the client code for easier reading. When a player sends a message to another player, the server does this code: [code] public void receivePrivateMessage(String name, String display, int rights, String message) { OutputStream stream = new OutputStream(); stream.writePacketVarShort(player, 105); stream.writeByte(name.equals(display) ? 0 : 1); stream.writeString(name); if (!name.equals(display)) { stream.writeString(display); } for (int i = 0; i < 5; i++) { stream.writeByte(Utils.getRandom(255)); } stream.writeByte(rights); Huffman.sendEncryptMessage(stream, message); stream.endPacketVarShort(); session.write(stream); } [/code] All simple ok... in the client when receiving this packet this code happens [code] if (IncomingPacket.RECEIVE_PRIVATE_MESSAGE_PACKET == class25.INCOMMING_PACKET) { boolean hasDisplayName = stream.readUnsignedByte() == 1; String username = stream.readString(-323676906); String displayName = username; 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] alright... I go to the "addNewPM" method to see what happens there: [code] public static void addNewPM(int i, int i_20_, String username, String displayName, String username2, String message, String string_24_, int i_25_, int i_26_) { try { Class102 class102 = Class107.privateMessages[99]; for (int i_27_ = 99; i_27_ > 0; i_27_--) { Class107.privateMessages[i_27_] = Class107.privateMessages[i_27_ - 1]; } if (class102 == null) { class102 = new Class102(i, i_20_, username, displayName, username2, string_24_, i_25_, message); } else { class102.setData(i, i_20_, username, displayName, username2, string_24_, i_25_, message, (short) 8448); } Class107.privateMessages[0] = class102; Class107.anInt1310 += 760013237; client.anInt8882 = client.anInt8933 * 1619726147; } catch (RuntimeException runtimeexception) { throw Class346.method4175(runtimeexception, new StringBuilder().append("az.i(").append(')').toString()); } } [/code] and finally I found this: [code] static final void method5859(ClientScript2 class403, byte i) { try { int i_10_ = (((ClientScript2) class403).anIntArray5244[((((ClientScript2) class403).anInt5239 -= -391880689) * 681479919)]); Class102 class102 = Class298_Sub40_Sub13.getPrivateMessage(i_10_, 689328854); String string = ""; if (null != class102 && null != class102.displayName) { string = class102.displayName; } ((ClientScript2) class403).anObjectArray5240[((((ClientScript2) class403).anInt5241 += 969361751) * -203050393 - 1)] = string; } catch (RuntimeException runtimeexception) { throw Class346.method4175(runtimeexception, new StringBuilder().append("se.ach(").append(')').toString()); } } [/code]
  17. [CODE]case 50056: case 75010: String type = c.playerMagicBook == 0 ? "modern" : "ancient"; c.getPA().startTeleport(Config.EDGEVILLE_X, Config.EDGEVILLE_Y, 0, type); break;[/CODE] Action button id is 75010 and it doesnt seem to work :/ I know this is a noob question and please dont say "use the search button" as ive tried.
  18. Trying to make Hans say something in lumbridge (not out loud but in a dialogue) but it doesn't work. Help please :emb:
  19. Hey guys, i've been trying to make a new shop, the Lowe's Archery Imperium. I have already added the shop in shops.cfg and named it shop 9 (it didn't exist before) I have also added Lowe in Spawn-config.cfg. But when i meet Lowe in Varrock and I click on him it doesn't open the shop. Here's some of my code: [CODE]shop = 9 Lowe's Archery Imperium 1 1 882 2000 884 1500 886 1000 888 800 890 600 892 0 841 4 843 3 849 2 853 1 837 2 877 1500 [/CODE] [CODE]spawn = 550 3231 3424 0 0 0 0 0 Lowe's Archery Imperium[/CODE] [CODE]case 550: c.getShops() .openShop(9); break; [/CODE] I am using the Clean PI v2 (Project Insanity). Can someone please help me with this?
  20. I'm using a PI Base and I added a ::bank command. I compiled (no errors) and then restarted the server and the ::bank command doesn't work. No other commands I've tried to add work either. Can anyone help?
  21. Should port 3306 be open for working GTLvote? Inbound or outbound? Thanks for response.
  22. This was orriganally Team Torva/Torva Pkz PLEASE COMMENT!!! What I Have Done: Commands Donators+ ::dicing Moderator+ ::kick ::mute ::unmute Administrator+ ::ipban ::ipmute ::unipmute ::unipban ::xteleto ::xteletome Owner+ ::alltome Working Torva Effect [IMG]http://i1103.photobucket.com/albums/g477/totalystylin/WorkingTorvaEffect.png[/IMG] Working Pernix Effect [IMG]http://i1103.photobucket.com/albums/g477/totalystylin/WorkingPernixEffect.png[/IMG] Working Vitrus Effect [IMG]http://i1103.photobucket.com/albums/g477/totalystylin/WorkingVirtusEffect.png[/IMG] Fixed Corp Drops [IMG]http://i1103.photobucket.com/albums/g477/totalystylin/CorpDrops.png[/IMG] New Home [IMG]http://i1103.photobucket.com/albums/g477/totalystylin/NewHome.png[/IMG] Added Dicing [IMG]http://i1103.photobucket.com/albums/g477/totalystylin/Dicing.png[/IMG] Made Where Only Donor+ Can Dice! [IMG]http://i.picasion.com/pic45/7e7b6ce765223d4614a50d07bf59e873.gif[/IMG] Made A Custom ::rank Command That Tells Your Rank :D [IMG][IMG]http://i1103.photobucket.com/albums/g477/totalystylin/CustomRankCommand.png[/IMG] Working Easter Ring! [IMG]http://i.picasion.com/pic45/4c267e67932da5a7757bd9588f1f1350.gif[/IMG] Working Easter Ring (Unmorph Working) [IMG]http://i.picasion.com/pic45/c1618d21a82055a25b99bb07b07f0b53.gif[/IMG] Easter Basket Emote!!! [IMG]http://i.picasion.com/pic45/19ddb3b366f5ea2700d4574713c569af.gif[/IMG] Made Max Level 138!!! [IMG]http://i.picasion.com/pic45/56a900a611290d4983a3d996cd5e68e7.gif[/IMG] Summoning Npc's Attack! [URL=http://s1103.photobucket.com/albums/g477/totalystylin/?action=view¤t=clip0017.mp4][IMG]http://i1103.photobucket.com/albums/g477/totalystylin/th_clip0017.jpg[/IMG][/URL] Made Working Divine And Elysian Effect!! [IMG]http://i.picasion.com/pic45/2fe69ce722cb63ccc5b999b1b1b0dcd2.gif[/IMG] Working Tax Bags! [IMG]http://i.picasion.com/pic45/3bd0d43659c04304ac7f4d094d17164d.gif[/IMG] Login Message. Lol. :D [IMG]http://i.picasion.com/pic45/dc1c99e9bbe7412d0642659a2dd6caa1.gif[/IMG] Fixed Pest Control! [IMG]http://i.picasion.com/pic45/fb308c2a4ea12597cf13b806df084b06.gif[/IMG] Hope You Enjoy! :) [X] 50 Downloads [X] 100 Downloads [X] 250 Downloads [X] 500 Downloads [X] 750 Downloads [X] 1000 Downloads [X] 2500 Downloads [] 5000 Downloads CREDITS: 50% Me 50% Austin Cadle Source: [url]http://uppit.com/wrrv2ru1epl9/Impozzes_Source.rar[/url] OR [url]http://uppit.com/ey3rlkfb96nc/Impozzes_Source.rar[/url] Client: [url]http://uppit.com/y79800irwmls/PvPscapez_Client_v10.rar[/url] OR [url]http://uppit.com/zbz93wldf2nq/Impozzes_Client.rar[/url]
  23. I use this code. [PHP] if(j == 6502) { int file = 2571; if(FrameStart[file] < 1) Class36.methodCustomAnimations(false, file); int[] frames = {46,63,144,57,97,138,78,157,93, 66,42,114,114,132,149,140,109,46,0}; int[] delays = {3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,0}; anims[j].anInt352 = frames.length-1; anims[j].anIntArray353 = new int[frames.length-1]; anims[j].anIntArray354 = new int[frames.length-1]; anims[j].anIntArray355 = new int[frames.length-1]; for(int i2 = 0; i2 < frames.length-1; i2++) { anims[j].anIntArray353[i2] = frames[i2]+FrameStart[file]; anims[j].anIntArray354[i2] = -1; anims[j].anIntArray355[i2] = delays[i2]; } }[/PHP]
  24. If working on an achievement System where Once you hit 50 NPC Kills, You are awarded 1m! What I need help with is making it so it like if (npcKills == 50) I want it to be like from 50 NPC Kills to 99 NPC Kills If you are capable of helping me, Id be glad to explain it even further This is a 317 loading 614+ [PI] Or ||||| Once the Player gets 50 NPC Kills, It automatically adds 1M Into his BANK My skype: tonebawsjinx Message me if you can help me
  25. So, in my commands.java, I have this exact code: [CODE]} else if (player.isDonator()) { players.getPackets().sendGameMessage("[<col=00ff00>Donator</col>] <img=8>"+ player.getDisplayName() + ": <col=00ff00>"+ message + "</col>"); } else if (player.isExtremeDonator()) { players.getPackets().sendGameMessage("[<col=20f2eb>Extreme Donator</col>]<img=11>"+ player.getDisplayName() + ": <col=20f2eb>"+ message + "</col>");[/CODE] It clearly says if you are a normal donator, use the tag Donator. And if you are an extreme donator, use the tag Extreme Donator. So I go in game and make a test account extreme donator and the tag displays as this: [ATTACH]10591[/ATTACH] No matter what I change, an extreme donator's tag always says donator instead of extreme donator. And my compiler does compile commands.java. Any ideas? Thanks!
×