- Basically it was saying "value = readmemory or 0". Then saying "if value == nil". It will never = nil only a valid value or 0. So just changed them to "if value== 0."
- I noticed some code doesn't check the Id but instead checks the Name or Type when searching. So to make sure it doesn't get a match with an invalid object or pawn it now also resets those values.
- Added skilltab and skillnum to the CSkill class object creation.
- So if you use "skill = CSkill(v)" it will include those 2 values. Before it was missing them.
- Changed "igf_GetTooltip" to be able to get any tooltip. I have plans for it. It is backward compatible so doesn't affect the bot.
- So RoMScript("igf_GetTooltip('Left',bagid)") still works but now you can specify the tooltip you want. New syntax is igf_GetTooltip(_side, _setcommand, _arg1, ...)
So lets say you want to get the left tooltip for the first action key, you can useFor a list of all the 'set' commands you can use look here.Code: Select all
RoMScript("igf_GetTooltip('Left','SetActionItem',1)")
http://www.theromwiki.com/Widget_Element_GameTooltip
- This is the best way now for users to load a new profile. It works similar to when starting the bot. If no profile is specified then it looks for and uses the profile that matches the character name. If thats not found then it looks for 'userdefault' profile. If that's not found then it errors. The main benefit of this function is the old way didn't run the onload section of the profile. This does.