jvanegmond Posted March 22, 2006 Posted March 22, 2006 I actually don't have a guide to making Game Scripts. But as AutoIt Help doesn't say anything about the particular functions for Game Scripting. I don't know anything yet about this scripting so i will write the Guide in a beginner's point of view. Let's say, i want to extract how many health a character has and then if it's lower then a certain value drink a potion ( Send H for health potion ). A few possibilites are: If the health bar doesn't change color. - Check where pixel is Color (red in most cases) and where it isn't that's how far the current health bar is. if value is lower the number, Send H If the health bar changes color. - Read the color and if color is lower then setcolor , Send H I'll write this in advance but how to, read memory and how do you know which memory to read? Is this like using a package logger? Can you use COM to read things like memory? Any other idea's github.com/jvanegmond
cdkid Posted March 22, 2006 Posted March 22, 2006 Look in Scripts & Scraps, w0uter wrote some UDFs to read proc memory. ~cdkid AutoIt Console written in C#. Write au3 code right at the console :D_FileWriteToLineWrite to a specific line in a file.My UDF Libraries: MySQL UDF Library version 1.6 MySQL Database UDF's for AutoItI have stopped updating the MySQL thread above, all future updates will be on my SVN. The svn location is:kan2.sytes.net/publicsvn/mysqlnote: This will still be available, but due to my new job, and school hours, am no longer developing this udf.My business: www.hirethebrain.com Hire The Brain HireTheBrain.com Computer Consulting, Design, Assembly and RepairOh no! I've commited Scriptocide!
seandisanti Posted March 22, 2006 Posted March 22, 2006 I actually don't have a guide to making Game Scripts. But as AutoIt Help doesn't say anything about the particular functions for Game Scripting. I don't know anything yet about this scripting so i will write the Guide in a beginner's point of view. Let's say, i want to extract how many health a character has and then if it's lower then a certain value drink a potion ( Send H for health potion ). A few possibilites are:If the health bar doesn't change color.- Check where pixel is Color (red in most cases) and where it isn't that's how far the current health bar is. if value is lower the number, Send HIf the health bar changes color.- Read the color and if color is lower then setcolor , Send HI'll write this in advance but how to, read memory and how do you know which memory to read? Is this like using a package logger?Can you use COM to read things like memory?Any other idea'si'm sorry i'm a little confused, you're writing a guide but know nothing about the subject? i hope that works out for you. definitely check out w0uter's memory udf's, may want to look into pixelgetcolor() and pixelchecksum()
jvanegmond Posted March 22, 2006 Author Posted March 22, 2006 Hehe thanks, i want to write this guide in the process of learning so it will be very easily understandable github.com/jvanegmond
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now