Patch 4.011.2531
Re: Patch 4.011.2531
solucionado muxas gracias por la ayuda
Re: Patch 4.011.2531
The only problem I've discovered is player.Mounted is always false, even when mounted.
Re: Patch 4.011.2531
I've checked 'Mounted', it works. Anything unusual about your setup?
- 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
Re: Patch 4.011.2531
Interesting... No, nothing special that I know of... I guess I'll have to look into it more.rock5 wrote:I've checked 'Mounted', it works. Anything unusual about your setup?
EDIT: Ooops, actually player.Mounted seems to always be true.
Re: Patch 4.011.2531
This worked pre-patch:
But now it gets caught in a summon mount/cancel mount loop. And since there is no player.mount() in this loop, I'm a bit confused as to why it is summoning the mount at all.
I'm running the rom4u.com client, though it should be the same as the official one.
Code: Select all
repeat
player:dismount()
yrest(2000)
player:update()
printf("Player Mounted: "..tostring(player.Mounted).."\n")
until not player.Mounted
I'm running the rom4u.com client, though it should be the same as the official one.
Re: Patch 4.011.2531
Works fine for me.
If not mounted
If mounted but player:update() not run yet
If mounted and player:update() is run beforehand.
In each case it ends in it being dismounted and the output is what is to be expected.
The reason it mounts even though you don't have a player:mount() in the loop is because one of the ways it dismounts is to use the mount.
I use the rom4u client too so that's ok.
Maybe it has something to do with the mount you use or some unexpected buff you have that is confusing it.
If not mounted
Code: Select all
Already dismounted.
Player Mounted: false
Code: Select all
Already dismounted.
Player Mounted: true
Player Mounted: false
Code: Select all
Player Mounted: false
The reason it mounts even though you don't have a player:mount() in the loop is because one of the ways it dismounts is to use the mount.
I use the rom4u client too so that's ok.
Maybe it has something to do with the mount you use or some unexpected buff you have that is confusing it.
- 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
Re: Patch 4.011.2531
OK, I figured out what was causing it (but not how). player.Mounted stops working correctly when in a party. I leave the party and it starts working again.
Re: Patch 4.011.2531
The same problem. But only i take priest. Rouge, knight,scout, mage, warden are working fine.
Re: Patch 4.011.2531
Now we're getting closer.
Looking at the actual value it reads from memory, it looks like only 1 bit indicates if it's mounted.
Try this. Change line 274 of pawn.luato
Seeing as different bits seem to mean different things at this offset, I just realised that it is part of the pawnAttackable_offset which holds other flags. I'll probably have to fix it to use that offset.
Looking at the actual value it reads from memory, it looks like only 1 bit indicates if it's mounted.
Try this. Change line 274 of pawn.lua
Code: Select all
self.Mounted = memoryReadRepeat("byte", proc, self.Address + addresses.pawnMount_offset) ~= 1;
Code: Select all
self.Mounted = bitAnd(memoryReadRepeat("byte", proc, self.Address + addresses.pawnMount_offset), 0x10);
- 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
Re: Patch 4.011.2531
I committed a fix in rev 717.
If you made the change I suggested above, you will probably get a conflict when updating so make sure you do an svn/revert on pawn.lua.
If you made the change I suggested above, you will probably get a conflict when updating so make sure you do an svn/revert on pawn.lua.
- 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
Re: Patch 4.011.2531
Yep! Working great now. Thanks.
Who is online
Users browsing this forum: Ahrefs [Bot], Bing [Bot], Google [Bot] and 2 guests