Thread: any more data need to be added about items?

Page 1 of 2 12 LastLast
Results 1 to 10 of 16
  1. #1 any more data need to be added about items? 
    Registered Member
    Serenity's Avatar
    Join Date
    Oct 2008
    Age
    24
    Posts
    2,328
    Thanks
    43
    Thanked 43 Times in 30 Posts
    Rep Power
    389
    Code:
    package palidino76.rs2.world.items;
    /**
     * Created by IntelliJ IDEA.
     * Author  : Serenity
     * From    : Rune-server.org
     * Date    : 18-nov-2009
     * Time    : 18:18:19
     * Package : palidino76.rs2.world.items
     */
    public class NItemList {
        public NItemList(int itemId, String ItenName,
                         String ItemDescription, int ShopValue, int HighAlch, int LowAlch,
                         int GeLow, int GeHigh, boolean StackAble, boolean Note, int NoteId, int weight,boolean tradeable) {
            setItemId(itemId);
            setItemName(ItenName);
            setItemDescription(ItemDescription);
            setShopValue(ShopValue);
            setHighAlch(HighAlch);
            setLowAlch(LowAlch);
            setGeLow(GeLow);
            setGeHigh(GeHigh);
            setStackAble(StackAble);
            setNote(Note);
            setNoteId(NoteId);
            setWeight(weight);
            setTradeAble(tradeable);
        }
        public NItemList(int itemId, String ItenName,
                         String ItemDescription, int ShopValue, int HighAlch, int LowAlch,
                         int GeLow, int GeHigh, boolean StackAble, boolean Note, int NoteId, int weight,boolean tradeable,
                         boolean WearAble, int EquipSlotId, boolean is2h, int WearId, int[][] LvlToWear,
                         int[] Bonus) {
            setItemId(itemId);
            setItemName(ItenName);
            setItemDescription(ItemDescription);
            setShopValue(ShopValue);
            setHighAlch(HighAlch);
            setLowAlch(LowAlch);
            setGeLow(GeLow);
            setGeHigh(GeHigh);
            setStackAble(StackAble);
            setNote(Note);
            setNoteId(NoteId);
            setWeight(weight);
            setTradeAble(tradeable);
            setWearAble(WearAble);
            setEquipSlotId(EquipSlotId);
            setIs2h(is2h);
            setWearId(WearId);
            setLvlToWear(LvlToWear);
            setBonus(Bonus);
        }
        public NItemList(int itemId, String ItenName,
                         String ItemDescription, int ShopValue, int HighAlch, int LowAlch,
                         int GeLow, int GeHigh, boolean StackAble, boolean Note, int NoteId, int weight,boolean tradeable,
                         boolean WearAble, int EquipSlotId, boolean is2h, int WearId, int[][] LvlToWear,
                         int[] Bonus, int Anim[], int speed) {
            setItemId(itemId);
            setItemName(ItenName);
            setItemDescription(ItemDescription);
            setShopValue(ShopValue);
            setHighAlch(HighAlch);
            setLowAlch(LowAlch);
            setGeLow(GeLow);
            setGeHigh(GeHigh);
            setStackAble(StackAble);
            setNote(Note);
            setNoteId(NoteId);
            setWeight(weight);
            setTradeAble(tradeable);
            setWearAble(WearAble);
            setEquipSlotId(EquipSlotId);
            setIs2h(is2h);
            setWearId(WearId);
            setLvlToWear(LvlToWear);
            setBonus(Bonus);
            setAnim(Anim);
            setSpeed(speed);
        }
     
        private int itemId = -1;
        private String ItenName = "";
        private String ItemDescription = "[No Description added] [ItemID :" + itemId + "]";
        private int ShopValue = 0;
        private int HighAlch = 0;
        private int LowAlch = 0;
        private int GeLow = 0;
        private int GeHigh = 0;
        private boolean StackAble = false;
        private boolean Note = false;
        private int NoteId = -1;
        private int weight = 0;
        private boolean WearAble = false;
        private int EquipSlotId = 0;
        private boolean is2h = false;
        private int WearId = 0;
        private int[][] LvlToWear = null;
        private int[] Bonus = null;
        private int Anim[] = new int[]{-1, -1, -1, -1,};
        private int speed = 4;
        public boolean isTradeAble() {
            return TradeAble;
        }
        public void setTradeAble(boolean tradeAble) {
            TradeAble = tradeAble;
        }
        private boolean TradeAble = true;
     
        public int getItemId() {
            return itemId;
        }
        public void setItemId(int itemId) {
            this.itemId = itemId;
        }
        public String getItenName() {
            return ItenName;
        }
        public void setItemName(String itenName) {
            ItenName = itenName;
        }
        public String getItemDescription() {
            return ItemDescription;
        }
        public void setItemDescription(String itemDescription) {
            ItemDescription = itemDescription;
        }
        public int getShopValue() {
            return ShopValue;
        }
        public void setShopValue(int shopValue) {
            ShopValue = shopValue;
        }
        public int getHighAlch() {
            return HighAlch;
        }
        public void setHighAlch(int highAlch) {
            HighAlch = highAlch;
        }
        public int getLowAlch() {
            return LowAlch;
        }
        public void setLowAlch(int lowAlch) {
            LowAlch = lowAlch;
        }
        public int getGeLow() {
            return GeLow;
        }
        public void setGeLow(int geLow) {
            GeLow = geLow;
        }
        public int getGeHigh() {
            return GeHigh;
        }
        public void setGeHigh(int geHigh) {
            GeHigh = geHigh;
        }
        public boolean isStackAble() {
            return StackAble;
        }
        public void setStackAble(boolean stackAble) {
            StackAble = stackAble;
        }
        public boolean isNote() {
            return Note;
        }
        public void setNote(boolean note) {
            Note = note;
        }
        public int getNoteId() {
            return NoteId;
        }
        public void setNoteId(int noteId) {
            NoteId = noteId;
        }
        public int getWeight() {
            return weight;
        }
        public void setWeight(int weight) {
            this.weight = weight;
        }
        public boolean isWearAble() {
            return WearAble;
        }
        public void setWearAble(boolean wearAble) {
            WearAble = wearAble;
        }
        public int getEquipSlotId() {
            return EquipSlotId;
        }
        public void setEquipSlotId(int equipSlotId) {
            EquipSlotId = equipSlotId;
        }
        public boolean isIs2h() {
            return is2h;
        }
        public void setIs2h(boolean is2h) {
            this.is2h = is2h;
        }
        public int getWearId() {
            return WearId;
        }
        public void setWearId(int wearId) {
            WearId = wearId;
        }
        public int[][] getLvlToWear() {
            return LvlToWear;
        }
        public void setLvlToWear(int[][] lvlToWear) {
            LvlToWear = lvlToWear;
        }
        public int[] getBonus() {
            return Bonus;
        }
        public void setBonus(int[] bonus) {
            Bonus = bonus;
        }
        public int[] getAnim() {
            return Anim;
        }
        public void setAnim(int[] anim) {
            Anim = anim;
        }
        public int getSpeed() {
            return speed;
        }
        public void setSpeed(int speed) {
            this.speed = speed;
        }
    }
    title says all anything more that i missed about items?

    Reply With Quote  
     

  2. #2  
    Registered Member

    Join Date
    Jun 2007
    Age
    18
    Posts
    2,959
    Thanks
    48
    Thanked 94 Times in 57 Posts
    Rep Power
    2928
    Looks fine to me.

    untradeable?
    Reply With Quote  
     

  3. #3  
    Registered Member
    Serenity's Avatar
    Join Date
    Oct 2008
    Age
    24
    Posts
    2,328
    Thanks
    43
    Thanked 43 Times in 30 Posts
    Rep Power
    389
    o yeah i forgot thnx will add.
    ive added trade able in. anymore things i missed?

    Reply With Quote  
     

  4. #4  
    Leet Programmer

    'Mystic Flow's Avatar
    Join Date
    Nov 2007
    Age
    17
    Posts
    7,082
    Thanks
    240
    Thanked 1,172 Times in 604 Posts
    Rep Power
    3275
    setShop and setPlayerShop cause when you sell it's low and when you buy the price is higher
    :angry:


    Reply With Quote  
     

  5. #5  
    Registered Member
    Serenity's Avatar
    Join Date
    Oct 2008
    Age
    24
    Posts
    2,328
    Thanks
    43
    Thanked 43 Times in 30 Posts
    Rep Power
    389
    aint that a percentage?

    Reply With Quote  
     

  6. #6  
    Registered Member

    Join Date
    Feb 2009
    Posts
    554
    Thanks
    7
    Thanked 20 Times in 16 Posts
    Rep Power
    340
    Quote Originally Posted by Serenity View Post
    aint that a percentage?
    I believe it's the low alchemy value of the item. (Atleast it is for the general store)
    Reply With Quote  
     

  7. #7  
    Registered Member
    Serenity's Avatar
    Join Date
    Oct 2008
    Age
    24
    Posts
    2,328
    Thanks
    43
    Thanked 43 Times in 30 Posts
    Rep Power
    389
    adding fullbody,full helmet in it.

    Reply With Quote  
     

  8. #8  
    Extreme Donator


    Join Date
    Jan 2008
    Posts
    3,232
    Thanks
    11
    Thanked 739 Times in 279 Posts
    Rep Power
    1525
    it looks k but seems like it will take some memory up
    King of the Interwebs, hardest can be, I dare you to let your chick party with me
    Im flamable and im hung like a tree
    Imagine if your new born pops out looking exactly like me
    Reply With Quote  
     

  9. #9  
    Registered Member
    Serenity's Avatar
    Join Date
    Oct 2008
    Age
    24
    Posts
    2,328
    Thanks
    43
    Thanked 43 Times in 30 Posts
    Rep Power
    389
    Quote Originally Posted by Richard1992 View Post
    it looks k but seems like it will take some memory up
    ive considerd it also. but what i thought was then. currently most servers have different lists. wich contain this. i am just combining them.

    Reply With Quote  
     

  10. #10  
    Registered Member
    _slam's Avatar
    Join Date
    Oct 2009
    Posts
    309
    Thanks
    5
    Thanked 1 Time in 1 Post
    Rep Power
    441
    wow, thats cool , that would take ages getting that information.
    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)

Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •