Please add a Clear Slot function (for assets) after picking up the rewards. Otherwise the slot will bug out as the bot is unable to find assets.
Please add a Clear Slot function (for assets) after picking up the rewards. Otherwise the slot will bug out as the bot is unable to find assets.
In testing, I have run 4 at one time - 2 characters on 2 accounts.
The mem leak of the gateway always causes my laptop to overheat and shutdown after a short while, but I can confirm that you can use multiple characters, multiple accounts, at the same time.
And you can play while this is going also.
Example: Account 1
Character Bob - using Autoprofessions bot (I use a 2nd computer)
Character Joe - using Autoprofessions bot (2nd computer)
Character Bob - on first computer, playing/PvP/Quest - whatever you want
Bot will still not work on slots 4 and 5 no matter what I try. Slots 1-3 work perfectly, but even if I put the same settings I have for one of those slots in Slot 4 or 5, it can never get started in those slots.
It just constantly loops the following in the detailed log:
Starting the task
Waiting for result of jobstart
Start Job 4
Going to a new task
Found 1 required slots
Found 1 optional slots
Result of fillslotfunction 859685210927663581
Here is my settings file text:
False
False
False
False
False
False
False
False
False
Leatherworking
Leatherworking
Leadership
Leadership
Leadership
Leatherworking_Tier2_Gather_Basic
Leatherworking_Tier2_Refine_Basic
Leadership_Tier2_9_Chart
Leadership_Tier2_9_Chart
Leadership_Tier2_9_Chart
<name removed>
Tanner
Tanner
Adventurer:Man-at-Arms
Adventurer:Adventurer
Guard
I ran the bot overnight, but my computer did not make it till morning.
The memory leak in the gateway causing my system to finally BSOD.
After about 4 hours, the process was already using about 1.2gb of ram.
Then the bot starts intermittently freezing for a few seconds and this does increase.
Could it have something to do with the fact that the bot does refresh every few seconds?
If the bot would do those things a bit more slowly, we could probably run the bot a few more hours and then manually restart it if needed.
So the memory leak is the biggest issue, the bot does what it has to.
Untill it let my system BSOD, it was running fine with 6 slots on Leadership with 2 very rare assets.
True, not much I can do. However @bloody12345 if you press "End", there process shouldnt run anymore
Background is the loop of the program, its basicly a endless timer checking all slots, therefore the process might still be activated if u press the "X". If you press "End", it should end correctly
I decided not to implement the first point because usually people do not like to enter their personal accountdata to a program
second point, I want to add those
edited that, thank you. Also in general if anyone finds missspelled words, or anything like that, feel free to write mention it and I will change that. English is not my mother tongue, therefore some formulations/words won´t be correct
I dont feeld like this is needed, there is a extra window for all assets (Information tab-)Assets)
You can just start it twice or as often as you want, then load different configs and let it all run
yes the endless loop could happen, because I am not disabling failed jobs anymore, therefore the bot will try to start them over and over again
Seems like you found the root of that error, I will fix that
Its fixed in the new version. I had it mostly done yesterday, wanted to sleep but upload the new bot with the other features, so I just uploaded it, knowing its a bit bugged. sorry
Timeout should be a gateway/internet error, there is nothing I can do about it
Hard to tell
Can you please post all 3 logs when it happens the next time, I will try to figure it out
It does not search for the second (optional) asset for some reasons, I try to figure it out, but have to add the "clear slot"-function first
I changed the time for the anti afk now, will wait 400% longer now before it performs an anti-afk, I might even increase that or give the user the option to increase it
However I need to know more about that "memory leaking" to think of solutions for that
what does increase the memory usage? - every klick? does it increase by time?
does it reset if you restart the program/reload the site?
any more information you know
--------
I will now add that the bot clicks "Clear slot" before searching for assets
New version will be uploaded in 3-4 hours
---
Was much easier to code than I expected
uploading new version, please report bugs/errors
especially about those "endless-restartjob-loops"
Last edited by Dragonef22; 06-06-2013 at 01:22 PM.
Nice update Dragonef22!
I just downloaded the new version and testing it now with 6 slots.
It immidiately starts all slots.
Running for about 20 minutes now, and see a small increase in memory usage, but it seems less then before.
There is a good change it has something to do with the anti afk check.
I will keep checking on it and let you know.
If you are not able to fix the memory leak problem, you could better focus on reducing it as much as possible by maybe increasing the anti afk check timer.even further.
Or the option you mentioned before that the user could decide to increase/adjust the anti afk check timer.
I will update my experience later
Thanks for all the updates Dragon. Will try the new version and run it for a few hours for memory leakage.
I don't notice any memory leaks running a script in just a chrome browser (I've left one of those running for about 18 hours while I worked then slept).
I like this program more than just the script so hopefully it's better now =)
Hey, i think that this is awesome. A suggestion, and feel free to ignore me, but it would be star-spangled awesome if you could set a priority system. Something like:
Slot four - if you have the mats for making pants, do that - if not and have the mats for mass refine, then do that - if not, mine resources.
I know that's easier said than done, but it would be an interesting function.
all right, thank you
all right, I try my best to improve it as much as I can
---
I was told by pm that worn infantry weaponry selection doesnt work
will look into that now
---
This priority system sounds awesome, I think I might develop that soon, thanks
-----------
Aeh I loked into the "Basic Infantry Weaponry" - problem and it worked fine for me
Profession: Leadership
Task: Leadership_Tier2_12_Taxes
Assetcopy: Adventurer:Basic Infantry Weaponry
Job started all right for me
Can anyone confirm that it does work or does not work with those settings - please test it with the new bot (1.2.2 - current version)
Last edited by Dragonef22; 06-06-2013 at 04:31 PM.
Update on my previous part:
Running it for almost 4 hours now.
Still running fine, no interruptions.
The amount of memory the program uses has increased quite a lot.
When you first run the program, the process is using about 45-50mb
After you actually start it, it will start using around 70-80mb and this starts increasing over time.
Now, after this 4 hours it is using around 300mb.
With the previous version, it would have been around 1gb of ram usage after this time.
The memory leaks starts whenever you press start.
When you interrupt it, the memory leak stops as well.
I also notice an increase of CPU usage when it starts to use more memory.
Every few seconds, you can see the CPU usage go up a bit for a second and then jumps down again.
This has probably something to do with the "checks" it does every few seconds.
If the programs starts using more memory overtime, the jumps of the CPU usage increase with it.
For example, when you just startup the program, it will use around 2% CPU usage and it jumps to 6-7%.
Now after 4 hours, it uses 13-18% and it jumps to around 25% and it also becomes more instable.
The amount of CPU usage will be different on every system.
The program itself seems to start becoming inresponsive for about a second sometimes as well now, and this will increase the more memory it will use.
So I am starting to believe that it still has something to do with the "checks" it does every few seconds.
How I use the bot, it would be ok if the program would check about every 30-60 seconds.
I think this would also reduce the speed of the memory leak.
So if you could build in an option to manually adjust the time between checks, that would be very nice.
If you need any more info on this, let me know.
Last edited by weedyweedpacker; 06-06-2013 at 06:17 PM.
Running a few hours now. Up to 230mb of RAM being used. MUCH less than before where it would be around 700-800mb of RAM.
Still responsive. I'd feel much more comfortable now running this over night from a fresh start.
Awesome work Dragon, and please keep it up, we all appreciate it very much!!
im confused... can this be downloaded without this tiny download manager thingy?
Hm, maybe its only me, but i think, adding a delay between the actions when starting a new task would help around a bit - that pesky gateway is slow as hell, and sometimes it just didnt have time to refresh between the jobs. When i waited some seconds and then start the bot again, everything went fine ... and it isnt soooo obvious that we are using a script to start the tasks
"Enter a number of seconds to delay between the tasks: From A=x,x seconds (min 10) to B=xx,x seconds (min 10)" as an option inside the bot ...
Apart from the slow memory leak (~400MB after 9 hours), version 1.2.2. is pretty much flawless for me.
Thanks for making this program.
+rep