S/R changing ranged weapons
S/R changing ranged weapons
Hello all,
I tried to use throwing attack with mm but the problem is that i have to switch from bow+arrows to throwing knives . I do it manually by pressing a macro usually. I would like to use mm for it when my rogue energy is below 25 but the first problem i find is that mm spams too much the macro and mess the swap and the skill. Any way to make mm push only once that macro ingame? like making it wait a couple of seconds after tries to cast the skill. And the second problem is how to tell mm use this skill only when my energy is below 25.
I hope I explained myself , thanks for taking a look.
I tried to use throwing attack with mm but the problem is that i have to switch from bow+arrows to throwing knives . I do it manually by pressing a macro usually. I would like to use mm for it when my rogue energy is below 25 but the first problem i find is that mm spams too much the macro and mess the swap and the skill. Any way to make mm push only once that macro ingame? like making it wait a couple of seconds after tries to cast the skill. And the second problem is how to tell mm use this skill only when my energy is below 25.
I hope I explained myself , thanks for taking a look.
Re: S/R changing ranged weapons
try this in your profile so the bot don't just spam
that will use some of your scout skills and it won't cast shadowstab while bleed is on and will cast low blow if it see bleed then grievious and if you don't have energy with will cast vampire arrow or shot hope that helps. becasue i don't know how to make it change
Code: Select all
<skills_rogue>
<skill name="ROGUE_WOUND_ATTACK" hotkey="MACRO" priority="100" reqbuffname="Grievous Wound" reqbufftarget="target"/>
<skill name="ROGUE_LOW_BLOW" hotkey="MACRO" priority="90" reqbuffname="Bleed" reqbufftarget="target" nobuffname="Grievous Wound" nobufftarget="target"/>
<skill name="ROGUE_SHADOWSTAB" hotkey="MACRO" priority="85" nobuffname="Bleed" nobufftarget="target"/>
<skill name="ROGUE_BLIND_STAB" hotkey="MACRO" priority="70" />
<skill name="ROGUE_HIDE" hotkey="MACRO" priority="10" autouse="false" />
<skill name="ROGUE_INFORMER" hotkey="MACRO" priority="80" />
<skill name="ROGUE_ASSASSINS_RAGE" hotkey="MACRO" priority="60" />
<skill name="ROGUE_COMBAT_MASTER" hotkey="MACRO" priority="80" />
<skill name="SCOUT_SHOT" hotkey="MACRO" priority="80" />
<skill name="SCOUT_VAMPIRE_ARROWS" hotkey="MACRO" priority="110" />
</skills_rogue>Re: S/R changing ranged weapons
That's not what he asked.
The problem with Throw is the bot checks to see if you have the right ammunition so if you have arrows equipped it wont even try to use throw. If you swap the ammunition to thrown then it will use Throw but stop using arrow skills. The bot should probably be rewritten to automatically swap ammunition but I'm not sure how best to do that.
The problem with Throw is the bot checks to see if you have the right ammunition so if you have arrows equipped it wont even try to use throw. If you swap the ammunition to thrown then it will use Throw but stop using arrow skills. The bot should probably be rewritten to automatically swap ammunition but I'm not sure how best to do that.
- 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: S/R changing ranged weapons
If you have a macro that works then just post the code here and we can get the bot to do the macro for you, instead of making the bot try to press a key to do the macro.parramet wrote:I do it manually by pressing a macro usually.
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: S/R changing ranged weapons
Hello again,
Thanks for the feedback. The thing is I managed to trick mm instead of telling to use throw attack i put shot skill . The other skills I can use diyce or ubberflex , but they cant use macros thats their problem after devs nerfed them.
The macro ingame I use to swap the range weapons is this.
/script if(GetEquipSlotInfo(11)) then EquipItem(11); UseItemByName("One-Kill-A-Day"); end;
/Cast Throw
/wait 0.9
/Cast Combo Throw
/use Runic Thorn
/use Jenny's Power
Thank you.
Thanks for the feedback. The thing is I managed to trick mm instead of telling to use throw attack i put shot skill . The other skills I can use diyce or ubberflex , but they cant use macros thats their problem after devs nerfed them.
The macro ingame I use to swap the range weapons is this.
/script if(GetEquipSlotInfo(11)) then EquipItem(11); UseItemByName("One-Kill-A-Day"); end;
/Cast Throw
/wait 0.9
/Cast Combo Throw
/use Runic Thorn
/use Jenny's Power
Thank you.
Re: S/R changing ranged weapons
Something like this should work for the bot.
Code: Select all
if RoMScript("GetEquipSlotInfo(11)") then RoMScript("EquipItem(11)") inventory:useItem("One-Kill-A-Day") end
SlashCommand('/script CastSpellByName("Throw")')
yrest(900)
SlashCommand('/script CastSpellByName("Combo Throw")')
inventory:useItem("Runic Thorn")
inventory:useItem("Jenny's Power")
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: S/R changing ranged weapons
Hello there , very fast answering my doubts . I´ve been checking around on how to put all that . Is that an userfunction then ? I really don´t know how to call it from my profile skill I supouse It would be something like :
Well I put shot because if I put throwing attack It wont work so I mod the skills.lua and make shot to have a range like trowings and also a cd of 4s. And I add the bleed requirement also important.
Big thanks Lisa.
Code: Select all
<skill name="SCOUT_SHOT" hotkey=(calling parameter) reqbuffname="Vampire Arrows" reqbufftarget="target" />Big thanks Lisa.
Re: S/R changing ranged weapons
depends when you want to use it, I would be looking at using it in a profile event, such as onpreskillcast.
So yeah it comes down to when you want to actually use the "macro"
So yeah it comes down to when you want to actually use the "macro"
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: S/R changing ranged weapons
Hum,
This is the closer I get after looking into choices. I think in my case it´s better if the macro works only when I press F , because there is where I have my ubberflex+diyce macro so would be a nice combo .
It worked once but I touched something and now doesn´t work at all.. too late I think.
I changed from doing this in the profile to do it straight to the waypoint file. This is how it looks like :
I finish this quest tomorrow , good night.
This is the closer I get after looking into choices. I think in my case it´s better if the macro works only when I press F , because there is where I have my ubberflex+diyce macro so would be a nice combo .
It worked once but I touched something and now doesn´t work at all.. too late I think.
I changed from doing this in the profile to do it straight to the waypoint file. This is how it looks like :
Code: Select all
<?xml version="1.0" encoding="utf-8"?><waypoints>
<onLoad>
while (true) do
player:checkSkills(true) -- buff and heal
if keyPressed(key.VK_F) then
target = player:getTarget()
end
if target:hasBuff("Vampire Arrows") then
RoMScript("EquipItem(11)") inventory:useItem("One-Kill-A-Day")
SlashCommand('/script CastSpellByName("Throw")')
yrest(900)
SlashCommand('/script CastSpellByName("Combo Throw")')
inventory:useItem("Runic Thorn")
inventory:useItem("Jenny's Power")
yrest(5000)
end
end
</onLoad>
</waypoints>Re: S/R changing ranged weapons
I don't see the need to use a keypress.
Code: Select all
<?xml version="1.0" encoding="utf-8"?><waypoints>
<onLoad>
while (true) do
player:checkSkills(true) -- buff and heal
target = player:getTarget() -- checks for target
player:updateMP()
if target and target:hasBuff("Vampire Arrows") and 25 > player.Energy then -- is buff name correct?
RoMScript("EquipItem(11)")
yrest(500)
inventory:useItem("One-Kill-A-Day")
yrest(500)
SlashCommand('/script CastSpellByName("Throw")')
yrest(900) -- global cooldown?
SlashCommand('/script CastSpellByName("Combo Throw")')
yrest(900) -- global cooldown?
inventory:useItem("Runic Thorn")
inventory:useItem("Jenny's Power")
yrest(5000) -- I am assuming time between uses
end
yrest(100) -- needs a yielding rest, even just 1 millisecond, I went with 100
end
</onLoad>
</waypoints>
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: S/R changing ranged weapons
Nice ¡ It works good thank you a lot for that push . Now the only thing I want to add is about using the skill only when my energy is lower than 25 . Is that possible with mm , in diyce is something like (EnergyBar1 <= 20) .
Looking forward to hearing from you.
Looking forward to hearing from you.
Re: S/R changing ranged weapons
I edited the above code to check for Energy less than 25.
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
Who is online
Users browsing this forum: No registered users and 17 guests