Rock5's Ancient Treasure
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.
Re: Rock5's Ancient Treasure
We don't currently get the item shop flag from memory. We probably should. Also I think the recent changes I made to the item "moveTo" function put it into a permanent loop if the move fails. It should probably time out.
I'll look into it.
I'll look into it.
- 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: Rock5's Ancient Treasure
Ok. looking good. Found the flag for ItemShopItem so now it doesn't try to move items to the item shop unless they are item shop items. I'm calling the variable item.ItemShopItem. I'm also adding the CanBeSold flag so autosell no longer tries to sell items that can't be sold. While I was looking at autosell I noticed it did all the checks for every item. That's innefficient so I've changed it to break as soon as the first check fails. That should speed it up. Also added a few extra checks for if the bag slot is empty in a few of the functions. I also added a time limit for the moveTo function and steps to take if the pickup or put down fails.
So a few nice tweaks coming. I think I'll run through my daily scripts first and if all goes well I'll commit a bit later.
So a few nice tweaks coming. I think I'll run through my daily scripts first and if all goes well I'll commit a bit later.
- 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: Rock5's Ancient Treasure
Fixed in rev 715
http://www.solarstrike.net/phpBB3/viewt ... =30&t=3803
http://www.solarstrike.net/phpBB3/viewt ... =30&t=3803
- 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: Rock5's Ancient Treasure
Run on 2 characters absolutely perfect.
Only small thing when collecting the first totem get Client date error report to server.
And character waits for time out instead of leaving but i think that's because of my settings.
Only small thing when collecting the first totem get Client date error report to server.
And character waits for time out instead of leaving but i think that's because of my settings.
Re: Rock5's Ancient Treasure
I don't really care about hose.Hidden wrote:Only small thing when collecting the first totem get Client date error report to server.
I don't think there is any code in AT that makes it wait. Either it loads the next character or loads the next file. If your next file starts outside AT then you set ExitBeforeNextFile to true.Hidden wrote:And character waits for time out instead of leaving but i think that's because of my settings.
- 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: Rock5's Ancient Treasure
Ahh that would be it, new to the script/bot thing so there is no next file. So Im guessing When_Finished = "end" simply stops the script before leaving AT.rock5 wrote:I don't think there is any code in AT that makes it wait. Either it loads the next character or loads the next file. If your next file starts outside AT then you set ExitBeforeNextFile to true.
I play manually 99% of the time but for the mundane things in this game (dailies, mini games, and farming in general) the bots are fun.
Hopefully I can learn enough to make some contribution to the site.
Re: Rock5's Ancient Treasure
Looks like I didn't bother making it exit if you just "end". I guess it gives you a chance to double checking that you didn't miss any chests you wanted to collect and would look less suspiscious to onlookers if you stayed in the full time instead of exiting after 5 minutes. Anyway there's no real point in botting the exit if you're not continuing with another script.
- 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: Rock5's Ancient Treasure
Now it only moves item shop mats. Thanks a lot rock!
But after all chests have been collected I get this error: EDIT: I'm so sorry. I forgot to add the waypointfilename when I downloaded the new version. Everything works fine!
But after all chests have been collected I get this error: EDIT: I'm so sorry. I forgot to add the waypointfilename when I downloaded the new version. Everything works fine!
Here is my gathering waypoints: http://solarstrike.net/phpBB3/viewtopic.php?f=27&t=3603
Re: Rock5's Ancient Treasure
Is anyone having the problem where the bot will get stuck in the doorway to the treasure room? I didn't notice this happening before until just after the last patch.... not sure if its the server rubber-band effect or just lag.
-
- Posts: 446
- Joined: Wed Aug 03, 2011 7:37 pm
Re: Rock5's Ancient Treasure
I did get that problem yesterday (first day I ran new script). About to run again so will check it again then.
I often get pulled out of the floor from aggro too tho, so will see how that goes - really should read rocks code and figure out how to get it to get back under the floor
I often get pulled out of the floor from aggro too tho, so will see how that goes - really should read rocks code and figure out how to get it to get back under the floor
Re: Rock5's Ancient Treasure
It works awsome at me on 4.0.11 (It is much quicker than me, )
Re: Rock5's Ancient Treasure
I haven't tested this yet, but I'm going to try this:
at the bottom of getcandles() function.
UPDATE: Well, with this addition, all 4 of my bots managed to get into the treasure room without difficulty.
at the bottom of getcandles() function.
Code: Select all
print("Going to chest room.")
UpThroughFloor()
yrest(3000)
teleport(3842,3838,49) -- get to chest room
-- testing try again just to be sure
yrest(3000)
teleport(3842,3838,49) -- get to chest room
Re: Rock5's Ancient Treasure
Rock5, why not just add this to the wp. Seems a few others have issues too unless it's in there:
Code: Select all
local function getcandles()
teleport_SetStepSize(30)
teleport_SetStepPause(1500)
Re: Rock5's Ancient Treasure
I actually have an updated version that uses slower teleports. With Lisas suggestions it mainly just pauses before collecting the candles.
I should probably polish my version and upload it.
I should probably polish my version and upload it.
- 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: Rock5's Ancient Treasure
How do you get your characters back to Varanas? Or do you just use the recall function?
Re: Rock5's Ancient Treasure
I always use recall for my dailies, especially with my alts. That way I can recall to my dailies after any game and from any location (I'm always changing the order I run my files). So to get back from AT I hoof it to the nearby camp then teleport back.
- 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: Rock5's Ancient Treasure
Is v3.5 that is in the original post the latest version? Or is there an updated version somewhere within the posts?
Re: Rock5's Ancient Treasure
The first post is up to date.
- 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: 72
- Joined: Thu Mar 08, 2012 7:22 am
Re: Rock5's Ancient Treasure
Work fine.
Thanks
Thanks
-
- Posts: 72
- Joined: Thu Mar 08, 2012 7:22 am
Re: Rock5's Ancient Treasure
Does anyone try to don't give the 30 tokens for play this mini game ?
(Like for the goblin's game on this thread)
(Like for the goblin's game on this thread)
Who is online
Users browsing this forum: Google [Bot] and 0 guests