[MicroMacro-HELP] mobs with buff
[MicroMacro-HELP] mobs with buff
I have got a problem because when i try to set a waypoints to manualy exp farm, it work but attack only mobs without buffs [dont know how to translate them] that gives from them more xp. Tried many things and it still dont work pls help me.
Sorry for my bad english
Sorry for my bad english
-
- Posts: 35
- Joined: Sat Feb 04, 2012 6:53 am
Re: [MicroMacro-HELP] mobs with buff
U need use the ntBuff addon ... or
function getupBuff(_buffName)
local buffName=_buffName;
if not player:hasBuff(buffName) then
RoMScript("CastSpellByName(\'"..buffName.."\')");yrest(800); --player:cast(buffName);
end;
end
.
.
. if player.Class1 == CLASS_SCOUT then
getupBuff("Frost Arrow")
elseif player.Class1 == CLASS_MAGE then -- and player.Class2 == CLASS_PRIEST
getupBuff("Magic Barrier")
getupBuff("Essence of Magic")
getupBuff("Fire Ward")
getupBuff("Blessed Spring Water")
elseif player.Class1 == CLASS_KNIGHT then
getupBuff("Enhanced Armor")
getupBuff("Holy Seal")
elseif player.Class1 == CLASS_CHAMPION then
getupBuff("Forge")
elseif player.Class1 == CLASS_ROGUE then
elseif player.Class1 == CLASS_PRIEST then
elseif player.Class1 == CLASS_WARRIOR then
elseif player.Class1 == CLASS_WARLOCK then
end;
function getupBuff(_buffName)
local buffName=_buffName;
if not player:hasBuff(buffName) then
RoMScript("CastSpellByName(\'"..buffName.."\')");yrest(800); --player:cast(buffName);
end;
end
.
.
. if player.Class1 == CLASS_SCOUT then
getupBuff("Frost Arrow")
elseif player.Class1 == CLASS_MAGE then -- and player.Class2 == CLASS_PRIEST
getupBuff("Magic Barrier")
getupBuff("Essence of Magic")
getupBuff("Fire Ward")
getupBuff("Blessed Spring Water")
elseif player.Class1 == CLASS_KNIGHT then
getupBuff("Enhanced Armor")
getupBuff("Holy Seal")
elseif player.Class1 == CLASS_CHAMPION then
getupBuff("Forge")
elseif player.Class1 == CLASS_ROGUE then
elseif player.Class1 == CLASS_PRIEST then
elseif player.Class1 == CLASS_WARRIOR then
elseif player.Class1 == CLASS_WARLOCK then
end;
Re: [MicroMacro-HELP] mobs with buff
The bot will use what skills you set in the profile.
If you want other "buffs" like from potions then you just add in code to the profiles onleavecombat.
for example
You need the ID for the item that gives the buff and you need the ID of the buff itself.
an example of profile skills would look like this
Priest/Scout
If you want other "buffs" like from potions then you just add in code to the profiles onleavecombat.
for example
Code: Select all
<onLeaveCombat><![CDATA[
if not player:hasBuff(506687) then -- housemaid luck
inventory:useItem(207203)
end
if not player:hasBuff(503479) then -- pet perfume
inventory:useItem(207582)
end
if not player:hasBuff(501647) then --potent luck
inventory:useItem(202322)
end
]]></onLeaveCombat>
an example of profile skills would look like this
Priest/Scout
Code: Select all
<skills_priest>
<skill name="PRIEST_SOUL_SOURCE" hotkey="MACRO" priority="110" inbattle="true" hpper="30" />
<skill name="PRIEST_URGENT_HEAL" hotkey="MACRO" priority="100" hpper="85" />
<skill name="PRIEST_REGENERATE" hotkey="MACRO" priority="90" hpper="60" />
<skill name="PRIEST_ICE_BLADE" hotkey="MACRO" priority="80" />
<skill name="PRIEST_GRACE_OF_LIFE" hotkey="MACRO" priority="20" rebuffcut="60" inbattle="false" />
<skill name="PRIEST_AMPLIFIED_ATTACK" hotkey="MACRO" priority="20" rebuffcut="60" inbattle="false" />
<skill name="PRIEST_HOLY_AURA" hotkey="MACRO" priority="100" inbattle="true" hpper="24" />
<skill name="PRIEST_MAGIC_BARRIER" hotkey="MACRO" priority="20" rebuffcut="60" inbattle="false" />
<skill name="PRIEST_HEALING_SALVE" hotkey="MACRO" priority="95" />
<skill name="PRIEST_EMBRACE_OF_THE_WATER_SPIRIT" hotkey="MACRO" priority="95" inbattle="false" />
</skills_priest>
Remember no matter you do in life to always have a little fun while you are at it 
wiki here http://www.solarstrike.net/wiki/index.php?title=Manual

wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
Re: [MicroMacro-HELP] mobs with buff
i dont mean mine buff, i know how to set using buffs.I have problem when mobs from new zones have buff he dont attack them so if u know how help say
-
- Posts: 35
- Joined: Sat Feb 04, 2012 6:53 am
Re: [MicroMacro-HELP] mobs with buff
I think the point is not the buff. They are fighting, an u need setup in profil:
changeProfileOption("ANTI_KS",false);
Try
changeProfileOption("ANTI_KS",false);
Try
Re: [MicroMacro-HELP] mobs with buff
nope it isn't it. bot target this mobs without buff ,but when they have it dont want target. It's like bot dont understand this buff so dont target. and They are yellow[neutral] mobs so they cant fighting no1 is here
Re: [MicroMacro-HELP] mobs with buff
They meant the mob is attacking another mob which means they are in combat and the bot is designed to not kill things that are already in combat.wardorPL wrote:nope it isn't it. bot target this mobs without buff ,but when they have it dont want target. It's like bot dont understand this buff so dont target. and They are yellow[neutral] mobs so they cant fighting no1 is here
Remember no matter you do in life to always have a little fun while you are at it 
wiki here http://www.solarstrike.net/wiki/index.php?title=Manual

wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
Re: [MicroMacro-HELP] mobs with buff
it isnt it. the mobs staying in 1 place and dont attack. I put here SS so you will see which buff i mean[if u need i can later add it in english] so help if u can
ht tp://img255.imageshack.us/img255/5312/problemr.png
[couldn't add here as image because "My post has been ignored sorry"]
ht tp://img255.imageshack.us/img255/5312/problemr.png
[couldn't add here as image because "My post has been ignored sorry"]
Re: [MicroMacro-HELP] mobs with buff
Maybe with that buff it has more hp so the Elite Factor gets triggered. So it doesn't attack it because it has too much hp. There are 2 ways to fix it. One is to increase the Elite Factor. The default elite factor is 5. So any mobs that have 5 x your hp or more will not be attacked. You can increase it to a big value so it attacks. You change it by adding
to your profile. Or you can set PARTY_INSTANCE to true and it will ignore the elite factor. You do that by adding the following to your profile.
If you already have that line but it looks like this
then change it so it look like the line above.
Code: Select all
<option name="AUTO_ELITE_FACTOR" value="50" />
Code: Select all
<option name="PARTY_INSTANCE" value="true" />
Code: Select all
<!-- <option name="PARTY_INSTANCE" value="true" /> -->
- 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: [MicroMacro-HELP] mobs with buff
Now that I know which mobs it is I actually went to take a look, I was getting error in memroy reading errors, for the hp offset.
turn on debugging and see if you get the same
example
--=== Added ===--
even with the error reads mine attacked them fine, I had a name in my profile mobs option lol
Code: Select all
Error in memory reading: memoryreadint(proc,0x18)
Error in memory reading: memoryreadint(proc,0x2CC)
Error in memory reading: memoryreadint(proc,0x2D4)
example
Code: Select all
rom/bot path:2324 debug
--=== Added ===--
even with the error reads mine attacked them fine, I had a name in my profile mobs option lol
Code: Select all
Stopping waypoint: Target acquired before moving.
Engaging enemy [Lechif Imperial Guard] in combat.
Use MACRO: SCOUT_SHOOT => Lechif Imperial Guard (233643/233643)
Use MACRO: SCOUT_COMBO_SHOT => Lechif Imperial Guard (195727/233643)
Use MACRO: SCOUT_AUTOSHOT => * Failed to cast *
Use MACRO: SCOUT_HIDDEN_PERIL => Lechif Imperial Guard (136702/233643)
Use MACRO: SCOUT_THORN_ARROW => Lechif Imperial Guard (99052/233643)
Use MACRO: SCOUT_SHOOT => Lechif Imperial Guard (57241/233643)
Use MACRO: SCOUT_COMBO_SHOT => Lechif Imperial Guard (57241/233643)
Use MACRO: SCOUT_AUTOSHOT => * Failed to cast *
Fight finished. Killed 8 Lechif Imperial Guard. (fight #17 / runtime 4 minutes)
Remember no matter you do in life to always have a little fun while you are at it 
wiki here http://www.solarstrike.net/wiki/index.php?title=Manual

wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
Re: [MicroMacro-HELP] mobs with buff
I notice that it is only showing the offset which means the address was 0. So the problem is the address was 0. Not that I know why.lisa wrote:Now that I know which mobs it is I actually went to take a look, I was getting error in memroy reading errors, for the hp offset.
Code: Select all
Error in memory reading: memoryreadint(proc,0x18) Error in memory reading: memoryreadint(proc,0x2CC) Error in memory reading: memoryreadint(proc,0x2D4)
I think the op was saying it doesn't attack in a waypoint so it might have been attacking with rbassist. What were you using?lisa wrote:even with the error reads mine attacked them fine
- 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: [MicroMacro-HELP] mobs with buff
I just positioned in the middle of a few of them and did
some had the buff, some didn't, bot killed them all
Code: Select all
rom/bot path:wander
Remember no matter you do in life to always have a little fun while you are at it 
wiki here http://www.solarstrike.net/wiki/index.php?title=Manual

wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
Re: [MicroMacro-HELP] mobs with buff
I was near by so I had a look. I don't think it's the elite factor anymore. There are mobs there with no buff and the same hp.
- 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: [MicroMacro-HELP] mobs with buff
okay its work. i changed in this profile as u said rock5 and its work so thank you. Topic can be closed
Re: [MicroMacro-HELP] mobs with buff
I tried to use this piece of code but it didn't work.
So i can use this code in my onleave in my profile like this?
what i want it to do is if i have scout first or second class it will make arrows if not then it won't.
just need someone to show me how to code it i tried to use the example up a few post. or do i need to do
in the one leave part of the profile? i tried both ways and got
Code: Select all
if player.Class1 == CLASS_SCOUT then -- or if player.Class2 == CLASS_SCOUT then
Code: Select all
if player.Class1 == CLASS_SCOUT then -- or if player.Class2 == CLASS_SCOUT then
if 999 > inventory:itemTotalCount("Runic Thorn") then
inventory:useItem(212236) -- Use Rune Catapult
yrest(1000)
RoMScript("UseEquipmentItem(10);")
yrest(1000)
inventory:useItem(213403) -- Use Shamrock Feather Bow
yrest(1000)
inventory:useItem(212185) -- Use Arrows
end
just need someone to show me how to code it i tried to use the example up a few post. or do i need to do
Code: Select all
if player.Class1 == CLASS_SCOUT then
if 999 > inventory:itemTotalCount("Runic Thorn") then
inventory:useItem(212236) -- Use Rune Catapult
yrest(1000)
RoMScript("UseEquipmentItem(10);")
yrest(1000)
inventory:useItem(213403) -- Use Shamrock Feather Bow
yrest(1000)
inventory:useItem(212185) -- Use Arrows
end
Code: Select all
if player.Class2 == CLASS_SCOUT then
if 999 > inventory:itemTotalCount("Runic Thorn") then
inventory:useItem(212236) -- Use Rune Catapult
yrest(1000)
RoMScript("UseEquipmentItem(10);")
yrest(1000)
inventory:useItem(213403) -- Use Shamrock Feather Bow
yrest(1000)
inventory:useItem(212185) -- Use Arrows
end
Code: Select all
5:34pm - ...ers/User/Desktop/micromacro/scripts/rom/settings.lua:653: Failed to
compile and run Lua code for onLeaveCombat in character profile.]
Re: [MicroMacro-HELP] mobs with buff
Code: Select all
if player.Class1 == CLASS_SCOUT then -- or if player.Class2 == CLASS_SCOUT then
Code: Select all
if player.Class1 == CLASS_SCOUT or player.Class2 == CLASS_SCOUT then
Remember no matter you do in life to always have a little fun while you are at it 
wiki here http://www.solarstrike.net/wiki/index.php?title=Manual

wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
Re: [MicroMacro-HELP] mobs with buff
Hey, this is that post I couldn't find and thought was deleted! I did a search for Lechif, Toron, Bridge, Guard. I came up with nothing. Looking up I see Lechif Guard but only in
Code: Select all
tags. So it doesn't include code in searches. Grrr. Well if I search for it in the future I'll find it because of this post. :)
- 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: [MicroMacro-HELP] mobs with buff
yeah forum searches don't search inside code tags, I always found that a little annoying, that's why it is important for titles to atleast have some indication of what is being discussed in the topic =)
Remember no matter you do in life to always have a little fun while you are at it 
wiki here http://www.solarstrike.net/wiki/index.php?title=Manual

wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
-
- Posts: 527
- Joined: Fri Aug 31, 2012 1:15 pm
Re: [MicroMacro-HELP] mobs with buff
So, did we figure out what the issue was with the bot not attacking certain mobs? I was seeing the same thing in the new area. I was exp farming some of the Lvl 76/77 Reindeer (yellow/neutral mobs) and some of them would never get targeted. I don't think it's the buffs that the mobs have (glowing red, blue, or orange spheres around their necks) because it would sometimes attack them and sometimes not.
Was the solution the Elite factor? Or should I use?
What all does the above affect? Just tells the bot to attack everything, regardless of level/hp/eliteness? Thanks.
Was the solution the Elite factor? Or should I use
Code: Select all
<option name="PARTY_INSTANCE" value="true" />
What all does the above affect? Just tells the bot to attack everything, regardless of level/hp/eliteness? Thanks.
Who is online
Users browsing this forum: No registered users and 3 guests