request EoJ Farming Timer
Re: request EoJ Farming Timer
Works great rock.
Once again, you're the master.
Once again, you're the master.
Re: request EoJ Farming Timer
thanks rock5 i had a good idea i guess in the beginning, and your version 2 is exactly what i was looking for thanks again for your work .......could i get u to delete the code i have in the beginning with the paths.... others have been trying it and it does not work ...thanks
alos i added in a counting system ...just add
then on the first waypoint add this, so it looks like this
and u should have a coiunter ....every time it runs so when u come back you can tell how many times it ran based on how many EoJ's you have ...
alos i added in a counting system ...just add
Code: Select all
<onLoad>
YourTargetScore = 3
Round = 1;
Code: Select all
cprintf(cli.pink, "Round Nbr: %s\n\n", Round);
Round = Round+1;
waitForEventStart()
__WPL:setForcedWaypointType("NORMAL")
Last edited by Uniden65 on Sat May 12, 2012 10:58 am, edited 1 time in total.
Re: request EoJ Farming Timer
You should be able to edit your own posts. Aren't you able to?
- 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: request EoJ Farming Timer
Is it true that you have to rank in the first 3 to be able to buy anything from the EoJ vendor? Only the first place can buy hero stats right? Otherwise you can only get Glorious stats, is that right?
- 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: request EoJ Farming Timer
Hmm I read somewhere you can access the higher stuff if you get your eoj to 5000, I never bothered with this event though so I can't say first hand what is what.
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: request EoJ Farming Timer
you both are correct .... in the event the first 3 are the only ones who can spend there eojs on items everyone can just look ...
1st : all items hero and everything below]
2nd and 3rd only glorious stats
but if you do get 5000 witch is max then you can buy the highest level items but also at a higher EoJ price ...
and yes i can know thanks ...
and thanks again Rock5 the only draw back know is iam lower in rank hahaha
1st : all items hero and everything below]
2nd and 3rd only glorious stats
but if you do get 5000 witch is max then you can buy the highest level items but also at a higher EoJ price ...
and yes i can know thanks ...
and thanks again Rock5 the only draw back know is iam lower in rank hahaha
Re: request EoJ Farming Timer
So if I get 5000 eojs which is the maximum (can't get anymore more?), I can buy Hero items. But does that mean as soon as I buy something and by eojs drop below 5000 that I won't be able to buy anything anymore?
Also are you saying that if I get 5000 eojs the prices will be more expensive than if I ranked first? What are the prices then?
Also are you saying that if I get 5000 eojs the prices will be more expensive than if I ranked first? What are the prices then?
- 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: request EoJ Farming Timer
yes to all rock5 .... not sure about prices right know iam still saving eojs ...3k know but iam also leveling and doing instance with guildies
Re: request EoJ Farming Timer
from my understand u can have as many EOJs as you wish its not capped (5000) is the stack limit but if you got room in your bag you can have more. The 5000 Eoj is when it opens ups that you dont have to place 1,2,3rd place. The items are i think the same value 210 heres and 150 glor
Could be wrong just my understanding of it not had that much to know for sure
Could be wrong just my understanding of it not had that much to know for sure
Re: request EoJ Farming Timer
hey guys i have a idea but not really sure how to do it... what i am thinking is have one main bot with this code to do the quest and turn them in when the event starts... and have other bots at the quest giver just turning in quest as the other bots completes them because alot of those quest you can do in a party and all bots don't need to follow just get credit and turn in quest.... so i would need one waypoint to just turn in those quest repeatedly and other for the main bot.... i can make the waypoints but i am a noob at the quest function part...
Re: request EoJ Farming Timer
Hrmm Im having a problem with this. If i start when the event has ended its works fine sits at homebase and waits for event start.
When event starts bots starts as it should, but it doesnt stop. I set the Yourtargetscore to 3100 and it surpassed that and then when the event ended it kept running.
When event starts bots starts as it should, but it doesnt stop. I set the Yourtargetscore to 3100 and it surpassed that and then when the event ended it kept running.
Re: request EoJ Farming Timer
Hrmmm well I dont know where i went wrong but now it doesn't recognize the event at all.
Im using this on the new map maybe there is something different there to tb.
here is my script thought it might help (be gentle its my first one) Quest part works great just cant seen to get it to stop and start it just keeps on running.
Im using this on the new map maybe there is something different there to tb.
here is my script thought it might help (be gentle its my first one) Quest part works great just cant seen to get it to stop and start it just keeps on running.
Code: Select all
<?xml version="1.0" encoding="utf-8"?><waypoints type="TRAVEL">
<onload>
changeProfileOption("WAYPOINT_DEVIATION", 30);
YourTargetScore = 100
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
if oldOnLeaveCombat == nil then oldOnLeaveCombat = settings.profile.events.onLeaveCombat end
function settings.profile.events.onLeaveCombat()
oldOnLeaveCombat()
local namePE,messagePE,namePH,ScorePE,Count , IsScoreVisible= RoMScript("PE_GetInfo(1)")
if Count ~= 2 or ScorePE >= YourTargetScore then
__WPL:setForcedWaypointType("RUN")
__WPL:setWaypointIndex(__WPL:findWaypointTag("Home Base"));
end
end
</onload>
<!-- # 1 --><waypoint x="-xxxxx" z="-xxxxx" y="xxx" tag="Home Base">
waitForEventStart()
__WPL:setForcedWaypointType("NORMAL")
</waypoint>
<!-- # 2 --><waypoint x="-xxxxx" z="-xxxxx" y="xxx" tag="loop">
player:target_NPC("xxxx");
yrest(100);
player:target_NPC("xxxx");
yrest(100);
</waypoint>
<!-- # 3 --><waypoint x="-xxxxx" z="-xxxxx" y="xxx">
__WPL:setWaypointIndex(__WPL:findWaypointTag("loop"));
queststate = getQuestStatus("xxx");
while queststate == "incomplete" do
yrest(100);player:target_Object("xxx");yrest(100);
queststate = getQuestStatus("xxx");
end
</waypoint>
</waypoints>
-
- Posts: 446
- Joined: Wed Aug 03, 2011 7:37 pm
Re: request EoJ Farming Timer
try something like:
Code: Select all
<?xml version="1.0" encoding="utf-8"?><waypoints type="TRAVEL">
<onload>
changeProfileOption("WAYPOINT_DEVIATION", 30);
YourTargetScore = 100
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;
</onload>
<!-- # 1 --><waypoint x="-xxxxx" z="-xxxxx" y="xxx" tag="Home Base">
waitForEventStart()
__WPL:setForcedWaypointType("NORMAL")
</waypoint>
<!-- # 2 --><waypoint x="-xxxxx" z="-xxxxx" y="xxx" tag="loop">
player:target_NPC("xxxx");
yrest(100);
player:target_NPC("xxxx");
yrest(100);
if (isEventFinished()) then
__WPL:setWaypointIndex(__WPL:findWaypointTag("Home Base"));
end;
</waypoint>
<!-- # 3 --><waypoint x="-xxxxx" z="-xxxxx" y="xxx">
queststate = getQuestStatus("xxx");
while queststate == "incomplete" do
yrest(100);
player:target_Object("xxx");
yrest(100);
queststate = getQuestStatus("xxx");
end
__WPL:setWaypointIndex(__WPL:findWaypointTag("loop"));
</waypoint>
</waypoints>
Re: request EoJ Farming Timer
Thanks Bill worked like a charm, some fine tuning and it will be good to go
Re: request EoJ Farming Timer
Hi bill, i tried out the code but when i run it i get an error:
Failed to compile and run Lua code code for waypoint #1
which has the code
Rest is all verbatim off your script. Is there a userfunction or addon i need to run this?
Thanks
Failed to compile and run Lua code code for waypoint #1
which has the code
Code: Select all
if (isEventFinished()) then
__WPL:setWaypointIndex(__WPL:findWaypointTag("Home Base"));
end;
Thanks
Re: request EoJ Farming Timer
Trying to... piece this together. Where do I find the publicencounterframe.lua file? Is it possible to use any of this to somehow get the bot to pick up on when the event is active even when the score display is bugged/not visible?
I want to be able to switch channels automagically when events end to start the event on a different channel. Problem is that the score display bugs on one channel no matter what I do and actually bugs on the good channel too until you run across a zone.
Thx
I want to be able to switch channels automagically when events end to start the event on a different channel. Problem is that the score display bugs on one channel no matter what I do and actually bugs on the good channel too until you run across a zone.
Thx
rock5 wrote:Good pickup considering those events don't even appear in the rom wiki.dx876234 wrote:U could also monitor the events PE_ACTIVE_PHASE_CHANGE and PE_OBJECTIVE_VALUE_CHANGE. These will give u more detailed information about the event cycles.
They lead me to the publicencounterframe.lua file. Lot's of interesting functions and variables in there. If the waypoint file wasn't working fine the way it is, I'd definately look into it further.
Re: request EoJ Farming Timer
Here's a copy of the current publicencounterframe.lua file.So maybe that's a function you can use to get the score count.
It looks like the main update function is "PEFs_Reset(this)" and "PEFs_SetDetail(PEFrame, index )".
Functions I can see include
I did a bit of testing. Besides moving to another zone and back again, the PE frame will reappear when the status of the event changes.
Not sure if that helps.
What you want to look for are the update functions as the update functions have to get the info from somewhere else to update the frame. For example in PEScoreUpdate() it uses
Code: Select all
Scorecount = PE_GetPEScore()
It looks like the main update function is "PEFs_Reset(this)" and "PEFs_SetDetail(PEFrame, index )".
Functions I can see include
- PE_GetPEIndex(index) - Which seems to return the index of the given index, not sure why. If index == -1 it returns the number of events in the current zone. If the PE frame is not visible it returns 0.
PE_GetInfo(index) - Returns event details. Returns nil if PE frame is not visible.
PE_GetPOBInfo( index , part ) - Returns info on the tasks for the event. Returns nil if the PE frame is not visible.
I did a bit of testing. Besides moving to another zone and back again, the PE frame will reappear when the status of the event changes.
Not sure if that helps.
- 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: request EoJ Farming Timer
Thanks again, Rock. I'll have to analyze some more but can you tell me where you got that .lua file? I assume one of the FDB folders? I have an FDB extractor... yada yada yada.
I think I can almost imagine how to plug in some of those functions to your existing EOJS code but like I said above, I'll have to read/contemplate further. Since indications of success/fail are monitored by the functions it seems then that monitoring those parts of the .lua may be the way to operate even when the score/event status is bugged to not appear.
I think I can almost imagine how to plug in some of those functions to your existing EOJS code but like I said above, I'll have to read/contemplate further. Since indications of success/fail are monitored by the functions it seems then that monitoring those parts of the .lua may be the way to operate even when the score/event status is bugged to not appear.
Re: request EoJ Farming Timer
The magic folder for finding undocumented functions is "interface.fdb/worldxml". I actually keep a copy of that extracted folder in another location so I can do searches for functions.grande wrote:but can you tell me where you got that .lua file
Didn't my eoj already use "PE_GetInfo(1)"?grande wrote:I think I can almost imagine how to plug in some of those functions to your existing EOJS code
Not really. Like I said, when the frame is not visible that means none of the functions work.grande wrote:Since indications of success/fail are monitored by the functions it seems then that monitoring those parts of the .lua may be the way to operate even when the score/event status is bugged to not appear.
- 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: request EoJ Farming Timer
Okay, but you can still be awarded EOJ on a channel that is bugged to never show the score so there should be some function indicating an award is due or has been given.Not really. Like I said, when the frame is not visible that means none of the functions work.
Who is online
Users browsing this forum: No registered users and 1 guest