Jump to content

Search the Community

Showing results for tags 'asap'.



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

  1. need runescape private server client and source ideally 474+ but anything would be good! cant find anything on here thAt isnt broken or taken down. Thanks GG
  2. so im using this source and client Arios-Full-Server-Release. i need a compile for source and a run+compile for client.... im a noob and i really just want to play by myself.. also im getting an error when i try to run offline, it tries to connect to the arios website but i only play offline since i have very limited internet per month. someone please help. imgur.com/Le0UYjr
  3. [B]I am trying to change the client name and other features etc. But those are the settings for the compiler and what flashes for a split second. Anyone know how to make this complier work? I cannot work on this any longer until I find the problem with the complier. Please comment below on how I can fix it or a code to paste into the complier. [/B] [ATTACH=CONFIG]10774[/ATTACH][ATTACH=CONFIG]10775[/ATTACH]
  4. Hi, I have made a server, (Rage-Scape 742) I've coded it, changed the owners etc. But, I am experiencing problems, when I try to use any commands, such as; Setrights Ban Kick Mute etc. I have to enter a Security Pin. I don't know where to find the security pin in the src folder, or wherever it's located. So I would appreciate some help. *** ON A SIDE NOTE *** I cannot move, whenever somebody is ranked a Staff, (Mod,Support,Owner,Admin) Any help would be very appreciative. Thanks. :)
  5. Okay i'm coming back with this dupe. Well like i see, it's still working on multiple servers. And i can't find proper fix. So let's start. There is how dupe works : Player B and C sending trade request to A. Player A accepting B request. Player C relog. Player A will lose trade screen and player B will keep trade screen. Player C will send trade request to A, A will accept request. Player C will put items to trade and click accept. Player C will accept only first screen. And player A will accept both screens. After this player B will accept both screens [etc trading with himself] , after this Player B trade will close and player B will get items that Player C offered. Now player C will click decline, and Player C and B will get items.
  6. raivoolen

    [PI] Help asap

    Okay i need help badly :C So i have no idea how it's happened or when its happened. But maybe someone know how to fix it :c So problem is: If you right click on someone, it's not showing "combat lvl" its saying "skill-and then random level" [IMG]http://i.imgur.com/Uaeq2WH.png[/IMG]
  7. There is how dupe works, no idea how to fix :c Player A, B and C. Player B and C trading with A. Player A accepting B trade. Player C relog. Player A will lose trade screen and player B will keep trade screen. Player Player C will trade to A, A will accept tade. Player A will put items to trade and click accept. Player B will accept first time. And player A will accept second screen too. But player B won't accept second screen. After this player C will accept both screens [etc trading with himself] , after this Player B trade will close and player B will get items that Player A offered. Now player A will click decline, and Player A and B will get items.
  8. Okay, so i have added working "ignoring" but yeah if i'm addign someone to ignore list, i'm getting this error: [CODE][27.08.14 12:07]: java.lang.ArrayIndexOutOfBoundsException: 8 [27.08.14 12:07]: at server.util.Stream.readDWord(Stream.java:304) [27.08.14 12:07]: at server.util.Stream.readQWord(Stream.java:308) [27.08.14 12:07]: at server.model.players.packets.PrivateMessaging.process Packet(PrivateMessaging.java:129) [27.08.14 12:07]: at server.model.players.PacketHandler.processPacket(Pack etHandler.java:139) [27.08.14 12:07]: at server.model.players.Client.processQueuedPackets(Clie nt.java:2162) [27.08.14 12:07]: at server.model.players.PlayerHandler.process(PlayerHand ler.java:171) [27.08.14 12:07]: at server.Server.main(Server.java:153)[/CODE] If i unignore, i will get this line, not sure if it's good or no xd [CODE][27.08.14 12:10]: summeris sending invalid PacketType: 74. PacketSize: 8[/CODE] Btw, ignoring works now, but i dont like this error what's coming up when i'm addign someone to ignore list. There is what i did: on privatemessaging.java [CODE]case ADD_IGNORE: //This line is the case when you add someone to the list. int a = c.getInStream().readDWord(); int a2 = c.getInStream().readDWord(); int j3 = 18; //This is to handle other status changes. c.getPA().handleStatus(a,a2,j3); //This handels the task. c.friendUpdate = true; //This is to update the list. long ignoreAdd = c.getInStream().readQWord(); //This is where the long method in player.java comes in for(int i = 0; i < c.ignores.length; i++) { //This is the other players name. if(c.ignores[i] == 0) { c.ignores[i] = ignoreAdd; //This is the final int where the player is added. break; } } break; //This breaks the case to start the next one.[/CODE] and player.java [CODE]public long ignores[] = new long[200];[/CODE] So any idea ? :confused:
  9. Hello i really need help, i think its client sided, but idk where and what's wrong but there is problem :( [video=youtube;dGJgW3HwiGs]http://www.youtube.com/watch?v=dGJgW3HwiGs[/video] Help ASAP :(
  10. Hello i'm trying to fix 3 ppl dupe but getting errors :( errors: [CODE]src\server\model\players\packets\ClickingButtons.java:3238: error: cannot find s ymbol if(Trading.twoTraders(c, ot1)) { ^ symbol: variable ot1 location: class ClickingButtons src\server\model\players\packets\ClickingButtons.java:3238: error: cannot find s ymbol if(Trading.twoTraders(c, ot1)) { ^ symbol: variable Trading location: class ClickingButtons src\server\model\players\packets\ClickingButtons.java:3263: error: cannot find s ymbol Trading.declineTrade(c, true); ^ symbol: variable Trading location: class ClickingButtons src\server\model\players\packets\ClickingButtons.java:3265: error: cannot find s ymbol ot1.sendMessage("You can't trade two peo ple at once!"); ^ symbol: variable ot1 location: class ClickingButtons[/CODE]
  11. Hi Runelocus, i am having a problem obfuscating my jar client. Obfuscating is basically hiding the codes of your rsps so people dont steal stuff from you. Welcome basically i download proguard run - bin - proguardgui.batch input/output tab input - my jar file (not signed yet) output - i created a file on my desktop called obfuscated and inside there is my output i then went into the obfuscating tab and went to "add" and for class i wrote "client" then clicked ok now i went to process and clicked process and it says "please fix the above errors" what have i done wrong?.... i need to know because ive been researching this for long now and i am still stuck. Help will be VERY appreciated
  12. X Mazzy X

    Help ASAP please.

    Hey guys, I'm new to making my own server, and this has honestly been the most frustrating night of my life, lol. If one thing goes wrong theres always something else, and ughh! Anyways, I am using a Spawnscape source and client, and I believe I have everything good to go. I try it out before I got my ports done, and it works, I finally finish i go to run it and this error comes up: [IMG]http://i57.tinypic.com/20j2tdu.png[/IMG] If someone could help me out it would be greatly appreciated, and remember guys I'm new to this so please get as detailed as you can for the fix, haha I'd really appreciate it. Thank-you, and have a good one.
  13. my rsps hasn't been working ive been making it using runelocus starter pack when I try clicking save and compile it says javac is not recognized as an external or internal command what do I do please help me asap also if I try skipping it says error cant log in server help me
  14. got a 718 project i am willing to give a portion of the doantions to you. reply with skype name or email
  15. Vexi

    Help asap!!

    I changed all the ip adresses that I needed to change, but there are still some "LocalHost" parts now do I put my NO-IP host name, or do I put 127.0.0.1? Please respond ASAP
  16. Vav

    Need a coder a.s.a.p

    [B]Need to Code In...[/B] [LIST] [*]Minigames [*]Shops [*]Construction [*]Bank Tabs (If Possible) [*]Little things Here and There [/LIST] [B]Need to Fix...[/B] [LIST] [*]Client-Sided Errors [/LIST] [B][U][COLOR="#FF0000"]CONTACT US AT[/COLOR][/U][/B] [U][COLOR="#00FFFF"]Skype:[/COLOR][/U] Justehn or Pete Powell [U][COLOR="#00FF00"]Phone:[/COLOR][/U] Pete: (443) 944-7279
  17. I downloaded the runelocus starter pack and tried to run my client but it isn't working? It says "javac is not recognized as an internal command or external command". I went to the environment variables and couldn't find the the variable named "PATH" with location of my JDK. I need help? :(
  18. I've coded a few servers in the past and I'm looking to do it again as it was a ton of fun! I can do 639-718 for sure but I can probably manage something else given some time. I'm not a novice Java programmer as I have 4 years under my belt and have made quite a few pieces of software (Non-distributed). I am looking to be paid a small fraction of the donations via Paypal for my services. I can also code the website from scratch and get it running entirely on my own as I have made a few websites in the past as well. I don't require a coding partner although having one would be much appreciated in the event that I am unable to solve a bug. It should also be noted that I am extremely reliable/honest. As a final note... I DO NOT COME WITH A SOURCE OR CLIENT! If you would like to hire me then please be expected to have a good and stable source/client ready, thanks! My requirements: - A small portion of the donations fit for the amount of work that I've done. - Access to the server source running on Dropbox. (For dev purposes) - Access to a separate copy of the source. (Again for dev purposes) - Admin rights within the server. (Once more for dev purposes) - And finally, the owner must be within my time zone and have plenty of time for communication. (My time zone - Central Time (US & Canada)) You can contact me through this post or my skype (live:neytorokx).
  19. So I recently downloaded The RuneEvo V3 server Rev: 718/753 but I can't seem to connect the server to my 718 client although the post said ''Works with every 718 client'' if you also had this problem and know how to fix it please let me know. Link to where I downloaded it from: [url]https://www.moparscape.org/smf/index.php/topic,657559.0.html[/url]
  20. Hello there, I downloaded Serenity 747 earlier and I changed everything that I could. After all that I turned on the source and it turned on perfect. So I loaded the client it loaded perfect. I typed in my username and pass and clicked login. And it loaded to 100% and then says Connection lost. Everytime. It's annoying... If someone can help I would appreciate it. Message me. Please.
  21. [I][/I]If anyone played swapnsever or exemptionx its something like that safe Player vs Player and you a random drop and a tokkuls per kill, But my home is E.G and my sever is 639 ,but for some reason it wouldn't let me fight between the two e,g hands shown in the picture but everywhere eles works perfect ,how i can recode is soo there no problems too it and also i want it soo its a safe pvp ring around E.G and beside E.G bank ,thanks [IMG]http://i3.minus.com/ityFg5orRn0GE.JPG[/IMG] only want it soo you can fight out side e.g ring and till besides e.g bank Other areas work -Shown here [IMG]http://i2.minus.com/iZNJCI52MB6ax.JPG[/IMG] If anyone know what files needed ,i can open them up and show you ,thanks
  22. I get this run error when I run my source. [code]Loading Up Files... Exception in thread "main" java.lang.ExceptionInInitializerError Caused by: java.lang.NumberFormatException: For input string: "" at java.lang.NumberFormatException.forInputString(NumberFormatException. java:65) at java.lang.Integer.parseInt(Integer.java:504) at java.lang.Integer.parseInt(Integer.java:527) at server.model.npcs.NPCHandler.loadAutoSpawn(NPCHandler.java:5342) at server.model.npcs.NPCHandler.<init>(NPCHandler.java:75) at server.Server.<clinit>(Server.java:66) Press any key to continue . . .[/code] Please Help.
  23. Alright so in-game my pk-points shop the items in it don't cost anything... How would I fix this?? Here's my shop handler code, I know it's alot but please help. [code]package server.model.shops; import server.Config; import server.Server; import server.model.items.Item; import server.model.players.Client; public class ShopAssistant { private Client c; public ShopAssistant(Client client) { this.c = client; } /** *Shops **/ public void openShop(int ShopID){ c.getItems().resetItems(3823); resetShop(ShopID); c.isShopping = true; c.myShopId = ShopID; c.getPA().sendFrame248(3824, 3822); c.getPA().sendFrame126(Server.shopHandler.ShopName[ShopID], 3901); } public boolean shopSellsItem(int itemID) { for (int i = 0; i < Server.shopHandler.ShopItems.length; i++) { if(itemID == (Server.shopHandler.ShopItems[c.myShopId][i] - 1)) { return true; } } return false; } public void updatePlayerShop() { for (int i = 1; i < Config.MAX_PLAYERS; i++) { if (Server.playerHandler.players[i] != null) { if (Server.playerHandler.players[i].isShopping == true && Server.playerHandler.players[i].myShopId == c.myShopId && i != c.playerId) { Server.playerHandler.players[i].updateShop = true; } } } } public void updateshop(int i){ resetShop(i); } public void resetShop(int ShopID) { synchronized(c) { int TotalItems = 0; for (int i = 0; i < Server.shopHandler.MaxShopItems; i++) { if (Server.shopHandler.ShopItems[ShopID][i] > 0) { TotalItems++; } } if (TotalItems > Server.shopHandler.MaxShopItems) { TotalItems = Server.shopHandler.MaxShopItems; } c.getOutStream().createFrameVarSizeWord(53); c.getOutStream().writeWord(3900); c.getOutStream().writeWord(TotalItems); int TotalCount = 0; for (int i = 0; i < Server.shopHandler.ShopItems.length; i++) { if (Server.shopHandler.ShopItems[ShopID][i] > 0 || i <= Server.shopHandler.ShopItemsStandard[ShopID]) { if (Server.shopHandler.ShopItemsN[ShopID][i] > 254) { c.getOutStream().writeByte(255); c.getOutStream().writeDWord_v2(Server.shopHandler.ShopItemsN[ShopID][i]); } else { c.getOutStream().writeByte(Server.shopHandler.ShopItemsN[ShopID][i]); } if (Server.shopHandler.ShopItems[ShopID][i] > Config.ITEM_LIMIT || Server.shopHandler.ShopItems[ShopID][i] < 0) { Server.shopHandler.ShopItems[ShopID][i] = Config.ITEM_LIMIT; } c.getOutStream().writeWordBigEndianA(Server.shopHandler.ShopItems[ShopID][i]); TotalCount++; } if (TotalCount > TotalItems) { break; } } c.getOutStream().endFrameVarSizeWord(); c.flushOutStream(); } } public double getItemShopValue(int ItemID, int Type, int fromSlot) { /*if(c.myShopId == 7390){ return c.myShopClient.playerShopP[fromSlot]; }*/ double ShopValue = 1; double Overstock = 0; double TotPrice = 0; for (int i = 0; i < Config.ITEM_LIMIT; i++) { if (Server.itemHandler.ItemList[i] != null) { if (Server.itemHandler.ItemList[i].itemId == ItemID) { ShopValue = Server.itemHandler.ItemList[i].ShopValue; } } } TotPrice = ShopValue; if (Server.shopHandler.ShopBModifier[c.myShopId] == 1) { TotPrice *= 1; TotPrice *= 1; if (Type == 1) { TotPrice *= 1; } } else if (Type == 1) { TotPrice *= 1; } return TotPrice; } /*public void openPlayerShop(Client o){ if(o == null || o.properLogout) return; c.getItems().resetItems(3823); resetShop(o); c.myShopClient = o; c.myShopId = 7390; c.isShopping = true; c.getPA().sendFrame248(3824, 3822); c.getPA().sendFrame126(o.playerName+"'s Shop!", 3901); } public int[] fixArray(int[] array){ int arrayPos = 0; int[] newArray = new int[array.length]; for(int x = 0; x < array.length; x++){ if(array[x] != 0){ newArray[arrayPos] = array[x]; arrayPos++; } } return newArray; } public void fixShop(Client o){ o.playerShop = fixArray(o.playerShop); o.playerShopN = fixArray(o.playerShopN); o.playerShopP = fixArray(o.playerShopP); } public void resetShop(Client o) { synchronized(c) { fixShop(o); for (int x = 0; x < 10; x++) { if (o.playerShopN[x] <= 0) { o.playerShop[x] = 0; } } int TotalItems = 0; for (int i = 0; i < 10; i++) { if (o.playerShop[i] > 0) { TotalItems++; } } if (TotalItems > 10) { TotalItems = 10; } c.getOutStream().createFrameVarSizeWord(53); c.getOutStream().writeWord(3900); c.getOutStream().writeWord(TotalItems); int TotalCount = 0; for (int i = 0; i < o.playerShop.length; i++) { if (o.playerShop[i] > 0) { if (o.playerShopN[i] > 254) { c.getOutStream().writeByte(255); c.getOutStream().writeDWord_v2(o.playerShopN[i]); } else { c.getOutStream().writeByte(o.playerShopN[i]); } c.getOutStream().writeWordBigEndianA((o.playerShop[i]+1)); TotalCount++; } if (TotalCount > TotalItems) { break; } } c.getOutStream().endFrameVarSizeWord(); c.flushOutStream(); } }*/ public int getItemShopValue(int itemId) { for (int i = 0; i < Config.ITEM_LIMIT; i++) { if (Server.itemHandler.ItemList[i] != null) { if (Server.itemHandler.ItemList[i].itemId == itemId) { return (int)Server.itemHandler.ItemList[i].ShopValue; } } } return 0; } /** *buy item from shop (Shop Price) **/ public void buyFromShopPrice(int removeId, int removeSlot) { int ShopValue = (int)Math.floor(getItemShopValue(removeId, 0, removeSlot)); ShopValue *= 1; String ShopAdd = ""; if (c.myShopId == 18) { c.sM(c.getItems().getItemName(removeId)+" currently costs: <col=255> " + getMageItemValue(removeId) + "</col> PC Points."); return; } if (c.myShopId == 73) { c.sM(c.getItems().getItemName(removeId)+" currently costs: <col=255> " + getSpecialItemValue(removeId) + "</col> KronikX Points."); return; } if (c.myShopId == 74) { c.sM(c.getItems().getItemName(removeId)+" currently costs: <col=255> " + getSpecialItemValue(removeId) + "</col> KronikX Points."); return; } if (c.myShopId == 15) { c.sM("This item current costs " + c.getItems().getUntradePrice(removeId) + "</col> coins."); return; } if (c.myShopId == 48) { c.sM(c.getItems().getItemName(removeId)+" currently costs: <col=255> " + getSlayerItemValue(removeId) + "</col> SlayerPoints."); return; } if (c.myShopId == 84) { c.sM(c.getItems().getItemName(removeId)+" currently costs: <col=255> " + getSpecialItemValue(removeId) + "</col> Dungeoneering Points."); return; } if (c.myShopId == 85) { c.sM(c.getItems().getItemName(removeId)+" currently costs: <col=255> " + getSpecialItemValue(removeId) + "</col> Dungeoneering Points."); return; } if (c.myShopId == 26) { c.sM(c.getItems().getItemName(removeId)+": currently costs: <col=255> " + getDonatorItemValue(removeId) + "</col> Donator Points"); return; } if (c.myShopId == 27) { c.sM(c.getItems().getItemName(removeId)+": currently costs: <col=255> " + getVoteItemValue(removeId) + "</col> Vote Points"); return; } if (c.myShopId == 28 || c.myShopId == 29) { c.sM(c.getItems().getItemName(removeId)+": currently costs: <col=255> " + getPkItemValue(removeId) + "</col> Pking Points"); return; } if (c.myShopId == 30 || c.myShopId == 31 || c.myShopId == 32) { c.sM(c.getItems().getItemName(removeId)+": currently costs <col=255>" + getTokkulItemValue(removeId) + "</col> Tokkuls."); return; } if (ShopValue >= 1000 && ShopValue < 1000000) { ShopAdd = " (" + (ShopValue / 1000) + "k)"; } else if (ShopValue >= 1000000 && ShopValue < 1000000000) { ShopAdd = " (" + (ShopValue / 1000000) + " million)"; } else if (ShopValue >= 1000000000) { ShopAdd = " (" + (ShopValue / 1000000000) + " billion)"; } c.sM(c.getItems().getItemName(removeId)+" currently costs: <col=255> "+ShopValue+"</col> coins"+ShopAdd); } /* *Donator points handler by Remco: *------------------------------------- *case = itemId, return = donatorPoints. */ public int getDonatorItemValue(int id) { switch (id) { //Please keep this clean as possible example: case 15273: return 1; case 8844: return 20; case 8845: return 30; case 8846: return 40; case 8847: return 50; case 8848: return 60; case 8849: return 70; case 8850: return 80; case 15441: case 15442: case 15443: case 15444: case 20072: case 6199: return 100; } return 0; } /* *Pk points handler -Remco */ public int getPkItemValue(int id) { switch (id) { case 6199: return 15; case 4151: return 1500000; } return 0; } /* *Mage points handler -Remco */ public int getMageItemValue(int id) { switch (id) { case 6920: case 6922: case 6924: return 50; case 6889: return 150; case 6914: return 180; } return 0; } /* *Pk points handler -Remco */ public int getTokkulItemValue(int id) { switch (id) { //Start Weapon Shop case 6568: return 90000; case 6524: return 67500; case 6528: return 75000; case 6527: return 45000; case 6523: return 60000; case 6525: return 37500; case 6526: return 52500; case 6522: return 180; //Start Gem Shop case 1623: return 1000; case 1621: return 2000; case 1619: return 3000; case 1617: return 4000; case 1631: return 10000; case 6571: return 2000000; case 9194: return 800; } return 0; } /* *Vote points handler -Remco */ public int getVoteItemValue(int id) { switch (id) { case 6199: return 15; } return 0; } /* *Slayer points handler -Remco */ public int getSlayerItemValue(int id) { switch (id) { case 15243: return 1; case 11694: case 15241: case 15242: return 350; case 13263: return 400; case 15497: return 450; } return 0; } public int getSpecialItemValue(int id) { switch (id) { case 13883: case 13879: case 8845: return 5; case 2570: case 8846: case 15272: return 10; case 8847: case 6585: return 15; case 10499: case 8848: return 20; case 8849: case 8850: case 15328: return 25; case 11663: case 11664: case 11665: case 15332: case 8842: return 30; case 6570: case 7453: case 7454: case 7455: case 7456: case 7457: case 7458: case 7459: case 7460: case 7461: case 7462: return 35; case 8839: case 8840: return 40; case 10551: case 10531: case 10533: case 10534: case 12435: case 12434: case 14499: case 6916: case 6918: return 50; case 2581: case 10696: return 60; case 15610: case 15612: case 15616: case 15618: return 100; case 11728: return 120; case 13263: return 125; case 19785: case 19786: case 4151: return 150; case 11235: return 175; case 14641: case 14642: case 11696: return 200; case 11700: case 12675: case 12681: case 12679: case 14637: case 12677: case 12667: case 15608: case 15614: case 15620: case 19272: case 19275: case 19278: case 19281: case 19284: case 19287: case 19290: case 19293: case 19296: case 19299: case 19302: case 19305: case 13107: case 13109: case 13111: case 13113: case 13115: case 13860: case 13863: case 13866: case 13872: case 13875: case 13878: case 13877: case 13898: case 13897: case 13886: case 13892: case 13889: case 13895: case 13907: case 13869: case 13902: case 13905: case 13899: return 250; case 15441: case 15442: case 15443: case 15444: return 275; case 15051: return 300; case 11694: case 13904: case 13901: return 350; case 13870: case 13876: case 13858: case 13861: case 13864: case 13884: case 13890: case 13896: case 13887: case 13893: return 375; case 11730: return 450; case 11698: return 500; case 15602: return 600; case 15600: case 15604: return 700; case 15241: return 750; case 16951: return 1800; case 16955: return 2850; case 16953: return 2450; case 16403: return 2650; case 16401: return 2450; case 16399: return 2100; case 16909: return 2900; case 16907: return 2650; case 18335: return 1550; case 16711: case 17259: case 16667: return 3000; case 16709: case 17257: case 16665: return 2650; case 16707: case 17255: case 16663: return 2300; case 17361: return 2550; case 17359: return 2300; case 16905: case 17357: return 2450; case 16755: case 16865: case 17237: return 2550; case 17061: case 17193: case 17339: return 2400; case 15039: case 18349: case 18351: case 18353: case 18355: case 18357: return 2500; } return 0; } /* *Sell item to shop (Shop Price) */ public void sellToShopPrice(int removeId, int removeSlot) { for (int i : Config.ITEM_SELLABLE) { if (i == removeId) { c.sM("You can't sell "+c.getItems().getItemName(removeId).toLowerCase()+"."); return; } } boolean IsIn = false; if (Server.shopHandler.ShopSModifier[c.myShopId] > 1) { for (int j = 0; j <= Server.shopHandler.ShopItemsStandard[c.myShopId]; j++) { if (removeId == (Server.shopHandler.ShopItems[c.myShopId][j] - 1)) { IsIn = true; break; } } } else { IsIn = true; } if (IsIn == false) { c.sM("You can't sell "+c.getItems().getItemName(removeId).toLowerCase()+" to this store."); } else { int ShopValue = (int)Math.floor(getItemShopValue(removeId, 1, removeSlot)); String ShopAdd = ""; if (ShopValue >= 1000 && ShopValue < 1000000) { ShopAdd = " (" + (ShopValue*.75 / 1000) + "k)"; } else if (ShopValue >= 1000000) { ShopAdd = " (" + (ShopValue*.75 / 1000000) + " million)"; } else if (ShopValue >= 1000000000) { ShopAdd = " (" + (ShopValue*.75 / 1000000000) + " billion)"; } c.sM(c.getItems().getItemName(removeId)+": shop will buy for <col=255>"+ShopValue+"</col> coins"+ShopAdd); } } public boolean sellItem(int itemID, int fromSlot, int amount) { if (c.myShopId == 30 || c.myShopId == 31 || c.myShopId == 32) { c.sM("You can't sell "+c.getItems().getItemName(itemID).toLowerCase()+" to this store."); return false; } if(c.inTrade) { c.sM("You cant sell items to the shop while your in trade!"); return false; } if (c.myShopId == 14) return false; for (int i : Config.ITEM_SELLABLE) { if (i == itemID) { c.sM("You can't sell "+c.getItems().getItemName(itemID).toLowerCase()+"."); return false; } } if (amount > 0 && itemID == (c.playerItems[fromSlot] - 1)) { if (Server.shopHandler.ShopSModifier[c.myShopId] > 1) { boolean IsIn = false; for (int i = 0; i <= Server.shopHandler.ShopItemsStandard[c.myShopId]; i++) { if (itemID == (Server.shopHandler.ShopItems[c.myShopId][i] - 1)) { IsIn = true; break; } } if (IsIn == false) { c.sM("You can't sell "+c.getItems().getItemName(itemID).toLowerCase()+" to this store."); return false; } } if (amount > c.playerItemsN[fromSlot] && (Item.itemIsNote[(c.playerItems[fromSlot] - 1)] == true || Item.itemStackable[(c.playerItems[fromSlot] - 1)] == true)) { amount = c.playerItemsN[fromSlot]; } else if (amount > c.getItems().getItemAmount(itemID) && Item.itemIsNote[(c.playerItems[fromSlot] - 1)] == false && Item.itemStackable[(c.playerItems[fromSlot] - 1)] == false) { amount = c.getItems().getItemAmount(itemID); } //double ShopValue; //double TotPrice; //int Overstock; int TotPrice2 = 0; for (int i = amount; i > 0; i--) { TotPrice2 = (int)(Math.floor(getItemShopValue(itemID, 1, fromSlot))*.75); if (c.getItems().freeSlots() > 0 || c.getItems().playerHasItem(995)) { if (Item.itemIsNote[itemID] == false) { c.getItems().deleteItem(itemID, c.getItems().getItemSlot(itemID), 1); } else { c.getItems().deleteItem(itemID, fromSlot, 1); } c.getItems().addItem(995, TotPrice2); addShopItem(itemID, 1); } else { c.sM("You don't have enough space in your inventory."); break; } } c.getItems().resetItems(3823); resetShop(c.myShopId); updatePlayerShop(); return true; } return true; } public boolean addShopItem(int itemID, int amount) { boolean Added = false; if (amount <= 0) { return false; } if (Item.itemIsNote[itemID] == true) { itemID = c.getItems().getUnnotedItem(itemID); } for (int i = 0; i < Server.shopHandler.ShopItems.length; i++) { if ((Server.shopHandler.ShopItems[c.myShopId][i] - 1) == itemID) { Server.shopHandler.ShopItemsN[c.myShopId][i] += amount; Added = true; } } if (Added == false) { for (int i = 0; i < Server.shopHandler.ShopItems.length; i++) { if (Server.shopHandler.ShopItems[c.myShopId][i] == 0) { Server.shopHandler.ShopItems[c.myShopId][i] = (itemID + 1); Server.shopHandler.ShopItemsN[c.myShopId][i] = amount; Server.shopHandler.ShopItemsDelay[c.myShopId][i] = 0; break; } } } return true; } public long buyDelay; public boolean buyItem(int itemID, int fromSlot, int amount) { if(System.currentTimeMillis() - buyDelay < 900) {//Change the buy Delay here - Standard is: 1500 return false; } if (c.myShopId == 14) { skillBuy(itemID); return false; } else if (c.myShopId == 15) { buyVoid(itemID); return false; } else if (c.myShopId == 1) { buyVoid(itemID); return false; } if(itemID != itemID) { c.sM("Don't dupe or you will be IP Banned"); return false; } if(!shopSellsItem(itemID)) return false; if (amount > 0) { if (amount > Server.shopHandler.ShopItemsN[c.myShopId][fromSlot]) { amount = Server.shopHandler.ShopItemsN[c.myShopId][fromSlot]; } //double ShopValue; //double TotPrice; //int Overstock; int TotPrice2 = 0; int Slot = 0; int Slot1 = 0;//Tokkul int Slot2 = 0;//Pking Points int Slot3 = 0;//Donator Gold if (c.myShopId == 18) { handleOtherShop(itemID); return false; } if (c.myShopId == 73) { handleOtherShop(itemID); return false; } if (c.myShopId == 74) { handleOtherShop(itemID); return false; } if (c.myShopId == 48) { handleOtherShop(itemID); return false; } if (c.myShopId == 84) { handleOtherShop(itemID); return false; } if (c.myShopId == 85) { handleOtherShop(itemID); return false; } if (c.myShopId == 26) { handleOtherShop(itemID); return false; } if (c.myShopId == 27) { handleOtherShop(itemID); return false; } if (c.myShopId == 28 || c.myShopId == 29) { handleOtherShop(itemID); return false; } if (c.myShopId == 30 || c.myShopId == 31 || c.myShopId == 32){ handleOtherShop(itemID); return false; } for (int i = amount; i > 0; i--) { TotPrice2 = (int)Math.floor(getItemShopValue(itemID, 0, fromSlot)); Slot = c.getItems().getItemSlot(995); Slot1 = c.getItems().getItemSlot(6529); Slot3 = c.getItems().getItemSlot(5555); if (Slot == -1 && c.myShopId != 11 && c.myShopId != 29 && c.myShopId != 30 && c.myShopId != 31 && c.myShopId != 47) { c.sM("You don't have enough coins."); break; } if(Slot1 == -1 && c.myShopId == 30 || c.myShopId == 31 || c.myShopId == 32) { c.sM("You don't have enough tokkul."); break; } if(Slot3 == -1 && c.myShopId == 11) { c.sM("You don't have enough donator gold."); break; } if(TotPrice2 <= 1) { TotPrice2 = (int)Math.floor(getItemShopValue(itemID, 0, fromSlot)); TotPrice2 *= 1.66; } if(c.myShopId == 30 || c.myShopId == 31 || c.myShopId == 32) { if (c.playerItemsN[Slot1] >= TotPrice2) { if (c.getItems().freeSlots() > 0) { buyDelay = System.currentTimeMillis(); c.getItems().deleteItem(6529, c.getItems().getItemSlot(6529), TotPrice2); c.getItems().addItem(itemID, 1); Server.shopHandler.ShopItemsN[c.myShopId][fromSlot] -= 1; Server.shopHandler.ShopItemsDelay[c.myShopId][fromSlot] = 0; if ((fromSlot + 1) > Server.shopHandler.ShopItemsStandard[c.myShopId]) { Server.shopHandler.ShopItems[c.myShopId][fromSlot] = 0; } } else { c.sM("You don't have enough space in your inventory."); break; } } else { c.sM("You don't have enough tokkul."); break; } } else if(c.myShopId == 47) { if (c.pkPoints >= TotPrice2) { if (c.getItems().freeSlots() > 0) { buyDelay = System.currentTimeMillis(); c.pkPoints -= TotPrice2; c.getItems().addItem(itemID, 1); Server.shopHandler.ShopItemsN[c.myShopId][fromSlot] -= 1; Server.shopHandler.ShopItemsDelay[c.myShopId][fromSlot] = 0; if ((fromSlot + 1) > Server.shopHandler.ShopItemsStandard[c.myShopId]) { Server.shopHandler.ShopItems[c.myShopId][fromSlot] = 0; } } else { c.sM("You don't have enough space in your inventory."); break; } } else { c.sM("You don't have enough KronikX Points."); break; } } else if(c.myShopId == 48) { if (c.SPoints >= TotPrice2) { if (c.getItems().freeSlots() > 0) { buyDelay = System.currentTimeMillis(); c.SPoints -= TotPrice2; c.getItems().addItem(itemID, 1); Server.shopHandler.ShopItemsN[c.myShopId][fromSlot] -= 1; Server.shopHandler.ShopItemsDelay[c.myShopId][fromSlot] = 0; if ((fromSlot + 1) > Server.shopHandler.ShopItemsStandard[c.myShopId]) { Server.shopHandler.ShopItems[c.myShopId][fromSlot] = 0; } } else { c.sM("You don't have enough space in your inventory."); break; } } else { c.sM("You don't have enough Slayer Points."); break; } } else if(c.myShopId == 84) { if (c.dungPoints >= TotPrice2) { if (c.getItems().freeSlots() > 0) { buyDelay = System.currentTimeMillis(); c.dungPoints -= TotPrice2; c.getItems().addItem(itemID, 1); Server.shopHandler.ShopItemsN[c.myShopId][fromSlot] -= 1; Server.shopHandler.ShopItemsDelay[c.myShopId][fromSlot] = 0; if ((fromSlot + 1) > Server.shopHandler.ShopItemsStandard[c.myShopId]) { Server.shopHandler.ShopItems[c.myShopId][fromSlot] = 0; } } else { c.sM("You don't have enough space in your inventory."); break; } } else { c.sM("You don't have enough Dungeoneering Points."); break; } } else if(c.myShopId == 85) { if (c.dungPoints >= TotPrice2) { if (c.getItems().freeSlots() > 0) { buyDelay = System.currentTimeMillis(); c.dungPoints -= TotPrice2; c.getItems().addItem(itemID, 1); Server.shopHandler.ShopItemsN[c.myShopId][fromSlot] -= 1; Server.shopHandler.ShopItemsDelay[c.myShopId][fromSlot] = 0; if ((fromSlot + 1) > Server.shopHandler.ShopItemsStandard[c.myShopId]) { Server.shopHandler.ShopItems[c.myShopId][fromSlot] = 0; } } else { c.sM("You don't have enough space in your inventory."); break; } } else { c.sM("You don't have enough Dungeoneering Points."); break; } } else if(c.myShopId == 30 || c.myShopId == 31 || c.myShopId == 32) { if (c.getItems().playerHasItem(6529, TotPrice2)) { if (c.getItems().freeSlots() > 0) { buyDelay = System.currentTimeMillis(); c.getItems().deleteItem(6529, TotPrice2); c.getItems().addItem(itemID, 1); Server.shopHandler.ShopItemsN[c.myShopId][fromSlot] -= 1; Server.shopHandler.ShopItemsDelay[c.myShopId][fromSlot] = 0; if ((fromSlot + 1) > Server.shopHandler.ShopItemsStandard[c.myShopId]) { Server.shopHandler.ShopItems[c.myShopId][fromSlot] = 0; } } else { c.sM("You don't have enough space in your inventory."); break; } } else { c.sM("You don't have enough Tokkuls."); break; } } else if(c.myShopId == 26) { if (c.donatorPoints >= TotPrice2) { if (c.getItems().freeSlots() > 0) { buyDelay = System.currentTimeMillis(); c.donatorPoints -= TotPrice2; c.getItems().addItem(itemID, 1); Server.shopHandler.ShopItemsN[c.myShopId][fromSlot] -= 1; Server.shopHandler.ShopItemsDelay[c.myShopId][fromSlot] = 0; if ((fromSlot + 1) > Server.shopHandler.ShopItemsStandard[c.myShopId]) { Server.shopHandler.ShopItems[c.myShopId][fromSlot] = 0; } } else { c.sM("You don't have enough space in your inventory."); break; } } else { c.sM("You don't have enough Donator Points."); break; } } else if(c.myShopId == 27) { if (c.votePoints >= TotPrice2) { if (c.getItems().freeSlots() > 0) { buyDelay = System.currentTimeMillis(); c.votePoints -= TotPrice2; c.getItems().addItem(itemID, 1); Server.shopHandler.ShopItemsN[c.myShopId][fromSlot] -= 1; Server.shopHandler.ShopItemsDelay[c.myShopId][fromSlot] = 0; if ((fromSlot + 1) > Server.shopHandler.ShopItemsStandard[c.myShopId]) { Server.shopHandler.ShopItems[c.myShopId][fromSlot] = 0; } } else { c.sM("You don't have enough space in your inventory."); break; } } else { c.sM("You don't have enough Voting Points."); break; } } else if(c.myShopId == 28 || c.myShopId == 29) { if (c.pkPoints >= TotPrice2) { if (c.getItems().freeSlots() > 0) { buyDelay = System.currentTimeMillis(); c.pkPoints -= TotPrice2; c.getItems().addItem(itemID, 1); Server.shopHandler.ShopItemsN[c.myShopId][fromSlot] -= 1; Server.shopHandler.ShopItemsDelay[c.myShopId][fromSlot] = 0; if ((fromSlot + 1) > Server.shopHandler.ShopItemsStandard[c.myShopId]) { Server.shopHandler.ShopItems[c.myShopId][fromSlot] = 0; } } else { c.sM("You don't have enough space in your inventory."); break; } } else { c.sM("You don't have enough Voting Points."); break; } } else if(c.myShopId == 18) { if (c.pcPoints >= TotPrice2) { if (c.getItems().freeSlots() > 0) { buyDelay = System.currentTimeMillis(); c.pcPoints -= TotPrice2; c.getItems().addItem(itemID, 1); Server.shopHandler.ShopItemsN[c.myShopId][fromSlot] -= 1; Server.shopHandler.ShopItemsDelay[c.myShopId][fromSlot] = 0; if ((fromSlot + 1) > Server.shopHandler.ShopItemsStandard[c.myShopId]) { Server.shopHandler.ShopItems[c.myShopId][fromSlot] = 0; } } else { c.sM("You don't have enough space in your inventory."); break; } } else { c.sM("You don't have enough Pest Points."); break; } } else if(c.myShopId == 11) { if (c.playerItemsN[Slot3] >= TotPrice2) { if (c.getItems().freeSlots() > 0) { buyDelay = System.currentTimeMillis(); c.getItems().deleteItem(5555, c.getItems().getItemSlot(5555), TotPrice2); c.getItems().addItem(itemID, 1); Server.shopHandler.ShopItemsN[c.myShopId][fromSlot] -= 1; Server.shopHandler.ShopItemsDelay[c.myShopId][fromSlot] = 0; if ((fromSlot + 1) > Server.shopHandler.ShopItemsStandard[c.myShopId]) { Server.shopHandler.ShopItems[c.myShopId][fromSlot] = 0; } } else { c.sM("You don't have enough space in your inventory."); break; } } else { c.sM("You don't have enough donator gold."); break; } } else if(c.myShopId != 11 && c.myShopId != 29 || c.myShopId != 30 || c.myShopId != 31 || c.myShopId != 47) { if (c.playerItemsN[Slot] >= TotPrice2) { if (c.getItems().freeSlots() > 0) { buyDelay = System.currentTimeMillis(); c.getItems().deleteItem(995, c.getItems().getItemSlot(995), TotPrice2); c.getItems().addItem(itemID, 1); Server.shopHandler.ShopItemsN[c.myShopId][fromSlot] -= 1; Server.shopHandler.ShopItemsDelay[c.myShopId][fromSlot] = 0; if ((fromSlot + 1) > Server.shopHandler.ShopItemsStandard[c.myShopId]) { Server.shopHandler.ShopItems[c.myShopId][fromSlot] = 0; } } else { c.sM("You don't have enough space in your inventory."); break; } } else { c.sM("You don't have enough coins."); break; } } } c.getItems().resetItems(3823); resetShop(c.myShopId); updatePlayerShop(); return true; } return false; } public void handleOtherShop(int itemID) { if (c.myShopId == 17) { if (c.magePoints >= getSpecialItemValue(itemID)) { if (c.getItems().freeSlots() > 0){ c.magePoints -= getSpecialItemValue(itemID); c.getItems().addItem(itemID,1); c.getItems().resetItems(3823); } } else { c.sM("You do not have enough points to buy this item."); } } else if (c.myShopId == 18) { if (c.pcPoints >= getMageItemValue(itemID)) { if (c.getItems().freeSlots() > 0){ c.pcPoints -= getMageItemValue(itemID); c.getItems().addItem(itemID,1); c.getItems().resetItems(3823); } } else { c.sM("You do not have enough points to buy this item."); } } if (c.myShopId == 73 || c.myShopId == 74 || c.myShopId == 28 || c.myShopId == 29) { if (c.pkPoints >= getSpecialItemValue(itemID)) { if (c.getItems().freeSlots() > 0){ c.pkPoints -= getPkItemValue(itemID); c.getItems().addItem(itemID,1); c.getItems().resetItems(3823); } } else { c.sM("You do not have enough KronikX points to buy this item."); } } if (c.myShopId == 48) { if (c.SPoints >= getSlayerItemValue(itemID)) { if (c.getItems().freeSlots() > 0){ c.SPoints -= getSlayerItemValue(itemID); c.getItems().addItem(itemID,1); c.getItems().resetItems(3823); } } else { c.sM("You do not have enough Slayer Points to buy this item."); } } if (c.myShopId == 84 || c.myShopId == 85) { if (c.dungPoints >= getSpecialItemValue(itemID)) { if (c.getItems().freeSlots() > 0){ c.dungPoints -= getSpecialItemValue(itemID); c.getItems().addItem(itemID,1); c.getItems().resetItems(3823); } } else { c.sM("You do not have enough Dungeoneering Points to buy this item."); } } if (c.myShopId == 30 || c.myShopId == 31 || c.myShopId == 32) { if (c.getItems().playerHasItem(6529, getTokkulItemValue(itemID))) { if (c.getItems().freeSlots() > 0){ c.getItems().deleteItem(6529, getTokkulItemValue(itemID)); c.getItems().addItem(itemID,1); c.getItems().resetItems(3823); } } else { c.sM("You do not have enough Tokkuls to buy this item."); } } } public void openSkillCape() { int capes = get99Count(); if (capes > 1) capes = 1; else capes = 0; c.myShopId = 14; setupSkillCapes(capes, get99Count()); } /*public int[][] skillCapes = {{0,9747,4319,2679},{1,2683,4329,2685},{2,2680,4359,2682},{3,2701,4341,2703},{4,2686,4351,2688},{5,2689,4347,2691},{6,2692,4343,2691}, {7,2737,4325,2733},{8,2734,4353,2736},{9,2716,4337,2718},{10,2728,4335,2730},{11,2695,4321,2697},{12,2713,4327,2715},{13,2725,4357,2727}, {14,2722,4345,2724},{15,2707,4339,2709},{16,2704,4317,2706},{17,2710,4361,2712},{18,2719,4355,2721},{19,2737,4331,2739},{20,2698,4333,2700}};*/ public int[] skillCapes = {9747,9753,9750,9768,9756,9759,9762,9801,9807,9783,9798,9804,9780,9795,9792,9774,9771,9777,9786,9810,9765,9948,12169,18509}; public int get99Count() { int count = 0; for (int j = 0; j < c.playerLevel.length; j++) { if (c.getLevelForXP(c.playerXP[j]) >= 99) { count++; } } return count; } public void setupSkillCapes(int capes, int capes2) { synchronized(c) { c.getItems().resetItems(3823); c.isShopping = true; c.myShopId = 14; c.getPA().sendFrame248(3824, 3822); c.getPA().sendFrame126("Skillcape Shop", 3901); int TotalItems = 0; TotalItems = capes2; if (TotalItems > Server.shopHandler.MaxShopItems) { TotalItems = Server.shopHandler.MaxShopItems; } c.getOutStream().createFrameVarSizeWord(53); c.getOutStream().writeWord(3900); c.getOutStream().writeWord(TotalItems); int TotalCount = 0; for (int i = 0; i < 22; i++) { if (c.getLevelForXP(c.playerXP[i]) < 99) continue; c.getOutStream().writeByte(1); c.getOutStream().writeWordBigEndianA(skillCapes[i] + 2); TotalCount++; } c.getOutStream().endFrameVarSizeWord(); c.flushOutStream(); } } public void skillBuy(int item) { int nn = get99Count(); if (nn > 1) nn = 1; else nn = 0; for (int j = 0; j < skillCapes.length; j++) { if (skillCapes[j] == item || skillCapes[j]+1 == item) { if (c.getItems().freeSlots() > 1) { if (c.getItems().playerHasItem(995,99000)) { if (c.getLevelForXP(c.playerXP[j]) >= 99) { c.getItems().deleteItem(995, c.getItems().getItemSlot(995), 99000); c.getItems().addItem(skillCapes[j] + nn,1); c.getItems().addItem(skillCapes[j] + 2,1); } else { c.sM("You must have 99 in the skill of the cape you're trying to buy."); } } else { c.sM("You need 99k to buy this item."); } } else { c.sM("You must have at least 1 inventory spaces to buy this item."); } } /*if (skillCapes[j][1 + nn] == item) { if (c.getItems().freeSlots() >= 1) { if (c.getItems().playerHasItem(995,99000)) { if (c.getLevelForXP(c.playerXP[j]) >= 99) { c.getItems().deleteItem(995, c.getItems().getItemSlot(995), 99000); c.getItems().addItem(skillCapes[j] + nn,1); c.getItems().addItem(skillCapes[j] + 2,1); } else { c.sM("You must have 99 in the skill of the cape you're trying to buy."); } } else { c.sM("You need 99k to buy this item."); } } else { c.sM("You must have at least 1 inventory spaces to buy this item."); } break; }*/ } c.getItems().resetItems(3823); } public void openVoid() { /*synchronized(c) { c.getItems().resetItems(3823); c.isShopping = true; c.myShopId = 15; c.getPA().sendFrame248(3824, 3822); c.getPA().sendFrame126("Void Recovery", 3901); int TotalItems = 5; c.getOutStream().createFrameVarSizeWord(53); c.getOutStream().writeWord(3900); c.getOutStream().writeWord(TotalItems); for (int i = 0; i < c.voidStatus.length; i++) { c.getOutStream().writeByte(c.voidStatus[i]); c.getOutStream().writeWordBigEndianA(2519 + i * 2); } c.getOutStream().endFrameVarSizeWord(); c.flushOutStream(); }*/ } public void buyVoid(int item) { /*if (item > 2527 || item < 2518) return; //c.sM("" + item); if (c.voidStatus[(item-2518)/2] > 0) { if (c.getItems().freeSlots() >= 1) { if (c.getItems().playerHasItem(995,c.getItems().getUntradePrice(item))) { c.voidStatus[(item-2518)/2]--; c.getItems().deleteItem(995,c.getItems().getItemSlot(995), c.getItems().getUntradePrice(item)); c.getItems().addItem(item,1); openVoid(); } else { c.sM("This item costs " + c.getItems().getUntradePrice(item) + " coins to rebuy."); } } else { c.sM("I should have a free inventory space."); } } else { c.sM("I don't need to recover this item from the void knights."); }*/ } } [/code]
  24. Hello! I am getting an error in game and don't know what this means , or how to fix it.. [url]http://imgur.com/FHtxcPF[/url] If you could help that would be amazing! Also somebody is nulled on my rsps! How do I unull!?!?!? [url]http://imgur.com/gF2ajCr[/url] Thank you if you could help!
  25. xbox one

    need help asap

    im back again :P i need help with my server my friends can log in but the client just logs them straight back out again so how do i fix this and this is the error ti-error 123,0--what could this be
×