|
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.
Edit: Made the trees only require 1 chop just for the gifs to show the stumpsCode: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);
-Media-
[SPOIL]
[/SPOIL]
This is a nice share for the ones who needs it Well done
Next up rocks?
Good stuff mate.
Nice one will come in handy.
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;
It makes the enums constants data a little more cluttered..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);
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.
nice was looking for this a while ago. painfully searched through a object list tho for couple hrs Cx
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |