Register for your free account! | Forgot your password?

Go Back   elitepvpers > New Arrivals > Black Desert
You last visited: Today at 14:52

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

 

[AutoIt] CrayonCode Bot Project (OpenSource & Free)

Reply
 
Old   #106
 
elite*gold: 0
Join Date: Mar 2011
Posts: 96
Received Thanks: 4
Please we need a Discord Channel! xD



s3anlike is offline  
Old   #107
 
elite*gold: 0
Join Date: Mar 2006
Posts: 1,508
Received Thanks: 292
No need imo. Development for such project should remain accessible by all.
Not everyone likes to use discord. It defeats the purpose of having the forum in the first place.


killzone is offline  
Old   #108
 
elite*gold: 0
Join Date: Apr 2017
Posts: 108
Received Thanks: 185
Quote:
Originally Posted by ahmedwork View Post
@ great work as usual dude :3

have a look to this code it was implemented to detect when the game dced we can use that and improve it with an autologin

what do you think

Seems like the BDO-Watchdog basically just cmd netstats and it works perfectly. I translated this to au3.

Code:
Func IsProcessConnected($ProcessName)
	Local $PID = ProcessExists($ProcessName)
	If Not $PID Then Return -1
	Local $Pattern = "\s" & $PID & "\s"
	Local $iPID = Run(@ComSpec & " /c netstat -aon",  [MENTION=1024018]SystemD[/MENTION]ir,  [MENTION=330060]Sw_[/MENTION]HIDE, 4 + 2) ;  $STDERR_CHILD (0x4) + $STDOUT_CHILD (0x2)
	If Not $iPID Then Return -2
	Local $sOutput = ""

	While True
		$sOutput &= StdoutRead($iPID)
		If  [MENTION=2544426]Error T[/MENTION]hen ; Exit the loop if the process closes or StdoutRead returns an error.
			ExitLoop
		EndIf
	WEnd

	Return (StringRegExp($sOutput, $Pattern, 0)) ; Returns 1 if connceted, 0 if disconnected.
EndFunc   ;==>IsProcessConnected


@
Code:
12:05.07 Loot:[200][-200][-200][-200]
12:05.07 Pick:[1][0][0][0]
This says blue grade, no special, no event in the first slot and empty in the other three.
The filter decides to pick the first slot since its higher than green.
Sounds fine. The Mouseclick must somehow mess up.

Try settings to loot anything and then check what the bot does whenever it is time to loot. (Where the mouse moves to or if the camera moves)

Are you running windows 8? Most of those issues sound like admin-privilege problems.




I'm running little short on time today. I'll check out the ISN tool and killzones gui tomorrow.

I'd be ok with a good old irc chat. With discord you can't really escape people and they will bother you if you are there or not.

EDIT: Why the fuck is MENTION fucking with CODE ?
CrayonCode is offline  
Old   #109
 
elite*gold: 0
Join Date: May 2011
Posts: 1,655
Received Thanks: 911
hey just an idea... cant you use the patch icon to check if mout was selected for autopath ?

this is waht i mean: http://i.epvpimg.com/fXX3dab.png


721560329 is offline  
Old   #110
 
elite*gold: 0
Join Date: Apr 2017
Posts: 108
Received Thanks: 185
Quote:
Originally Posted by 721560329 View Post
hey just an idea... cant you use the patch icon to check if mout was selected for autopath ?

this is waht i mean: http://i.epvpimg.com/fXX3dab.png
I have already talked about this. This icon is very unreliable and will cause more trouble then good.

Quote:
Originally Posted by CrayonCode View Post
The problem with the red waypoint icon is that is has low priority. So NPCs, other players, your char yourself and the camera angle can all hide it.
The interface can also be on top as well and it is not solid.
CrayonCode is offline  
Old   #111
 
elite*gold: 0
Join Date: Jan 2011
Posts: 608
Received Thanks: 151
Quote:
Originally Posted by CrayonCode View Post
@
Code:
12:05.07 Loot:[200][-200][-200][-200]
12:05.07 Pick:[1][0][0][0]
This says blue grade, no special, no event in the first slot and empty in the other three.
The filter decides to pick the first slot since its higher than green.
Sounds fine. The Mouseclick must somehow mess up.

Try settings to loot anything and then check what the bot does whenever it is time to loot. (Where the mouse moves to or if the camera moves)

Are you running windows 8? Most of those issues sound like admin-privilege problems.
I figured I had to show (toggle) my cursor on for it to work, otherwise the in-game camera would move (The program thinks it can move the mouse but its just moving the camera)
iNiperx is offline  
Old   #112
 
elite*gold: 0
Join Date: Mar 2017
Posts: 13
Received Thanks: 1
Quote:
Originally Posted by CrayonCode View Post
It always helps. Else I have to do everything from scratch. And I'm not really playing BDO so I don't always know how to do things the best way.



@ I wish I could do several things different. The whole KODA autoit GUI feels so stupid imho.
Doesn't even remember listview items on loading and stuff like that.
Never really did GUIs before.
If you want to help out feel free. You can open the CrayonCode.au3 with KODA and fiddle with it, or mock up a new one entirely.


@ Did you convert the pictures somehow? They look like .jpg quality allthough they are in the .bmp format.
And the colors are absolutely inconsistent so I'm pretty sure there is some compression involved.
I send screenshots of the new in the format jpg, I really hope for you that you will help me and make a fishing script for the Russian version of the game! Thanks!
Attached Files
File Type: rar BDORU.rar (3.80 MB, 5 views)
laservic is offline  
Old   #113
 
elite*gold: 0
Join Date: Apr 2017
Posts: 108
Received Thanks: 185
Quote:
Originally Posted by laservic View Post
I send screenshots of the new in the format jpg, I really hope for you that you will help me and make a fishing script for the Russian version of the game! Thanks!
No I need UNCOMPRESSED .bmp or .png
JPEG is no good at all.

If the picture is 1920x1080 .bmp it should be 8 MB in size, but yours have less than 6 MB.



@ Try running the script as admin. It looks like the controlsend command is being ignored that taps CTRL to make the mouse appear and hide.
CrayonCode is offline  
Old   #114
 
elite*gold: 0
Join Date: Jan 2011
Posts: 608
Received Thanks: 151
Quote:
Originally Posted by CrayonCode View Post
@ Try running the script as admin. It looks like the controlsend command is being ignored that taps CTRL to make the mouse appear and hide.
Ummh, I dont use CTRL as my cursor toggle, I use Button 4 from my mouse (extra buttons), I'll have to change it.
iNiperx is offline  
Old   #115
 
elite*gold: 0
Join Date: Feb 2009
Posts: 54
Received Thanks: 2
After testing the script for some time, these are the problems i've found:
- Worker feeding does not work for me, maybe it's because of the location of the button...im not sure
- even though i selected only selling fish in the restock option, it still goes to blacksmith, market and storage...
- the Restock-Function itself gets stuck very often and would need some rework. Most important in my opinion is the ability to stop it it's always a fight against the script when it gets stuck. Maybe also stop restock with F4?

other than that, great work Crayon! Thank you!
limital is offline  
Old   #116
 
elite*gold: 0
Join Date: Apr 2017
Posts: 108
Received Thanks: 185
Quote:
Originally Posted by limital View Post
After testing the script for some time, these are the problems i've found:
- Worker feeding does not work for me, maybe it's because of the location of the button...im not sure
- even though i selected only selling fish in the restock option, it still goes to blacksmith, market and storage...
- the Restock-Function itself gets stuck very often and would need some rework. Most important in my opinion is the ability to stop it it's always a fight against the script when it gets stuck. Maybe also stop restock with F4?

other than that, great work Crayon! Thank you!
Good catch. Fixed in the next version.

Is your worker icon not the 4th position from the left? (Horse/Ship/House/Worker/Pet)
I'll probably change the worker feeding to use ESC -> Workerlist in the future.
CrayonCode is offline  
Thanks
1 User
Old   #117
 
elite*gold: 0
Join Date: Mar 2017
Posts: 13
Received Thanks: 1
Quote:
Originally Posted by CrayonCode View Post
No I need UNCOMPRESSED .bmp or .png
JPEG is no good at all.

If the picture is 1920x1080 .bmp it should be 8 MB in size, but yours have less than 6 MB.



@ Try running the script as admin. It looks like the controlsend command is being ignored that taps CTRL to make the mouse appear and hide.
Do you need such screenshots?
Attached Images
File Type: jpg 2017-04-12_18236109.jpg (28.2 KB, 6 views)
File Type: jpg 2017-04-12_18352677.jpg (26.5 KB, 3 views)
File Type: jpg 2017-04-12_18358088.jpg (25.0 KB, 3 views)
laservic is offline  
Old   #118
 
elite*gold: 0
Join Date: Feb 2009
Posts: 54
Received Thanks: 2
Great, Thanks! My Icon is in 3rd position. Guess thats why it doesnt work
limital is offline  
Old   #119
 
elite*gold: 0
Join Date: Mar 2017
Posts: 4
Received Thanks: 0
Quote:
Originally Posted by CrayonCode View Post
It always helps. Else I have to do everything from scratch. And I'm not really playing BDO so I don't always know how to do things the best way.

Pm sent
rantobot1 is offline  
Old   #120
 
elite*gold: 0
Join Date: Mar 2006
Posts: 1,508
Received Thanks: 292
Quote:
Originally Posted by CrayonCode View Post
Good catch. Fixed in the next version.

Is your worker icon not the 4th position from the left? (Horse/Ship/House/Worker/Pet)
I'll probably change the worker feeding to use ESC -> Workerlist in the future.
Right-clicking a BEER from inventory opens worker list too.

Quote:
Originally Posted by limital View Post
Great, Thanks! My Icon is in 3rd position. Guess thats why it doesnt work
Find this from CrayonCode.au3
Code:
[211, 118], _ ; Worker Icon
Then open your C:\Program Files (x86)\AutoIt3 and run "Au3Info_x64.exe".
While the BDO window is open (full window Screen)
Click & Drag the Finder Tool Icon from Au3Info_x64.exe and drag it over to your Worker List icon.
It will tell you exactly where its located and copy the X/Y Position.
Then replace:
Code:
[211, 118], _ ; Worker Icon
Into:
Code:
[NEWX, NEWY], _ ; Worker Icon
Save and start the bot again.

Quote:
Originally Posted by laservic View Post
Do you need such screenshots?
Screenshots should not be compressed. Jpgs are compressed format.
Go in game -> options -> screenshot -> select PNG or BMP.

Zip your screenshots and upload it so the compression is untouched.

Quote:
Originally Posted by 721560329 View Post
hey just an idea... cant you use the patch icon to check if mout was selected for autopath ?

this is waht i mean: http://i.epvpimg.com/fXX3dab.png
In general, the auto path (finding NPC) is not reliable itself.
Sometimes you have to single click the icon to auto path.
Sometimes you need to double click the icon to auto path.
Sometimes double clicking cancels the auto path.
Sometimes single clicking cancels the auto path.

Although I agree it needs improvement but I dont think it has a higher priority.
You can just fish with Blue minimum rarity and dry the blue fishes.
Drying the blue fishes gives purpose to making dry fish crates.
With the crates, it also adds silver to your daily afk routines.


killzone is offline  
Reply



« Previous Thread | Next Thread »

Similar Threads
[Opensource] PokeMMO Autoit bots
DON'T USE THIS UNTIL WE FIND A WAY TO WORK AROUND THE CAPTCHA!!! Gnomepy's PokeMMO bot V6.1 *31 january 2013* Functions: -Heals when hp/pp...
117 Replies - Pokemon
[OPENSOURCE PROJECT] BROWSERGAME
HEYHO Leute :D , Ich suche Leute die Lust hätten mit mir ein eigenes Browsergame zu erstellen. Also ich bräuchte ein ganzes Team so wie Sponsoren...
8 Replies - Web Development
[OpenSource Project] C++ CoCore
Alright, I think I'm done with the lurking for now.. The main reason of me starting this project is to get some people to use C++ instead of C#....
59 Replies - CO2 PServer - Discussions / Questions
Farmville Automatizer OPENSOURCE free bot [AutoIT]
Farmville Automatizer released! Open Source >>> Download <<<
2 Replies - Facebook



All times are GMT +2. The time now is 14:52.


Powered by vBulletin®
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.

Support | Contact Us | FAQ | Advertising | Privacy Policy
Copyright ©2017 elitepvpers All Rights Reserved.