Thread: Item bonuses not refreshing on login

Results 1 to 3 of 3
  1. #1 Item bonuses not refreshing on login 
    Registered Member AusDan's Avatar
    Join Date
    Dec 2017
    Posts
    7
    Thanks given
    0
    Thanks received
    1
    Rep Power
    0
    Hi guys,

    If someone could give me a hand, I would be really grateful.

    When I relog, my bonuses are reset to 0. When equipped items are removed, bonuses go into negatives therefore I need to relog again before re-equipping.

    Here is the login refresh code from Equipment.java from OSRoyale. I have searched on here for an answer because other people have had issues aswell but most replies are short and rude replies saying it has already been solved just to get a post count. If you know where the fix is, please post it for me

    Code:
    
       public void login() {
            for (int index = 0; index < getItems().length; index++) {
                set(index, get(index), true);
            }
    
            WeaponInterface.execute(player, getWeapon());
            updateWeight();
            refresh();
        }
    Thanks in advance
    Reply With Quote  
     

  2. #2  
    Registered Member Kairon's Avatar
    Join Date
    Feb 2017
    Posts
    190
    Thanks given
    47
    Thanks received
    35
    Rep Power
    31
    [Only registered and activated users can see links. ]

    Check this. Theres a fix on this forum already somewhere
    Code:
    Reply With Quote  
     

  3. #3  
    Registered Member
    arch337's Avatar
    Join Date
    Sep 2008
    Posts
    2,451
    Thanks given
    150
    Thanks received
    193
    Rep Power
    345
    Try any of these:
    [Only registered and activated users can see links. ]
    [Only registered and activated users can see links. ]


    "A fail act is something you do regular, but a dumb act is something you can learn from"
    Spoiler for Problem?:
    Reply With Quote  
     


Thread Information
Users Browsing this Thread

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

Similar Threads

  1. Replies: 1
    Last Post: 08-14-2013, 05:31 AM
  2. Item Models Not Showing On Character
    By Yvne in forum Help
    Replies: 13
    Last Post: 11-28-2012, 02:05 PM
  3. Map region not showing on login?
    By Continue in forum Help
    Replies: 22
    Last Post: 11-08-2010, 11:29 PM
  4. [562] Server Item Bonuses not working!
    By 0wned2death1 in forum Help
    Replies: 0
    Last Post: 07-26-2010, 01:38 PM
  5. Combat level not updating on login.
    By Philz in forum Help
    Replies: 1
    Last Post: 09-25-2009, 06:31 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
  •