Rev 571 changelog
Posted: Sun Feb 06, 2011 1:32 am
Another large commit. Well not so large this time but I'm posting a changelog just the same.
- EggPet class:
- Ratio option now uses materials in inventory instead of pet craft levels. This means if you set EGGPET_CRAFT_RATIO to 2:1:0 then it will craft so that you end up with twice as much ore than wood in your inventory, ignoring herbs. It includes processed materials so green ore would count as 2 and blue ore would counts as 12 etc.
- Can now use same pet for both crafting and assisting. If you set both the assist and craft pet to the same pet then it will craft when you have tools and assist when you don't. If you buy some tools it will switch back to crafting.
- player:merchant() now only buy pet tools if the corresponding ratio setting is not 0. So if you set EGGPET_CRAFT_RATIO to 2:1:0 then it will only attempt to buy hoes and hatchets at the amounts specified by the shopping options.
- When starting the bot, if you move before selecting a waypoint file from the list, it will now correctly find nearest waypoint. Previously it would run back to where you were standing when you started the bot.
- Autosell now only gets the tooltip for items that need it (weapons and armor). This saves time as only weapons and armor have durability and stats.
- Fixed RoMScript() so it should always succeed (no more 'compare to nil' errors). Even if the game freezes for 10s it should still succeed. You shouldn't need to use my 'repeat' trick anymore to make sure you get a value.