|
You last visited: Today at 01:37
Advertisement
[Release] Pixelbot Palladium - Free source code!
Discussion on [Release] Pixelbot Palladium - Free source code! within the DarkOrbit forum part of the Browsergames category.
04/06/2013, 13:28
|
#31
|
elite*gold: 0
Join Date: May 2009
Posts: 119
Received Thanks: 106
|
Quote:
Originally Posted by palavia
The hard part of writing code, it is to be applicable to everyone, and that includes a browser, language, ship`s type, location of various elements on game screen, etc. . I spend some time to write it under my terms and I can only share algorithm in which everyone works and adjust it according to their preferences and capabilities.
Here's the rough part of killing the NPC:
There are many additional parts that chek my status of life, PET, LOG...
It`s work brilliant for me.. better then OS
|
So you use image search for find thinks... it click only npc and nothing else?
please add me on skype, i'll send u a pm
|
|
|
04/06/2013, 13:56
|
#32
|
elite*gold: 0
Join Date: May 2012
Posts: 319
Received Thanks: 67
|
rothia, you can ally with palavia, and make a very good pixelbot, better than OS or kOS.
your part is verry good, the "bot" is not spending time between palladium, but with killing NPCs and selling the cargo, and returning back, it would awesome!
i know something about AutoIT and made me a a pallbot, but verry simple, without borders, and spending a lot of time between collecting.
|
|
|
04/06/2013, 15:56
|
#33
|
elite*gold: 0
Join Date: May 2009
Posts: 119
Received Thanks: 106
|
$fire1 = PixelChecksum ( $xs+160, $ys+19, $xs+176, $ys+25 ) <-- Here you check if something in the screen as changed
If $fire<>$fire1 Then <-- and if change you exit from this func
ExitLoop
EndIf <-- else you search some pictures on the screen and if u find u click it and shoot... but what kind of image u use?
$nlo = myImageSearch_Desktop($ImageSearch0, 100, 150, 1000, 730)
If IsArray($nlo) and $fire=$fire1 Then
MouseClick("", $nlo[0]+50, $nlo[1]-60, 1, 0)
Sleep(200)
Send ("{LCTRL}")
Sleep(1000)
EndIf
MouseClickDrag("left",$pixel[0]+90,$pixel[1]-118,$pixel[0]+86,$pixel[1], 0) <-- i don't understand this what do u what to do...
Life() <-- here u check your life and if is low then use aegis abilities ( but only once?)
If $life>=$lifeR Then
ExitLoop
EndIf
Quote:
Here's the rough part about selling when full:
|
ok, you set your darkorbit page full screen and get some coord and change hangar.
I find the library that u use for searching images, but 2 thinks i've to ask u:
what kind of image u use?
how can u make it work? for me don't work and it's pretty slow to recognise images! it's faster with pixel!
Quote:
Originally Posted by [becky]
rothia, you can ally with palavia, and make a very good pixelbot, better than OS or kOS.
your part is verry good, the "bot" is not spending time between palladium, but with killing NPCs and selling the cargo, and returning back, it would awesome!
i know something about AutoIT and made me a a pallbot, but verry simple, without borders, and spending a lot of time between collecting.
|
i've already ask him if he want... but no replies has come yet...
I already know what program have to do.. i've only have to implement it!
|
|
|
04/06/2013, 18:00
|
#34
|
elite*gold: 200
Join Date: Apr 2012
Posts: 617
Received Thanks: 1,368
|
Quote:
Originally Posted by rothia
So you use image search for find thinks... it click only npc and nothing else?
please add me on skype, i'll send u a pm
|
Quote:
Originally Posted by rothia
I find the library that u use for searching images, but 2 thinks i've to ask u:
what kind of image u use?
how can u make it work? for me don't work and it's pretty slow to recognise images! it's faster with pixel!
i've already ask him if he want... but no replies has come yet...
I already know what program have to do.. i've only have to implement it!
|
Sorry.. I`m not using skype ..
Yes, the magic is in "searching images" and the trick there is that it`s a pixel search ( top left pixel on image, so it`s better to be unique, and next are other pixels.. in this way it`s fast as pixel search).. explane: If your background is black your top left pixel on your image don`t have to be 0xFFFFFF
"what kind of image u use?" - unique for all npc: " -= "
"MouseClickDrag("left",$pixel[0]+90,$pixel[1]-118,$pixel[0]+86,$pixel[1], 0) <-- i don't understand this what do u what to do...: with this one I make ship stop moving without clicking on desktop preventing marking any other ship!
Good luck!
|
|
|
04/06/2013, 20:04
|
#35
|
elite*gold: 3800
Join Date: Dec 2012
Posts: 13,039
Received Thanks: 8,243
|
Quote:
Originally Posted by wesslange
#Trojan
|
Lol?
Are you drunk. Its real. We all can see the code of it
Reported for "fake alert"
|
|
|
04/07/2013, 11:35
|
#36
|
elite*gold: 0
Join Date: May 2009
Posts: 119
Received Thanks: 106
|
Quote:
Originally Posted by palavia
Sorry.. I`m not using skype ..
Yes, the magic is in "searching images" and the trick there is that it`s a pixel search ( top left pixel on image, so it`s better to be unique, and next are other pixels.. in this way it`s fast as pixel search).. explane: If your background is black your top left pixel on your image don`t have to be 0xFFFFFF
"what kind of image u use?" - unique for all npc: " -= "
"MouseClickDrag("left",$pixel[0]+90,$pixel[1]-118,$pixel[0]+86,$pixel[1], 0) <-- i don't understand this what do u what to do...: with this one I make ship stop moving without clicking on desktop preventing marking any other ship!
Good luck!
|
for me the image search don't work, i don't know why!
Other question where do u click for stopping without clicling anyone?
|
|
|
04/07/2013, 13:25
|
#37
|
elite*gold: 200
Join Date: Apr 2012
Posts: 617
Received Thanks: 1,368
|
Quote:
Originally Posted by rothia
for me the image search don't work, i don't know why!
Other question where do u click for stopping without clicling anyone?
|
I`ll try to explain again.
1. When You use image search the most important thing is TOP LEFT pixel of your image.. it must be unique or less occurring color, because the algorithm of picture searching is searching first right this pixel!
2. Stopping ship: First click right over my ship, then drag 120 pixels down and drop!
|
|
|
04/07/2013, 13:38
|
#38
|
elite*gold: 0
Join Date: May 2009
Posts: 119
Received Thanks: 106
|
Quote:
Originally Posted by palavia
I`ll try to explain again.
1. When You use image search the most important thing is TOP LEFT pixel of your image.. it must be unique or less occurring color, because the algorithm of picture searching is searching first right this pixel!
|
If u use the -= image that is unique in npc the first pixel ( i know that image are matrix format and each pixel has the code of rgb or hexadecimal), i use the -= with the back ground transparent and black too and don't work.
i use the au3 that i attached... but don't works
Quote:
Originally Posted by palavia
2. Stopping ship: First click right over my ship, then drag 120 pixels down and drop!
|
done i find the way bymyself
|
|
|
04/07/2013, 15:37
|
#39
|
elite*gold: 200
Join Date: Apr 2012
Posts: 617
Received Thanks: 1,368
|
# its Good
While 1
If You have more question Then
Ask me And I`m glad to help You!
Else
Good Luck
End If
WEnd
|
|
|
04/07/2013, 17:06
|
#40
|
elite*gold: 0
Join Date: Sep 2012
Posts: 1,452
Received Thanks: 1,746
|
hey, the instructions are not clear, can you translate them in english ?
thanks
|
|
|
04/07/2013, 17:59
|
#41
|
elite*gold: 0
Join Date: May 2012
Posts: 319
Received Thanks: 67
|
Quote:
Originally Posted by bestbots_support
hey, the instructions are not clear, can you translate them in english ?
thanks
|
press the "select area" button and drag from the to left playing screen - this is for searching palladium area.
press the "select fog" button and drag from top left corner of the fog in the minimap - this is the moving area.
the only thing is that the script is considering the shield as palladium, and it clicks on the ships...
|
|
|
04/07/2013, 19:22
|
#42
|
elite*gold: 0
Join Date: Sep 2012
Posts: 1,452
Received Thanks: 1,746
|
thanks for translating, the OP should put on first post this
working good (also on vmware)
also like I already said for another pixel
What is nice to do, is to make to use aegis ability by pressing numeric keyboard, but best if we can set the hotkeys
if not, best is:
0 - shield for every 35 seconds
9 - shield ability for every 100 seconds
Cheers
|
|
|
04/07/2013, 20:05
|
#43
|
elite*gold: 0
Join Date: May 2012
Posts: 319
Received Thanks: 67
|
yes, that would be also great, but for now, we'r waiting for atacking npc's and selling the palladium
|
|
|
04/07/2013, 20:09
|
#44
|
elite*gold: 0
Join Date: Sep 2012
Posts: 1,452
Received Thanks: 1,746
|
yep I believe, but that options are much harder to implement in comparison with 2 hotkeys with timings hope will take this as a priority, if he wants to implement it.
|
|
|
04/07/2013, 20:47
|
#45
|
elite*gold: 0
Join Date: May 2012
Posts: 319
Received Thanks: 67
|
Quote:
Originally Posted by bestbots_support
yep I believe, but that options are much harder to implement in comparison with 2 hotkeys with timings hope will take this as a priority, if he wants to implement it.
|
yes, that's true
|
|
|
Similar Threads
|
[Release] Palladium Pixelbot
12/31/2013 - DarkOrbit - 63 Replies
hello,
many write they need a Palladium so i will release my Palladium Bot
it is at the moment simple but good to collect some Palladium.
Changelog
0.2 - Added better Logic and Chargo/Bonus - Boxen
0.1 - First Release
|
[RELEASE]Extreme Palladium PixelBot (Alpha of Beta)
05/29/2013 - DarkOrbit - 38 Replies
Hey Guys,
I have now the Alpha of the Beta Version from my PixelBot for Palladium.
Features:
Collect Palladium
Better collecting Logic
Planed Features:
|
All times are GMT +2. The time now is 01:37.
|
|