Thread: Hello i have a big problem it dont show the bonus for some items

Page 1 of 2 12 LastLast
Results 1 to 10 of 14
  1. #1 Hello i have a big problem it dont show the bonus for some items 
    -Founder Off Returnofpk-


    Join Date
    Oct 2012
    Age
    28
    Posts
    655
    Thanks given
    97
    Thanks received
    211
    Rep Power
    303
    Fixed close
    Attached image
    Reply With Quote  
     

  2. #2  
    Hi :)


    Join Date
    Apr 2016
    Posts
    622
    Thanks given
    84
    Thanks received
    161
    Rep Power
    93
    Does it seem to only happen to the new osrs items?
    Check out my remake here:
    Incite
    Reply With Quote  
     

  3. #3  
    -Founder Off Returnofpk-


    Join Date
    Oct 2012
    Age
    28
    Posts
    655
    Thanks given
    97
    Thanks received
    211
    Rep Power
    303
    Quote Originally Posted by public void View Post
    Does it seem to only happen to the new osrs items?
    that what i dont know for some new item it works but some it dont like abyssal blue gone work perfect but the amulet dont work and the new slayer helmet
    Attached image
    Reply With Quote  
     

  4. #4  
    Registered Member
    Join Date
    May 2016
    Posts
    6
    Thanks given
    0
    Thanks received
    1
    Rep Power
    0
    I got the same for some of the custom
    Attached image

    while it has stats like this: (2100 is str bonus)
    Attached image
    Reply With Quote  
     

  5. #5  
    Community Veteran


    Arch337's Avatar
    Join Date
    Sep 2008
    Posts
    2,950
    Thanks given
    210
    Thanks received
    349
    Rep Power
    1376
    Check your items array and see if it goes beyond 15k.


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

  6. #6  
    -Founder Off Returnofpk-


    Join Date
    Oct 2012
    Age
    28
    Posts
    655
    Thanks given
    97
    Thanks received
    211
    Rep Power
    303
    Quote Originally Posted by arch337 View Post
    Check your items array and see if it goes beyond 15k.
    heres my ItemDefinitions


    Code:
    public class ItemDefinitions {
        
        public static final ItemDefinitions[] ITEM_DEFINITIONS = new ItemDefinitions[19687];
    
        private final int id;
    
        private final String name;
    
        private final String examine;
    
        private final double lowAlch;
    
        private final double highAlch;
    
        private final double storePrice;
    
        private final double specialPrice;
    
        private final boolean noteable;
       
        private final boolean noted;
       
        private final int unnotedId;
    
        private final int equipSlot;
    
        private final double weight;
    
        private final boolean twoHanded;
    
        private final boolean fullHelm;
    
        private final boolean stackable;
    
        private final boolean platebody;
    
        private final boolean tradable;
    
        private final int[] bonus;
       
        final boolean wearable;
    
        public ItemDefinitions(int id, String name, String examine, double lowAlch, double highAlch,
                    double storePrice, double specialPrice, boolean noteable, boolean noted, int unnotedId, int equipSlot,
                    double weight, boolean twoHanded, boolean fullHelm, boolean stackable,
                    boolean platebody, boolean tradable, int[] bonus) {
              this.id = id;
              this.name = name;
              this.examine = examine;
              this.lowAlch = lowAlch;
              this.highAlch = highAlch;
              this.storePrice = storePrice;
              this.specialPrice = specialPrice;
              this.noteable = noteable;
              this.noted = noted;
              this.unnotedId = unnotedId;
              this.equipSlot = equipSlot;
              this.weight = weight;
              this.twoHanded = twoHanded;
              this.fullHelm = fullHelm;
              this.stackable = stackable;
              this.platebody = platebody;
              this.tradable = tradable;
              this.bonus = bonus;
              wearable = equipSlot != -1;
        }
       
        public static ItemDefinitions forId(int id) {
              return ITEM_DEFINITIONS[id];
        }
    
        /**
         * @return the id
         */
        public int getId() {
              return id;
        }
    
        /**
         * @return the name
         */
        public String getName() {
              return name;
        }
    
        /**
         * @return the examine
         */
        public String getExamine() {
              return examine;
        }
    
        /**
         * @return the lowAlch
         */
        public double getLowAlch() {
              return lowAlch;
        }
    
        /**
         * @return the highAlch
         */
        public double getHighAlch() {
              return highAlch;
        }
    
        /**
         * @return the storePrice
         */
        public double getStorePrice() {
              return storePrice;
        }
    
        /**
         * @return the specialPrice
         */
        public double getSpecialPrice() {
              return specialPrice;
        }
    
        /**
         * @return the noteable
         */
        public boolean isNoteable() {
              return noteable;
        }
    
        /**
         * @return the equipSlot
         */
        public int getEquipSlot() {
              return equipSlot;
        }
    
        /**
         * @return the weight
         */
        public double getWeight() {
              return weight;
        }
    
        /**
         * @return the twoHanded
         */
        public boolean isTwoHanded() {
              return twoHanded;
        }
    
        /**
         * @return the fullHelm
         */
        public boolean isFullHelm() {
              return fullHelm;
        }
    
        /**
         * @return the stackable
         */
        public boolean isStackable() {
              return stackable;
        }
    
        /**
         * @return the platebody
         */
        public boolean isPlatebody() {
              return platebody;
        }
    
        /**
         * @return the tradable
         */
        public boolean isTradable() {
              return tradable;
        }
    
        /**
         * @return the bonus
         */
        public int[] getBonus() {
              return bonus;
        }
       
        /**
         * @return the noted
         */
        public boolean isNoted() {
              return noted;
        }
    
        /**
         * @return the unnotedId
         */
        public int getUnnotedId() {
              return unnotedId;
        }
    
        public boolean isWeapon() {
              return equipSlot == 3;
        }
       
        public boolean isWearable() {
              return wearable;
        }
       
    }
    Attached image
    Reply With Quote  
     

  7. #7  
    Banned

    Join Date
    Oct 2012
    Posts
    4,710
    Thanks given
    1,679
    Thanks received
    1,105
    Rep Power
    0
    Quote Originally Posted by sheepmonger View Post
    heres my ItemDefinitions


    Code:
    public class ItemDefinitions {
        
        public static final ItemDefinitions[] ITEM_DEFINITIONS = new ItemDefinitions[19687];
    
        private final int id;
    
        private final String name;
    
        private final String examine;
    
        private final double lowAlch;
    
        private final double highAlch;
    
        private final double storePrice;
    
        private final double specialPrice;
    
        private final boolean noteable;
       
        private final boolean noted;
       
        private final int unnotedId;
    
        private final int equipSlot;
    
        private final double weight;
    
        private final boolean twoHanded;
    
        private final boolean fullHelm;
    
        private final boolean stackable;
    
        private final boolean platebody;
    
        private final boolean tradable;
    
        private final int[] bonus;
       
        final boolean wearable;
    
        public ItemDefinitions(int id, String name, String examine, double lowAlch, double highAlch,
                    double storePrice, double specialPrice, boolean noteable, boolean noted, int unnotedId, int equipSlot,
                    double weight, boolean twoHanded, boolean fullHelm, boolean stackable,
                    boolean platebody, boolean tradable, int[] bonus) {
              this.id = id;
              this.name = name;
              this.examine = examine;
              this.lowAlch = lowAlch;
              this.highAlch = highAlch;
              this.storePrice = storePrice;
              this.specialPrice = specialPrice;
              this.noteable = noteable;
              this.noted = noted;
              this.unnotedId = unnotedId;
              this.equipSlot = equipSlot;
              this.weight = weight;
              this.twoHanded = twoHanded;
              this.fullHelm = fullHelm;
              this.stackable = stackable;
              this.platebody = platebody;
              this.tradable = tradable;
              this.bonus = bonus;
              wearable = equipSlot != -1;
        }
       
        public static ItemDefinitions forId(int id) {
              return ITEM_DEFINITIONS[id];
        }
    
        /**
         * @return the id
         */
        public int getId() {
              return id;
        }
    
        /**
         * @return the name
         */
        public String getName() {
              return name;
        }
    
        /**
         * @return the examine
         */
        public String getExamine() {
              return examine;
        }
    
        /**
         * @return the lowAlch
         */
        public double getLowAlch() {
              return lowAlch;
        }
    
        /**
         * @return the highAlch
         */
        public double getHighAlch() {
              return highAlch;
        }
    
        /**
         * @return the storePrice
         */
        public double getStorePrice() {
              return storePrice;
        }
    
        /**
         * @return the specialPrice
         */
        public double getSpecialPrice() {
              return specialPrice;
        }
    
        /**
         * @return the noteable
         */
        public boolean isNoteable() {
              return noteable;
        }
    
        /**
         * @return the equipSlot
         */
        public int getEquipSlot() {
              return equipSlot;
        }
    
        /**
         * @return the weight
         */
        public double getWeight() {
              return weight;
        }
    
        /**
         * @return the twoHanded
         */
        public boolean isTwoHanded() {
              return twoHanded;
        }
    
        /**
         * @return the fullHelm
         */
        public boolean isFullHelm() {
              return fullHelm;
        }
    
        /**
         * @return the stackable
         */
        public boolean isStackable() {
              return stackable;
        }
    
        /**
         * @return the platebody
         */
        public boolean isPlatebody() {
              return platebody;
        }
    
        /**
         * @return the tradable
         */
        public boolean isTradable() {
              return tradable;
        }
    
        /**
         * @return the bonus
         */
        public int[] getBonus() {
              return bonus;
        }
       
        /**
         * @return the noted
         */
        public boolean isNoted() {
              return noted;
        }
    
        /**
         * @return the unnotedId
         */
        public int getUnnotedId() {
              return unnotedId;
        }
    
        public boolean isWeapon() {
              return equipSlot == 3;
        }
       
        public boolean isWearable() {
              return wearable;
        }
       
    }
    19687 change to 25_000 or something
    Reply With Quote  
     

  8. Thankful user:


  9. #8  
    -Founder Off Returnofpk-


    Join Date
    Oct 2012
    Age
    28
    Posts
    655
    Thanks given
    97
    Thanks received
    211
    Rep Power
    303
    [QUOTE=_Patrick_;5212678]19687 change to 25_000 or something[/QUOTE

    not working
    Attached image
    Reply With Quote  
     

  10. #9  
    Banned

    Join Date
    Oct 2012
    Posts
    4,710
    Thanks given
    1,679
    Thanks received
    1,105
    Rep Power
    0
    [QUOTE=sheepmonger;5212679]
    Quote Originally Posted by _Patrick_ View Post
    19687 change to 25_000 or something[/QUOTE

    not working
    Show the bonus method where all bonuses are applied. I've not used PI in awhile but i believe it's in ItemAssistant "getBonus"
    Reply With Quote  
     

  11. #10  
    Community Veteran


    Arch337's Avatar
    Join Date
    Sep 2008
    Posts
    2,950
    Thanks given
    210
    Thanks received
    349
    Rep Power
    1376
    Quote Originally Posted by sheepmonger View Post
    heres my ItemDefinitions


    Code:
    public class ItemDefinitions {
        
        public static final ItemDefinitions[] ITEM_DEFINITIONS = new ItemDefinitions[19687];
    
        private final int id;
    
        private final String name;
    
        private final String examine;
    
        private final double lowAlch;
    
        private final double highAlch;
    
        private final double storePrice;
    
        private final double specialPrice;
    
        private final boolean noteable;
       
        private final boolean noted;
       
        private final int unnotedId;
    
        private final int equipSlot;
    
        private final double weight;
    
        private final boolean twoHanded;
    
        private final boolean fullHelm;
    
        private final boolean stackable;
    
        private final boolean platebody;
    
        private final boolean tradable;
    
        private final int[] bonus;
       
        final boolean wearable;
    
        public ItemDefinitions(int id, String name, String examine, double lowAlch, double highAlch,
                    double storePrice, double specialPrice, boolean noteable, boolean noted, int unnotedId, int equipSlot,
                    double weight, boolean twoHanded, boolean fullHelm, boolean stackable,
                    boolean platebody, boolean tradable, int[] bonus) {
              this.id = id;
              this.name = name;
              this.examine = examine;
              this.lowAlch = lowAlch;
              this.highAlch = highAlch;
              this.storePrice = storePrice;
              this.specialPrice = specialPrice;
              this.noteable = noteable;
              this.noted = noted;
              this.unnotedId = unnotedId;
              this.equipSlot = equipSlot;
              this.weight = weight;
              this.twoHanded = twoHanded;
              this.fullHelm = fullHelm;
              this.stackable = stackable;
              this.platebody = platebody;
              this.tradable = tradable;
              this.bonus = bonus;
              wearable = equipSlot != -1;
        }
       
        public static ItemDefinitions forId(int id) {
              return ITEM_DEFINITIONS[id];
        }
    
        /**
         * @return the id
         */
        public int getId() {
              return id;
        }
    
        /**
         * @return the name
         */
        public String getName() {
              return name;
        }
    
        /**
         * @return the examine
         */
        public String getExamine() {
              return examine;
        }
    
        /**
         * @return the lowAlch
         */
        public double getLowAlch() {
              return lowAlch;
        }
    
        /**
         * @return the highAlch
         */
        public double getHighAlch() {
              return highAlch;
        }
    
        /**
         * @return the storePrice
         */
        public double getStorePrice() {
              return storePrice;
        }
    
        /**
         * @return the specialPrice
         */
        public double getSpecialPrice() {
              return specialPrice;
        }
    
        /**
         * @return the noteable
         */
        public boolean isNoteable() {
              return noteable;
        }
    
        /**
         * @return the equipSlot
         */
        public int getEquipSlot() {
              return equipSlot;
        }
    
        /**
         * @return the weight
         */
        public double getWeight() {
              return weight;
        }
    
        /**
         * @return the twoHanded
         */
        public boolean isTwoHanded() {
              return twoHanded;
        }
    
        /**
         * @return the fullHelm
         */
        public boolean isFullHelm() {
              return fullHelm;
        }
    
        /**
         * @return the stackable
         */
        public boolean isStackable() {
              return stackable;
        }
    
        /**
         * @return the platebody
         */
        public boolean isPlatebody() {
              return platebody;
        }
    
        /**
         * @return the tradable
         */
        public boolean isTradable() {
              return tradable;
        }
    
        /**
         * @return the bonus
         */
        public int[] getBonus() {
              return bonus;
        }
       
        /**
         * @return the noted
         */
        public boolean isNoted() {
              return noted;
        }
    
        /**
         * @return the unnotedId
         */
        public int getUnnotedId() {
              return unnotedId;
        }
    
        public boolean isWeapon() {
              return equipSlot == 3;
        }
       
        public boolean isWearable() {
              return wearable;
        }
       
    }
    How is the write bonus to interface?


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

Page 1 of 2 12 LastLast

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. hello i have a stupid problem!
    By jawad7hashemi in forum Help
    Replies: 4
    Last Post: 02-06-2016, 07:30 PM
  2. Replies: 8
    Last Post: 08-30-2013, 11:19 PM
  3. Replies: 9
    Last Post: 06-09-2013, 04:42 AM
  4. Replies: 1
    Last Post: 06-09-2013, 03:43 AM
  5. items dont show in invy for trade
    By zach. in forum Help
    Replies: 3
    Last Post: 03-04-2009, 05:12 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
  •