OutdatedEpicDuel Bot (2015) [GamePlayerBot Source Updated]

Posts 1–15 of 21 · Page 1 of 2
EpicDuel Bot (2015) [GamePlayerBot Source Updated]
So I've made my own Version / update of GamePlayerBot aka The EpicDuel Bot. This version is for ED but can still bot whatever else you can manage to get it to bot but it does ED best. I've made several updates such as putting everything on the same form, letting users resize the game, and more.

-Automatic EpicDuel SWF Fetcher (Only uses epicduel.artix no external sites, this is allowed)
-Added Size Changer (by width/height)
-Inform on Exit without Saving
-Resizable client
-Positioner to automatically position at 0,0 if you move the window
-More minor fixes and stuff

Here is a picture of the better GUI - i.imgur.com/WuI5rhR.png



Also this probably wont work with this version but it's a good layout of what you need for a proper EpicDuel Bot script.
Code:
CLICK 308 442 0 10000 '1v1 BTN
CLICK 308 442 0 500 'Repeat
CLICK 200 367 0 100 'Skill BTN
CLICK 248 367 0 100 'Skill BTN
CLICK 296 324 0 100 'Rocket
CLICK 297 265 0 100 'Attack
CLICK 316 338 0 100 'Reward
CLICK 603 98 0 100 'Exit BTL
CLICK 311 385 0 100 'Level Up
CLICK 468 104 0 10 'Skill Point
CLICK 135 227 0 10 'Stat Point
CLICK 527 425 0 100 'Confirm
CLICK 412 239 0 10 'Exit msg
Virus Scans:
http://virusscan.jotti.org/en/scanre...fe57e709d5c213
https://www.virustotal.com/en/file/8...is/1436569090/
EpicDuel Bot_mpgh.net.zip43 KB · 95 downloads Clean
File appears safe; please post back results after using.
/Approved
Can u plzz help me...i just can't understand how to set the time...i mean...
i set first to 12000...thn secnd to 8000....but it messes up...

Explain me how to set the perfect time interval...plzz
Quote Originally Posted by Imrandgamer View Post
Can u plzz help me...i just can't understand how to set the time...i mean...
i set first to 12000...thn secnd to 8000....but it messes up...

Explain me how to set the perfect time interval...plzz
Set all your delays to 20000 or more. Set the first one to 10000 or less.
lol I had it running last night for a while but I haven't set everything to my resolution correctly.

CLICK 320 480 0 10000 '1v1 BTN
CLICK 320 480 0 100 '1v1 BTN
CLICK 161 406 0 100 'Skill BTN
CLICK 210 406 0 100 'Skill BTN
CLICK 325 297 0 100 'Attack
CLICK 334 358 0 100 'Reward
CLICK 628 134 0 100 'Exit BTL
CLICK 434 500 0 100 'Level Up
CLICK 612 275 0 10 'Skill Point
CLICK 143 271 0 10 'Stat Point
CLICK 518 464 0 100 'Confirm
CLICK 412 239 0 10 'Exit msg

The very first click being 10000 seems to be optimal.
Thx 4 this
Evrytime...i write script...it goes well 1st time...but ...it's changes to crap..after a while...what to do..??
and i also don't knw how to set the time intervals...
can any1 xplain me..??? in some easy language with xample..??
i'll b thankful...
Quote Originally Posted by Imrandgamer View Post
Evrytime...i write script...it goes well 1st time...but ...it's changes to crap..after a while...what to do..??
and i also don't knw how to set the time intervals...
can any1 xplain me..??? in some easy language with xample..??
i'll b thankful...
I agree with your thought.Thank you for your sharing.
Go to your Faction base or somewhere that doesn't have any interactivable background stuff.

The Delays don't really matter, as llong as the first Line is set to a high delay it will act as a starting point for the loop so you can sort of get a better rythem of having the timing of each Skill then Attack. For the most part is seems pretty accurate as long as your not making more than 3 or 4 moves in total.

I'm not sure what you mean by "changes to crap" but I'm assuming it's your bot clicking NCPs and stuff.
thank you!!
Oh and another thing about the delays, they are based off Thread.Sleep method in .NET which is the reason why the bot count right, according to this information.


Thread.Sleep has its use: simulating lengthy operations while testing/debugging on an MTA thread. In .NET there's no other reason to use it.

Thread.Sleep(n) means block the current thread for at least the number of timeslices (or thread quantums) that can occur within n milliseconds. The length of a timeslice is different on different versions/types of Windows and different processors and generally ranges from 15 to 30 milliseconds. This means the thread is almost guaranteed to block for more than n milliseconds. The likelihood that your thread will re-awaken exactly after n milliseconds is about as impossible as impossible can be. So, Thread.Sleep is pointless for timing.

Threads are a limited resource, they take approximately 200,000 cycles to create and about 100,000 cycles to destroy. By default they reserve 1 megabyte of virtual memory for its stack and use 2,000-8,000 cycles for each context switch. This makes any waiting thread a huge waste.
This explains why the code is so optimized to the point of having cared about miliseconds of how each line-reads. The core code is really efficient in what it trys to do, but due to the way the mouse click reference works they are being mishandled somewhere in the way. The only way I can think of improving the delays is to use Waithandles but I'm not entirely sure how to go about doing it. But realistically having this in .NET and not in AS is the whole reason why things can't be made to handle ingame things.

As the program works you are relying on the First Delay to be delaying while your turn begins in a battle. Else your bot wont be clicking the first attack line or whatever. But you can help prevent this by making a second 1v1/battle button with smaller delays. And the First Delay should be like 10,000 since it's not going to be each 1,000 as a real time Second because of how the delays work. And if you were running this on an older computer you would probably have to lower the delays due to the statement above.


Edit: Also by letting this run all night I ended up making 2nd place Leader board just like a lot of other people have lol. Didn't mean to.
Can i make a script to bot for a NPC..???
if yes..thn how..??
i mean wht will b the first and the last delays.

And yes plzz tell me 1 thing...how to reset the values to 0 again..??
i alwyz mess with it...and have to restart it...again n again.. :P

thanx.
Lol Idk but having a Big delay at the begging and the rest of the code with small delays makes it so it goes through all your bot inputs after a delay which is on the 1v1 button in my case. As I've stated before the delays aren't going to help much but they might in NCPs, it all depends really.


Also if its messing up try making a larger first delay, like 10,000. Mine messes up too but it;s like 15% of messing up my skills/attacks.
Okay so setting the delays to 0 will sort of let you have control of your mouse as it will do clicks instantly without delays however you still need a first delay to get the Clicks set up in your order you have them in so it doesnt just spam them. You want to make your clicks start from the First line's delay so they are in sync/order.

CLICK 320 480 0 10000 '1v1 BTN
CLICK 320 480 0 0 '1v1 BTN
CLICK 205 406 0 0 'Skill BTN
CLICK 253 406 0 0 'Skill BTN
CLICK 165 406 0 0 'Skill BTN
CLICK 325 297 0 0 'Attack
CLICK 334 358 0 0 'Reward
CLICK 628 134 0 0 'Exit BTL
CLICK 354 300 0 0 'Level Up
CLICK 612 275 0 0 'Skill Point
CLICK 143 271 0 0 'Stat Point
CLICK 518 464 0 0 'Confirm
CLICK 412 239 0 0 'Exit msg

So with this script depending on computer/program preformance you should have control of your mouse besides when the 1v1 button is clicked for the delays.
Cool thanks
Posts 1–15 of 21 · Page 1 of 2
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Talk with us