Register for your free account! | Forgot your password?

Go Back   elitepvpers > New Arrivals > Black Desert
You last visited: Today at 17:58

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

 

[AutoIt] CrayonCode Bot Project (OpenSource & Free)

Reply
 
Old   #46
 
elite*gold: 0
Join Date: Apr 2017
Posts: 108
Received Thanks: 185
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   #47
 
elite*gold: 0
Join Date: Mar 2011
Posts: 96
Received Thanks: 4
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   #48
 
elite*gold: 0
Join Date: Apr 2017
Posts: 108
Received Thanks: 185
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   #49
 
elite*gold: 0
Join Date: Apr 2008
Posts: 390
Received Thanks: 108
@ 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   #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   #51
 
elite*gold: 0
Join Date: Mar 2010
Posts: 30
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   #52
 
elite*gold: 0
Join Date: Apr 2017
Posts: 108
Received Thanks: 185
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   #53
 
elite*gold: 0
Join Date: Apr 2008
Posts: 390
Received Thanks: 108
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   #54
 
elite*gold: 0
Join Date: May 2011
Posts: 1,655
Received Thanks: 911
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   #55
 
elite*gold: 0
Join Date: Apr 2008
Posts: 390
Received Thanks: 108
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, 47 views)
ahmedwork is offline  
Old   #56
 
elite*gold: 0
Join Date: May 2011
Posts: 1,655
Received Thanks: 911
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   #57
 
elite*gold: 0
Join Date: Apr 2008
Posts: 390
Received Thanks: 108
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   #58
 
elite*gold: 0
Join Date: May 2011
Posts: 1,655
Received Thanks: 911
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   #59
 
elite*gold: 0
Join Date: Apr 2008
Posts: 390
Received Thanks: 108
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   #60
 
elite*gold: 0
Join Date: May 2011
Posts: 1,655
Received Thanks: 911
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



« 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 17:58.


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.