Register for your free account! | Forgot your password?

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

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

 

[AutoIt] CrayonCode Bot Project (OpenSource & Free)

Reply
 
Old   #91
 
elite*gold: 0
Join Date: Apr 2017
Posts: 108
Received Thanks: 189
Quote:
Originally Posted by s3anlike View Post
whats the randomization min and max default settings crayon?

PS: Crayon is it possible to press T if bot checked the red waypoint and then press t if not try again like pixelsearch on the map for the red waypoint?
I don't randomize so the default is 0.
It depends how human you would want it to look.
For the Riddle I would recommend 10/500 and for the ReelIn 0/5000.


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.
It already checks if a path is selected for the npcs because the name/Icon will have a different color in the NPC Search and then presses t. This doesn't work for the horse though.

Or are you talking about the party/guild ping?


Quote:
Originally Posted by 721560329 View Post
idk if im the only one having the issue but my worker button isnt on 4th slot its on 3rd maybe option to pick which slot to click on ?
I did not know that the order of horse/ship/worker could vary.
For now just edit the Worker Icon value for yourself. (211) try +/- ~50 should move once to the lef/right.




CrayonCode is offline  
Old   #92
 
elite*gold: 0
Join Date: Mar 2011
Posts: 97
Received Thanks: 4
Quote:
Originally Posted by CrayonCode View Post
V0.15 is out! Grab it while it's hot!
[quote=CrayonCode;35905564]I don't randomize so the default is 0.
It depends how human you would want it to look.
For the Riddle I would recommend 10/500 and for the ReelIn 0/5000.


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.
It already checks if a path is selected for the npcs because the name/Icon will have a different color in the NPC Search and then presses t. This doesn't work for the horse though.

Or are you talking about the party/guild ping?




Yes im talking about the party/guild ping much ppls using it for supporting and something like this here faster better more support fast feedback and so..

uhm i tryed the restock functions so i found a bad thing like if the character marks a new waypoint and hit "t" it works smoothless but idk why at the last npc it wanna mark the waypoint hitting "t" and then the waypoint disappears.. i think something is wrong with the "r" button for dialoge but i dont can find the code for this .. i hope u know what i mean


s3anlike is offline  
Old   #93
 
elite*gold: 0
Join Date: Mar 2006
Posts: 1,564
Received Thanks: 314
@CrayonCode
Having 2 save button is redundant I think.
Perhaps, put the following buttons outside of the mainTab.
  • Clear (planned removal)
  • Start/Stop
  • Reset Session
  • Save
Also, add a hotkey to Start/Stop Test Auto-Restock.

Overall, new UI changes is good and organized.
Thanks!

Edit:
I also suggest to move the Auto Worker Feeder outside of the Main Loop.
Make it so that users can start/stop Auto Worker separately.
Because it is useful when user is not afk-fishing but doing something else like Cooking.
killzone is offline  
Old   #94
 
elite*gold: 0
Join Date: Mar 2017
Posts: 4
Received Thanks: 0
hi CrayonCode thanx for your effort, i wonder if you will ever implement a marketplace bot, would be awsome, i did something myself and it's working but not as good as your fishing bot, if u are interested to help i can put here my little simple ah bot.

Best regards


rantobot1 is offline  
Old   #95
 
elite*gold: 0
Join Date: Apr 2017
Posts: 108
Received Thanks: 189
Quote:
Originally Posted by rantobot1 View Post
hi CrayonCode thanx for your effort, i wonder if you will ever implement a marketplace bot, would be awsome, i did something myself and it's working but not as good as your fishing bot, if u are interested to help i can put here my little simple ah bot.

Best regards
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.



@killzone 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.


@laservic 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.
CrayonCode is offline  
Thanks
1 User
Old   #96
 
elite*gold: 0
Join Date: Jan 2011
Posts: 609
Received Thanks: 151
Tried this for the first time (0.15), Casts perfectly, gets the mini games correctly and with ease, but for some reason it doesn't want to get the loot, it just keeps casting and not getting the fish.

The maintenance is in about an hour, so I'll check on this tomorrow.
iNiperx is offline  
Old   #97
 
elite*gold: 0
Join Date: Apr 2017
Posts: 108
Received Thanks: 189
Quote:
Originally Posted by iNiperx View Post
Tried this for the first time (0.15), Casts perfectly, gets the mini games correctly and with ease, but for some reason it doesn't want to get the loot, it just keeps casting and not getting the fish.

The maintenance is in about an hour, so I'll check on this tomorrow.
If you open the script in SciTE (rightclick the .au3 and click edit) and run it it from there (hit F5) you will see an output in the SciTE console.

Copy & Paste the lines with Loot: and Pick: in it so I can see if the Loot detection or the item filter is causing problems.
CrayonCode is offline  
Old   #98
 
elite*gold: 0
Join Date: Mar 2006
Posts: 1,564
Received Thanks: 314
@CrayonCode
I'll look into the Gui as AutoIt is not really my forte.
killzone is offline  
Old   #99
 
elite*gold: 0
Join Date: Mar 2006
Posts: 1,564
Received Thanks: 314

@CrayonCode
Here's the UI I made using ISN AutoIt Studio
The IDE can be downloaded here:

Source
Attached Files
File Type: zip Fishbot UI.zip (4.8 KB, 18 views)
killzone is offline  
Thanks
1 User
Old   #100
 
elite*gold: 0
Join Date: Mar 2017
Posts: 25
Received Thanks: 5
Ty for new version! Always perfect.
KKK76 is offline  
Old   #101
 
elite*gold: 0
Join Date: Jan 2011
Posts: 609
Received Thanks: 151
Quote:
Originally Posted by CrayonCode View Post
If you open the script in SciTE (rightclick the .au3 and click edit) and run it it from there (hit F5) you will see an output in the SciTE console.

Copy & Paste the lines with Loot: and Pick: in it so I can see if the Loot detection or the item filter is causing problems.
Took me a second to get the output, I had to manually run SciTE as admin in order to get the output windows to work, or it'd say that it'd exited (0).

Anyways, this is what it says:
Code:
12:04.59 Solving riddle.
12:05.03 Evaluating loot.
12:05.07 Loot:[200][-200][-200][-200]
12:05.07 Pick:[1][0][0][0]
12:05.08 Ready for fishing.
12:05.08 Casting Fishingrod
12:05.15 Currently fishing. (0s)
The minimum rarity is set to greens, but even if I set it to white it still doesn't get the loot.

I've also had cases where I try to pause the bot, or close out of it and it wont, it just keeps fishing and such and the only way out is to force-quit the app by exiting the script from the tray system.
iNiperx is offline  
Old   #102
 
elite*gold: 0
Join Date: Apr 2008
Posts: 452
Received Thanks: 138
@CrayonCode 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

ahmedwork is offline  
Old   #103
 
elite*gold: 0
Join Date: Oct 2013
Posts: 36
Received Thanks: 5
Everything is working fine so far, the only thing that is slow for me is the captcha. It is so slow that time runs out and I fail the catch. I'm running this on a vm, though not getting 60fps, could that be the reason?

Edit: Seems to be fine after a few throws, thanks for this awesome bot
kingsland is offline  
Old   #104
 
elite*gold: 0
Join Date: Mar 2006
Posts: 1,564
Received Thanks: 314
Quote:
Originally Posted by ahmedwork View Post
@CrayonCode 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

Would it be the same if the bot checks your Internet Connection, instead of specifically checks the game's connection?

Ive been keeping this for ages, this was part of a bot last 2007. lmao
Code:
Func CheckConnection()

FileChangeDir ($currentdir)

RunWait(@ComSpec & " /c " & "netstat.exe -na -p TCP > ip.txt",""  [MENTION=330060]Sw_[/MENTION]HIDE)
sleep(1000)

If FileExists("tantraip.txt") Then
        ;Msgbox(0,"Info", $currentdir)

	$file = FileOpen("tantraip.txt", 0)
	; Check if file opened for reading OK
	If $file = -1 Then
	   MsgBox(0, "Error", "Unable to open file.")
	   Exit
	EndIf

	While 1
	   $line = FileReadLine($file)
	   If  [MENTION=299637]ErRoR[/MENTION] = -1 Then ExitLoop
           ;MsgBox(0, "TantraIP", $line)
	   $fileip = FileOpen("ip.txt", 0)
	   If $fileip = -1 Then
	      MsgBox(0, "Error", "Unable to open ip.txt file.")
	      Exit
	   EndIf
	   While 1
		$ipline = FileReadLine($fileip)
		If  [MENTION=299637]ErRoR[/MENTION] = -1 Then ExitLoop
                If StringInStr($ipline,$line) > 1 then
		  FileClose($fileip)
		  FileClose($file)
		  Return 1
		EndIf
	   Wend
	Wend
        FileClose($fileip)
	FileClose($file)

Else
	MsgBox(4096,"Warning", "dialog.txt file does not exist. Unable to continue")
EndIf

Return 0

EndFunc

Func checkifdisconnected()
	CheckIfPause()
	If GUICtrlRead($checkboxautologin) = 1 Then
	    If CheckConnection() = 0 Or Not WinExists(GUICtrlRead($wintitle)) then
                ;If Not WinExists(GUICtrlRead($wintitle)) then
		;   GUICtrlSetData($wintitle, "Tantra Launcher")
		;EndIf
		$handle = WinGetHandle(GUICtrlRead($wintitle))
		$PID = WinGetProcess(GUICtrlRead($wintitle))
                If $PID then
		   ProcessClose($PID)
		   ProcessWaitClose($PID)
                EndIf
		$internectcheckcount = 1
		Do
		  GUICtrlSetData($statuslabel,"Checking internet connection..."&String($internectcheckcount)&" sec/s")
		  $internectcheckcount = $internectcheckcount + 1
		  Sleep (1000)
		Until CheckInternetConnection() = 1
		GUICtrlSetData($statuslabel,"Checking internet connection..."&" OK")
                Sleep(Number(GUICtrlRead($autologindelay)))
		Call ("Login")
	    	Call ("_getDialogQuestion")
	    	_OpenFileDialog()
		$count2 = 0
 	 	_writeValue(_GetAddressOffset($baseAddressDialogTrade,$TradeOffset), 49)
		$dialogTradeRequest = _GetDialogData(_GetAddressOffset($baseAddressDialogTrade,$TradeOffset))
		$maxHP = _GetData($baseAddressCharacter,$myMaxHPoffset)
		_writeValue(_GetAddressOffset($baseAddressDialog,$invitedPartyOffset), 49)
		$dialogParty = _GetDialogData(_GetAddressOffset($baseAddressDialog,$invitedPartyOffset))
	    EndIf
	EndIf
EndFunc
Full source:
killzone is offline  
Old   #105
 
elite*gold: 0
Join Date: Apr 2008
Posts: 452
Received Thanks: 138
Quote:
Originally Posted by killzone View Post
Would it be the same if the bot checks your Internet Connection, instead of specifically checks the game's connection?

Ive been keeping this for ages, this was part of a bot last 2007. lmao
getting dc is not always cos of internet connection so the better is checking exactly the game connection :3


ahmedwork 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 +1. The time now is 14:51.


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

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