Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Black Desert
You last visited: Today at 05:04

  • 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/08/2017, 00:04   #46
 
elite*gold: 0
Join Date: Apr 2017
Posts: 108
Received Thanks: 199
Quote:
Originally Posted by kukkyh View Post
Just wanna thank @ (and all you guys helping too) for creating an awesome program that actually fishes well and is OPEN SOURCE. I would love to help too, but i have 0 coding skills.

You could actually help me out right now by catching fish that can not be dried.
I need a screenshot of how they look when you are in the drying window.

Quote:
Originally Posted by s3anlike View Post
Auto Restock Trader Selling Goods (Fishes) failing because out of range from NPC, other npcs work for me
You might want to try a different Trader NPC then. Some NPCs are just hopeless to reach with autopathing. You could share the NPC name so people know who to avoid.
CrayonCode is offline  
Old 04/08/2017, 00:59   #47
 
elite*gold: 0
Join Date: Mar 2011
Posts: 109
Received Thanks: 8
Quote:
Originally Posted by CrayonCode View Post
You could actually help me out right now by catching fish that can not be dried.
I need a screenshot of how they look when you are in the drying window.



You might want to try a different Trader NPC then. Some NPCs are just hopeless to reach with autopathing. You could share the NPC name so people know who to avoid.
Hey Crayon i found the NPC who work, and i know why some npc not work because the waypoint is not the same its changing and then will the working npcs never work because i decided another way but it will work i think you need to change the mouseclick from 1 click to 2 click, if the bot type in npc window the npc name and walk to the npc he will mark the way for the second one he will mark the next way but the mark of the first npc will be deletet and the bot runs anywhere so u need to add like a double click for example first click (marked waypoint of the first npc will be deletet) second click (the new waypoint will be marked) and press T...

I hope you understand it :S "Bad English" sry xD

PS: Please make a Stop function for "Test Restock"!!
s3anlike is offline  
Old 04/08/2017, 01:45   #48
 
elite*gold: 0
Join Date: Apr 2017
Posts: 108
Received Thanks: 199
Quote:
Originally Posted by s3anlike View Post
Hey Crayon i found the NPC who work, and i know why some npc not work because the waypoint is not the same its changing and then will the working npcs never work because i decided another way but it will work i think you need to change the mouseclick from 1 click to 2 click, if the bot type in npc window the npc name and walk to the npc he will mark the way for the second one he will mark the next way but the mark of the first npc will be deletet and the bot runs anywhere so u need to add like a double click for example first click (marked waypoint of the first npc will be deletet) second click (the new waypoint will be marked) and press T...

I hope you understand it :S "Bad English" sry xD

PS: Please make a Stop function for "Test Restock"!!
That is a known issue. The problem is that if you click again you deselect it.
I tried to make the click as reliable as possible. If I would find a way to detect that a path is correctly selected it would be way easier.

Use CTRL + F1 to instantly quit the program.


EDIT: Currently desperately trying to find out why FFAddExcludedArea does not work for ****.
CrayonCode is offline  
Old 04/08/2017, 08:23   #49
 
ahmedwork's Avatar
 
elite*gold: 325
Join Date: Apr 2008
Posts: 713
Received Thanks: 225
@ can you implement a function that changes the pe file header so we can have unique executable file each time we press a button
procedure.
1- create a copy of the executable (using file move function)
2- rename it to some random name
3- change the pe file header
4-close the current executable
5-delete it

i've done this using c# but can't do the same with autoit
ahmedwork is offline  
Old 04/08/2017, 10:23   #50
 
elite*gold: 0
Join Date: Mar 2017
Posts: 13
Received Thanks: 1
Angry

Quote:
Originally Posted by CrayonCode View Post
Added feeding workers with v0.13. I'll look into drying the fish.
EDIT: You can't dry when you are standing in water right?
EDIT2: You can dry Washed-Up Laundry...



Make sure you use Fullscreen Windowed mode and try the new version.



@: already added in v0.13
Out of 10 times not one fish was not caught all the time badly! Channel Olivia 1 Altinova.
laservic is offline  
Old 04/08/2017, 13:05   #51
 
elite*gold: 0
Join Date: Mar 2010
Posts: 37
Received Thanks: 0
Quote:
Originally Posted by laservic View Post
Out of 10 times not one fish was not caught all the time badly! Channel Olivia 1 Altinova.
How is youre fps ?

I only get bad minigame if i go to energy save mode in windows and my fps drops too bad . when i reduce ingame settings to push the fps over 20 all is good again.
susu11 is offline  
Old 04/08/2017, 18:08   #52
 
elite*gold: 0
Join Date: Apr 2017
Posts: 108
Received Thanks: 199
Quote:
Originally Posted by ahmedwork View Post
@ can you implement a function that changes the pe file header so we can have unique executable file each time we press a button
procedure.
1- create a copy of the executable (using file move function)
2- rename it to some random name
3- change the pe file header
4-close the current executable
5-delete it

i've done this using c# but can't do the same with autoit
I honestly have no idea how to do it. You want me to run the CrayonCode.au3 then create a copy, rename it randomly and run it again and that each time a button is pressed? Or only when a specific button is pressed?
Or only when you compile it to exe?

If you could show me the C# code I might get a better understanding.
CrayonCode is offline  
Old 04/08/2017, 18:45   #53
 
ahmedwork's Avatar
 
elite*gold: 325
Join Date: Apr 2008
Posts: 713
Received Thanks: 225
Quote:
Originally Posted by CrayonCode View Post
I honestly have no idea how to do it. You want me to run the CrayonCode.au3 then create a copy, rename it randomly and run it again and that each time a button is pressed? Or only when a specific button is pressed?
Or only when you compile it to exe?

If you could show me the C# code I might get a better understanding.
yes I'm talking about the compiled version and anyway it's useless for now since we are sharing an autoit script
Code:
class FileUtils
    {
        #region VARIABLES
        private const int OFFSET_CHECKSUM = 0x12;
        #endregion
 
        #region METHODS
        public static ushort GetCheckSum(string fileName)
        {
            if (!File.Exists(fileName))
                throw new FileNotFoundException("Invalid fileName");
            return GetCheckSum(File.ReadAllBytes(fileName));
        }
        public static ushort GetCheckSum(byte[] fileData)
        {
            if (fileData.Length < OFFSET_CHECKSUM + 1)
                throw new ArgumentException("Invalid fileData");
            return BitConverter.ToUInt16(fileData, OFFSET_CHECKSUM);
        }
        public static void WriteCheckSum(string sourceFile, string destFile, ushort checkSum)
        {
            if (!File.Exists(sourceFile))
                throw new FileNotFoundException("Invalid fileName");
            WriteCheckSum(File.ReadAllBytes(sourceFile), destFile, checkSum);
        }
        public static void WriteCheckSum(byte[] data, string destFile, ushort checkSum)
        {
            byte[] checkSumData = BitConverter.GetBytes(checkSum);
            checkSumData.CopyTo(data, OFFSET_CHECKSUM);
            File.WriteAllBytes(destFile, data);
        }
		#endregion
	}
ahmedwork is offline  
Thanks
1 User
Old 04/08/2017, 19:37   #54

 
721560329's Avatar
 
elite*gold: 1
Join Date: May 2011
Posts: 1,942
Received Thanks: 1,251
it wont be compatible with VM right ? even tho i gave mine 6 cores and 8gb of ram it still mess up the minigame.. most likely not the script fault since on VM the game run on 18 FPS max.. is there any way you can do a different solving method (maybe like a timer that we can adjust so it hit the minigame right ?) for VM users ?
721560329 is offline  
Old 04/08/2017, 19:59   #55
 
ahmedwork's Avatar
 
elite*gold: 325
Join Date: Apr 2008
Posts: 713
Received Thanks: 225
Quote:
Originally Posted by 721560329 View Post
it wont be compatible with VM right ? even tho i gave mine 6 cores and 8gb of ram it still mess up the minigame.. most likely not the script fault since on VM the game run on 18 FPS max.. is there any way you can do a different solving method (maybe like a timer that we can adjust so it hit the minigame right ?) for VM users ?
running fine here 1 processor 2 cores 5.5 gb ram windows 7 x64 20-35 fps in ocean, has been running for about 24 hurs without any problem
Attached Images
File Type: jpg Capture.jpg (10.1 KB, 59 views)
ahmedwork is offline  
Old 04/08/2017, 20:01   #56

 
721560329's Avatar
 
elite*gold: 1
Join Date: May 2011
Posts: 1,942
Received Thanks: 1,251
Quote:
Originally Posted by ahmedwork View Post
running fine here 1 processor 2 cores 5.5 gb ram windows 7 x64 20-30 fps in ocean
vmware or virtual box ?
721560329 is offline  
Old 04/08/2017, 20:03   #57
 
ahmedwork's Avatar
 
elite*gold: 325
Join Date: Apr 2008
Posts: 713
Received Thanks: 225
Quote:
Originally Posted by 721560329 View Post
vmware or virtual box ?
vmware u can't use virtual box because it doesn't support vga more than 64 bit as i can remember
ahmedwork is offline  
Old 04/08/2017, 20:07   #58

 
721560329's Avatar
 
elite*gold: 1
Join Date: May 2011
Posts: 1,942
Received Thanks: 1,251
Quote:
Originally Posted by ahmedwork View Post
vmware u can't use virtual box because it doesn't support vga more than 64 bit as i can remember
then it might be windows 10 problem.. will try on win7.. x64 or x32 ?
721560329 is offline  
Old 04/08/2017, 20:09   #59
 
ahmedwork's Avatar
 
elite*gold: 325
Join Date: Apr 2008
Posts: 713
Received Thanks: 225
Quote:
Originally Posted by 721560329 View Post
then it might be windows 10 problem.. will try on win7.. x64 or x32 ?
windows 7 x64 and windows 10 only problem is sppsvc process which will use almost all ur cpu from time to time but didn't face any problem with windows 10 b4
ahmedwork is offline  
Old 04/08/2017, 20:20   #60

 
721560329's Avatar
 
elite*gold: 1
Join Date: May 2011
Posts: 1,942
Received Thanks: 1,251
Quote:
Originally Posted by ahmedwork View Post
windows 7 x64 and windows 10 only problem is sppsvc process which will use almost all ur cpu from time to time but didn't face any problem with windows 10 b4
nah my CPU as around 20% all the time i guess my problem is im not at the sea... alot of NPCs is around
721560329 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 05:04.


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.