Wanting to write a waypoint for GC easy 1st boss farm
Re: Wanting to write a waypoint for GC easy 1st boss farm
My mage is using all his buffs before battle, even with priority 0, how do i change that?
PS: I've changed it, disable the fly option, added new ground waypoints, and turning it into a tank/mage duo.
Edit:
PS2: Nevermind, im droping this. My 100k hp tank and my 80k hp mage can't kill cayus in easy mode.
The mage wastes all the buffs in the elites, the tank doesn't agro (because the mage wins the agro), and cayus, after colors, make a deadly 35/40k hp jump. (Which is the life left for both at that point).
PS: I've changed it, disable the fly option, added new ground waypoints, and turning it into a tank/mage duo.
Edit:
PS2: Nevermind, im droping this. My 100k hp tank and my 80k hp mage can't kill cayus in easy mode.
The mage wastes all the buffs in the elites, the tank doesn't agro (because the mage wins the agro), and cayus, after colors, make a deadly 35/40k hp jump. (Which is the life left for both at that point).
Re: Wanting to write a waypoint for GC easy 1st boss farm
Hey lisa, the new script doesn't stop the wait once the cooldown is ready. It is a constant 2 minute rest. Same as putting a yrest(120000). :l
Re: Wanting to write a waypoint for GC easy 1st boss farm
Looks like that skill.Cooldown isn't time remaining, probably have to use the in game functionwoah wrote:Hey lisa, the new script doesn't stop the wait once the cooldown is ready. It is a constant 2 minute rest. Same as putting a yrest(120000). :l
Code: Select all
local cooldown, remaining = RoMScript("GetSkillCooldown(tab,number)")
yrest(remaining*1000)
Code: Select all
for i,v in pairs(settings.profile.skills) do
if v.Name == "ROGUE_EVASION" then
skill = CSkill( v );
tab = skill.skilltab
num = skill.skillnum
end
end
local cooldown, remaining = RoMScript("GetSkillCooldown("..tab..","..num..")")
yrest(remaining*1000)
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: Wanting to write a waypoint for GC easy 1st boss farm
Hmm, how do I find out what tab and number are? The 2nd script you posted gave an error.
Re: Wanting to write a waypoint for GC easy 1st boss farm
http://www.theromwiki.com/API:GetSkillCooldown
basically just look at the skill "book" in game, tab is the tab for skills, so either going to be tab 2 or 4. Number you just count starting top left and going down, then top right and going down.
Not sure why but some skills have the .skilltab and .skillnum but others don't so safer to not assume the skill you want does =(
No time to look into it at the moment so just go with the in game function.
basically just look at the skill "book" in game, tab is the tab for skills, so either going to be tab 2 or 4. Number you just count starting top left and going down, then top right and going down.
Not sure why but some skills have the .skilltab and .skillnum but others don't so safer to not assume the skill you want does =(
No time to look into it at the moment so just go with the in game function.
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: Wanting to write a waypoint for GC easy 1st boss farm
Looks like CSkill() doesn't copy the skilltab and skillnum values. So skill = CSkill(v) will be missing those values. It's easy enough to fix. Give me a bit.
- 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: Wanting to write a waypoint for GC easy 1st boss farm
Should now work in revision 689.woah wrote:The 2nd script you posted gave an error.
- 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: Wanting to write a waypoint for GC easy 1st boss farm
Hmm I tried manually entering the tab and number. vvv
And it didn't work, just waited forever. Then I tried the second code, with the same result. No error though. :l
Code: Select all
local cooldown, remaining = RoMScript("GetSkillCooldown(4,20)")
yrest(remaining*1000)
Re: Wanting to write a waypoint for GC easy 1st boss farm
What skill is 4,20? How long is the cooldown?
- 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: Wanting to write a waypoint for GC easy 1st boss farm
well remaining is in seconds, and yrest is in milliseconds. So only way I see it not working is if you have the wrong tab/num combination.
evasion is 4,20 for my rogue, so possible it is right spot.
Works fine for me, tested with commandline
also tested the yrest exactly as posted and it sat there until skill came off cooldown and then continued.
evasion is 4,20 for my rogue, so possible it is right spot.
Works fine for me, tested with commandline
Code: Select all
Command> local cooldown, remaining = RoMScript("GetSkillCooldown(4,20)") print(remaining*1000)
117300.00305176
Command> local cooldown, remaining = RoMScript("GetSkillCooldown(4,20)") print(remaining*1000)
102599.99847412
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: Wanting to write a waypoint for GC easy 1st boss farm
Hmm it must be something I'm doing wrong then, ill test it with some other waypoints and see if I can get it to work.
-and rock, 4,20 is evasion which is a 2 minute cooldown
-and rock, 4,20 is evasion which is a 2 minute cooldown
Last edited by woah on Fri Jan 06, 2012 6:08 am, edited 2 times in total.
Re: Wanting to write a waypoint for GC easy 1st boss farm
So
is supposed to just stand there for 2m?
Code: Select all
yrest(remaining*1000)
- 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: Wanting to write a waypoint for GC easy 1st boss farm
he wants to wait until the skill is off cooldown before attacking boss.rock5 wrote:is supposed to just stand there for 2m?
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: Wanting to write a waypoint for GC easy 1st boss farm
It works perfectly now. Which is weird because I didn't change anything lol. Anyways, I think that was the last tweak we needed You guys have helped so much, thanks! (:
Re: Wanting to write a waypoint for GC easy 1st boss farm
...
-edit-
taking out these files since we are still working on them.
-edit-
taking out these files since we are still working on them.
Last edited by klassik1 on Thu Jan 12, 2012 6:22 am, edited 7 times in total.
Re: Wanting to write a waypoint for GC easy 1st boss farm
Since you are making it public though I would do a class check before doing the rogue skills.
Lol I went to post the code you have in there but you edited before I hit reply it seems, you get the idea anyway =)
I also noted you have the check for tab and num but don't use them, so it will do the code but with no benefit.
Code: Select all
if player.Class1 == CLASS_ROGUE then
-- all your rogue skill stuff
end
I also noted you have the check for tab and num but don't use them, so it will do the code but with no benefit.
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: Wanting to write a waypoint for GC easy 1st boss farm
Code: Select all
for i,v in pairs(settings.profile.skills) do
if v.Name == "ROGUE_EVASION" then
skill = CSkill( v );
tab = skill.skilltab
num = skill.skillnum
end
end
local cooldown, remaining = RoMScript("GetSkillCooldown(4,20)")
yrest(remaining*1000)
Re: Wanting to write a waypoint for GC easy 1st boss farm
Redundant, just use
its all you need
Code: Select all
local cooldown, remaining = RoMScript("GetSkillCooldown(4,20)")
yrest(remaining*1000)
Re: Wanting to write a waypoint for GC easy 1st boss farm
you can either use just
Which would work for you but may not work for everyone
or
Which will work for any rogue.
Rock added in the skillnum and skilltab to the skill memory stuff so you can use them if you use latest bot revision.
Code: Select all
local cooldown, remaining = RoMScript("GetSkillCooldown(4,20)")
yrest(remaining*1000)
or
Code: Select all
for i,v in pairs(settings.profile.skills) do
if v.Name == "ROGUE_EVASION" then
skill = CSkill( v );
tab = skill.skilltab
num = skill.skillnum
end
end
local cooldown, remaining = RoMScript("GetSkillCooldown("..tab..","..num..")")
yrest(remaining*1000)
Rock added in the skillnum and skilltab to the skill memory stuff so you can use them if you use latest bot revision.
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: Wanting to write a waypoint for GC easy 1st boss farm
Ok, I've updated the files.
Who is online
Users browsing this forum: Ahrefs [Bot], Semrush [Bot] and 1 guest