Memento farming - concept - Dalanis Dungeon
-
- Posts: 94
- Joined: Tue Dec 21, 2010 3:12 am
Re: Memento farming - concept - Dalanis Dungeon
wow that is nuts. you have leet skills making such complicated way points. im having huge issues getting my 1 bot just to friken buff lol. so you level 5 extra chars up to 55 just so you can farm mementos? that is amaizing. wish I could do something like that. right now I am only able to do sewers ch 1 and 2 every 100minutes and thats it. super slow method all else is broken a nd not much else i can do in game now.
if i could at least get my buffing script to work then I could make my R/k use its heal and would help farming some.
a what of regeneration? whats it do? where do you get it. i looked it up on runesdatabase.com didnt find anything.
someone said something about trouble with the rogue combo attacks with the bot. i have super simple fix for this. get the mod roguecombo. this is even good to use without the bot. its better reactions then even fastest human being as it knows if the target is debuffed or not before the debuff shows up on the target frame visually. also you can just put it on 1 key and have the bot just use that attack key. very easy fix and works good.
hey pro guy with 6account farmer. could you maybe show me some love with some good r/k profiles like my buffs bug with default way it seems it only "trys" to press the buff button once every X seconds. sometiems it fails and buff will be gone for the X seconds till it trys again. also with the r/k heal it removes the 10% atk buff. I was trying to make a onskillcast script (failed hard always getting nil values on stuff) to check for buffs. if buff didnt exist to cast that skill again. so this way I would always have all of my buffs on and could use the heal freely. any chance you could help me out buddy. I am sadly not as pro as you at coding.
if i could at least get my buffing script to work then I could make my R/k use its heal and would help farming some.
a what of regeneration? whats it do? where do you get it. i looked it up on runesdatabase.com didnt find anything.
someone said something about trouble with the rogue combo attacks with the bot. i have super simple fix for this. get the mod roguecombo. this is even good to use without the bot. its better reactions then even fastest human being as it knows if the target is debuffed or not before the debuff shows up on the target frame visually. also you can just put it on 1 key and have the bot just use that attack key. very easy fix and works good.
hey pro guy with 6account farmer. could you maybe show me some love with some good r/k profiles like my buffs bug with default way it seems it only "trys" to press the buff button once every X seconds. sometiems it fails and buff will be gone for the X seconds till it trys again. also with the r/k heal it removes the 10% atk buff. I was trying to make a onskillcast script (failed hard always getting nil values on stuff) to check for buffs. if buff didnt exist to cast that skill again. so this way I would always have all of my buffs on and could use the heal freely. any chance you could help me out buddy. I am sadly not as pro as you at coding.
Re: Memento farming - concept - Dalanis Dungeon
I might have a idea that could work!!! how to avoid the leap as easy as possible
please guys help me to get this working!
I timed the leap and after 5 runs (easy) I'm pretty sure he leaps after 25 secounds fighting!
So all I have to do, would be the check infight time and if it's bigger than 25 run backwards
for 5-6 secounds!!
if there isnt such a function to check the time in fight, my next idea would be to start a counter on the last waypoint in front of the boss
and after this counter reaches 25 he does the same running backwards thingy.
please please help me here
an by the the way I know have a priest/knight to help me!! so with the great tips what ezgitaran (thx!!) already gave, I guess I can manage to write a script for both of them. so that they wait for each other and the priests spams quick heal to my rogue/knight tank
edit:
yy
mayainverse just saw your post!
I used the rogue/knight buff long time ago in raven to farm the elites
I just made a new "selfheal" skill called rogue_heal with a casttime of ~ 3 secounds and a 60 secound cooldown.
Then I made a shot ingame makro /cast "lionheal" (to lazy to search for the english name)
/wait 1
/cast "lionattackbuff"
just have to asign the healskill a hotkey and you are ready to go!
btw with rogue_pot I made a skill which uses phirius pots when you are at very low hp!
but this would be nicer to implement "on cast"
its the easiest way, there are far better ways to manage this, but it works ^^ so what
and the buggy thing I ment its called "Regeneration Sigil" in english =) sry for the bad translation.
Its basicly the same buff thing which can drop from mobs, but u got it in your inventory and it doesnt disapear in
a lot of instances! - BUT DONT USE IT OUTSIDE! - then it will disapear for sure. and on difficulty easy its more likely to disapear too :/
please guys help me to get this working!
I timed the leap and after 5 runs (easy) I'm pretty sure he leaps after 25 secounds fighting!
So all I have to do, would be the check infight time and if it's bigger than 25 run backwards
for 5-6 secounds!!
if there isnt such a function to check the time in fight, my next idea would be to start a counter on the last waypoint in front of the boss
and after this counter reaches 25 he does the same running backwards thingy.
please please help me here
an by the the way I know have a priest/knight to help me!! so with the great tips what ezgitaran (thx!!) already gave, I guess I can manage to write a script for both of them. so that they wait for each other and the priests spams quick heal to my rogue/knight tank
edit:
yy
mayainverse just saw your post!
I used the rogue/knight buff long time ago in raven to farm the elites
I just made a new "selfheal" skill called rogue_heal with a casttime of ~ 3 secounds and a 60 secound cooldown.
Then I made a shot ingame makro /cast "lionheal" (to lazy to search for the english name)
/wait 1
/cast "lionattackbuff"
just have to asign the healskill a hotkey and you are ready to go!
btw with rogue_pot I made a skill which uses phirius pots when you are at very low hp!
but this would be nicer to implement "on cast"
its the easiest way, there are far better ways to manage this, but it works ^^ so what
and the buggy thing I ment its called "Regeneration Sigil" in english =) sry for the bad translation.
Its basicly the same buff thing which can drop from mobs, but u got it in your inventory and it doesnt disapear in
a lot of instances! - BUT DONT USE IT OUTSIDE! - then it will disapear for sure. and on difficulty easy its more likely to disapear too :/
Re: Memento farming - concept - Dalanis Dungeon
So all characters are on follow of tank or atleast close to tank? If so they should all enter combat when the tank goes into combat due to proximity. Maybe have an entercombat event to start timer for you and after the 25 secs they all stop and step backwards. pause, and then continue.
That's what I came up with anyway.
That's what I came up with anyway.
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: 94
- Joined: Tue Dec 21, 2010 3:12 am
Re: Memento farming - concept - Dalanis Dungeon
how do i loot a regen sigil? can you keep it forever and it will never fade if you jsut use it inside isntances?
Re: Memento farming - concept - Dalanis Dungeon
yeah...
buuut
if I start a timer like " startTimer( "my_timer", 25000 ); "
in every combat he always will keep running backwards after 25 secounds, even in the trashmob fights!
soooo I cant use it onskillcast but maybe at the waypoint before the boss?
Or I have to set up a kill function for the timer whenever the char is getting out of the combat (before the 25 secs run down)
right now I try to code this with help of the wiki
are there any other sources which could help me learn scripting for rombot/lua ?
@mayainverse
they where in the itemshop in some gasha bundles long time ago,
and still selled in the auctionhouse.... EXPENSIVE!!!
buuut
if I start a timer like " startTimer( "my_timer", 25000 ); "
in every combat he always will keep running backwards after 25 secounds, even in the trashmob fights!
soooo I cant use it onskillcast but maybe at the waypoint before the boss?
Or I have to set up a kill function for the timer whenever the char is getting out of the combat (before the 25 secs run down)
right now I try to code this with help of the wiki
are there any other sources which could help me learn scripting for rombot/lua ?
@mayainverse
they where in the itemshop in some gasha bundles long time ago,
and still selled in the auctionhouse.... EXPENSIVE!!!
-
- Posts: 94
- Joined: Tue Dec 21, 2010 3:12 am
Re: Memento farming - concept - Dalanis Dungeon
so if they are not sold on ah I cant get them. but if i had one i could prety much solo anything that dont 5shot me? and you can keep this item andheal you forever?? Oo
Re: Memento farming - concept - Dalanis Dungeon
Can somebody tell me how this function works
Is posible to use in waypoint or only in player.lua?
What kinde of value return?
Code: Select all
self:findNearestNameOrId()
What kinde of value return?
Re: Memento farming - concept - Dalanis Dungeon
RoMBot wiki is you friend.wizzyslo wrote:Can somebody tell me how this function worksIs posible to use in waypoint or only in player.lua?Code: Select all
self:findNearestNameOrId()
What kinde of value return?
http://www.solarstrike.net/wiki/index.p ... _Functions
- 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: Memento farming - concept - Dalanis Dungeon
Ok, I try to explain this as good as possibel.
1. the problem still is to get away from a deadly LEAP of a boss, this happens after ~25sec in fight!
--> so I need a timer! <--
--------------------------------------------------------------------------
I found out about
and what I think is better (because I found it alot in the forum)
working with:
---------------------------------------------------------------------------
I want to start the timer just before the boss fight,
so I use a certain skill, which is only used just before the boss fight, to trigger it!
--> I want to create a new saved time constant, to compare it later
on every other skill he should check the fight time
is this the right way to go??
I never coded before :/
Is it possible to use
does it work this way at all...
is it a bad idea to put it in the <onSkillCast> ?
It seems to be such a easy problem but without the necessary knowledge about basic lua scripting I am lost
1. the problem still is to get away from a deadly LEAP of a boss, this happens after ~25sec in fight!
--> so I need a timer! <--
--------------------------------------------------------------------------
I found out about
Code: Select all
newTimer("leap_timer");
startTimer( "leap_timer", 25000 );
working with:
Code: Select all
os.time
os.difftime(
I want to start the timer just before the boss fight,
so I use a certain skill, which is only used just before the boss fight, to trigger it!
Code: Select all
<onSkillCast>
if( arg1.Name == "ROGUE_BOSS_ATTACK_START" ) then...
-- here should be the _t = os.time() function or something like that :/
</onSkillCast>
on every other skill he should check the fight time
Code: Select all
<onSkillCast>
leaptime = os.difftime(os.time(), _t)
if ( leaptime > 25000 ) then
keyboardHold( settings.hotkeys.MOVE_BACKWARD.key );
yrest(4000)
keyboardRelease( settings.hotkeys.MOVE_BACKWARD.key );
-- and then the timer must be reseted somehow :/ or he keeps moving backwards
-- because the difference keeps getting bigger?
</onSkillCast>
is this the right way to go??
I never coded before :/
Is it possible to use
Code: Select all
if ( leaptime > 25000, < 28000 ) then
does it work this way at all...
is it a bad idea to put it in the <onSkillCast> ?
It seems to be such a easy problem but without the necessary knowledge about basic lua scripting I am lost
Re: Memento farming - concept - Dalanis Dungeon
Do you have to step back every 25 seconds or only once?
If only once then, yes, something like that should work.You can't usually use '<' in xml files so I flipped the second part. The only problem I see is if anything else the bot does takes more than 3 seconds it's possible it might miss the window.
If it's every 25 seconds then you can just reset 't' with
If only once then, yes, something like that should work.
Code: Select all
if ( leaptime > 25000 and 28000 > leaptime ) then
If it's every 25 seconds then you can just reset 't' with
Code: Select all
_t = os.time()
- 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: Memento farming - concept - Dalanis Dungeon
okey thanks!!
edit2:
ok I got a problem, when I start this he gets a "atempt to compare number with a nill value" error.
which makes sense because the _t = os.time(); isnt set up until he got to the ROGUE_BOSS_ATTACK skill!
hmm....
Code: Select all
<onSkillCast>
if( arg1.Name == "ROGUE_BOSS_ATTACK" ) then
_t = os.time();
leaptime = os.difftime(os.time(), _t)end
if ( leaptime > 25000 and 28000 > leaptime ) then
keyboardHold( settings.hotkeys.MOVE_BACKWARD.key );
yrest(3000)
keyboardRelease( settings.hotkeys.MOVE_BACKWARD.key );
yrest(500);
keyboardPress(key.VK_SPACE)end
</onSkillCast>
ok I got a problem, when I start this he gets a "atempt to compare number with a nill value" error.
which makes sense because the _t = os.time(); isnt set up until he got to the ROGUE_BOSS_ATTACK skill!
hmm....
Re: Memento farming - concept - Dalanis Dungeon
Code: Select all
<onLoad>
_t = 50000
</onLoad>
I got the script to work with
Code: Select all
<onSkillCast>
if( arg1.Name == "ROGUE_BOSS_ATTACK" ) then
_t = os.time() else _t = 50000; -- <<<<<<<<<<< CHANGED HERE the else
leaptime = os.difftime(os.time(), _t)end
if ( leaptime > 25000 and 28000 > leaptime ) then
keyboardHold( settings.hotkeys.MOVE_BACKWARD.key );
yrest(3000)
keyboardRelease( settings.hotkeys.MOVE_BACKWARD.key );
yrest(500);
keyboardPress(key.VK_SPACE)end
</onSkillCast>
one new question HOW can I have a skill (ROGUE_BOSS_ATTACK) in my profile but PREVENT the skill from beeing used.
(I want to trigger him automaticly at one AND ONLY THE ONE waypoint...)
:/
- Administrator
- Site Admin
- Posts: 5312
- Joined: Sat Jan 05, 2008 4:21 pm
Re: Memento farming - concept - Dalanis Dungeon
Any skill that has autouse="false" will not be used by the bot unless specifically told to do so (player:cast()).
Re: Memento farming - concept - Dalanis Dungeon
thx this helped Admin!!
I got the script to "work" by
and
and by get it to "work" I mean of course it doesnt do anything at all BUT I dont get a error
I spend the whole day with this bot stuff,...
Im new at this and now (It's shortly after midnight) Im getting a little bit dizzy and feeling kuku in the head.
I tried to modifie ezgitarans awesome script so that it will work for my rogue/knight and priest/knight
and It's been hell.... now I get it to work "a little" so the invite each other properly, set the difficulty,
rep themselfs (not selling for some reason - and this is a part I got to work on my other farmbots)
the tank is waiting and casting premedation in front of the boss until the priest starts to get him a regeneration buff
- this worked properly like ONE F**** time... - the rest of the times the priest decides to tank the boss himself,
while the tank is jumping happily in the corner continously casting his premedation and watching the stupid f*** of a priest die.
and after that it gets f*** up even more...
such a easy concept of repeat urgent heal to the rogue until he gets the player.Battling == false
argh...
eanough for today,
have to be fit for tomorrow...
edit:
fixed the first part priest is waiting and buffing the roguetank as he should
BUT then he doesnt heal at all because my new "lighter" script doesnt work....
doesnt work and my other idea:
doesnt work either....
I post the whole code tomorrow...
good night everyone
I got the script to "work" by
Code: Select all
<onLoad>
yrest(500);
keyboardPress(key.VK_SPACE);
timer = 50000;
leaptime = os.difftime(os.time(),timer)
</onLoad>
Code: Select all
<onSkillCast>
if( arg1.Name == "ROGUE_BOSS_ATTACK" ) then
timer = os.time();
leaptime = os.difftime(os.time(),timer)end
if ( leaptime > 23000 and 26000 > leaptime ) then
keyboardHold( settings.hotkeys.MOVE_BACKWARD.key );
yrest(5000);
keyboardRelease( settings.hotkeys.MOVE_BACKWARD.key );
sendMacro("DEFAULT_CHAT_FRAME:AddMessage('|cf0ffff00RUNAWAY!!!!!|r')")
yrest(500);
keyboardPress(key.VK_SPACE);end
</onSkillCast>
I spend the whole day with this bot stuff,...
Im new at this and now (It's shortly after midnight) Im getting a little bit dizzy and feeling kuku in the head.
I tried to modifie ezgitarans awesome script so that it will work for my rogue/knight and priest/knight
and It's been hell.... now I get it to work "a little" so the invite each other properly, set the difficulty,
rep themselfs (not selling for some reason - and this is a part I got to work on my other farmbots)
the tank is waiting and casting premedation in front of the boss until the priest starts to get him a regeneration buff
- this worked properly like ONE F**** time... - the rest of the times the priest decides to tank the boss himself,
while the tank is jumping happily in the corner continously casting his premedation and watching the stupid f*** of a priest die.
and after that it gets f*** up even more...
such a easy concept of repeat urgent heal to the rogue until he gets the player.Battling == false
argh...
eanough for today,
have to be fit for tomorrow...
edit:
fixed the first part priest is waiting and buffing the roguetank as he should
BUT then he doesnt heal at all because my new "lighter" script doesnt work....
Code: Select all
repeat
sendMacro('TargetUnit("party1")');
player:cast("PRIEST_URGENT_HEAL");
yrest(1200);
until player.Battling == false
end
Code: Select all
repeat
sendMacro('TargetUnit("party1")');
player:cast("PRIEST_URGENT_HEAL");
yrest(1200);
local state = GetPlayerCombatState();
until (state) == nil
end
I post the whole code tomorrow...
good night everyone
Re: Memento farming - concept - Dalanis Dungeon
Let's break it down.
1. You want it to start a timer when "ROGUE_BOSS_ATTACK" is triggered.
2. If leaptime is between 25000 and 28000 then move back (_t might be nil)
3. I don't know how well your move sequence works but if you want to try and jump while moving backwards you could try this.
Put it all together and you get,
See how that works.
1. You want it to start a timer when "ROGUE_BOSS_ATTACK" is triggered.
Code: Select all
if( arg1.Name == "ROGUE_BOSS_ATTACK" ) then
_t = os.time()
end
Code: Select all
if _t ~= nil then
leaptime = os.difftime(os.time(), _t)
if ( leaptime > 25000 and 28000 > leaptime ) then
Code: Select all
keyboardHold( settings.hotkeys.MOVE_BACKWARD.key );
yrest(3000)
keyboardPress(key.VK_SPACE)
yrest(500);
keyboardRelease( settings.hotkeys.MOVE_BACKWARD.key );
Code: Select all
<onSkillCast>
if( arg1.Name == "ROGUE_BOSS_ATTACK" ) then
_t = os.time()
end
if _t ~= nil then
leaptime = os.difftime(os.time(), _t)
if ( leaptime > 25000 and 28000 > leaptime ) then
keyboardHold( settings.hotkeys.MOVE_BACKWARD.key );
yrest(3000)
keyboardPress(key.VK_SPACE)
yrest(500);
keyboardRelease( settings.hotkeys.MOVE_BACKWARD.key );
end
end
</onSkillCast>
- 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: Memento farming - concept - Dalanis Dungeon
thx a lot!!!!!!
The script seems awesome but doesnt work either
no errors, but no effect.
the skill is triggered by a waypoint by
could this be a problem in combination with onSkillCast?
I hoped to get some kind of debug mode by adding
else sendMacro("DEFAULT_CHAT_FRAME:AddMessage('_t')");
I wanted to look when or if he starts calculating values...
but theres just nothing... -> I guess printing out variables doesnt work? duno
my bigger problem is the healing right now...
been away the whole day but I hope I manage this to work in the next 4 hours....
it's so simpel... he just should target my rogue (tank) char and keeps spamming urgent heal
until he is out of battle... but as I said before,
and same thing with
doesnt work... LUA code error...
im trying to make the same thing now with a timer which keeps stoping the loop after 50 secounds
edit1:
read somwhere that os.time / diftime would be in secounds, thought it would be millisecounds...
so changed my values and voilla!!!! -- it still doesnt work ^^
but now Im confused if the times should be s or ms...
everytime the priest bot comes on the waypoint which should trigger the healing he brakes up with a lua
code error, but now I managed:
to work!! but .... he just wont stop healing...
getting back to try stop the heal loop with some "is fighting?" request
makes more sense then the time trigger...
edit2:
there is a "player.fighting" this should return the value TRUE when the player got a target and FALSE if not...
can I use that to for my target (the char Im healing) to heal him as long he gots a target?
will try adding
edit3:
nah that wouldnt start working at all...
next try was:
but the code gets an error, because if not in combat the string gets a nil value and aperently thats something which is not allowed ^^
so I tried following and a shitload of other things
i wrote like hundred different things,... but it seems cursed or doomed...
why cant it has a true and false ....
The script seems awesome but doesnt work either
no errors, but no effect.
the skill is triggered by a waypoint by
Code: Select all
player:cast("ROGUE_BOSS_ATTACK");
could this be a problem in combination with onSkillCast?
I hoped to get some kind of debug mode by adding
else sendMacro("DEFAULT_CHAT_FRAME:AddMessage('_t')");
Code: Select all
<onSkillCast>
if( arg1.Name == "ROGUE_BOSS_ATTACK" ) then
_t = os.time()
end
if _t ~= nil then
leaptime = os.difftime(os.time(), _t)
if ( leaptime > 24000 and 28000 > leaptime ) then
keyboardHold( settings.hotkeys.MOVE_BACKWARD.key );
yrest(4000)
keyboardPress(key.VK_SPACE)
yrest(500);
keyboardRelease( settings.hotkeys.MOVE_BACKWARD.key );
else
sendMacro("DEFAULT_CHAT_FRAME:AddMessage(_t)");
end
end
</onSkillCast>
but theres just nothing... -> I guess printing out variables doesnt work? duno
my bigger problem is the healing right now...
been away the whole day but I hope I manage this to work in the next 4 hours....
it's so simpel... he just should target my rogue (tank) char and keeps spamming urgent heal
until he is out of battle... but as I said before,
Code: Select all
repeat
sendMacro('TargetUnit("party1")');
player:cast("PRIEST_URGENT_HEAL");
yrest(1200);
local state = GetPlayerCombatState();
until (state) == nil
end
Code: Select all
until player.Battling == false
im trying to make the same thing now with a timer which keeps stoping the loop after 50 secounds
edit1:
read somwhere that os.time / diftime would be in secounds, thought it would be millisecounds...
so changed my values and voilla!!!! -- it still doesnt work ^^
but now Im confused if the times should be s or ms...
everytime the priest bot comes on the waypoint which should trigger the healing he brakes up with a lua
code error, but now I managed:
Code: Select all
_t2 = os.time();
healtime = os.difftime(os.time(), _t2);
repeat
sendMacro('TargetUnit("party1")');
player:cast("PRIEST_URGENT_HEAL");
yrest(1100);
until healtime > 55;
getting back to try stop the heal loop with some "is fighting?" request
makes more sense then the time trigger...
edit2:
there is a "player.fighting" this should return the value TRUE when the player got a target and FALSE if not...
can I use that to for my target (the char Im healing) to heal him as long he gots a target?
will try adding
Code: Select all
local target = player:getTarget();
until target:player.fighting == false;
nah that wouldnt start working at all...
next try was:
Code: Select all
repeat
sendMacro('TargetUnit("party1")');
player:cast("PRIEST_URGENT_HEAL");
yrest(1030);
until GetPlayerCombatState() ~= true;
so I tried following and a shitload of other things
Code: Select all
repeat
sendMacro('TargetUnit("party1")');
player:cast("PRIEST_URGENT_HEAL");
yrest(1030);
local state = GetPlayerCombatState();
until (state) == nil;
Code: Select all
repeat
sendMacro('TargetUnit("party1")');
player:cast("PRIEST_URGENT_HEAL");
yrest(1030);
if GetPlayerCombatState() ~= nil; -- added this to avoid the GetPlayerCombatState() nil value error
then local state = GetPlayerCombatState();
until (state) == nil;
why cant it has a true and false ....
Re: Memento farming - concept - Dalanis Dungeon
Here's my skills section on profile.xml of my lvl 53 R/Kmayainverse wrote: could you maybe show me some love with some good r/k profiles
Code: Select all
<skills>
<skill name="KNIGHT_DISARMAMENT" hotkey="VK_6" priority="89" />
<skill name="KNIGHT_ENHANCED_ARMOR" modifier="" hotkey="VK_8" priority="105" rebuffcut="100" />
</skills>
<skills_rogue>
<skill name="ROGUE_LOW_BLOW" modifier="" hotkey="VK_2" priority="110" />
<skill name="ROGUE_LIONS_PROTECTION" modifier="" hotkey="VK_7" priority="95" rebuffcut="500" />
<skill name="ROGUE_INFORMER" modifier="" hotkey="VK_5" priority="95" inbattle="true"/>
<skill name="ROGUE_SEARING_LIGHT" modifier="" hotkey="VK_4" priority="104" rebuffcut="250"/>
My waypoint designed for Amplified Attack, maybe there's something related with it?top1 wrote: the tank is waiting and casting premedation in front of the boss until the priest starts to get him a regeneration buff
Also I'm getting error when I put " if UnitCastingTime("target") == "Leap" then ..." under <onSkillCast><![CDATA[ section
Code: Select all
micromacro/scripts/rom/classes/player.lua:663: onSkillCast error: [string "..."]:3: attemt to call global 'UnitCastingTime' <a nil value>
And about my resting issue, I found this under <onLoad> in profile.xml: changeProfileOption("HP_REST", 70) ... >_>
Re: Memento farming - concept - Dalanis Dungeon
I think you're right. I believe onSkillCast is not triggered when skills are cast with player:cast.top1 wrote:the skill is triggered by a waypoint byCode: Select all
player:cast("ROGUE_BOSS_ATTACK");
could this be a problem in combination with onSkillCast?
If you want the timer to start at the waypoint, just use '_t = os.time()' at the waypoint. The rest of the onSkillCast can remain the same.
That's funny. You add a debug message then assume it doesn't work when it doesn't print what you expect. LOLtop1 wrote:I hoped to get some kind of debug mode by adding
else sendMacro("DEFAULT_CHAT_FRAME:AddMessage('_t')");
I wanted to look when or if he starts calculating values...
but theres just nothing... -> I guess printing out variables doesnt work? duno
The fact that it doesn't print anything tells you something. It only prints when _t ~= nil and _t ~= nil only when ROGUE_BOSS_ATTACK is triggered. So therefore ROGUE_BOSS_ATTACK is not being triggered or ROGUE_BOSS_ATTACK is not triggering onSkillCast.
Like I said in your other post, try adding player:update(). See if that works.top1 wrote:my bigger problem is the healing right now...
been away the whole day but I hope I manage this to work in the next 4 hours....
- 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: Memento farming - concept - Dalanis Dungeon
thx again for your work!!!!!!
I spend the last 2 hours watching my script to optimize it --> means it works!!!!
big thx to you rock5 and ezgitaran --> I "borought" big parts and ideas from your script, hope thats ok for you :/
the new _t timer with waypoint thing works!!!
Im not shure but, I watched it right now and he triggered "_t" continously, but didnt move the way he should :/
give it some more trys later
only really big problem which appears every ~10 runs I got with the lootBodie script...
sometimes he gets stuck with it and keeps posting "dead mob to far away, cant loot" in a endles loop...
so it basicly kills the boss for the night... but the corps would be reachable in a straight line...
I dont understand this error...
edit:
ah right... the thing with the debug message which made you laugh...
of course I asumed that my idea of "I could get a text out" with this "debug" thing was wrong and doesnt work ^^
the rest of the script still was a blackbox for me
I still doesnt know how I get him to print the actual VALUE of the string and not just _t
I spend the last 2 hours watching my script to optimize it --> means it works!!!!
big thx to you rock5 and ezgitaran --> I "borought" big parts and ideas from your script, hope thats ok for you :/
the new _t timer with waypoint thing works!!!
Im not shure but, I watched it right now and he triggered "_t" continously, but didnt move the way he should :/
give it some more trys later
only really big problem which appears every ~10 runs I got with the lootBodie script...
sometimes he gets stuck with it and keeps posting "dead mob to far away, cant loot" in a endles loop...
so it basicly kills the boss for the night... but the corps would be reachable in a straight line...
I dont understand this error...
edit:
ah right... the thing with the debug message which made you laugh...
of course I asumed that my idea of "I could get a text out" with this "debug" thing was wrong and doesnt work ^^
the rest of the script still was a blackbox for me
I still doesnt know how I get him to print the actual VALUE of the string and not just _t
Re: Memento farming - concept - Dalanis Dungeon
I'm not sure what is happening but I just posted an updated version of lootBodies that might work better. Try it out.top1 wrote:only really big problem which appears every ~10 runs I got with the lootBodie script...
sometimes he gets stuck with it and keeps posting "dead mob to far away, cant loot" in a endles loop...
so it basicly kills the boss for the night... but the corps would be reachable in a straight line...
I dont understand this error...
http://www.solarstrike.net/phpBB3/viewt ... 844#p16844
I don't know why you are printing ingame. You could just usetop1 wrote:edit:
ah right... the thing with the debug message which made you laugh...
of course I asumed that my idea of "I could get a text out" with this "debug" thing was wrong and doesnt work ^^
the rest of the script still was a blackbox for me
I still doesnt know how I get him to print the actual VALUE of the string and not just _t
Code: Select all
print(_t)
But if you really want to you can do so like this,
sendMacro("DEFAULT_CHAT_FRAME:AddMessage('" .. _t .."')");
- 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
Who is online
Users browsing this forum: No registered users and 6 guests