request EoJ Farming Timer
request EoJ Farming Timer
We all know by know that you can farm energy of justice coins ....tokens what ever but can some make a script to read the time and keep total track of it .......so lets say your in Rageman Ruins ....standing there ....have it read the timer when it restarts run out kill 1 mob ragemane Warrior ( 1 ) point to score run back to a safe spot wait for time to end and then do a 18 min count again for next event .....i have tryed many times but never get it down right and iam not a programmer eather so reading the timer would be the KEY idea....
Re: request EoJ Farming Timer
wrong section, please read the forum rules:))))
Re: request EoJ Farming Timer
--=== moved ===--
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
ok moved sorry about that ....
i understand the bot cant determined timers for events but could it monitor text ? for lets say
this userfunctions
http://www.solarstrike.net/phpBB3/viewt ... =27&t=2068
or something like it to read the start and finish of EoJ starts ......starting and stoping the bot ? Lisa and Rock5 i know you both are very good ...but do u see what iam getting at ?
Start Text : Regional event now restarting!
Stop Text : Regional event ended successfully!
let me know any ideas?
i understand the bot cant determined timers for events but could it monitor text ? for lets say
this userfunctions
http://www.solarstrike.net/phpBB3/viewt ... =27&t=2068
or something like it to read the start and finish of EoJ starts ......starting and stoping the bot ? Lisa and Rock5 i know you both are very good ...but do u see what iam getting at ?
Start Text : Regional event now restarting!
Stop Text : Regional event ended successfully!
let me know any ideas?
Re: request EoJ Farming Timer
That userfunction is for writing messages, not reading them. What you need to use is the event monitor which is part of the bot. Here is the romwiki page regarding event monitors. See what you can make of it. Get back to me if it's too complex.
http://www.solarstrike.net/wiki/index.p ... _Functions
Basically what you need to do is start the monitor, do a loop where you check the messages, then continue when you get the message.
http://www.solarstrike.net/wiki/index.p ... _Functions
Basically what you need to do is start the monitor, do a loop where you check the messages, then continue when you get the message.
- 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 rock5 but yeah no clue with just that as a example ?
looks to me i can monitor it but not sure how i would start and stop it ....since i dont know the event name iam calling for in game text to start it ?
but i ll do my best ....Since its mighty vague for us none programers. it would be nice to see it in a example to get maybe a idea?
i understand what it does but not seeing it in a example not sure how to implement it into a path file?
looks to me i can monitor it but not sure how i would start and stop it ....since i dont know the event name iam calling for in game text to start it ?
but i ll do my best ....Since its mighty vague for us none programers. it would be nice to see it in a example to get maybe a idea?
Code: Select all
<?xml version="1.0" encoding="utf-8"?><waypoints>
<onLoad>
startGMDetect()
EventMonitorStart(ejfarm, event [,Regional event now restarting!])
</onLoad>
Re: request EoJ Farming Timer
Figuring out what event it is might be a bit tricky. I'm not familiar with it so can't help. What does it look like? Just a chat message? An on screen warning message? Yellow or orange?
Because you want to just stand and wait for the message it should be simple to set up. Something like this.
Because you want to just stand and wait for the message it should be simple to set up. Something like this.
Code: Select all
EventMonitorStart("eojmessages", event? ) -- Which event?
local EventStarted = false
repeat
yrest(10000) -- check every 10 seconds
repeat
local time, moreToCome, msg = EventMonitorCheck("eojmessages", "1")
if msg and string.find(msg,"Regional event now restarting!") then
EventStarted = true
break
end
until moreToCome == false
if EventStarted then break end
until false
- 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
the event text is yellow .....not sure of the name eather ill try and get it ? "Turmoil in Tergothen Bay" i think
what i want it to do is start at a spot lets say spot 1 ...run when event starts kill 4 mobs stop when enevt stops but move back to a safe spot
looks like its working still testing ..
what i want it to do is start at a spot lets say spot 1 ...run when event starts kill 4 mobs stop when enevt stops but move back to a safe spot
Code: Select all
DID not work
Last edited by Uniden65 on Sat May 12, 2012 10:59 am, edited 1 time in total.
Re: request EoJ Farming Timer
did not work ....event started but the bot never does ....hmmmm crashes client with bad argument to #1 memory readbyte
Re: request EoJ Farming Timer
Good try.
By "Which event?" I meant in game event such as "CHAT_MSG_SYSTEM" or "SYSTEM_MESSAGE". There is a list of event names here,
http://www.theromwiki.com/List_of_Events
If the message appears in the middle of the screen and is yellow then I suspect you should be monitoring the "SYSTEM_MESSAGE" event. So,
Also I think you want to start monitoring for the message when you start waiting so I would put the code in the appropriate waypoint or create function in the onload and call it at the appropriate waypoint.
Checking for when the event stops is a bit trickier. To kill those 4 mobs do you travel a loop or do you stand in one place and wait for it to spawn or what? If you travel in a loop can you finish traveling the loop when you get the event ended message or do you want to be able to head back immediately?
By "Which event?" I meant in game event such as "CHAT_MSG_SYSTEM" or "SYSTEM_MESSAGE". There is a list of event names here,
http://www.theromwiki.com/List_of_Events
If the message appears in the middle of the screen and is yellow then I suspect you should be monitoring the "SYSTEM_MESSAGE" event. So,
Code: Select all
EventMonitorStart("eojmessages", "SYSTEM_MESSAGE")
Checking for when the event stops is a bit trickier. To kill those 4 mobs do you travel a loop or do you stand in one place and wait for it to spawn or what? If you travel in a loop can you finish traveling the loop when you get the event ended message or do you want to be able to head back immediately?
- 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
just see the event start ...start the bot on the way points kill the 4 mobs then stop and wait for event to end .....then repeat ...in Runes you get eojs for killing some mobs u get 1 point to there system turn in ...this is all you need when the event ends with 6000 points from others doing quest and turn ins ....if the event does not reach 6000 points you get nothing ...so i want to just farm the 4 mobs when evert starts get credit of 4 in the event and if it fininishes get my rewards of EoJs ....
Re: request EoJ Farming Timer
I went and had a look-see with one of my characters. Try this file.
You can start it somewhere near Snoop.
When the event starts, it goes and kills 4 mobs then returns to the waiting area until it starts again.You can start it somewhere near Snoop.
- 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 Rock5 your the best man ....works great ....... I changed the waypoints and still works like a charm .....THANK YOU
i thought about the timer thing and it changes depending on how fast the event gets over if its over fast the time is 20 min if its slower it can be as low as 12 min .....so this is the way to go on this event ..... I had a few minor bugs char profile related but this script is one of the best ...
i thought about the timer thing and it changes depending on how fast the event gets over if its over fast the time is 20 min if its slower it can be as low as 12 min .....so this is the way to go on this event ..... I had a few minor bugs char profile related but this script is one of the best ...
Re: request EoJ Farming Timer
Hi guys, I just tried this and it isn't working for me.
I have an addon that removes the scrolling banner text thing and sends it to the general tab of the chat window.
Is there any way for me to set this to monitor that channel?
Or do I have to disable my addon?
Addon : ntAlertCleaner
no longer available on curse, but kinda like http://www.curse.com/addons/war/alertfilter
I have an addon that removes the scrolling banner text thing and sends it to the general tab of the chat window.
Is there any way for me to set this to monitor that channel?
Or do I have to disable my addon?
Addon : ntAlertCleaner
no longer available on curse, but kinda like http://www.curse.com/addons/war/alertfilter
Re: request EoJ Farming Timer
You can usually still find old abandonded addons on curseforge even though they don't show up on their search. You can do 1 of 2 things.
1. Type the address directly into the address bar
2. Do a google search using the site
As to your question, my file doesn't monitor the system messages alert bar, it monitors system messages in chat (CHAT_MSG_SYSTEM). So unless it's blocking system messages in chat, it should work.
Do the messages still appear in chat? The message it monitors for is "Regional event now restarting!".
1. Type the address directly into the address bar
- rom.curseforge.com/addons/addonnamehere
2. Do a google search using the site
- site:rom.curseforge.com addonnamehere
As to your question, my file doesn't monitor the system messages alert bar, it monitors system messages in chat (CHAT_MSG_SYSTEM). So unless it's blocking system messages in chat, it should work.
Do the messages still appear in chat? The message it monitors for is "Regional event now restarting!".
- 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
I just tested the addon and the waypoint file still worked. Maybe you made some changes to it or it's configuration?
- 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
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.
regards
DX
regards
DX
Re: request EoJ Farming Timer
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.
- 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
Ok here's a version that uses an in game function to get info instead of monitoring an event. It also has a variable you can change at the top to say how many mobs you want to kill in each event.
Edit: I especially like this version because you can start it in the middle of the event and it should start right away. And because it actually checks the status of the event, if the event ends it will move back to the home base regardless of how many mobs it has killed or needs to kill.
Code: Select all
YourTargetScore = 4
- 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
I already have that ntAlertCleaner thing installed.
it Isn't deleting the alert messages, but rather sending them to the General tab in the chat box.
So yes, the alert is still appearing in the chat box.
Also, the text is exactly as it shows in the wp file.
I will try your newer upload tonight and see if that helps.
Thx guys, you're awesome.
it Isn't deleting the alert messages, but rather sending them to the General tab in the chat box.
So yes, the alert is still appearing in the chat box.
Also, the text is exactly as it shows in the wp file.
I will try your newer upload tonight and see if that helps.
Thx guys, you're awesome.
Who is online
Users browsing this forum: Ahrefs [Bot] and 0 guests