What's new
  • Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Visit Resources
  • Visit Downloads
  • Visit Portal

[Free Plugin] DivingGiftAutoClicker

how long have you let it run ? it could just have been a fluke that it failed that time (its not perfect, one click every 45minutes garantee that youll get your 10 box per day if the bot run 24hour, but it could take 15-16 "click" to get those 10.

You could try lowering the secondsBetweenClick to something like 60seconds, instead of 2700. That would click often enough that it would be bound to get it xD.
 
ok i have try everything and it is not clicking on gift
i increase time and i see mouse to to the box and it is there for few moment and in log it say Clicked on gift but it did not .......how to i fix this????

1.26.2015 19:59:07.156 > Starting divinegiftclicker
Window dimensions are : 1286 x 755
Clicked the gift icon
Clicked the gift icon
Clicked the gift icon
Clicked the gift icon

but i dont get the gift :(
 
im finalising a new version that include a few failsafes to try to get it more reliably. Hopefully will fix your problem
 
new version that include a few checks to make sure it did obtain a gift (and try again if it fail) as well as a few checks to avoid spamming it non stop once you did get all 10 (only work if you dont restart the plugin for a very long time).


See the first page for the source code and the precompiled plugin as well.
 
oh now i see what is wrong ......it is trying to click right under the gift box .............maybe my resolution is wrong or it is becouse i reduce my UI settings to 80%
mm2211 if you want i can give you my team viewer so you can check it
 
oh, yea, i didnt factor ui size setting ><. That could explain it. Will do a few tests
 
new version attempt to deal with the scaling issue. Working fine in tests
 
Can you also put for download the old version without the memory, cpu issues, where you can setup windows size and x and y to click it? I deleted that version here
 
what do you mean cpu and memory issues ? it barely does anything other than grabbing info at start. You can easily edit it to use a fixed position tho, just delete the block that gather the window rect, and change the click() call to be the coordinate you want to click on
 
2/8/2015 18:05:30.508 > Starting divinegiftclicker
Window dimensions are : 32 x 20
2/8/2015 18:05:47.758 > Click error, trying again in 5 secs... attempt:1
2/8/2015 18:05:54.976 > Click error, trying again in 5 secs... attempt:2
2/8/2015 18:06:02.158 > Click error, trying again in 5 secs... attempt:3
2/8/2015 18:06:09.346 > Click error, trying again in 5 secs... attempt:4
2/8/2015 18:06:16.525 > Click error, trying again in 5 secs... attempt:5
2/8/2015 18:06:21.558 > ----- DivineGiftClick stopped -----

doesnt work anymore... gg
 
the window dimensions tells me that it had an issue getting the proper window size (most likely lagged too much when it tried to unminimize the window to get the data, or the window was minimized while it was obtaining the window size).
 
i really prefer the other version... this one stops by itself and doesnt continue to click.

can u remove the section that makes it stop clicking after failing 5 times.
 
the code is extremely simple and provided, Remove it in your own version and compile it ? XD

it also only stop for 24hours after failing 25 clicks in a row (5 attempts per 45mins).

You are welcome to do whatever modification you like to make it ideal for your needs (hardcode the position, remove the validation, remove the failcheck etc) but i dont plan on removing them from the version in this post, simply because its a system that get the job done (i been using it for days in a row without any problems).
 
the code is extremely simple and provided, Remove it in your own version and compile it ? XD

it also only stop for 24hours after failing 25 clicks in a row (5 attempts per 45mins).

You are welcome to do whatever modification you like to make it ideal for your needs (hardcode the position, remove the validation, remove the failcheck etc) but i dont plan on removing them from the version in this post, simply because its a system that get the job done (i been using it for days in a row without any problems).


the problem i have is...

if i manually click the box by accident, then when it does its check and fails a few times, it turns itself off. where as the version before wouldnt, it would just continue.

id love to change it, but i have very minimal scripting knowledge.
 
it only temporarily pause for 1400secs (23.33hours) after clicking 11 times in a row failure or not (at that point it assume it got them all for the day). it shouldnt matter if you clicked it yourself or not, its still going to attempt it 12 times (once every 45mins)

As for your scripting knowledge, you seem to be able to read and write english, thats about all the skills you need to read .

i will grant you that i forgot to update the comment xD (its 1400 secs as shown in the code, not 4hours). But i mean you dont need a programming degree to understand that code.

Code:
            if ((long)((DateTime.UtcNow.Subtract(new DateTime(1970, 1, 1))).TotalSeconds) - LastPauseRequest < 1400)
            {
                return; //wait for 4 hours after a pause is requested
            }
            if (GiftAttemptCount > 12)
            {
                Log(DateTime.Now.ToString("M/d/yyyy H:mm:ss.fff") + " > Did it 11 times in this session, stop bothering for 4hours");
                LastPauseRequest = (long)((DateTime.UtcNow.Subtract(new DateTime(1970, 1, 1))).TotalSeconds); //well try again in 4 hours
                GiftAttemptCount = 0;
            }

Sorry if i come out as uncooperative or angry. Be assured im not, its just that the only reason i released it opensource, is because i did not want to bother with every single little details everyone wanted. If you want a detail, the source is here edit it as you wish. Hell you can even release an improved version if you so desire. Its not complex enough to need someone dedicated at improving / maintaining it. Anyone with even basic english knowledge can read the code and understand at least what most parts do, and edit it however they want.
 
Last edited:
what do you mean cpu and memory issues ? it barely does anything other than grabbing info at start. You can easily edit it to use a fixed position tho, just delete the block that gather the window rect, and change the click() call to be the coordinate you want to click on

Sorry, I thought you mentioned it had some issues in the early version, I had already done that, commented that part of the code and set the window to the proper size, the new version, works fine in my desktop and notebook, however in my old pc that I leave running 3 clients of AB I also happen to have the same error from the guy below, and yes, you are correct, the game is very lagged in that pc and that's why it probally doesn't get the correct window size.

The old version where you setup the window size and the right place to click, x and y, it worked, if you could release it, or just post the code here, I could modify to my needs.

2/8/2015 18:05:30.508 > Starting divinegiftclicker
Window dimensions are : 32 x 20
2/8/2015 18:05:47.758 > Click error, trying again in 5 secs... attempt:1
2/8/2015 18:05:54.976 > Click error, trying again in 5 secs... attempt:2
2/8/2015 18:06:02.158 > Click error, trying again in 5 secs... attempt:3
2/8/2015 18:06:09.346 > Click error, trying again in 5 secs... attempt:4
2/8/2015 18:06:16.525 > Click error, trying again in 5 secs... attempt:5
2/8/2015 18:06:21.558 > ----- DivineGiftClick stopped -----

doesnt work anymore... gg
 
Hi. In next update i will add methods to work with scheduled events\items
 
Last edited:
in the original code, if you change 8000136 to 8000273 it should be working (8000273 is the new divine coin)
 
Back
Top