Thread: Bank help

Results 1 to 2 of 2
  1. #1 Bank help 
    Registered Member
    Join Date
    Dec 2018
    Posts
    7
    Thanks given
    0
    Thanks received
    0
    Rep Power
    0
    So basically i have the same problem as this guy.

    [Only registered and activated users can see links. ] .

    I have read through the post and gathered that changing the bank interface possible item height should in theory fix the issue. But instead im getting Arrayindexofbounds with the interface all messed up. What should i do about that?
    Reply With Quote  
     

  2. #2  
    Donator

    Join Date
    Sep 2016
    Posts
    132
    Thanks given
    115
    Thanks received
    49
    Rep Power
    62
    Look at your container interface component. It will have the following fields: width, height, item id array, item amount array. Width = columns, height = rows. Your width * height should = your array size. Make sure it's all being set properly. For example:
    Code:
    addContainer(int width, int height, ...) {
    ...
    width = width;
    height = height;
    itemId = new int[width * height];
    itemAmount = new int[width * height];
    ...
    }
    I forget if the packet might need to be updated to support the sizing as well, and if you don't know how to edit packets this would be a good way to learn. If it does need changing, it would likely just be in what data type is being sent (and received).
    If a man does not have the sauce, then he is lost. But the same man can be lost in the sauce.
    Reply With Quote  
     


Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Similar Threads

  1. Banking help :)
    By i hmmm i in forum Help
    Replies: 2
    Last Post: 11-07-2009, 11:00 PM
  2. z508 Banking Help
    By Demon in forum Help
    Replies: 0
    Last Post: 11-02-2009, 01:33 PM
  3. 525 Rs2Hd need Bank help!
    By lordje in forum Requests
    Replies: 7
    Last Post: 09-05-2009, 07:44 PM
  4. [546] bank help [546]
    By brain090 in forum Help
    Replies: 2
    Last Post: 08-20-2009, 05:55 PM
  5. [525] bank help (will rep)
    By Pie in forum Help
    Replies: 1
    Last Post: 04-09-2009, 07:42 AM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •