Thread: how to fix dementhiums 614 loading 634 glitch loading the wrong bank

Results 1 to 10 of 10
  1. #1 how to fix dementhiums 614 loading 634 glitch loading the wrong bank 
    Donator
    Zᴀᴄʜ's Avatar
    Join Date
    Aug 2009
    Age
    26
    Posts
    999
    Thanks given
    111
    Thanks received
    64
    Rep Power
    13
    heres how to fix it go to your bank.java class
    and replace public void open bank with
    Code:
    public void openBank() {
    		if(!hasEnteredPin && pinSet){
    			enterPin();
    			player.setAttribute("bankScreen", 1);
    			return;
    		}
    		player.setAttribute("bankScreen", 2);
    		player.setAttribute("currentTab", 10);
    		player.getActionSender().sendConfig2(player, 563, 4194304);
    		player.getActionSender().sendConfig(player, 1248, -2013265920);
    		player.getActionSender().sendInterface(player, 762);
    		player.getActionSender().sendInventoryInterface(player, 763);
    		player.getActionSender().sendAMask(player, 0, 516, 762, 92, 40, 1278);
    		player.getActionSender().sendAMask(player, 0, 27, 763, 0, 36, 1150);
    		player.getActionSender().sendBlankClientScript(player, 1451);
    		player.getActionSender().sendItems(player, 31, player.getInventory().getContainer(), false);
    		player.getActionSender().sendItems(player, 95, bank, false);
    		sendTabConfig();
    	}
    add this to bank.java
    import org.dementhium.net.ActionSender;
    then go to your player.java class and add this to it
    Code:
    import org.dementhium.net.ActionSender;
     private transient ActionSender actionsender;
    public void setActionSender(ActionSender actionsender) {
            this.actionsender = actionsender;
        }
    
        public ActionSender getActionSender() {
            if (actionsender == null)
                actionsender = new ActionSender();
            return actionsender;
        }
    that should fix the problem with banks
    Reply With Quote  
     

  2. #2  
    Registered Member
    Join Date
    Jan 2011
    Posts
    161
    Thanks given
    0
    Thanks received
    2
    Rep Power
    1
    Thanks weird error this is . how do i add that bit to class file / where a bouts
    Truepk

    what do i do?

    • I code 562 and 614's
    • while manging and updating my current 614
    Reply With Quote  
     

  3. #3  
    Registered Member
    Join Date
    Jan 2011
    Posts
    161
    Thanks given
    0
    Thanks received
    2
    Rep Power
    1
    omg really messed up my files can u send me ur bank.java and player.java sorry
    Truepk

    what do i do?

    • I code 562 and 614's
    • while manging and updating my current 614
    Reply With Quote  
     

  4. #4  
    Banned
    Join Date
    Jul 2010
    Age
    30
    Posts
    835
    Thanks given
    127
    Thanks received
    43
    Rep Power
    0
    Whats this post to do, but i did add this.. and it did nothing..
    Reply With Quote  
     

  5. #5  
    Donator
    Zᴀᴄʜ's Avatar
    Join Date
    Aug 2009
    Age
    26
    Posts
    999
    Thanks given
    111
    Thanks received
    64
    Rep Power
    13
    its suppose to fix banks like if u do ::bank u get someone elses bank
    this tutorial fixes that
    Reply With Quote  
     

  6. #6  
    Hi.

    'Mystic Flow's Avatar
    Join Date
    Nov 2007
    Posts
    7,146
    Thanks given
    256
    Thanks received
    1,252
    Rep Power
    3714
    You made a new redundant instace of ActionSender, the current version works fine, I've never had the problem where it opened someone else's bank but o well, gj on finding.



    Reply With Quote  
     

  7. #7  
    Banned

    Join Date
    Jun 2010
    Age
    36
    Posts
    4,335
    Thanks given
    4
    Thanks received
    274
    Rep Power
    0
    Never experienced this.
    Reply With Quote  
     

  8. #8  
    Member how to fix dementhiums 614 loading 634 glitch loading the wrong bank Market Banned


    Luke132's Avatar
    Join Date
    Dec 2007
    Age
    35
    Posts
    12,574
    Thanks given
    199
    Thanks received
    7,106
    Rep Power
    5000
    how can you load the wrong bank

    Attached imageAttached image
    Reply With Quote  
     

  9. #9  
    Banned

    Join Date
    Jun 2010
    Age
    36
    Posts
    4,335
    Thanks given
    4
    Thanks received
    274
    Rep Power
    0
    Idk, this is a dead script of code.
    Reply With Quote  
     

  10. #10  
    Registered Member
    Join Date
    Aug 2010
    Posts
    254
    Thanks given
    14
    Thanks received
    17
    Rep Power
    12
    He was probably talking about my fix, I messed up and it made the players bank server wide, but then I fixed it.
    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. Replies: 118
    Last Post: 03-22-2015, 09:53 PM
  2. dementhium 614 loading 634 bank glitch
    By Zᴀᴄʜ in forum Help
    Replies: 4
    Last Post: 04-30-2011, 08:37 PM
  3. Replies: 4
    Last Post: 11-29-2010, 09:49 PM
  4. Replies: 3
    Last Post: 05-28-2010, 10:10 PM
  5. Replies: 2
    Last Post: 12-15-2009, 01:38 PM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •