Energy of Justice
Re: Energy of Justice
The QuestByName functions are part of the bot now. Delete the userfunctions file.
- 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: Energy of Justice
did that, but it did not work , same problemrock5 wrote:The QuestByName functions are part of the bot now. Delete the userfunctions file.
deleted all the addons, I thought that they might make some issues with rombot, but still did not do it.
re-installed rombot and update with new ingamefunctions in addon file . I am running out of ideas
I am using version 690 and our game version is 4.06
by the way, the addon dailynotes does not work for me either ? ! only in this PC!! it runs ok in my notebook
Re: Energy of Justice
The code looks like it would work even with revision 690. The only thing I can think of is if you are running in a different language. Are you running in English?
When it gets stuck in that loop, what status is the quest in, Accepted, Completed or Not Accepted? And double check to see that the quest names match.
When it gets stuck in that loop, what status is the quest in, Accepted, Completed or Not Accepted? And double check to see that the quest names match.
- 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: Energy of Justice
yep, still it does not accept the quest.rock5 wrote:The code looks like it would work even with revision 690. The only thing I can think of is if you are running in a different language. Are you running in English?
When it gets stuck in that loop, what status is the quest in, Accepted, Completed or Not Accepted? And double check to see that the quest names match.
my setting is english it. actulay they give up on traslating the arabic sitting so that half of the players play on the server is alsways shouting for that, which cuased lot of truople when they did this update
it stuck as in picture, trying to accept the quest. still it does not accept the quest.
Re: Energy of Justice
When it gets stuck in that loop, what status is the quest in, Accepted, Completed or Not Accepted? And double check to see that the quest names match.
- 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
-
- Posts: 12
- Joined: Thu May 17, 2012 3:26 pm
Re: Energy of Justice
sometimes event timer disapair, and bot dont work. I know this waypoints dont work in out of event time but my problem is, it dont work if disapair event time. So how can this waypoints works, dont need check event timer?
Re: Energy of Justice
here it is again, it is trying the name of the quest , not accepting it.rock5 wrote:When it gets stuck in that loop, what status is the quest in, Accepted, Completed or Not Accepted? And double check to see that the quest names match.
see attached
Re: Energy of Justice
Sorry, I'm not even able to test it because when I talk to John Carter (is that John Carter of Mars?) I don't get the quest. There is probably some pre quest I haven't done.
But what you showed me tells me that line 35 isn't workingActually that is for selecting the quest, not 'accepting' it. Maybe the author of the script uses an auto accept addon. The same is true a few lines back
That selects the quest to complete but doesn't complete it.
You can install an auto accept addon such as 'Streamline'. Or you could fix the script. To fix the script follow everywith
and follow every
with
Or you could replace them with one of the in build functions for quests eg.
and
that does that for you.
But what you showed me tells me that line 35 isn't working
Code: Select all
RoMScript("OnClick_QuestListButton(1, 1)")
Code: Select all
RoMScript("OnClick_QuestListButton(3, 1)")
You can install an auto accept addon such as 'Streamline'. Or you could fix the script. To fix the script follow every
Code: Select all
RoMScript("OnClick_QuestListButton(1, 1)")
Code: Select all
RoMScript("AcceptQuest()")
Code: Select all
RoMScript("OnClick_QuestListButton(3, 1)")
Code: Select all
RoMScript("CompleteQuest()")
Code: Select all
AcceptQuestByName(questname_1)
Code: Select all
CompleteQuestByName(questname_1)
- 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: Energy of Justice
rock5 wrote:Sorry, I'm not even able to test it because when I talk to John Carter (is that John Carter of Mars?) I don't get the quest. There is probably some pre quest I haven't done.
But what you showed me tells me that line 35 isn't workingActually that is for selecting the quest, not 'accepting' it. Maybe the author of the script uses an auto accept addon. The same is true a few lines backCode: Select all
RoMScript("OnClick_QuestListButton(1, 1)")
That selects the quest to complete but doesn't complete it.Code: Select all
RoMScript("OnClick_QuestListButton(3, 1)")
You can install an auto accept addon such as 'Streamline'. Or you could fix the script. To fix the script follow everywithCode: Select all
RoMScript("OnClick_QuestListButton(1, 1)")
and follow everyCode: Select all
RoMScript("AcceptQuest()")
withCode: Select all
RoMScript("OnClick_QuestListButton(3, 1)")
Or you could replace them with one of the in build functions for quests eg.Code: Select all
RoMScript("CompleteQuest()")
andCode: Select all
AcceptQuestByName(questname_1)
that does that for you.Code: Select all
CompleteQuestByName(questname_1)
thank you rock
that sovled it
Re: Energy of Justice
lisa wrote:I use this in my KS run.
Code: Select all
for i, skill in pairs(settings.profile.skills) do if skill.Name == "MAGE_PURGATORY_FIRE" then settings.profile.skills[i].AutoUse = true end if skill.Name == "MAGE_FLAME" then settings.profile.skills[i].AutoUse = false end if skill.Name == "MAGE_PLASMA_ARROW" then settings.profile.skills[i].AutoUse = true end end
Umm, noob question, this go in the profile or the onload?
Edit: Okay, tried both, and I think I must have done something wrong, cause didn't work for either.
Re: Energy of Justice
first you need to have those skills in your profile.
ie.
second that code I posted goes in the onload of the WP, when the WP starts it will turn on and off the autouse for those skills accordingly.
ie.
Code: Select all
<skill name="MAGE_FLAME" hotkey="MACRO" priority="80" />
Remember no matter you do in life to always have a little fun while you are at it ![Wink ;)](./images/smilies/icon_e_wink.gif)
wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
![Wink ;)](./images/smilies/icon_e_wink.gif)
wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
Re: Energy of Justice
Is there a list of all class skills that the bot supports somewhere so that I can be sure I have the syntax correct for the ones I want to use/not use?
Re: Energy of Justice
Have a look at 'skills.xml' in the 'database' folder.
- 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: Energy of Justice
*smacks self on forehead* duh....thanks!!rock5 wrote:Have a look at 'skills.xml' in the 'database' folder.
![Embarrassed :oops:](./images/smilies/icon_redface.gif)
Re: Energy of Justice
first, that you, the idiea is fantastic. There is some truple I guss with the path, it always got stuck in the drums next to the cages. some times in the cages when they respawn
I tried to fix but could not make it much better becuase there is many objects around.
second , can someone explain how to make faste (ideas) for a mage, becasue now it is around 4500 points without looting and it is a deserted areas, i need to reach 6000 alone @@
but I am gettign stronger, I just to make the character little bit faster. how can I use romeo hack to make my character faster and do not get stuck in these items.
I tried to fix but could not make it much better becuase there is many objects around.
second , can someone explain how to make faste (ideas) for a mage, becasue now it is around 4500 points without looting and it is a deserted areas, i need to reach 6000 alone @@
but I am gettign stronger, I just to make the character little bit faster. how can I use romeo hack to make my character faster and do not get stuck in these items.
Re: Energy of Justice
if you are going to use hacks in the open don't bother with Romeo's, just teleport to where you want to go, you shouldn't get stuck in objects while teleporting.
http://www.solarstrike.net/phpBB3/viewt ... =27&t=2721
http://www.solarstrike.net/phpBB3/viewt ... =27&t=2721
Remember no matter you do in life to always have a little fun while you are at it ![Wink ;)](./images/smilies/icon_e_wink.gif)
wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
![Wink ;)](./images/smilies/icon_e_wink.gif)
wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
Re: Energy of Justice
tried adding the script to load> section after dowloading the addon.lisa wrote:if you are going to use hacks in the open don't bother with Romeo's, just teleport to where you want to go, you shouldn't get stuck in objects while teleporting.
http://www.solarstrike.net/phpBB3/viewt ... =27&t=2721
did not work for some reason? unless i do not see my character teleporting !
Re: Energy of Justice
Hey, I like this script most, because you are able to do the event yourself. With a bot you need two players do do it. Because the script of the first post was a bit buggy and a bit too slow I wrote it new. I've tried to check the kill quest when the char leaves combat but it doesn't work. If he has completed the quest he goes on killing.
Heres my script:
You see, it has less waypoints than the other script and it works faster. But the onLeaveCombat function doesn't work like it should.
I don't know why but like I said above he goes on killing if he has killed 5 mobs to complete the quest. Anyone has got ideas how to fix it?
Heres my script:
Code: Select all
<?xml version="1.0" encoding="utf-8"?><waypoints>
<onload>
temp = 0
questname_1 = "Beseitigt weitere Gefahren";
questname_2 = "Sofortige Hilfe";
changeProfileOption("WAYPOINT_DEVIATION", 30);
YourTargetScore = 6000
function waitForEventStart()
repeat
yrest(1000) -- check every second
local namePE,messagePE,namePH,ScorePE,Count , IsScoreVisible= RoMScript("PE_GetInfo(1)")
if Count == 2 and YourTargetScore > ScorePE then break end
until false
end
function isEventFinished()
local namePE,messagePE,namePH,ScorePE,Count , IsScoreVisible= RoMScript("PE_GetInfo(1)")
return (Count ~= 2 or ScorePE >= YourTargetScore);
end;
changeOptionFriendMob("mob", "Ankes", "Add")
if (not player:hasBuff("506684")) then
inventory:useItem(207200);
end
if (not player:hasBuff("506686")) then
inventory:useItem(207202);
end
</onload>
<onLeaveCombat>
questname_1 = "Beseitigt weitere Gefahren";
queststate = getQuestStatus(questname_1)
if queststate == "complete" then
__WPL:setWaypointIndex(__WPL:findWaypointTag("quest1complete"));
end
</onLeaveCombat>
<!-- # 1 --><waypoint x="-27521" z="24357" y="-83" type="RUN">
waitForEventStart()
isEventFinished()
player:target_NPC("John Carter")
CompleteAllQuests()
yrest(2500)
player:target_NPC("John Carter")
AcceptAllQuests()
yrest(500)
queststate = getQuestStatus(questname_1);
if queststate == "accepted" then
__WPL:setWaypointIndex(2);
end
queststate = getQuestStatus(questname_2);
if queststate == "accepted" then
__WPL:setWaypointIndex(17);
end
</waypoint>
<!-- # 2 --><waypoint x="-27621" z="24327" y="-74" type="RUN">
wallon()
</waypoint>
<!-- # 3 --><waypoint x="-27706" z="24256" y="-54" type="RUN"> </waypoint>
<!-- # 4 --><waypoint x="-27627" z="24207" y="-10" type="RUN"> </waypoint>
<!-- # 5 --><waypoint x="-27630" z="24154" y="0" type="RUN"> </waypoint>
<!-- # 6 --><waypoint x="-27746" z="24102" y="1" type="RUN">
walloff()
</waypoint>
<!-- # 7 --><waypoint x="-27857" z="24070" y="0">
</waypoint>
<!-- # 8 --><waypoint x="-28026" z="24006" y="2">
</waypoint>
<!-- # 9 --><waypoint x="-28123" z="24018" y="6">
</waypoint>
<!-- # 10 --><waypoint x="-28215" z="23967" y="1"> </waypoint>
<!-- # 11 --><waypoint x="-28308" z="24026" y="4"> </waypoint>
<!-- # 12 --><waypoint x="-28094" z="23966" y="9"> </waypoint>
<!-- # 13 --><waypoint x="-27962" z="24099" y="-5" tag="quest1complete"> </waypoint>
<!-- # 14 --><waypoint x="-27771" z="24285" y="-83" type="RUN"> </waypoint>
<!-- # 15 --><waypoint x="-27622" z="24369" y="-72" type="RUN"> </waypoint>
<!-- # 16 --><waypoint x="-27526" z="24357" y="-83" type="RUN">
player:target_NPC("John Carter")
yrest(250)
CompleteAllQuests()
yrest(2500)
player:target_NPC("John Carter")
AcceptAllQuests()
yrest(500)
queststate = getQuestStatus(questname_1);
if queststate == "accepted" then
__WPL:setWaypointIndex(2);
end
queststate = getQuestStatus(questname_2);
if queststate == "accepted" then
__WPL:setWaypointIndex(17);
end
</waypoint>
<!-- # 17 --><waypoint x="-27582" z="24323" y="-79" type="RUN">
wallon()
</waypoint>
<!-- # 18 --><waypoint x="-27704" z="24265" y="-55" type="RUN"> </waypoint>
<!-- # 19 --><waypoint x="-27631" z="24214" y="-13" type="RUN"> </waypoint>
<!-- # 20 --><waypoint x="-27640" z="24142" y="-2" type="RUN"> </waypoint>
<!-- # 21 --><waypoint x="-27776" z="24084" y="1" type="RUN">
walloff()
</waypoint>
<!-- # 22 --><waypoint x="-27864" z="24048" y="1" type="RUN">
player:target_Object("Gefangener der Diebe");
yrest(250)
queststate = getQuestStatus(questname_2)
if queststate == "incomplete" then
__WPL:setWaypointIndex(22);
end
queststate = getQuestStatus(questname_2)
if queststate == "complete" then
__WPL:setWaypointIndex(__WPL:findWaypointTag("quest2complete"));
end
</waypoint>
<!-- # 24 --><waypoint x="-27944" z="23960" y="2" type="RUN">
player:target_Object("Gefangener der Diebe");
yrest(250)
queststate = getQuestStatus(questname_2)
if queststate == "incomplete" then
__WPL:setWaypointIndex(22);
end
queststate = getQuestStatus(questname_2)
if queststate == "complete" then
__WPL:setWaypointIndex(__WPL:findWaypointTag("quest2complete"));
end
</waypoint>
<!-- # 26 --><waypoint x="-27902" z="24038" y="2" type="RUN" tag="quest2complete"> </waypoint>
<!-- # 27 --><waypoint x="-27800" z="24090" y="2" type="RUN"> </waypoint>
<!-- # 28 --><waypoint x="-27684" z="24126" y="10" type="RUN"> </waypoint>
<!-- # 29 --><waypoint x="-27555" z="24296" y="-80" type="RUN"> </waypoint>
<!-- # 30 --><waypoint x="-27522" z="24360" y="-83" type="RUN"> </waypoint>
</waypoints>
Code: Select all
<onLeaveCombat>
questname_1 = "Beseitigt weitere Gefahren";
queststate = getQuestStatus(questname_1)
if queststate == "complete" then
__WPL:setWaypointIndex(__WPL:findWaypointTag("quest1complete"));
end
</onLeaveCombat>
Re: Energy of Justice
The only sections you can have in a waypoint file are waypoints and onLoad sections. If you want to change your onLeaveCombat you can do it like this in the onLoad section.
Just add it to the begginning or end of your current onLoad section.
Code: Select all
function settings.profile.events.onLeaveCombat()
questname_1 = "Beseitigt weitere Gefahren";
queststate = getQuestStatus(questname_1)
if queststate == "complete" then
__WPL:setWaypointIndex(__WPL:findWaypointTag("quest1complete"));
end
end
- 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: Energy of Justice
Ok, thank you, I'll try it ![Smile :)](./images/smilies/icon_e_smile.gif)
![Smile :)](./images/smilies/icon_e_smile.gif)
Who is online
Users browsing this forum: Ahrefs [Bot] and 0 guests