Thread: #129 OSRS Data Error?

Page 2 of 2 FirstFirst 12
Results 11 to 19 of 19
  1. #11  
    Registered Member
    ur weird mate's Avatar
    Join Date
    Feb 2008
    Posts
    81
    Thanks given
    254
    Thanks received
    43
    Rep Power
    126
    Quote Originally Posted by i_pk_pjers_i View Post
    What did you replace them with? Pasting it here will help others who get the same issue.
    #129 ReadValues in ItemDef.
     

  2. #12  
    🎶 As you're falling down 🎶


    uint32_t's Avatar
    Join Date
    Feb 2015
    Posts
    1,396
    Thanks given
    6,177
    Thanks received
    776
    Rep Power
    5000
    Quote Originally Posted by Failed Pur3 View Post
    #129 ReadValues in ItemDef.
    Right, I'm saying paste the correct readvalues themselves here as it will help others getting this error.
    Quote Originally Posted by Idiot Bird View Post
    Quote Originally Posted by Velocity View Post
    lol np mate looks like the community brought ur rep down to ur IQ
    Not too sure about that, it's at 0 . It would have to go minus to even be remotely close to his IQ.
     

  3. #13  
    Registered Member
    ur weird mate's Avatar
    Join Date
    Feb 2008
    Posts
    81
    Thanks given
    254
    Thanks received
    43
    Rep Power
    126
    Quote Originally Posted by i_pk_pjers_i View Post
    Right, I'm saying paste the correct readvalues themselves here as it will help others getting this error.
    I do not have permission to release the readvalues from whom I got it from.
     

  4. #14  
    🎶 As you're falling down 🎶


    uint32_t's Avatar
    Join Date
    Feb 2015
    Posts
    1,396
    Thanks given
    6,177
    Thanks received
    776
    Rep Power
    5000
    Quote Originally Posted by Failed Pur3 View Post
    I do not have permission to release the readvalues from whom I got it from.
    lol.
    Quote Originally Posted by Idiot Bird View Post
    Quote Originally Posted by Velocity View Post
    lol np mate looks like the community brought ur rep down to ur IQ
    Not too sure about that, it's at 0 . It would have to go minus to even be remotely close to his IQ.
     

  5. #15  
    Respected Member


    Join Date
    Jan 2009
    Posts
    5,743
    Thanks given
    1,162
    Thanks received
    3,603
    Rep Power
    5000
    Code:
        private void readValues(Stream stream) {
            do {
                int i = stream.readUnsignedByte();
                if (i == 0)
                    return;
                if (i == 1)
                    modelID = stream.readUnsignedWord();
                else if (i == 2)
                    name = stream.readString();
                else if (i == 3)
                    description = stream.readString().getBytes();
                else if (i == 4)
                    modelZoom = stream.readUnsignedWord();
                else if (i == 5)
                    modelRotationY = stream.readUnsignedWord();
                else if (i == 6)
                    modelRotationX = stream.readUnsignedWord();
                else if (i == 7) {
                    modelOffset1 = stream.readUnsignedWord();
                    if (modelOffset1 > 32767)
                        modelOffset1 -= 0x10000;
                } else if (i == 8) {
                    modelOffset2 = stream.readUnsignedWord();
                    if (modelOffset2 > 32767)
                        modelOffset2 -= 0x10000;
                } else if (i == 10)
                    stream.readUnsignedWord();
                else if (i == 11)
                    stackable = true;
                else if (i == 12)
                    value = stream.readDWord();
                else if (i == 16)
                    membersObject = true;
                else if (i == 23) {
                    anInt165 = stream.readUnsignedWord();
                    aByte205 = stream.readSignedByte();
                } else if (i == 24)
                    anInt188 = stream.readUnsignedWord();
                else if (i == 25) {
                    anInt200 = stream.readUnsignedWord();
                    aByte154 = stream.readSignedByte();
                } else if (i == 26)
                    anInt164 = stream.readUnsignedWord();
                else if (i >= 30 && i < 35) {
                    if (groundActions == null)
                        groundActions = new String[5];
                    groundActions[i - 30] = stream.readString();
                    if (groundActions[i - 30].equalsIgnoreCase("hidden"))
                        groundActions[i - 30] = null;
                } else if (i >= 35 && i < 40) {
                    if (itemActions == null)
                        itemActions = new String[5];
                    itemActions[i - 35] = stream.readString();
                    if (itemActions[i - 35].equalsIgnoreCase("hidden"))
                        itemActions[i - 35] = null;
                } else if (i == 40) {
                    int j = stream.readUnsignedByte();
                    modifiedModelColors = new int[j];
                    originalModelColors = new int[j];
                    for (int k = 0; k < j; k++) {
                        originalModelColors[k] = stream.readUnsignedWord();
                        modifiedModelColors[k] = stream.readUnsignedWord();
                    }
                } else if (i == 78)
                    anInt185 = stream.readUnsignedWord();
                else if (i == 79)
                    anInt162 = stream.readUnsignedWord();
                else if (i == 90)
                    anInt175 = stream.readUnsignedWord();
                else if (i == 91)
                    anInt197 = stream.readUnsignedWord();
                else if (i == 92)
                    anInt166 = stream.readUnsignedWord();
                else if (i == 93)
                    anInt173 = stream.readUnsignedWord();
                else if (i == 95)
                    anInt204 = stream.readUnsignedWord();
                else if (i == 97)
                    certID = stream.readUnsignedWord();
                else if (i == 98)
                    certTemplateID = stream.readUnsignedWord();
                else if (i >= 100 && i < 110) {
                    if (stackIDs == null) {
                        stackIDs = new int[10];
                        stackAmounts = new int[10];
                    }
                    stackIDs[i - 100] = stream.readUnsignedWord();
                    stackAmounts[i - 100] = stream.readUnsignedWord();
                } else if (i == 110)
                    anInt167 = stream.readUnsignedWord();
                else if (i == 111)
                    anInt192 = stream.readUnsignedWord();
                else if (i == 112)
                    anInt191 = stream.readUnsignedWord();
                else if (i == 113)
                    anInt196 = stream.readSignedByte();
                else if (i == 114)
                    anInt184 = stream.readSignedByte() * 5;
                else if (i == 115)
                    team = stream.readUnsignedByte();
                else
                    System.out.println("unknown opcode: " + i);
            } while (true);
        }
    https://thispixel.com/obj.dat
    https://thispixel.com/obj.idx
     

  6. Thankful users:


  7. #16  
    Registered Member
    ur weird mate's Avatar
    Join Date
    Feb 2008
    Posts
    81
    Thanks given
    254
    Thanks received
    43
    Rep Power
    126
    Quote Originally Posted by Stuart View Post
    Code:
        private void readValues(Stream stream) {
            do {
                int i = stream.readUnsignedByte();
                if (i == 0)
                    return;
                if (i == 1)
                    modelID = stream.readUnsignedWord();
                else if (i == 2)
                    name = stream.readString();
                else if (i == 3)
                    description = stream.readString().getBytes();
                else if (i == 4)
                    modelZoom = stream.readUnsignedWord();
                else if (i == 5)
                    modelRotationY = stream.readUnsignedWord();
                else if (i == 6)
                    modelRotationX = stream.readUnsignedWord();
                else if (i == 7) {
                    modelOffset1 = stream.readUnsignedWord();
                    if (modelOffset1 > 32767)
                        modelOffset1 -= 0x10000;
                } else if (i == 8) {
                    modelOffset2 = stream.readUnsignedWord();
                    if (modelOffset2 > 32767)
                        modelOffset2 -= 0x10000;
                } else if (i == 10)
                    stream.readUnsignedWord();
                else if (i == 11)
                    stackable = true;
                else if (i == 12)
                    value = stream.readDWord();
                else if (i == 16)
                    membersObject = true;
                else if (i == 23) {
                    anInt165 = stream.readUnsignedWord();
                    aByte205 = stream.readSignedByte();
                } else if (i == 24)
                    anInt188 = stream.readUnsignedWord();
                else if (i == 25) {
                    anInt200 = stream.readUnsignedWord();
                    aByte154 = stream.readSignedByte();
                } else if (i == 26)
                    anInt164 = stream.readUnsignedWord();
                else if (i >= 30 && i < 35) {
                    if (groundActions == null)
                        groundActions = new String[5];
                    groundActions[i - 30] = stream.readString();
                    if (groundActions[i - 30].equalsIgnoreCase("hidden"))
                        groundActions[i - 30] = null;
                } else if (i >= 35 && i < 40) {
                    if (itemActions == null)
                        itemActions = new String[5];
                    itemActions[i - 35] = stream.readString();
                    if (itemActions[i - 35].equalsIgnoreCase("hidden"))
                        itemActions[i - 35] = null;
                } else if (i == 40) {
                    int j = stream.readUnsignedByte();
                    modifiedModelColors = new int[j];
                    originalModelColors = new int[j];
                    for (int k = 0; k < j; k++) {
                        originalModelColors[k] = stream.readUnsignedWord();
                        modifiedModelColors[k] = stream.readUnsignedWord();
                    }
                } else if (i == 78)
                    anInt185 = stream.readUnsignedWord();
                else if (i == 79)
                    anInt162 = stream.readUnsignedWord();
                else if (i == 90)
                    anInt175 = stream.readUnsignedWord();
                else if (i == 91)
                    anInt197 = stream.readUnsignedWord();
                else if (i == 92)
                    anInt166 = stream.readUnsignedWord();
                else if (i == 93)
                    anInt173 = stream.readUnsignedWord();
                else if (i == 95)
                    anInt204 = stream.readUnsignedWord();
                else if (i == 97)
                    certID = stream.readUnsignedWord();
                else if (i == 98)
                    certTemplateID = stream.readUnsignedWord();
                else if (i >= 100 && i < 110) {
                    if (stackIDs == null) {
                        stackIDs = new int[10];
                        stackAmounts = new int[10];
                    }
                    stackIDs[i - 100] = stream.readUnsignedWord();
                    stackAmounts[i - 100] = stream.readUnsignedWord();
                } else if (i == 110)
                    anInt167 = stream.readUnsignedWord();
                else if (i == 111)
                    anInt192 = stream.readUnsignedWord();
                else if (i == 112)
                    anInt191 = stream.readUnsignedWord();
                else if (i == 113)
                    anInt196 = stream.readSignedByte();
                else if (i == 114)
                    anInt184 = stream.readSignedByte() * 5;
                else if (i == 115)
                    team = stream.readUnsignedByte();
                else
                    System.out.println("unknown opcode: " + i);
            } while (true);
        }
    https://thispixel.com/obj.dat
    https://thispixel.com/obj.idx
    There ya go.

    OT: Stuart, I used your website for item ids, any idea if you could post the full #129 item list?
     

  8. #17  
    🎶 As you're falling down 🎶


    uint32_t's Avatar
    Join Date
    Feb 2015
    Posts
    1,396
    Thanks given
    6,177
    Thanks received
    776
    Rep Power
    5000
    Quote Originally Posted by Stuart View Post
    Code:
        private void readValues(Stream stream) {
            do {
                int i = stream.readUnsignedByte();
                if (i == 0)
                    return;
                if (i == 1)
                    modelID = stream.readUnsignedWord();
                else if (i == 2)
                    name = stream.readString();
                else if (i == 3)
                    description = stream.readString().getBytes();
                else if (i == 4)
                    modelZoom = stream.readUnsignedWord();
                else if (i == 5)
                    modelRotationY = stream.readUnsignedWord();
                else if (i == 6)
                    modelRotationX = stream.readUnsignedWord();
                else if (i == 7) {
                    modelOffset1 = stream.readUnsignedWord();
                    if (modelOffset1 > 32767)
                        modelOffset1 -= 0x10000;
                } else if (i == 8) {
                    modelOffset2 = stream.readUnsignedWord();
                    if (modelOffset2 > 32767)
                        modelOffset2 -= 0x10000;
                } else if (i == 10)
                    stream.readUnsignedWord();
                else if (i == 11)
                    stackable = true;
                else if (i == 12)
                    value = stream.readDWord();
                else if (i == 16)
                    membersObject = true;
                else if (i == 23) {
                    anInt165 = stream.readUnsignedWord();
                    aByte205 = stream.readSignedByte();
                } else if (i == 24)
                    anInt188 = stream.readUnsignedWord();
                else if (i == 25) {
                    anInt200 = stream.readUnsignedWord();
                    aByte154 = stream.readSignedByte();
                } else if (i == 26)
                    anInt164 = stream.readUnsignedWord();
                else if (i >= 30 && i < 35) {
                    if (groundActions == null)
                        groundActions = new String[5];
                    groundActions[i - 30] = stream.readString();
                    if (groundActions[i - 30].equalsIgnoreCase("hidden"))
                        groundActions[i - 30] = null;
                } else if (i >= 35 && i < 40) {
                    if (itemActions == null)
                        itemActions = new String[5];
                    itemActions[i - 35] = stream.readString();
                    if (itemActions[i - 35].equalsIgnoreCase("hidden"))
                        itemActions[i - 35] = null;
                } else if (i == 40) {
                    int j = stream.readUnsignedByte();
                    modifiedModelColors = new int[j];
                    originalModelColors = new int[j];
                    for (int k = 0; k < j; k++) {
                        originalModelColors[k] = stream.readUnsignedWord();
                        modifiedModelColors[k] = stream.readUnsignedWord();
                    }
                } else if (i == 78)
                    anInt185 = stream.readUnsignedWord();
                else if (i == 79)
                    anInt162 = stream.readUnsignedWord();
                else if (i == 90)
                    anInt175 = stream.readUnsignedWord();
                else if (i == 91)
                    anInt197 = stream.readUnsignedWord();
                else if (i == 92)
                    anInt166 = stream.readUnsignedWord();
                else if (i == 93)
                    anInt173 = stream.readUnsignedWord();
                else if (i == 95)
                    anInt204 = stream.readUnsignedWord();
                else if (i == 97)
                    certID = stream.readUnsignedWord();
                else if (i == 98)
                    certTemplateID = stream.readUnsignedWord();
                else if (i >= 100 && i < 110) {
                    if (stackIDs == null) {
                        stackIDs = new int[10];
                        stackAmounts = new int[10];
                    }
                    stackIDs[i - 100] = stream.readUnsignedWord();
                    stackAmounts[i - 100] = stream.readUnsignedWord();
                } else if (i == 110)
                    anInt167 = stream.readUnsignedWord();
                else if (i == 111)
                    anInt192 = stream.readUnsignedWord();
                else if (i == 112)
                    anInt191 = stream.readUnsignedWord();
                else if (i == 113)
                    anInt196 = stream.readSignedByte();
                else if (i == 114)
                    anInt184 = stream.readSignedByte() * 5;
                else if (i == 115)
                    team = stream.readUnsignedByte();
                else
                    System.out.println("unknown opcode: " + i);
            } while (true);
        }
    https://thispixel.com/obj.dat
    https://thispixel.com/obj.idx
    Thank you so much. I'd rep you but it wouldn't do much good as you already have 5k rep.
    Quote Originally Posted by Idiot Bird View Post
    Quote Originally Posted by Velocity View Post
    lol np mate looks like the community brought ur rep down to ur IQ
    Not too sure about that, it's at 0 . It would have to go minus to even be remotely close to his IQ.
     

  9. #18  
    Respected Member


    Join Date
    Jan 2009
    Posts
    5,743
    Thanks given
    1,162
    Thanks received
    3,603
    Rep Power
    5000
    Quote Originally Posted by Failed Pur3 View Post
    There ya go.

    OT: Stuart, I used your website for item ids, any idea if you could post the full #129 item list?
    I can, items with no names are not included

    https://thispixel.com/items129list.html
     

  10. Thankful users:


  11. #19  
    Waddup

    Stan's Avatar
    Join Date
    Apr 2016
    Posts
    376
    Thanks given
    110
    Thanks received
    394
    Rep Power
    521
    Quote Originally Posted by Failed Pur3 View Post
    There ya go.

    OT: Stuart, I used your website for item ids, any idea if you could post the full #129 item list?
    https://www.dropbox.com/s/6in6snyagv...items.txt?dl=0
    Credits to OpenRS

    EDIT: Whoops, Stuart already gave them while writing this comment
     

  12. Thankful users:


Page 2 of 2 FirstFirst 12

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. Loading OSRS data
    By Lennard in forum Show-off
    Replies: 6
    Last Post: 03-22-2015, 01:20 PM
  2. Zeah || #1 ospk & economy || latest osrs data
    By infurious in forum Projects
    Replies: 43
    Last Post: 03-19-2015, 12:50 AM
  3. #68 osrs data and cache
    By DragonSmith in forum Downloads
    Replies: 4
    Last Post: 12-21-2014, 07:35 PM
  4. packed 474 data errors
    By _Patrick_ in forum Help
    Replies: 3
    Last Post: 09-04-2014, 02:05 PM
  5. world list data error
    By cihan in forum Help
    Replies: 0
    Last Post: 12-24-2010, 12:10 AM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •