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
    32
    Posts
    2,327
    Thanks given
    43
    Thanks received
    43
    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?
    [Only registered and activated users can see links. ]
    [Only registered and activated users can see links. ]

    Reply With Quote  
     

  2. #2  
    Registered Member

    Join Date
    Jun 2007
    Age
    26
    Posts
    3,007
    Thanks given
    52
    Thanks received
    98
    Rep Power
    3208
    Looks fine to me.

    untradeable?
    Reply With Quote  
     

  3. #3  
    Registered Member
    Serenity's Avatar
    Join Date
    Oct 2008
    Age
    32
    Posts
    2,327
    Thanks given
    43
    Thanks received
    43
    Rep Power
    389
    o yeah i forgot thnx will add.
    ive added trade able in. anymore things i missed?
    [Only registered and activated users can see links. ]
    [Only registered and activated users can see links. ]

    Reply With Quote  
     

  4. #4  
    Hi.

    'Mystic Flow's Avatar
    Join Date
    Nov 2007
    Posts
    7,141
    Thanks given
    256
    Thanks received
    1,247
    Rep Power
    3636
    setShop and setPlayerShop cause when you sell it's low and when you buy the price is higher

    [Only registered and activated users can see links. ]

    Reply With Quote  
     

  5. #5  
    Registered Member
    Serenity's Avatar
    Join Date
    Oct 2008
    Age
    32
    Posts
    2,327
    Thanks given
    43
    Thanks received
    43
    Rep Power
    389
    aint that a percentage?
    [Only registered and activated users can see links. ]
    [Only registered and activated users can see links. ]

    Reply With Quote  
     

  6. #6  
    Registered Member

    Join Date
    Feb 2009
    Posts
    554
    Thanks given
    7
    Thanks received
    19
    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
    32
    Posts
    2,327
    Thanks given
    43
    Thanks received
    43
    Rep Power
    389
    adding fullbody,full helmet in it.
    [Only registered and activated users can see links. ]
    [Only registered and activated users can see links. ]

    Reply With Quote  
     

  8. #8  
    Community Veteran



    Join Date
    Jan 2008
    Posts
    3,448
    Thanks given
    46
    Thanks received
    973
    Rep Power
    4723
    it looks k but seems like it will take some memory up

    Reply With Quote  
     

  9. #9  
    Registered Member
    Serenity's Avatar
    Join Date
    Oct 2008
    Age
    32
    Posts
    2,327
    Thanks given
    43
    Thanks received
    43
    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.
    [Only registered and activated users can see links. ]
    [Only registered and activated users can see links. ]

    Reply With Quote  
     

  10. #10  
    Registered Member
    _slam's Avatar
    Join Date
    Oct 2009
    Posts
    309
    Thanks given
    5
    Thanks received
    1
    Rep Power
    441
    wow, thats cool , that would take ages getting that information.
    [Only registered and activated users can see links. ]
    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

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