Register for your free account! | Forgot your password?

Go Back   elitepvpers > Other Online Games > Browsergames > DarkOrbit
You last visited: Today at 19:51

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



[Help]Making Pixel Bot Run In Background C#

Discussion on [Help]Making Pixel Bot Run In Background C# within the DarkOrbit forum part of the Browsergames category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Dec 2016
Posts: 43
Received Thanks: 130
Question [Help]Making Pixel Bot Run In Background C#

I am currently making a DO bot and wanna ask how to make a pixel bot run in the background in C#? any information that will be of help to me before i start coding the pixel bot will be very much appreciated as i am learning as i am going. Thank you all!

-Pendramon
Pendramon is offline  
Old 12/13/2016, 08:21   #2
 
Diаmonds's Avatar
 
elite*gold: 1
Join Date: Oct 2013
Posts: 1,257
Received Thanks: 1,276
You might want to look into that
Diаmonds is offline  
Thanks
2 Users
Old 12/13/2016, 13:36   #3
 
Freshek's Avatar
 
elite*gold: 0
Join Date: Aug 2015
Posts: 803
Received Thanks: 1,359
Quote:
Originally Posted by Diаmonds View Post
You might want to look into that
CefSharp is only Chromium wrapper. You can't do a bot only with CS.
Freshek is offline  
Old 12/13/2016, 17:57   #4
 
elite*gold: 0
Join Date: Dec 2016
Posts: 43
Received Thanks: 130
Quote:
Originally Posted by Freshek View Post
CefSharp is only Chromium wrapper. You can't do a bot only with CS.
Yea but wouldn't CefSharp.Offscreen make it possible for the bot to run in the background?

Am a guy who doesn't give up easily eventually i will find a way to do it and in the process i will learn alot.
Pendramon is offline  
Old 12/13/2016, 18:37   #5
 
Mountain68's Avatar
 
elite*gold: 0
Join Date: Oct 2016
Posts: 192
Received Thanks: 69
Quote:
Originally Posted by Pendramon View Post
Yea but wouldn't CefSharp.Offscreen make it possible for the bot to run in the background?

Am a guy who doesn't give up easily eventually i will find a way to do it and in the process i will learn alot.
What kind of bot you want to make ?
Mountain68 is offline  
Old 12/13/2016, 19:03   #6
 
elite*gold: 0
Join Date: Dec 2016
Posts: 43
Received Thanks: 130
Quote:
Originally Posted by Mountain68 View Post
What kind of bot you want to make ?
Well a box collector/event box collector using image search(pixel bot) that runs in the background. I have made a fully intractable custom form with my own images and everything. I plan on adding a bunch of settings, anti ban features, pet support, travel to map, reconnect, respawn, flee, buy cloak, use cloak cpu and if i become good at this i will have my go at an auto bidder bot and much more as i learn C#. Why make just another bot you may ask well not every bot is updated regularly and therefore most of them have bugs and by making this bot i will increase my C# knowledge. I will make the bot free at start at least until i get a good grasp of C# or i might keep it for free if i get good responses from the community. Learning programming languages for me is a hobby and its also a great set of skills which can be useful in the future. Plus i got a lot of time, if i am not at work am siting on my computer pretty much.

I am currently just researching some stuff before i start the actual coding i don't know how exactly i should start thats why i asked how to make a bot work in background
Pendramon is offline  
Thanks
1 User
Old 12/13/2016, 21:24   #7
 
[becky]'s Avatar
 
elite*gold: 0
Join Date: May 2012
Posts: 319
Received Thanks: 67
it's good to see new developers trying to do something for this community.
and regarding your bot, I suggest doing it firstly non-background (normal) and testing all the functions/botting logic. while your testers are testing the bot, you can focus on learning how to make your bot work in background. it's only an opinion, but i hope it's helpful.
I wish you best of luck and I'm glad you're passionate about programming
[becky] is offline  
Thanks
2 Users
Old 12/13/2016, 22:41   #8
 
elite*gold: 0
Join Date: Sep 2016
Posts: 159
Received Thanks: 40
good luck !
jolaxbeat is offline  
Thanks
1 User
Old 12/14/2016, 02:37   #9
 
Palladium<3's Avatar
 
elite*gold: 0
Join Date: Jun 2016
Posts: 391
Received Thanks: 479
Hey man ,

Your post caught my attention as I tried doing the same thing a few months ago in order to try to understand the language better, like yourself. I was however stopped in my tracks as my university course started .

I'm not sure how to go about making a bot which works in the background but I have attempted something that works in the foreground (in chrome like palavia).

The biggest problem that I faced- something so simple, was to grab a screenshot and search the screenshot for a couple of pixels in that order. Most methods were far too slow, sometimes they took a second or longer! After a few hours of researching I came across this project that somebody made which allowed me to search a screenshot for a bitmap in about ~50ms. (I can't find where I got the code from, but I still had it on my computer so I will attach it!)

I took some of the code, modified it so that it would work on my project, and tested it. After some trial and error I managed to make a bot which would fly around 1-7 take screenshots every second looking for a snippet of a bk. As soon as it was found it would autolock it, circle it, and shoot it.

However a few problems- I had no idea when the bk actually died, and also I struggled trying to find a way how I could check my health. More problems, this method worked, but as soon as I relogged/ jumped the port I would have to retake the snippet or it wouldn't find it.

So my bottleneck was still to take a darn screenshot and look for a darn snippet. Still have not been able to do this reliably. Bots like FsBot Lion run so smoothly, eventhough the boxes are sort of moving around. I don't get it, but well played to those developers.

If there are any good C# developers who are feeling a bit like right now please PM me or add onto this thread, I would love to know if there is something stupid I missed.

Goodluck- it is a lot harder than it looks!

Attached is a zip file containing the project. Unless you have a good plan for the screenshot/search I suggest you take a look. Code:
Attached Files
File Type: zip BitmapDetector.zip (12.6 KB, 138 views)
Palladium<3 is offline  
Thanks
2 Users
Old 12/14/2016, 05:09   #10
 
elite*gold: 0
Join Date: Dec 2016
Posts: 43
Received Thanks: 130
Quote:
Originally Posted by Palladium<3 View Post
Hey man ,
Ty man will have a look at it its gonna be of great help
Quote:
Originally Posted by jolaxbeat View Post
good luck !
Thanks
Quote:
Originally Posted by [becky] View Post
it's good to see new developers trying to do something for this community.
and regarding your bot, I suggest doing it firstly non-background (normal) and testing all the functions/botting logic. while your testers are testing the bot, you can focus on learning how to make your bot work in background. it's only an opinion, but i hope it's helpful.
I wish you best of luck and I'm glad you're passionate about programming
Thanks I understand what you mean but when i see a foreground bot that uses your mouse i just get aids x)
Pendramon is offline  
Old 12/14/2016, 12:23   #11
 
Mountain68's Avatar
 
elite*gold: 0
Join Date: Oct 2016
Posts: 192
Received Thanks: 69
I would be very happy to see your bot Release !!
Mountain68 is offline  
Thanks
1 User
Old 12/14/2016, 19:25   #12


 
KickMayer's Avatar
 
elite*gold: 0
The Black Market: 128/2/3
Join Date: Mar 2012
Posts: 4,100
Received Thanks: 1,022
If you need testers, i can help out with that

Known as a bot tester :P
KickMayer is offline  
Thanks
1 User
Old 12/14/2016, 19:39   #13
 
elite*gold: 0
Join Date: Sep 2016
Posts: 159
Received Thanks: 40
Quote:
Originally Posted by KickMayer View Post
If you need testers, i can help out with that

Known as a bot tester :P
Nobody knows you
jolaxbeat is offline  
Thanks
1 User
Old 12/14/2016, 19:44   #14


 
KickMayer's Avatar
 
elite*gold: 0
The Black Market: 128/2/3
Join Date: Mar 2012
Posts: 4,100
Received Thanks: 1,022
Quote:
Originally Posted by jolaxbeat View Post
Nobody knows you
Haha lol yeah people do :P

You are just too unexperienced to know that ^^
(looks at your reg. date) :P
KickMayer is offline  
Old 12/14/2016, 22:32   #15


 
PNTX's Avatar
 
elite*gold: 43
Join Date: May 2012
Posts: 1,562
Received Thanks: 729
Quote:
Originally Posted by jolaxbeat View Post
Nobody knows you
meh. i know this guy.

but nobody knows you >
PNTX is offline  
Thanks
1 User
Reply

Tags
background bot, c#, coding, darkorbit, pixel bot


Similar Threads Similar Threads
PBDO BOT - Pixel BOT Background
02/14/2017 - DarkOrbit - 17 Replies
Startpage :: DarkOrbit PBDO-BOT 2016 Is resort and this is a nice bot with a big problem... I test this and he work and dont work, Guys where is they opinion? Sorry for my bad english
[Info] SF Background Pixel Bot - API
03/12/2014 - Seafight - 40 Replies
I developed an API which makes it possible to run Pixel Bots in the background. You even can do multiaccounting with it and its a lot faster than normal Imagesearch solutions. Since it is not worth anymore to program packet bots for SF, Pixel Bots will be more popular. Codename: TrapDoor Download and Documentation: http://ux.vci.si/TrapDoor (Backlink exists) If you think you are a good programmer, who whishes to use this API, you can write me a message. Your programming skills should...
pixel bot in background?
04/04/2013 - DarkOrbit - 14 Replies
Is there anyway to run a pixel bot in the background so bot and the game dont have to stay on the top? Can it work in sandboxie etc? Thanks.
Tao Pixel Stig - Minimized/Background
10/28/2008 - CO2 Exploits, Hacks & Tools - 79 Replies
Nestea requested this in Tailer-made tools thread. Minimized stiger with auto refill MP Instructions: 1. Open CO tao account 2. Set F1,F2 for Med & Sit 3. Run program 4. log on ur main character, if u need stig, press F11 with ur mouse cursor on top of the shadow of tao (in ur main character screen) Video Example:



All times are GMT +1. The time now is 19:54.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.