Exp Charms
Exp Charms
Is there anyway to check is an Experience / talent charm is full, and if so un-equip and equip a new one if one is available?
I can do the check if available, but the first part I have no clue...
I can do the check if available, but the first part I have no clue...
Re: Exp Charms
I couldn't find a command or anything but I found a memory address. Try this
I only tested this with 1 character so I can't guarantee it works in all cases. Try it out and let me know. Of course if the game addresses change this would have to be updated.
Hm.. maybe if you use this instead, it will survice an update.And by "survive an update" I mean when staticEquipBase gets updated then this should work again.
Code: Select all
charmlevel = memoryReadInt(getProc(),0x9CF1BC)
Hm.. maybe if you use this instead, it will survice an update.
Code: Select all
charmlevel = memoryReadInt(getProc(),addresses.staticEquipBase + 0x4E0)
- 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: Exp Charms
My Charm is alomst full, will try it in a bit.
Thx Rock
Thx Rock
Re: Exp Charms
Code: Select all
Fight #1
Charm not full ( 997680 ), keep going.
Fight # 2
Exp Charm Swapped.
Here's my onleavecombat event:
Code: Select all
local charmlevel = memoryReadInt(getProc(),addresses.staticEquipBase + 0x4E0)
if inventory:itemTotalCount("Superior Experience Charm") >= 1 then
if ( charmlevel > 999999 ) then
inventory:useItem("Superior Experience Charm");
printf("Exp Charm Swapped.\n");
else
printf("Charm not full ( %s ), keep going.\n", charmlevel);
end
else
printf("No charms in inventory... Can't swap !\n");
end
Re: Exp Charms
RoM gives warning:
Canot quip 2 amulets of same type.
How do I unequip first charm so I can equip a new one?
Canot quip 2 amulets of same type.
How do I unequip first charm so I can equip a new one?
Re: Exp Charms
Don't you have to take the old one out first? From memory you have to right click it right? So "UseEquipmentItem(19)" should work. I think 19 is correct.
- 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: Exp Charms
addresses.staticEquipBase + 0x4E0
this looks like the first slot for charms, anyone who can tell me which code i need for the second slot?
Thy
this looks like the first slot for charms, anyone who can tell me which code i need for the second slot?
Thy
Who is online
Users browsing this forum: Ahrefs [Bot] and 3 guests