[Release] ivanJo Forge Of Empires BOT

08/14/2013 15:12 datlife#361
I fixed the collection bit in his 1.09 code, but I've no idea how to get that red bar in the center to be gone :(

And I don't know how to add new buildings (it sometimes seems to just skip all or part of the 3x3 homes :x
08/14/2013 15:41 costikan#362
Quote:
Originally Posted by datlife View Post
I fixed the collection bit in his 1.09 code, but I've no idea how to get that red bar in the center to be gone :(

And I don't know how to add new buildings (it sometimes seems to just skip all or part of the 3x3 homes :x
Can you upload somewhere the 1.09 fixed edition by you, please to work with it?
08/14/2013 15:49 datlife#363
I'll upload it later tonight.

also if Anyone at all could go forth and find some solution description of that crappy red bar, please post. I can't seem to find a solution for it :(
08/14/2013 16:32 shifty1984#364
Hello Since the update 1:07 does the bot not I'd ask for an update really great if there something would come
08/14/2013 19:11 luxorita#365
hello, unfortunately, this summer event (casiṇ) broke the bot....it Always "click" to make roulette popup and fu** all the process.

i tried to change randoms value, even in the settings.xml, but i can't find the correct field to modify and the properly value to put inside...

anybody can help all???????????????????????
08/14/2013 19:35 datlife#366
NOTE: this is not thoroughly tested, and as such comes with a "works on my pc" warranty. If it does not work for you, you might have to wait for IvanJo to fix it (or fiddle with the code yourself and post if you find a better solution)

[Only registered and activated users can see links. Click Here To Register...]

hope it works if not lemme know.

@IvanJo:

Since I can't create a patch, changes I made include:

@ MainForm.cs:

ln 1767: added a
Code:
TryClosePopup();
below
Code:
image = GetNewBrowserImage...
ln 1395: added:

Code:
else if (IsHoliddayWinPresent(image, out coordOpenMenuClose))
{ 
}
ln1534: added:


Code:
        private static bool IsHoliddayWinPresent(Screenshot image, out Coordinate closeButton)
        {
            closeButton = null;
            var coords = FindCloseButton(image, 2424, 755, 20, 20);
            if (coords != null)
            {
                closeButton = coords;
                return true;
            }
            return false;
        }


The close after image re-acquiring was required because only at that point the vacation popup was shown fully. The coords and the 20,20 were a guess and should probably be verified, I wasn't sure what start coord it required.

Cheers,
08/14/2013 20:38 Santucci83#367
is not working on my pc have to set something?
08/14/2013 20:50 shifty1984#368
hi have tried it unfortunately still does not work
08/14/2013 21:02 datlife#369
Hm, maybe something went wrong then, but if you want, just make the above changes in the code yourself and recompile.

[edit] I can't know what's wrong if all you guys say "it dun work durrr" be more specific on what doesn't work..

ps. I've found that if I made the window be 1/4th the size of the screen (ie, small) that it would work, but if I made it fullscreen it wouldnt.
So try with the window being small (before selecting your server!).

Also for some reason the reload stopped working, no time to figure out why tho :P
08/14/2013 21:10 Santucci83#370
same as other when start scanning it show the summer banner
08/14/2013 21:12 datlife#371
start attaching (or pm me) the images it generates guys (the closePopupError.png )
08/14/2013 21:18 shifty1984#372
I have entered manually but still does not he just collects the stuff no longer, and also no longer produced
08/14/2013 21:56 datlife#373
shifty, try adjusting the coords a bit if you are self-compiling as well.. use the image, the click should be on the blue cross to in the window it should be closing.
08/14/2013 22:18 shifty1984#374
I've done now is also not too bad
08/14/2013 22:19 Santucci83#375
can u post the new version please?