Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Black Desert
You last visited: Today at 06:47

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

Advertisement



[AutoIt] CrayonCode Bot Project (OpenSource & Free)

Discussion on [AutoIt] CrayonCode Bot Project (OpenSource & Free) within the Black Desert forum part of the MMORPGs category.

Reply
 
Old 04/11/2017, 21:00   #91
 
elite*gold: 0
Join Date: Apr 2017
Posts: 108
Received Thanks: 199
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 04/11/2017, 21:54   #92
 
elite*gold: 0
Join Date: Mar 2011
Posts: 108
Received Thanks: 8
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 04/11/2017, 22:40   #93
 
killzone's Avatar
 
elite*gold: 100
Join Date: Mar 2006
Posts: 1,819
Received Thanks: 424
@
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 04/12/2017, 00:08   #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 04/12/2017, 00:57   #95
 
elite*gold: 0
Join Date: Apr 2017
Posts: 108
Received Thanks: 199
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.



@ 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.
CrayonCode is offline  
Thanks
1 User
Old 04/12/2017, 08:40   #96
 
iNiperx's Avatar
 
elite*gold: 0
Join Date: Jan 2011
Posts: 610
Received Thanks: 152
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 04/12/2017, 10:27   #97
 
elite*gold: 0
Join Date: Apr 2017
Posts: 108
Received Thanks: 199
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 04/12/2017, 10:38   #98
 
killzone's Avatar
 
elite*gold: 100
Join Date: Mar 2006
Posts: 1,819
Received Thanks: 424
@
I'll look into the Gui as AutoIt is not really my forte.
killzone is offline  
Old 04/12/2017, 13:06   #99
 
killzone's Avatar
 
elite*gold: 100
Join Date: Mar 2006
Posts: 1,819
Received Thanks: 424

@
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, 22 views)
killzone is offline  
Thanks
1 User
Old 04/12/2017, 16:03   #100
 
elite*gold: 0
Join Date: Mar 2017
Posts: 25
Received Thanks: 5
Ty for new version! Always perfect.
KKK76 is offline  
Old 04/12/2017, 18:09   #101
 
iNiperx's Avatar
 
elite*gold: 0
Join Date: Jan 2011
Posts: 610
Received Thanks: 152
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 04/12/2017, 19:51   #102

 
ahmedwork's Avatar
 
elite*gold: 325
Join Date: Apr 2008
Posts: 700
Received Thanks: 221
@ 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 04/12/2017, 20:17   #103
 
elite*gold: 0
Join Date: Oct 2013
Posts: 39
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 04/12/2017, 20:50   #104
 
killzone's Avatar
 
elite*gold: 100
Join Date: Mar 2006
Posts: 1,819
Received Thanks: 424
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

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 04/12/2017, 20:52   #105

 
ahmedwork's Avatar
 
elite*gold: 325
Join Date: Apr 2008
Posts: 700
Received Thanks: 221
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


Similar Threads Similar Threads
[Opensource] PokeMMO Autoit bots
01/12/2014 - Pokemon - 117 Replies
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 is low -Catches shiny's -Train EV (currently only Attack, Speed and Sp.Attack are added)
[OPENSOURCE PROJECT] BROWSERGAME
02/06/2012 - Web Development - 8 Replies
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 usw. Wir Brauchen Programmierer Und eine Idee. Was genau wir veröffentlichen wollen. Alle die Vielleicht nicht mit machen wollen aber eine idee haben bitte in den Kommis Schreiben LG StreetFight
[OpenSource Project] C++ CoCore
01/26/2011 - CO2 Private Server - 59 Replies
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#. There are a few members who I believe have potential, and I think those are pretty much the ones who will take interests into this project. What is this CoCore, and what does it contain?: Unknown (?) Yes.. Unknown. I think I want the members who are interested to provide me with a list of things that should be put in, for example, custom...
Farmville Automatizer OPENSOURCE free bot [AutoIT]
04/05/2010 - Facebook - 2 Replies
Farmville Automatizer released! Open Source >>> Download <<<



All times are GMT +1. The time now is 06:47.


Powered by vBulletin®
Copyright ©2000 - 2024, 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 ©2024 elitepvpers All Rights Reserved.