Picking up buffs

Runes of Magic/Radiant Arcana (http://www.runesofmagic.com)
Post Reply
Message
Author
User avatar
3cmSailorfuku
Posts: 354
Joined: Mon Jan 21, 2008 6:25 pm

Picking up buffs

#1 Post by 3cmSailorfuku »

Is the bot supposed to not pick them up, eg. move to the middle of the corpse? When I used earlier builds the bot moved a little forwards after a killed mob. I want to know if it's a bug, or feature since I started to use the bot again since Rev 447.
filipsworks
Posts: 53
Joined: Mon May 10, 2010 10:37 am

Re: Picking up buffs

#2 Post by filipsworks »

It's for RoM/RA?

Can U Move that topic?
User avatar
Administrator
Site Admin
Posts: 5344
Joined: Sat Jan 05, 2008 4:21 pm

Re: Picking up buffs

#3 Post by Administrator »

I guess you can consider this a feature. Having the bot always move forward in an attempt to collect a buff was considered to be too bot-like, so it was changed to happen randomly sometimes. That is, if I remember correctly.
User avatar
3cmSailorfuku
Posts: 354
Joined: Mon Jan 21, 2008 6:25 pm

Re: Picking up buffs

#4 Post by 3cmSailorfuku »

Administrator wrote:I guess you can consider this a feature. Having the bot always move forward in an attempt to collect a buff was considered to be too bot-like, so it was changed to happen randomly sometimes. That is, if I remember correctly.
Do you know which part of the code manages the random seed? I can't remember that this happened ever.
User avatar
rock5
Posts: 12173
Joined: Tue Jan 05, 2010 3:30 am
Location: Australia

Re: Picking up buffs

#5 Post by rock5 »

3cmSailorfuku wrote:Do you know which part of the code manages the random seed? I can't remember that this happened ever.
I believe it's line 1008 of player.lua. Looks like the odds are set to 1 in 5 to pick up the buff.
  • Please consider making a small donation to me to support my continued contributions to the bot and this forum. Thank you. Donate
  • I check all posts before reading PMs. So if you want a fast reply, don't PM me but post a topic instead. PM me for private or personal topics only.
  • How to: copy and paste in micromacro
    ________________________
    Quote:
    • “They say hard work never hurt anybody, but I figure, why take the chance.”
          • Ronald Reagan
User avatar
3cmSailorfuku
Posts: 354
Joined: Mon Jan 21, 2008 6:25 pm

Re: Picking up buffs

#6 Post by 3cmSailorfuku »

rock5 wrote:
3cmSailorfuku wrote:Do you know which part of the code manages the random seed? I can't remember that this happened ever.
I believe it's line 1008 of player.lua. Looks like the odds are set to 1 in 5 to pick up the buff.
I found out what the issue was, when the bot would move in to get the buff, it's actually still busy with looting in my case. Had to include a yrest(500) before it would press W to execute it after looting.
Post Reply