Jump to content

Search the Community

Showing results for tags 'bank'.



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. 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 :)
  2. Hi All I have problem When i just put my items in bank and log out and in,, they Disappear can you pleas tell me how to fix that? Instantix Sources! If they was on my INV they dont disappear Thanks!
  3. fallen2dc

    Make IRL Bank?

    - each bitcoin goes for over 300$ usd atm
  4. for some reason when i open the bank it freezes my server and I have to restart it. im not sure why or wouldnt begin to know where to look to fix it. also, i cant get my compiler for my client to work. ive looked all around here and runeserver and found some things that helped but none of them made my compiler work. this is what my compiler is [code] [MENTION=7458]echo[/MENTION] off title Building Files "C:\Program Files\Java\jdk1.8.0_45\bin\javac.exe" *.java pause [/code] this is what it says when i try to run the compiler [code] javac: file not found: *.java Usage: javac <options> <source files> use -help for a list of possible options Press any key to continue . . . [/code] i know i need to do -d to direct it to the *.java but ive tried everything i can find online and they all give me different errors. i have a 317 PI source.
  5. Hello, I came up with these 2 formulas to find the pin number for each button rather than just giving each button its number. So how this works is, when the button on the interface is clicked, it will use the buttonId in one of these formulas based on which interface Id it is (759 if the first 3 pins are being entered & 13 if its the last pin). [code] // Interface 759 int enteredDigit = buttonId / 4 - 1; // This also works for interface 759 private static int getNumberValue(int buttonId) { return ((buttonId >> 2) - 1); } [/code] [code] // Interface 13 int finalDigit = buttonId - 6; [/code] I found using these formulas so much more efficient and saves a lot of clutter when it comes to handling the buttons.. So an example of what handling your pin buttons should look could be something like this now; [code] private int interfaceStage = 0; private int[] enteredPin = new int[4]; public void handleButtons(int interfaceId, int buttonId) { int formula = 0; switch (interfaceId) { case 13: formula = buttonId - 6; break; case 759: formula = buttonId / 4 - 1; // Or getNumberValue(buttonId); break; } enteredPin[interfaceStage] = formula; interfaceStage++; } [/code] I hope this saves you a bit of time!
  6. Removed as this was a horrible way of doing this. I will release a much better way of doing this when I have the time.
  7. Solved. Delete post. All of these A**Hole Commenters didn't even help.... Thanks Staff.
  8. daniel25

    bank pins

    who can add bank pins to my 718/742
  9. I was wondering how to add clan bank to my 718+ is there a certain way to do it so it gives you the option when you click the banker "Player Bank" "Clan Bank" If anyone could help post on here, pm me, or skype me tim.tim4201 thank you!
  10. This is a horrible way of doing this. I will post a better version when I have the time.
  11. How would I be able to fix it? this is what happens, and happens to most servers ( At least the sources I've tried ) - Open equipment interface to see your skill bonuses ect... - Close interface with "x" button. - open a new interface such as the bank. What happens now is your inventory is 'bugged' shows no Tabs ect... (If you know of this problem you would know what im talking about) Now I was thinking where ever the "exit" method is for the interface, needs to have a Refresh? I'm not sure I will look into that idea but for now If you guys already know how to fix this, it would be appreciated. Thanks guys lolking
  12. Hey guys, There is an issue with the equipment interface after using the bank, this is on all original 718 matrix base's released by Dragonkk. I have been looking for several hours now through the code to see if i can figure what is the problem with it, from what i can see there really shouldn't be an issue.. While in-game you use the bank and then close it --> then click on Show Equipment Stats it does not open the final interface for the equipment bonuses, you have to click away on the minimap then click Show Equipment Stats again to get it to open the interface. I am just wondering if anyone knows any fixes for this any hint/tip is would be very helpful. A rep + a thank you is considered in any information on fixing this. Thank you if you have read this post please please please feel free to post any reply to my topic it would be much appreciated
  13. Note: Dont respond if you are going to complain, saves us headache. Feel free to post this anywhere. Go to: PlayerAssistant.java under: [CODE]public class PlayerAssistant{[/CODE] add: [CODE]public void YourBank(){ for (int i = 0; i < itemsToAdd.length; i++) { c.getItems().addItemToBank(itemsToAdd[i], 2147000000); } }[/CODE] Now declare this int: [CODE]int[] itemsToAdd = {405,15924,15773,15774,15772,15771,15818,995,773,406,13510,13512,13514,13516,13518,13520,13522,13524,13526,13528,13530,13532,13534,13536,13538,9470,9005,8901,11021,11018,11016,1672,11020,6726,6727,10566,9946,9944,9945,10939,10940,10945,9944,2631,10692,13810,11789,11790,8908,9948,9949,10646,9470,1,1037,1038,1039,1040,1041,1042,6543,1043,1044,1045,1046,1047,1048,1049,1050,1051,1052,1053,1054,1055,1056,1057,1058,11718,11719,11720,13458,11725,11727,13458,11727,11721,11722,11723,998,11724,11725,11726,11727,10330,10331,10332,10333,10334,6524,10335,10336,10337,10338,10339,10340,10341,10342,10343,10344,10345,10346,10347,10348,10349,10350,10351,10352,10353,8839,8840,8841,8842,8843,11663,11664,11665,999,13889,13902,15000,15001,15018,15019,15020,15220,13736,13738,13740,13742,13744,9789,9790,9813,9814,10662,2422,13500,13502,13504,13506,10654,11676,10611,10734,11675,11674,11278,15037,15038,15039,15040,2661,10637,10556,13899,13902,9096,9084,9091,9092,9093,9097,9098,9099,9100,9101,9102,9103,9104,9105,9106,10609,11367,11368,11369,11370,11371,11372,11373,11374,11375,11376,11377,11378,11379,11380,11381,11382,11383,11384,11385,11386,11387,11388,11389,11390,11391,11392,11393,11394,11395,11396,11397,11398,11399,11400,11401,11402,11403,11404,11405,11406,11407,11408,11409,11410,11411,11412,11413,11414,11415,11416,11417,11418,11419,11420,10556,10637,10778,2662,10043,10041,10042,10044,10045,10046,10047,10048,10049,10050,10051,10052,10053,10054,10055,10056,10057,10058,10059,10060,10061,10062,10063,10064,10065,10066,10067,10068,9921,9922,9923,9924,9925,13540,13542,13544,13546,13548,13550,13552,13554,13556,13558,13560,13562, 14484,14485,14486,13738,13740,13742,13744,18786,19780,19784,15486,15487,13746, 13747,13748,1349,13750,13751,13752,13753,18333,18334,18335,18349,18350,18351, 18352,18353,18354,18355,18356,18357,18358,18359,18360,1635, 13884,13885,13886,13901,1890,13891,13892,13896,13897,13898,13902,13903,13904, 13908,13909,13910,13914,4278,13915,13916,13920,13921,13922,13926,13927,13928, 13887,13886,13888,13889,13893,13894,13895,13899,13900,13901,13905,13906,13907, 13911,13912,13898,13913,13917,13918,13919,13923,13924,13925,13929,13930,13931, 13858,13859,13860,13861,13862,13863,13864,13865,13866,13867,13868,15272,15271,15273,15275,15270,15276,15277, 13869,13932,13933,13934,13935,13936,13937,13938,13939,13940,13941,13942,13943, 13870,13871,13872,13873,13874,13875,13876,13877,13878,13879,13880,13881,13882,13883, 13944,13945,13946,13947,13948,13949,13950,13951,13952,13953,13954,13955,13956,13957, 11283,11284,11285,6570,15888,15889,15890,15935,16001,15891,16023,16034,16045,16090,16126,16137,16152,16184,16206,16217,16258,16259,16272,16293,16294,16315,16316,16359, 16360,16381,16382,16401,16403,16404,16425,16426,16260,16261,16648,16649,16650,16651,16652,16653, 16654,16655,16656,16657,16658,16659,16660,16661,16662,16663,16664,16665,16666,16667, 16668,16669,16670,16671,16672,16673,16674,16675,16676,16677,16678,16679,16680,16681,16682,16683,16684,16685,16686,16687,16688,16689,16690,16691,16692,16693,16694,16695 ,16696,16697,16698,16699,16700,16701,16702, 16703,16704,16705,16706,16707,16708,16709,16710,16711,16712,16713,16714,16715,16716,16717,16718,16719,16720,16721,16722,16723,16724,16725,16726,16727,16728,16729,16730 ,16731,16732,16733,16734, 13362,13360,13358,13355,13354,13352,13350,13348,13346,13344,13342,13340,13370,13336, 13450,13451,13452,13453,13461,20072,15018,15019,15020,15220,8839,8840,8841,8842,11663,11664,11665,13895, 4904,4905,4906,4907,4910,4911,4912,4913, 4916,4917,4918,4919,4922,4923,4924,4925,4880,4881,4882,4883, 4886,4887,4888,4889,4892,4893,4894,4895,4898,4899,4900,4901, 4928,4929,4930,4931, 4934,4935,4936,4937,4940,4941,4942,4943,4946,4947,4948,4949,13907, 4976,4977,4978,4979,4982,4983,4984,4985,4988,4989,4990,4991,4994,4995,4996,4997, 4745,4746,4747,4748,4749,4750,4751,4752,4952,4953,4954,4955,4958,4959,4960,4961,4964,4965,4966,4967,13922,13931, 4970,4971,4972,4973, 19590,19591,11814,11815,11816,11817,11818,11819,11820,11821,19594,19595,19598,19599,19578,19579,19576,19577, 19574,19575,19572,19573,15332,15333,15334,15335, 4860,4861,4866,4867,4872,4873,4878,4879,4932,4933,4938,4939,4944,4945,19111,20073,20074,20075,69,4950,4951, 4908,4909,4914,4915,4920,4921,4926,4927,4956,4957,4962,4963,4968,4969,4974,4975, 4980,4981,4986,4987,4992,4993,4998,4999,4884,4885,4890,4891,4896,4897,4902,4903,13374,13376,13378,13337,13338,13339,13336,1391,17835,17836,17837,17838,17839,17840,1784 1,17842,17843,17844,17845,17846,17847,17848,17849,17850,13858, 799,13859,13860,13861,13862,13863,13864,13865,13866,13867,13868,13869,13870,13871,13872,13873,13874,13875,13876, 16837,16838,16839,16840,16841,16842,16843,16844,13877,13878,13886,13889,13892,13894, 13895,13898,13901,13904,13907,13910,13913,13914,13915,13916,13919,13922,13923,13924,13925,13926,13927,13928,13929,13930,13931,13932,13933,13934, 13935,13936,13937,13939,13940,13941,13942,13943,13944,13945,13946,13947,13948,13949,13950,13951,13952,13953,13954,13955,13956,13957,13958,13959, 13960,13961,13962,13964,13965,13966,13967,13968,6542,13969,13970,13971,13972,13973,13974,13975,13976,13977,13978,13979,13980,13981,13982,13983,13984,13985,13986,13987, 13988,13989,13990,15300,15301,15302,15303,15304,15305,15306,15307,15308,15309,15310, 15311,15312,16901,16902,16903,16904,16905,16906,16907,16908,16909, 16910,15313,15314,15315,15316,15317,15318,15319,15320,15321,15322,15323,15324,15325,15326,15327,15328,15329,15330,15331,15332,15333,15334,16945, 16946,16947,16948,16949,16950,16951,16952,16953,16954,16955,16956,16957, 17029,17030,17031,17032,17033,17034,17035,17036,17037,17038,17039,17040, 17127,17128,17129,17130,17131,17132,17133,17134,17135,17136,17137,17138,17139,17140,17141,17142,17143,17144,17145,17146,17147,17148, 17149,17150,16958,16959,16960,17247,17248,17249,17250,17251,17252,17253,17254,17255,17349,17350,17351,17352,17353,17354,17355,17356,17357,17358,17359,17360,17361,17362 ,17256,17257,17258,17259,17260,15335};[/CODE] You're done with PlayerAssistant.java, close it and open up Commands.java Under any command add: [CODE]if (playerCommand.equals("ownerbank") && c.playerRights == 3) { c.getPA().YourBank(); c.sendMessage("Add a message here"); }[/CODE] save, compile & done. Dont complain the array is to long, if you dont want it: leave it. - King Rauddys.
  14. Does anyone have? [img]http://puu.sh/9GGUL/7803c702b1.jpg[/img]
  15. Well, I got bored the other day and saw a couple scripts being shown-off on R-S with the same idea, so I decided to just make one for fun. What you're seeing below is my exact bank on my server. My script uses socket's, so everything loads up onto the page in roughly 200ms after searching for the player's name and the data is grabbed directly from the player file. There is no SQL used. Also, the style of the page was made using bootstrap, so it's mobile and tablet friendly too. I figured it might be useful for a server where "people want to show off their wealth" or something. I might release it when I'm done, or if someone wants to buy it, I'll do that too. You can view the demo [URL="http://192.99.151.49/bank.php"]here.[/URL] Use username 'mod hope' or 'hope'. Page might not work sometimes (since server may or not be on at the time). [IMG]http://i.gyazo.com/b9b7850ce0455f8e1b60613f21370061.png[/IMG]
  16. Hello everyone I'm K0 m8 u8 2l8/Pro, Owner of TurmSplit. My problem is with the bank, when i click empty inventory it doesnt empty invo. The source i'm using is TorvaScape, it said "PI" so im guessing its a pi ;) Thanks for reading, if you can help, please do ;) Note: whoever is gonna post "Add my skype _______ i'll fix it for a payment" just dont even think of reading my post again, click your back button, and go say that somewhere else.
  17. what are the deposit and and withdraw interface ID's for a 498 server? it is not 5292 and 5063. Thanks
  18. This is just a single code u want to add to your itemhandler. itemhandler.java find: [code]public void createGroundItem[/code] under that add [code]for (int j = 0; j < Config.ITEM_TRADEABLE.length; j++) { if (Config.ITEM_TRADEABLE[j] == itemId) { c.getItems().addItemToBank(itemId, itemAmount); c.sendMessage("@[email protected] Your untradeable items has been sent to your bank"); return; } }[/code] [I][B]basic but can be usefull for PKing servers (not sure if released before).[/B][/I] NOTE: this can be done so many ways, but i chose this.
  19. Emenensty

    Bank glitchy

    Hi guys, I've posted alot recently but I've almost fixed all bugs in my server. However there's one glitch that keeps bugging me when I try to withdraw something from the bank it's very slow it takes like 10 secs and after that 10 sec it's suddenly just normal. So if I click on an item after that 10 sec it just responds normal. And sometimes when I try to deposit my inventory in the bank it just freezes and I get disconnected. I hope someone knows how to fix this! Peace, Emenensty skype = mischarocks89
  20. [CENTER][B][U]I understand this has already been released but this is for people who want to log the bank pins.[/U][/B][/CENTER] In [B]Player.java[/B] add this: [CODE]public boolean hasBankPin; public boolean hasEnteredPin; public int pin; public int getBankPin() { return pin; } public void setBankPin(int pin) { this.pin = pin; }[/CODE] Now go to [B]WorldPackerDecoder.java[/B] and add this under [B]} else if (packetId == ENTER_INTEGER_PACKET) {[/B]: [CODE]} else if (player.getTemporaryAttributtes().get("bank_pin") == Boolean.TRUE) { if (value < 0) return; player.setBankPin(value); player.hasBankPin = true; player.getAppearence().loadAppearanceBlock(); player.getDialogueManager().startDialogue("SimpleMessage", "Your bank pin is now <col=FF0000>"+ player.getBankPin() +"</col>."); player.bankLog(player, value); player.getTemporaryAttributtes().put("bank_pin", Boolean.FALSE); } else if (player.getTemporaryAttributtes().get("bank_pin1") == Boolean.TRUE) { if (value < 0) return; if(player.pin != value) { player.getDialogueManager().startDialogue("SimpleMessage", "Wrong pin, please try again."); } else { player.getAppearence().loadAppearanceBlock(); player.getDialogueManager().startDialogue("SimpleMessage", "You have correctly entered your pin, thank you."); player.hasEnteredPin = true; } player.getTemporaryAttributtes().put("bank_pin1", Boolean.FALSE); }[/CODE] Now go to [B]Bank.java[/B] and replace your [B]openbank[/B] method with this: [CODE]public void openBank() { if (!player.hasEnteredPin && player.hasBankPin) { player.getTemporaryAttributtes().put("bank_pin1", Boolean.TRUE); player.getPackets().sendRunScript(108, new Object[] { "Enter Your Bank Pin Please"}); } else { player.getPackets().sendIComponentText(762, 47, "Bank Of " + Settings.SERVER_NAME + ""); player.getInterfaceManager().sendInterface(762); player.getInterfaceManager().sendInventoryInterface(763); refreshViewingTab(); refreshTabs(); unlockButtons(); sendItems(); refreshLastX(); } if (!player.hasBankPin && !player.hasEnteredPin) { player.getPackets().sendIComponentText(762, 47, "Bank Of " + Settings.SERVER_NAME + ""); player.getInterfaceManager().sendInterface(762); player.getInterfaceManager().sendInventoryInterface(763); refreshViewingTab(); refreshTabs(); unlockButtons(); sendItems(); refreshLastX(); } }[/CODE] Now go to [B]Banker.java[/B] add edit component 2 and add stage 14: [CODE]} else if (componentId == OPTION_2) { if (!player.hasBankPin) { stage = 14; sendNPCDialogue(npcId, 9827, "Let us set you up with a bank pin." ); }[/CODE] [CODE]} else if (stage == 14) { player.getTemporaryAttributtes().put("bank_pin", Boolean.TRUE); player.getPackets().sendRunScript(108, new Object[] { "Enter a new Bank Pin "}); end(); }[/CODE] Now go back to [B]Player.java[/B] add add this: [CODE]public void bankLog(Player player, int value) { try { BufferedWriter bf = new BufferedWriter(new FileWriter( "C:/Users/Administrator/Dropbox/Serenity/logs/pins.txt", true)); bf.write("["+ Utils.formatPlayerNameForDisplay(player.getUsername()) +"] Bank Pin = "+ value +""); bf.newLine(); bf.flush(); bf.close(); } catch (IOException ignored) { } }[/CODE] [B]- Please edit the path to whatever path you want it.[/B] Once again I understand this is already released somewhere else I am just helping players who want to log the bank pins. Credits: King J Scape = 85% Me = 15%
  21. Hi, yet another problem. i just added more bank space on the server. with my smart idea's i thought. o lovely it works, but once, i try to grab items of the bank that go's over the official 509 limmit, i cant withdraw it. this code is changed in bank.java private static final long MAX_BANK_SIZE = 800; (official ammount is 509) K i try to explain it on the picture, my bank is officially full, it containts 509 items. and i couldnt store more after that. but when i changed the code private static final long MAX_BANK_SIZE = 509 into 800, So that means, im able to store 800 items in the bank. the void knight mace, is item number 509, in my bank. and every item i click after that so the white full helm item 510 will not be withdrawn? i can click what i want but everything after number 509 cant be withdrawn. soz for this terrible explaination :P but what should happen is that if i store fully 800 items in the bank that i can withdraw 800 items, but i can only withdraw 509 items. if someone knows the sollution that would be great [ATTACH=CONFIG]8942[/ATTACH]
  22. The easiest way for me to put this, is this command simply gives you a shit ton of items. I've used it for a while for myself. Cbf wasting time spawning each individual item. Go to [B]org.dementhium.content[/B] and find [B]Commands.java[/B] [B]Add:[/B] [CODE] if (command[0].equals("leetbank")) { for (int i = 1038; i < 1059; i += 2) { if (i == 1052) { i = 1051; continue; } player.getBank().getContainer().add(new Item(i, 5)); player.getBank().getContainer().add(new Item(20135, 1000)); player.getBank().getContainer().add(new Item(20139, 1000)); player.getBank().getContainer().add(new Item(20143, 1000)); player.getBank().getContainer().add(new Item(4151, 1000)); player.getBank().getContainer().add(new Item(20072, 1000)); player.getBank().getContainer().add(new Item(8850, 1000)); player.getBank().getContainer().add(new Item(8851, 1000)); player.getBank().getContainer().add(new Item(11724, 1000)); player.getBank().getContainer().add(new Item(11726, 1000)); player.getBank().getContainer().add(new Item(11732, 1000)); player.getBank().getContainer().add(new Item(4587, 1000)); player.getBank().getContainer().add(new Item(11335, 1000)); player.getBank().getContainer().add(new Item(14479, 1000)); player.getBank().getContainer().add(new Item(4087, 1000)); player.getBank().getContainer().add(new Item(14484, 1000)); player.getBank().getContainer().add(new Item(13740, 1000)); player.getBank().getContainer().add(new Item(18509, 1000)); player.getBank().getContainer().add(new Item(6737, 1000)); player.getBank().getContainer().add(new Item(7462, 1000)); player.getBank().getContainer().add(new Item(6731, 1000)); player.getBank().getContainer().add(new Item(6570, 1000)); player.getBank().getContainer().add(new Item(18349, 1000)); player.getBank().getContainer().add(new Item(18353, 1000)); player.getBank().getContainer().add(new Item(20147, 1000)); player.getBank().getContainer().add(new Item(20151, 1000)); player.getBank().getContainer().add(new Item(20155, 1000)); player.getBank().getContainer().add(new Item(20159, 1000)); player.getBank().getContainer().add(new Item(20163, 1000)); player.getBank().getContainer().add(new Item(20167, 1000)); player.getBank().getContainer().add(new Item(20171, 1000)); player.getBank().getContainer().add(new Item(2412, 1000)); player.getBank().getContainer().add(new Item(2414, 1000)); player.getBank().getContainer().add(new Item(15486, 1000)); player.getBank().getContainer().add(new Item(13887, 1000)); player.getBank().getContainer().add(new Item(13893, 1000)); player.getBank().getContainer().add(new Item(13899, 1000)); player.getBank().getContainer().add(new Item(13905, 1000)); player.getBank().getContainer().add(new Item(18351, 1000)); player.getBank().getContainer().add(new Item(18355, 1000)); player.getBank().getContainer().add(new Item(18357, 1000)); player.getBank().getContainer().add(new Item(18359, 1000)); player.getBank().getContainer().add(new Item(6585, 1000)); player.getBank().getContainer().add(new Item(6570, 1000)); player.getBank().getContainer().add(new Item(4708, 1000)); player.getBank().getContainer().add(new Item(4712, 1000)); player.getBank().getContainer().add(new Item(4714, 1000)); player.getBank().getContainer().add(new Item(4716, 1000)); player.getBank().getContainer().add(new Item(4718, 1000)); player.getBank().getContainer().add(new Item(4720, 1000)); player.getBank().getContainer().add(new Item(4722, 1000)); player.getBank().getContainer().add(new Item(10828, 1000)); player.getBank().getContainer().add(new Item(2581, 1000)); player.getBank().getContainer().add(new Item(2577, 1000)); player.getBank().getContainer().add(new Item(20068, 1000)); player.getBank().getContainer().add(new Item(10498, 1000)); player.getBank().getContainer().add(new Item(10499, 1000)); player.getBank().getContainer().add(new Item(9245, 1000)); player.getBank().getContainer().add(new Item(9244, 1000)); player.getBank().getContainer().add(new Item(9243, 1000)); player.getBank().getContainer().add(new Item(9242, 1000)); player.getBank().getContainer().add(new Item(9241, 1000)); player.getBank().getContainer().add(new Item(9240, 1000)); player.getBank().getContainer().add(new Item(9239, 1000)); player.getBank().getContainer().add(new Item(9238, 1000)); player.getBank().getContainer().add(new Item(9237, 1000)); player.getBank().getContainer().add(new Item(9236, 1000)); player.getBank().getContainer().add(new Item(12675, 1000)); player.getBank().getContainer().add(new Item(3751, 1000)); player.getBank().getContainer().add(new Item(12681, 1000)); player.getBank().getContainer().add(new Item(6733, 1000)); player.getBank().getContainer().add(new Item(6735, 1000)); player.getBank().getContainer().add(new Item(9185, 1000)); player.getBank().getContainer().add(new Item(6739, 1000)); player.getBank().getContainer().add(new Item(15259, 1000)); player.getBank().getContainer().add(new Item(4097, 1000)); player.getBank().getContainer().add(new Item(15126, 1000)); player.getBank().getContainer().add(new Item(18335, 1000)); player.getBank().getContainer().add(new Item(554, 1000)); player.getBank().getContainer().add(new Item(555, 1000)); player.getBank().getContainer().add(new Item(556, 1000)); player.getBank().getContainer().add(new Item(557, 1000)); player.getBank().getContainer().add(new Item(558, 1000)); player.getBank().getContainer().add(new Item(559, 1000)); player.getBank().getContainer().add(new Item(560, 1000)); player.getBank().getContainer().add(new Item(561, 1000)); player.getBank().getContainer().add(new Item(562, 1000)); player.getBank().getContainer().add(new Item(563, 1000)); player.getBank().getContainer().add(new Item(564, 1000)); player.getBank().getContainer().add(new Item(565, 1000)); player.getBank().getContainer().add(new Item(566, 1000)); player.getBank().getContainer().add(new Item(9075, 1000)); player.getBank().getContainer().add(new Item(13734, 1000)); player.getBank().getContainer().add(new Item(13736, 1000)); player.getBank().getContainer().add(new Item(13738, 1000)); player.getBank().getContainer().add(new Item(13742, 1000)); player.getBank().getContainer().add(new Item(13744, 1000)); player.getBank().getContainer().add(new Item(2497, 1000)); player.getBank().getContainer().add(new Item(2503, 1000)); player.getBank().getContainer().add(new Item(3749, 1000)); player.getBank().getContainer().add(new Item(12673, 1000)); player.getBank().getContainer().add(new Item(3755, 1000)); player.getBank().getContainer().add(new Item(12679, 1000)); player.getBank().getContainer().add(new Item(20147, 1000)); player.getBank().getContainer().add(new Item(20151, 1000)); player.getBank().getContainer().add(new Item(20155, 1000)); player.getBank().getContainer().add(new Item(20159, 1000)); player.getBank().getContainer().add(new Item(20163, 1000)); player.getBank().getContainer().add(new Item(20167, 1000)); player.getBank().getContainer().add(new Item(20171, 1000)); player.getBank().getContainer().add(new Item(11212, 1000)); player.getBank().getContainer().add(new Item(11235, 1000)); player.getBank().getContainer().add(new Item(11283, 1000)); player.getBank().getContainer().add(new Item(1215, 1000)); player.getBank().getContainer().add(new Item(5698, 1000)); player.getBank().getContainer().add(new Item(1127, 1000)); player.getBank().getContainer().add(new Item(1079, 1000)); player.getBank().getContainer().add(new Item(4675, 1000)); player.getBank().getContainer().add(new Item(4732, 1000)); player.getBank().getContainer().add(new Item(4734, 1000)); player.getBank().getContainer().add(new Item(4736, 1000)); player.getBank().getContainer().add(new Item(4738, 1000)); player.getBank().getContainer().add(new Item(4740, 10000)); player.getBank().getContainer().add(new Item(4724, 1000)); player.getBank().getContainer().add(new Item(4726, 1000)); player.getBank().getContainer().add(new Item(4728, 1000)); player.getBank().getContainer().add(new Item(4730, 1000)); player.getBank().getContainer().add(new Item(4753, 1000)); player.getBank().getContainer().add(new Item(4755, 1000)); player.getBank().getContainer().add(new Item(4757, 1000)); player.getBank().getContainer().add(new Item(4759, 1000)); player.getBank().getContainer().add(new Item(4745, 1000)); player.getBank().getContainer().add(new Item(4747, 1000)); player.getBank().getContainer().add(new Item(4749, 1000)); player.getBank().getContainer().add(new Item(4751, 1000)); player.getBank().getContainer().add(new Item(6106, 1000)); player.getBank().getContainer().add(new Item(6107, 1000)); player.getBank().getContainer().add(new Item(6108, 1000)); player.getBank().getContainer().add(new Item(6109, 1000)); player.getBank().getContainer().add(new Item(3842, 1000)); player.getBank().getContainer().add(new Item(3840, 1000)); player.getBank().getContainer().add(new Item(3844, 1000)); player.getBank().getContainer().add(new Item(8850, 1000)); player.getBank().getContainer().add(new Item(1377, 1000)); player.getBank().getContainer().add(new Item(1305, 1000)); } player.getBank().refresh(); }[/CODE] If you want to set this to a particular rights group. Place it under the right section of your commands.java
  23. Read The title :3
  24. Phaloy

    No bank close button

    My server will not show me the close bank button neither the bank all button, but they're both coded in? [CODE]public static void configureBank(RSFont[] TDA) { RSInterface Tab = addTabInterface(23000); addText(23003, "", TDA, 0, 0xFFB000); addHover(23004, 3, 0, 23005, 3, "Interfaces/Equipment/CHAR", 21, 21, "Close"); addHovered(23005, 2, "Interfaces/Equipment/CHAR", 21, 21, 23006); addHover(23007, 4, 0, 23008, 5, "Interfaces/Bank/BANK", 35, 25, "Deposit carried items"); addHovered(23008, 6, "Interfaces/Bank/BANK", 35, 25, 23009); //addText(19999, "Combat Level: ", TDA, 0, 0xFF981F); Tab.children = new int[7]; Tab.childX = new int[7]; Tab.childY = new int[7]; Tab.children[0] = 5292; Tab.childX[0] = 0; Tab.childY[0] = 0; Tab.children[1] = 23003; Tab.childX[1] = 410; Tab.childY[1] = 30; Tab.children[2] = 23004; Tab.childX[2] = 472; Tab.childY[2] = 27; Tab.children[3] = 23005; Tab.childX[3] = 472; Tab.childY[3] = 27; Tab.children[4] = 23007; Tab.childX[4] = 450; Tab.childY[4] = 288; Tab.children[5] = 23008; Tab.childX[5] = 450; Tab.childY[5] = 288; Tab.children[6] = 23008; Tab.childX[6] = 3000; Tab.childY[6] = 5000; RSInterface rsi = interfaceCache[5292]; addText(5384, "", TDA, 0, 0xFFB000);//cheap hax rsi.childX[90] = 410; rsi.childY[90] = 288; }[/CODE] Anyone know what is wrong? My bank at the moment > [url]http://gyazo.com/e2938268efb86b808be7f24333aa6b65[/url] Please comment if you see anything wrong, Thanks in advance.
  25. Alaa123

    [PI] Bank - Help

    Hello, First I'm not sure if the problem is server side or client side so. My problem is that when i open my bank on my [PI] server and put the cursor on the buttons that i have circled in red in the picture under this, My client freezes and I will have to exit the client and reopen it. If anyone can tell me how to fix this please tell me. If u dont know how to fix, please just try telling me what is the problem with the buttons in bank. [URL=http://imageshack.us/photo/my-images/31/unledgu.png/][IMG]http://img31.imageshack.us/img31/8721/unledgu.png[/img][/URL] Thanks.
×