- I increase the time before the self:update a little to avoid loot skips because of aggro. The pause is only nessecary if not looting in combat
- Press shift also while harvest scanning. So we ignore players or mobs also while scanning a node
- There was a bug at the range check in the skill.lua. We did also range checks for skills with target=self. And the default range is 20. So some skills like 'PRIEST_HOLY_AURA' couldn't cast.
SVN91 / little fixes and range check bug in skill.lua
SVN91 / little fixes and range check bug in skill.lua
Just uploaded SVN 91 with some small fixes:
The RoM Bot Online Wiki needs your help!
- Administrator
- Site Admin
- Posts: 5307
- Joined: Sat Jan 05, 2008 4:21 pm
Re: SVN91 / little fixes and range check bug in skill.lua
All good changes, but no, do not set the default range to 999. It would mean that all skills that are undefined would automatically be considered usable at huge ranges, and most would fail. A better solution would be to just ignore the range check when target=self.d003232 wrote:Just uploaded SVN 91 with some small fixes:
I would suggest to set the default range to 999 (unlimited). But I'm not sure if there wouldn't be any side effects? _What do you mean?
- I increase the time before the self:update a little to avoid loot skips because of aggro. The pause is only nessecary if not looting in combat
- Press shift also while harvest scanning. So we ignore players or mobs also while scanning a node
- There was a bug at the range check in the skill.lua. We did also range checks for skills with target=self. And the default range is 20. So some skills like 'PRIEST_HOLY_AURA' couldn't cast.
Re: SVN91 / little fixes and range check bug in skill.lua
I did so. But the default with 20 means all enemy skills with no range defined are limited to 20. I think the default should don't care, because all enemy cast should have a defined range? I will take a look over the skills.xml.Administrator wrote:A better solution would be to just ignore the range check when target=self.
The RoM Bot Online Wiki needs your help!
Re: SVN91 / little fixes and range check bug in skill.lua
Whats the SVN 91 ? i did a search and saw a few posts but never found out what it was. Just wana make sure Im up to date w/all my stuff ^^
- Administrator
- Site Admin
- Posts: 5307
- Joined: Sat Jan 05, 2008 4:21 pm
Re: SVN91 / little fixes and range check bug in skill.lua
http://code.google.com/p/rom-bot/updates/listSbexe wrote:Whats the SVN 91 ? i did a search and saw a few posts but never found out what it was. Just wana make sure Im up to date w/all my stuff ^^
-
- Posts: 2
- Joined: Sun Jul 26, 2009 9:59 pm
Re: SVN91 / little fixes and range check bug in skill.lua
I updated today and now I'm getting a "scripts\rom/bot.lua:329: unexpected symbol near '<' " error.
- Administrator
- Site Admin
- Posts: 5307
- Joined: Sat Jan 05, 2008 4:21 pm
Re: SVN91 / little fixes and range check bug in skill.lua
Looks like the update messed up. Delete rom/bot.lua and retry an SVN update.JorgeMcgeorge wrote:I updated today and now I'm getting a "scripts\rom/bot.lua:329: unexpected symbol near '<' " error.
Who is online
Users browsing this forum: No registered users and 6 guests