NoobBotter's Kashaylan Research Expert EoJ Script
Forum rules
Only post additional bot resources here. Please do not ask unrelated questions.
Only post additional bot resources here. Please do not ask unrelated questions.
-
- Posts: 527
- Joined: Fri Aug 31, 2012 1:15 pm
NoobBotter's Kashaylan Research Expert EoJ Script
This script will farm Energy of Justice in Kashaylan using the Research Expert public quest.
*** Version 2.0 update:
The script will start farming on whichever channel you're on and once it gets a message that that event round is complete, it will change to the other channel. After 2 channels are done, it will wait until the next round start.
Also, this will now automatically enable the Autoquesting for this quest via DailyNotes so if you use this quest for dailies, you won't have to manually change it.
This Waypoint has user settings to tell it when to stop, by either max EOJ in inventory, or by amount of time the script has been running. Alternately, you can set it to stop after a certain amount of time and rest for an amount of time, and then resume, or run continuously.
Additionally, I am using Rock5's checkRelog() function to allow you to either end the script, change characters, or load a different waypoint file once this one completes.
Requirements:
1. This script depends on having the DailyNotes Addon activated for auto accepting the Research Expert public quest.
2. This script also requires the LoginNextChar userfunction by Rock5.
3. Must have character at the location where he can accept the quest and click on the objects all in one spot.
4. Set preferences in the User Settings section.
Note: This should be language independent, but I'm not sure if the RoMScript commands are language specific or not, such as RoMScript("GetCurrentParallelID()") and RoMScript("GetAccountName()").
If you find any bugs feel free to let me know.
*** Version 2.0 update:
The script will start farming on whichever channel you're on and once it gets a message that that event round is complete, it will change to the other channel. After 2 channels are done, it will wait until the next round start.
Also, this will now automatically enable the Autoquesting for this quest via DailyNotes so if you use this quest for dailies, you won't have to manually change it.
This Waypoint has user settings to tell it when to stop, by either max EOJ in inventory, or by amount of time the script has been running. Alternately, you can set it to stop after a certain amount of time and rest for an amount of time, and then resume, or run continuously.
Additionally, I am using Rock5's checkRelog() function to allow you to either end the script, change characters, or load a different waypoint file once this one completes.
Requirements:
1. This script depends on having the DailyNotes Addon activated for auto accepting the Research Expert public quest.
2. This script also requires the LoginNextChar userfunction by Rock5.
3. Must have character at the location where he can accept the quest and click on the objects all in one spot.
4. Set preferences in the User Settings section.
Note: This should be language independent, but I'm not sure if the RoMScript commands are language specific or not, such as RoMScript("GetCurrentParallelID()") and RoMScript("GetAccountName()").
If you find any bugs feel free to let me know.
Last edited by noobbotter on Mon Oct 05, 2015 12:42 pm, edited 3 times in total.
Re: NoobBotter's Kashaylan Research Expert EoJ Script
Function names don't change with different languages. Only things like strings and names change.
- 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: 527
- Joined: Fri Aug 31, 2012 1:15 pm
Re: NoobBotter's Kashaylan Research Expert EoJ Script
Oh, Duh! I didn't even think about the fact that those are functions. I guess I probably already knew that if I had thought about it a little.
-
- Posts: 10
- Joined: Thu Jul 03, 2014 10:39 am
Re: NoobBotter's Kashaylan Research Expert EoJ Script
Hello, thanks for you script.
I have a problem, not change channel.
What should i do in this script for can change channel??
thanks you
I have a problem, not change channel.
What should i do in this script for can change channel??
thanks you
-
- Posts: 527
- Joined: Fri Aug 31, 2012 1:15 pm
Re: NoobBotter's Kashaylan Research Expert EoJ Script
When you start the script it will immediately begin completing the quest and will continue until it receives the message that the event is over. That first time, it will then wait for the start of the next 20 minute round. Once it does the start of that second round, once complete (receives the message that the event is over), if it has more than 5 minutes remaining it should change channel.
Did you give it enough time to try or were you expecting it to change channel after that first run through?
Did you give it enough time to try or were you expecting it to change channel after that first run through?
-
- Posts: 10
- Joined: Thu Jul 03, 2014 10:39 am
Re: NoobBotter's Kashaylan Research Expert EoJ Script
Hello,
I didnt change nothing in script, only: local max eoj: 8000, local max minutes: 720 and local restTime: 0.
I dont change nothing more and it doesnt change channel.
What must i do?
thanks you
I didnt change nothing in script, only: local max eoj: 8000, local max minutes: 720 and local restTime: 0.
I dont change nothing more and it doesnt change channel.
What must i do?
thanks you
-
- Posts: 527
- Joined: Fri Aug 31, 2012 1:15 pm
Re: NoobBotter's Kashaylan Research Expert EoJ Script
I wonder if there is only one channel in that area now? I remember reading in the patchnotes for the patching they did this week something about getting rid of extra channels but I thought that was just for Jungle of Hortek. I'm not sure. How long did you wait to see if it would change channels?
-
- Posts: 10
- Joined: Thu Jul 03, 2014 10:39 am
Re: NoobBotter's Kashaylan Research Expert EoJ Script
There are 3 channels sure.
I try a lot times, with diferents psjs and for a long time too.
I try look script and look for change something but i didnt know exactly.
are you tested your script? or i dont know XD
I try a lot times, with diferents psjs and for a long time too.
I try look script and look for change something but i didnt know exactly.
are you tested your script? or i dont know XD
-
- Posts: 527
- Joined: Fri Aug 31, 2012 1:15 pm
Re: NoobBotter's Kashaylan Research Expert EoJ Script
I'll double check it and run it through tonight just to ensure it's working right. You never know if I changed something since I last tested that broke it. I'll let you know what I find.
-
- Posts: 527
- Joined: Fri Aug 31, 2012 1:15 pm
Re: NoobBotter's Kashaylan Research Expert EoJ Script
I verified it tonight. After it finished it's second round (saw "Regional event has ended Successfully!" for the 2nd time) it changed channels.
Did you verify that you have the latest version of the file I uploaded here? Inside the file at the top it should indicate "Version 1.6"
Did you verify that you have the latest version of the file I uploaded here? Inside the file at the top it should indicate "Version 1.6"
-
- Posts: 10
- Joined: Thu Jul 03, 2014 10:39 am
Re: NoobBotter's Kashaylan Research Expert EoJ Script
Hello
I had version 1.6, i return to download and try it other time, but it didnt change channel, i try a lot times and with diferents psjs.
I use english language, must be in spanish or french or german? or i must change something in profiles? i dont understand why no change channel if you can.
Thanks you
I had version 1.6, i return to download and try it other time, but it didnt change channel, i try a lot times and with diferents psjs.
I use english language, must be in spanish or french or german? or i must change something in profiles? i dont understand why no change channel if you can.
Thanks you
-
- Posts: 527
- Joined: Fri Aug 31, 2012 1:15 pm
Re: NoobBotter's Kashaylan Research Expert EoJ Script
How long are you letting the bot run the script? The bot will change channels after the second event completion message, and only if there are at least 5 minutes remaining in the 20 minutes of the second session.
-
- Posts: 25
- Joined: Wed Jan 15, 2014 9:41 am
Re: NoobBotter's Kashaylan Research Expert EoJ Script
yes it very long to wait the second session. that why if there is a way to get timer of each channel waypoint could easily change channel ^^
Re: NoobBotter's Kashaylan Research Expert EoJ Script
I believe the problem is the timer is not reliable because sometimes it's not visible. When it's not visible you can't get the 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
-
- Posts: 527
- Joined: Fri Aug 31, 2012 1:15 pm
Re: NoobBotter's Kashaylan Research Expert EoJ Script
This one doesn't use an in-game timer (exactly because it's usually never visible). In this one, the script sort of creates it's own timer. After script starts it runs until it receives an end of event message. Then it will wait until it sees an Event Start message, at which time it records the round start time. Suppose at this point it takes 7 minutes to complete the event. When it sees the end event message it looks at that time. So now we have 2 times stored. Round start and round end. It will then do a function something like this: . Here's the specific portion of the code that does it:
Looks like I have 2 people that say it isn't changing channels. I've tested and re-tested and it works for me so I can't see why it wouldn't work for them. Can anyone else verify that it is working for you?
For those that it's not working for can you tell me specifically how many minutes you let the bot run for and how many different events you've watched it go through? You keep saying it runs a long time but for some people a long time can be 8 minutes when you're sitting there watching the screen.
Code: Select all
if (RoundStart + 20minutes) - RoundEnd > 5 then Change Channels and continue while using same RoundStart time
Code: Select all
roundTime = (os.time()-startTime)/60
if timerIncorrect == false then
nextRound = 20-roundTime
--============= insert option to change channel and continue =====--
if nextRound > 5 and 3 >= roundCount then -- if more than 5 minutes remaining in round, change channel:
cprintf(cli.yellow,"\r%0.1f minutes until next round starts... Changing channel.", nextRound)
roundCount = roundCount + 1
changeChannel()
firstRun = false
timerIncorrect = false
changedChannels = true
break
elseif 1 > nextRound then
roundCount = 1
changedChannels = false
cprintf(cli.yellow,"\rTime till next round start: %0.1f seconds.",nextRound/60)
else
roundCount = 1
changedChannels = false
cprintf(cli.yellow,"\rTime till next round start: %0.1f minutes.",nextRound)
end
For those that it's not working for can you tell me specifically how many minutes you let the bot run for and how many different events you've watched it go through? You keep saying it runs a long time but for some people a long time can be 8 minutes when you're sitting there watching the screen.
-
- Posts: 10
- Joined: Thu Jul 03, 2014 10:39 am
Re: NoobBotter's Kashaylan Research Expert EoJ Script
I tried for 2 hours and with 2 or more psjs, and no change channel so i did event in one channel. Event is done very fast, 4 o 5 minutes or less, im sure there is time for do event in three channels.
I dont know why no change channel... i can see end event message and look in script but i dont know...
I dont know why no change channel... i can see end event message and look in script but i dont know...
-
- Posts: 527
- Joined: Fri Aug 31, 2012 1:15 pm
Re: NoobBotter's Kashaylan Research Expert EoJ Script
I took the script and added in some debugging/logging to it. (if you don't have the logInfo userfunction, you'll need to download it and put it into your rom/userfunctions folder.
Then download this copy of the script (note it has a different name) and run this one and then afterwards, take a look at the logfile it creates which will be [charactername]-EOJ_Debugging and should be in the rom/logs folder. Let me know what the log shows.
Then download this copy of the script (note it has a different name) and run this one and then afterwards, take a look at the logfile it creates which will be [charactername]-EOJ_Debugging and should be in the rom/logs folder. Let me know what the log shows.
- Attachments
-
- ResearchExpertEOJ-debug.xml
- ResearchExpertEOJ-debug to help with figuring out why channel change isn't working
- (12.73 KiB) Downloaded 356 times
Re: NoobBotter's Kashaylan Research Expert EoJ Script
Hi NoobBotter!
First of all big THX for this awsome script!
I use the script with 2 little changes:
1) Autoadd the quest to the DailyNotes Addon
2) Show EOJ in the MM window
Needed userfunctions:
Rock5's DN_AutoQuest
MM window (setwindow)
Idea (not implemented):
It would be great to find a way to display the time left for the event... (and/or defined script runtime)
First of all big THX for this awsome script!
I use the script with 2 little changes:
1) Autoadd the quest to the DailyNotes Addon
2) Show EOJ in the MM window
Needed userfunctions:
Rock5's DN_AutoQuest
MM window (setwindow)
Idea (not implemented):
It would be great to find a way to display the time left for the event... (and/or defined script runtime)
Code: Select all
Print of actually script: "Been running for 3 minutes."
Print of wanted script: "Been running for 3 minutes. Event time left: 10 minutes" or "Been running for 3 minutes of 120 minutes. Event time left: 10 minutes"
- Attachments
-
- ResearchExpertEOJ.xml
- Version 1.6a
- (12.46 KiB) Downloaded 349 times
Sorry about the bad english
-
- Posts: 527
- Joined: Fri Aug 31, 2012 1:15 pm
Re: NoobBotter's Kashaylan Research Expert EoJ Script
Thanks Testa. Those were some pretty good ideas. I modified the line that displays time during the event to show total script runtime, time the current event has been running, and estimated time remaining in round. Feel free to test this one out (I made changes but haven't tested it yet), and let me know if this one works ok.
- Attachments
-
- ResearchExpertEOJ.xml
- ResearchExpertEOJ version 1.7
- (12.63 KiB) Downloaded 371 times
Re: NoobBotter's Kashaylan Research Expert EoJ Script
seems working big thx only the event time is a little bussy
i did only one little change in the code (question of taste)
change to
and "update" the commentary of USER INSTRUCTIONS and userfunctions
Code: Select all
Script Runtime: 29.2 minutes. Current Event Time: 21.9 minutes. Event Round Time Remaining: -1.9 minutes.
Code: Select all
printf("Script Runtime: %0.1f minutes. Current Event Time: %0.1f minutes. Event Round Time Remaining: %0.1f minutes.\n", Scriptruntime, Eventruntime, EventTimeRemaining)
-> Script Runtime: 3.8 minutes. Current Event Time: 3.8 minutes. Event Round Time Remaining: 16.2 minutes.
Code: Select all
printf("Script Runtime: %0.1f (of %0.1f) minutes. Event Time: %0.1f (Remaining: %0.1f) minutes.\n", Scriptruntime, maxMinutes, Eventruntime, EventTimeRemaining)
-> Script Runtime: 3.8 (of 50.0) minutes. Event Time: 3.8 (Remaining: 16.2) minutes
and "update" the commentary of USER INSTRUCTIONS and userfunctions
- Attachments
-
- ResearchExpertEOJ_v1.7a.xml
- ResearchExpertEOJ version 1.7a
- (12.41 KiB) Downloaded 442 times
Sorry about the bad english
Who is online
Users browsing this forum: Ahrefs [Bot], Google [Bot] and 13 guests