DarkBOT - Bonus Box Bot

11/18/2018 21:37 cron1003#1
To start:
Open darkbot.bat <-> loggin in your account -> configure bot -> press start -> enjoy

Last version (1.8.7)
[Only registered and activated users can see links. Click Here To Register...]



How to use:
Download Adobe Flash Player [Only registered and activated users can see links. Click Here To Register...]
Download Java 64 BITS [Only registered and activated users can see links. Click Here To Register...]

Unrar de darkbot.rar
Open DarkBot.bat

InGame config:
- Enable start laser attack with quickslot
- Automatic start
- 2D client

Old versions:

Old2


OLD

DISCORD: [Only registered and activated users can see links. Click Here To Register...]
DONATE: [Only registered and activated users can see links. Click Here To Register...]
11/18/2018 22:03 Requi#2
Very important:
Don't use CLI/C++. It's the .NET version of C++ and just aids. Just avoid it. Rather use C# for the BotBrowser.

What I can see is, that either you inline everything or your code is very raw. You're calling ReadProcessMemory raw everywhere (unless it's inlined like I said, but it doesn't look like it). It would be smarter to create a class which holds your process handle and performs read/write operations without you having to pass all the parameters all the time. Also you can template the methods ;)

Also:
Is this a debug build by any chance?
11/18/2018 22:20 cron1003#3
Quote:
Originally Posted by Requi View Post
Very important:
Don't use CLI/C++. It's the .NET version of C++ and just aids. Just avoid it. Rather use C# for the BotBrowser.

What I can see is, that either you inline everything or your code is very raw. You're calling ReadProcessMemory raw everywhere (unless it's inlined like I said, but it doesn't look like it). It would be smarter to create a class which holds your process handle and performs read/write operations without you having to pass all the parameters all the time. Also you can template the methods ;)

Also:
Is this a debug build by any chance?
Well, i update all information in each tick, this does not use much cpu...
[Only registered and activated users can see links. Click Here To Register...]

But it:

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

Is the only way wich i found to search for boxes, portals, npcs etc... (Need to run once, to search everything what is around),

Theres an array storing that (in actionscript), but i don't know how to iterate that...

There's no pointers, nothing :(

Do you know how?

And, i'm built in visual studio in release mod...

The main (from the print), is raw, because i'm testing, after i will make a modular system, to collect, do gg, kill mobs, etc ...

Sorry for english :(
11/18/2018 22:30 Requi#4
Use uintptr_t to define pointers for easy arithmetic and so it's always the correct size depending on platform target.
Why are you passing the process handle by pointer? Just copy it. Or better. Pass the manager by pointer or reference ;)
Don't use winapi typedefs (SIZE_T).
Be consistent with naming convention (Position > position_t). snake_case > all btw.
DON'T EVER use namespace std. Bad practice. Leads to more issues than it helps.
Don't allocate raw pointers. Also don't allocate pointers where you don't have to.
Use <cstdint> typedefs. int64_t instead of __int64. But I guess you're using int64 to store addresses. Like said above use uintptr_t.

Also for example in Position::distance you're passing a pointer. Pass a const reference instead.

There are definitely better implementations to find a specific set of bytes, but that should work.
Also not a fan of precompiled headers.

+ For Position. Initialize the members via initializer list, not after constructor is done:
Code:
Position::Position(Manager* manager, uintptr_t address) :
	manager_(manager),
	address_(address),
	x(0),
	y(0)
{
}
If you want to you can add me on discord. Requi#0001
11/19/2018 08:43 lupetto1972#5
for the browser to be integrated into the bot what can be used
11/19/2018 09:50 pkirk#6
Don"t show me load screen(load map in game)
11/19/2018 10:59 cron1003#7
Quote:
Originally Posted by lupetto1972 View Post
for the browser to be integrated into the bot what can be used
Only the BrowserBOT

Quote:
Originally Posted by pkirk View Post
Don"t show me load screen(load map in game)
You have to clean Internet explorer cache, i don't now way that happen
11/19/2018 14:20 ssamko#8
Quote:
Originally Posted by cron1003 View Post
Only the BrowserBOT
You have to clean Internet explorer cache, i don't now way that happen
in C# I use this to clear all browser data:
Code:
System.Diagnostics.Process.Start("rundll32.exe", "InetCpl.cpl,ClearMyTracksByProcess 4351");
also you can find more parameter options here in comment section:
[Only registered and activated users can see links. Click Here To Register...])
11/19/2018 15:54 cron1003#9
Quote:
Originally Posted by Requi View Post
Use uintptr_t to define pointers for easy arithmetic and so it's always the correct size depending on platform target.
Why are you passing the process handle by pointer? Just copy it. Or better. Pass the manager by pointer or reference ;)
Don't use winapi typedefs (SIZE_T).
Be consistent with naming convention (Position > position_t). snake_case > all btw.
DON'T EVER use namespace std. Bad practice. Leads to more issues than it helps.
Don't allocate raw pointers. Also don't allocate pointers where you don't have to.
Use <cstdint> typedefs. int64_t instead of __int64. But I guess you're using int64 to store addresses. Like said above use uintptr_t.

Also for example in Position::distance you're passing a pointer. Pass a const reference instead.

There are definitely better implementations to find a specific set of bytes, but that should work.
Also not a fan of precompiled headers.

+ For Position. Initialize the members via initializer list, not after constructor is done:
Code:
Position::Position(Manager* manager, uintptr_t address) :
	manager_(manager),
	address_(address),
	x(0),
	y(0)
{
}
If you want to you can add me on discord. Requi#0001


I did not know it's possible to initiate variable in the contructor list, now i'm fixed everything, i guess :)

And i fixed the scanner, scanning one time all memory blocks, and after, searching only in the blocks that something is found, (from 2000 blocks of memory, now scan only 19, plus 20 (re-scan, each time)), but the 19 blocks are actionscript heap, represent 40%> of all memory

The bot is too many fast now :)
11/19/2018 17:25 mchqeen12#10
Bot safe ? :kappa:
11/19/2018 19:13 cron1003#11
Quote:
Originally Posted by mchqeen12 View Post
Bot safe ? :kappa:
The bot only reads the memory, which bugpoint can't detect, I would say it's safe '-'

I'm making a npc killer now, improving the movement :)
11/19/2018 19:25 sernames#12
Can you add screnshots or videos about Bot?

Thanks
11/19/2018 19:29 cron1003#13
Quote:
Originally Posted by sernames View Post
Can you add screnshots or videos about Bot?

Thanks

When i add revive, portals travelling, and a GUI, i wil
11/19/2018 20:21 sernames#14
Quote:
Originally Posted by cron1003 View Post
When i add revive, portals travelling, and a GUI, i wil
Good luck with, we are waiting good news :D
11/20/2018 10:20 DempseyLee#15
It is traveling good but not collecting boxes. When it see a bonus box goes for it but then going to another way. Not waiting for collecting is done. But well done. I hope you will improve.