Thread: OSRS Tree Data

Page 1 of 2 12 LastLast
Results 1 to 10 of 11
  1. #1 OSRS Tree Data 
    'Slutty McFur'

    Owain's Avatar
    Join Date
    Sep 2014
    Age
    26
    Posts
    2,894
    Thanks given
    2,360
    Thanks received
    2,200
    Rep Power
    5000
    Thought I'd share this, since the data that I collected has been lying around not doing much use. I ran around OSRS on a bot client debugging the object IDs.
    I'd much rather see this used than go to waste, because its 2017 and the majority of servers still don't even use the correct stump IDs.

    Note that these will only work with OSRS revisions later than around #119, or whenever they changed a load of object IDs.
    Also to note that there's a large number of 'dead' trees, since they each have a unique tree and stump ID.

    Format is {Tree IDs}, Stump ID, Log ID, Level required, XP gained.

    Code:
    	NORMAL(new int[] {1276, 1278, 1279}, 1342, 1511, 1, 25),
    	DYING(new int[] {3648}, 3649, 1511, 1, 25),
    	DEAD(new int[] {1284}, 1341, 1511, 1, 25),
    	DEAD1(new int[] {1286}, 1351, 1511, 1, 25),
    	DEAD2(new int[] {1282, 1283}, 1347, 1511, 1, 25),
    	DEAD3(new int[] {1365}, 1352, 1511, 1, 25),
    	DEAD4(new int[] {1289}, 1353, 1511, 1, 25),
    	DEAD5(new int[] {1285}, 1349, 1511, 1, 25),
    	ACHEY(new int[] {2023}, 3371, 2862, 1, 25),
    	OAK(new int[] {1751}, 1356, 1521, 15, 37.5),
    	WILLOW(new int[] {1756, 1758, 1760}, 9471, 1519, 30, 67.5),
    	WILLOW2(new int[] {1750}, 9711, 1519, 30, 67.5),
    	TEAK(new int[] {9036}, 9037, 6333, 35, 85),
    	MAPLE(new int[] {1759}, 9712, 1517, 45, 100),
    	HOLLOW(new int[] {1752}, 4061, 3239, 45, 82),
    	MAHOGANY(new int[] {9034}, 9035, 6332, 50, 125),
    	YEW(new int[] {1753, 1754}, 9714, 1515, 60, 175),
    	MAGIC(new int[] {1761}, 9713, 1513, 75, 250),
    	REDWOOD(new int[] {28859}, 28860, 19669, 90, 380);
    Edit: Made the trees only require 1 chop just for the gifs to show the stumps

    -Media-

    [SPOIL]Attached image
    Attached image
    Attached image
    Attached image
    Attached image[/SPOIL]


    Spoiler for wat:
    Attached image
    Attached image

    Attached image


    Reply With Quote  
     


  2. #2  
    🎶 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
    Thanks for sharing this.
    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.
    Reply With Quote  
     

  3. #3  
    Super Donator


    Join Date
    Feb 2011
    Age
    27
    Posts
    1,126
    Thanks given
    180
    Thanks received
    178
    Rep Power
    243
    This is a nice share for the ones who needs it Well done

    Next up rocks?
    Reply With Quote  
     

  4. #4  
    sυввч

    Sub's Avatar
    Join Date
    Aug 2007
    Age
    24
    Posts
    4,352
    Thanks given
    1,205
    Thanks received
    359
    Rep Power
    2845
    Good stuff mate.
    Reply With Quote  
     

  5. #5  
    Extreme Donator

    Kiana's Avatar
    Join Date
    May 2015
    Posts
    1,050
    Thanks given
    147
    Thanks received
    187
    Rep Power
    223
    Nice one will come in handy.
    Reply With Quote  
     

  6. #6  
    'Slutty McFur'

    Owain's Avatar
    Join Date
    Sep 2014
    Age
    26
    Posts
    2,894
    Thanks given
    2,360
    Thanks received
    2,200
    Rep Power
    5000
    Quote Originally Posted by Gnakos View Post
    This is a nice share for the ones who needs it Well done

    Next up rocks?
    Perhaps.


    Spoiler for wat:
    Attached image
    Attached image

    Attached image


    Reply With Quote  
     

  7. #7  
    What's a sundial in the shade?

    Lumiere's Avatar
    Join Date
    May 2013
    Age
    27
    Posts
    543
    Thanks given
    224
    Thanks received
    100
    Rep Power
    113
    Thanks for this.

    Just my opinion, but you should utilize that array better, and also make one for stumps.
    Instead of what you have, could be something like this;

    Code:
    		NORMAL(new int[] {1276, 1278, 1279}, new int[] {1342}, 1511, 1, 25),
    		DYING(new int[] {3648}, new int[] {3649}, 1511, 1, 25),
    		
    		DEAD(new int[] {1284, 1286, 1282, 1283, 1365, 1289, 1285},
    			 new int[] {1341, 1351, 1347, 1347, 1352, 1353, 1349}, 1511, 1, 25),
    		
    		ACHEY(new int[] {2023}, new int[] {3371}, 2862, 1, 25),
    		OAK(new int[] {1751}, new int[] {1356}, 1521, 15, 37.5),
    		
    		WILLOW(new int[] {1756, 1758, 1760, 1750},
    			   new int[] {9471, 9471, 9471, 9711}, 1519, 30, 67.5),
    		
    		TEAK(new int[] {9036}, new int[] {9037}, 6333, 35, 85),
    		MAPLE(new int[] {1759}, new int[] {9712}, 1517, 45, 100),
    		HOLLOW(new int[] {1752}, new int[] {4061}, 3239, 45, 82),
    		MAHOGANY(new int[] {9034}, new int[] {9035}, 6332, 50, 125),
    		YEW(new int[] {1753, 1754}, new int[] {9714}, 1515, 60, 175),
    		MAGIC(new int[] {1761}, new int[] {9713}, 1513, 75, 250),
    		REDWOOD(new int[] {28859}, new int[] {28860}, 19669, 90, 380);
    It makes the enums constants data a little more cluttered..
    But, now you're not using and naming 6 or so different constants "TREE1" etc, for basically the same data.

    Note: I aligned the stump ids to the tree ids in the indexes, soooo..
    If you were to call "trees.getObject()[2]" or "Trees.WILLOW.getObject()[1]"
    It would be the same index for the stump "trees.getStump()[2]" or "Trees.WILLOW.getStump[1]"

    The only unfortunate thing of doing it that way is that as you can see, in the second array in the "WILLOW" constant;
    "9471" is used 3 times.

    Spoiler for Revy is perfect:
    Reply With Quote  
     

  8. #8  
    Donator

    i dds you's Avatar
    Join Date
    Jun 2013
    Posts
    831
    Thanks given
    678
    Thanks received
    160
    Rep Power
    92
    Helpful, thanks for the share. Mainly using stump ID's, They are named horribly on the object list and take a while to work out each one individually

    Reply With Quote  
     

  9. #9  
    'Slutty McFur'

    Owain's Avatar
    Join Date
    Sep 2014
    Age
    26
    Posts
    2,894
    Thanks given
    2,360
    Thanks received
    2,200
    Rep Power
    5000
    Quote Originally Posted by Lumiere View Post
    Thanks for this.

    Just my opinion, but you should utilize that array better, and also make one for stumps.
    Instead of what you have, could be something like this;

    Code:
    		NORMAL(new int[] {1276, 1278, 1279}, new int[] {1342}, 1511, 1, 25),
    		DYING(new int[] {3648}, new int[] {3649}, 1511, 1, 25),
    		
    		DEAD(new int[] {1284, 1286, 1282, 1283, 1365, 1289, 1285},
    			 new int[] {1341, 1351, 1347, 1347, 1352, 1353, 1349}, 1511, 1, 25),
    		
    		ACHEY(new int[] {2023}, new int[] {3371}, 2862, 1, 25),
    		OAK(new int[] {1751}, new int[] {1356}, 1521, 15, 37.5),
    		
    		WILLOW(new int[] {1756, 1758, 1760, 1750},
    			   new int[] {9471, 9471, 9471, 9711}, 1519, 30, 67.5),
    		
    		TEAK(new int[] {9036}, new int[] {9037}, 6333, 35, 85),
    		MAPLE(new int[] {1759}, new int[] {9712}, 1517, 45, 100),
    		HOLLOW(new int[] {1752}, new int[] {4061}, 3239, 45, 82),
    		MAHOGANY(new int[] {9034}, new int[] {9035}, 6332, 50, 125),
    		YEW(new int[] {1753, 1754}, new int[] {9714}, 1515, 60, 175),
    		MAGIC(new int[] {1761}, new int[] {9713}, 1513, 75, 250),
    		REDWOOD(new int[] {28859}, new int[] {28860}, 19669, 90, 380);
    It makes the enums constants data a little more cluttered..
    But, now you're not using and naming 6 or so different constants "TREE1" etc, for basically the same data.

    Note: I aligned the stump ids to the tree ids in the indexes, soooo..
    If you were to call "trees.getObject()[2]" or "Trees.WILLOW.getObject()[1]"
    It would be the same index for the stump "trees.getStump()[2]" or "Trees.WILLOW.getStump[1]"

    The only unfortunate thing of doing it that way is that as you can see, in the second array in the "WILLOW" constant;
    "9471" is used 3 times.
    Yeah thanks, this wasn't to show off my coding ability, just simply the data that I was providing.
    Of course this is just a snippet and is missing other features of woodcutting such as respawn time, decay chance and the rate at which logs are cut.


    Spoiler for wat:
    Attached image
    Attached image

    Attached image


    Reply With Quote  
     

  10. Thankful users:


  11. #10  
    Registered Member Matt__OS's Avatar
    Join Date
    Jun 2015
    Age
    30
    Posts
    204
    Thanks given
    65
    Thanks received
    28
    Rep Power
    0
    nice was looking for this a while ago. painfully searched through a object list tho for couple hrs Cx
    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. Compilation of Various OSRS Map-data
    By Arth in forum Snippets
    Replies: 6
    Last Post: 04-23-2016, 01:49 AM
  2. OSRS Map data, Decoded.
    By simplelyons in forum Downloads
    Replies: 1
    Last Post: 01-21-2016, 10:59 PM
  3. Getting OSRS Floor Data From Cache
    By reiss82 in forum Help
    Replies: 3
    Last Post: 01-19-2016, 07:35 AM
  4. Looking for uptodate OSRS map data
    By Rs9118999 in forum Services
    Replies: 2
    Last Post: 01-14-2016, 11:08 PM
  5. Extracting osrs map data
    By srsa in forum Help
    Replies: 1
    Last Post: 12-31-2015, 11:08 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
  •