Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > AutoIt
You last visited: Today at 05:10

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

Advertisement



autoIt + cheat Engine

Discussion on autoIt + cheat Engine within the AutoIt forum part of the Coders Den category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Oct 2005
Posts: 33
Received Thanks: 1
autoIt + cheat Engine

I'm in a game Priston Tale 2
using cheat engine and WEP pro
cheatengine managed to find the real life character models
enter the char that always gives me between real life what I need now is
how to create a dll to alter the game in tutotial to Reproduce does but with a game
MSD but not online game
what I wanted was to make a *** or mode autopotion
with Wep Pro also found an interesting coisa
scanning packages found a way to target the mob gives me without me alle beside her and then come with me if I vay the average of all other
the trouble is that every time I leave the game generates another code and I do not know
how to do that in Cheat Engine I can not grab the real target
alguem joins lend a hand?
and to share more information I sent videos of how I got there
I want the real thing is to create an intelligent bot using potion with% HP and MP
and that no other mobs atake but slowly
p3rm3l0mga is offline  
Old 12/14/2015, 16:31   #2
 
elite*gold: 0
Join Date: Apr 2011
Posts: 363
Received Thanks: 167
First u need your health address and target mob address here is a tutorial on how to find pointers so u will have the correct address everytime you restart the game:

When you are done with that making a bot easy in autoit is easy your algorithm will be something like this:
1º Mob Selected? you can determinate that when mob health value is not 0
2º Need heal or mp ? HP below some value, same with MP
3º Can fight? If mob is selected and your HP/MP are OK then Fight
3.1 Mob not selected. Go select mob
3.2 HP/MP below some value. Go use potion
elmarcia is offline  
Old 12/15/2015, 01:29   #3
 
elite*gold: 0
Join Date: Oct 2005
Posts: 33
Received Thanks: 1
Quote:
Originally Posted by elmarcia View Post
First u need your health address and target mob address here is a tutorial on how to find pointers so u will have the correct address everytime you restart the game:

When you are done with that making a bot easy in autoit is easy your algorithm will be something like this:
1º Mob Selected? you can determinate that when mob health value is not 0
2º Need heal or mp ? HP below some value, same with MP
3º Can fight? If mob is selected and your HP/MP are OK then Fight
3.1 Mob not selected. Go select mob
3.2 HP/MP below some value. Go use potion
:RE thank you for your attention

If I have HP codes and what I need is how to create the interface choices scripts and codes
I am watching a video on how to create a full BOT is good but I just want 2 or 3 aver thing there as you will share it out and hopefully help me complete the codes:las manos hacia abajo :
p3rm3l0mga is offline  
Old 12/15/2015, 16:49   #4
 
elite*gold: 0
Join Date: Apr 2011
Posts: 363
Received Thanks: 167
Some piece of code

NomadMemory.au3

You now have to work by yourself this should be enough for u to begin
elmarcia is offline  
Old 12/16/2015, 06:06   #5
 
elite*gold: 0
Join Date: Oct 2005
Posts: 33
Received Thanks: 1

now I get error codes add HP
p3rm3l0mga is offline  
Old 12/18/2015, 20:06   #6
 
elite*gold: 0
Join Date: Oct 2005
Posts: 33
Received Thanks: 1

I have these codes after days without sleep

I have you pointer HP , MP, mob TARGET
now I just need to put in the autoit someone can help plz


this is another


plz healp me
p3rm3l0mga is offline  
Old 12/18/2015, 22:50   #7
 
elite*gold: 0
Join Date: Apr 2011
Posts: 363
Received Thanks: 167
Code:
Global Const $percent = 0.5; 50% hp
Global Const $minMPValue = 200
Global Const $HPPotionKey = "{q}"
Global Const $MPPotionKey = "{e}"
Global Const $attack1Key = "{1}"
Global Const $SelectMobKey = "{TAB}"


Global $status = -1
Global $myHP,$myMP,$mobHP
$Adresse1 = 0x2B444AB8;
$Adresse2 = 0x77756D00

$Open = _memoryopen(ProcessExists("GAME.exe"))



Func UpdateData()
$MaxHP = _MemoryRead($Adresse1, $Open, 'dword') 
$minHPValue  = $MaxHP*$percent
$myHP = _MemoryRead($Adresse2, $Open, 'dword')
;$myMP = _MemoryPointerRead($BaseAddress,$open,$MPOffset,"long")
;$mobHP = _MemoryPointerRead($BaseAddress,$open,$MobOffset,"long")
EndFunc

Func getStatus() ;how this works, first check if hp or mp is low, then check if mob is selected, finally if don't select mob and fight
UpdateData()
If $myHP < $minHPValue then return 1;Or $myMP < $minMPValue Then Return 1  ;while fighting should check HP/MP too so
If $mobHP <> 0 Then Return 2 ;if mob is selected
Return 3 ;mob not selected / HP/MP okay
EndFunc


Func UsePotion()
If $myHP < $minHPValue Then Send($HPPotionKey)
If $myMP < $minMPValue Then Send($MPPotionKey)
EndFunc

Func Fight()
Send($attack1Key)
EndFunc

Func SelectMob()
	Send($SelectMobKey);or u can send a packet to select mob with tcpsend
EndFunc

While Sleep(20)  ;Main loop
$status = getStatus()

Switch $status
	Case 1 ;Low hp/mp
		UsePotion()
		ToolTip("Using potion",0,0,"STATUS")
	Case 2 ;Mob selected HP/MP okay
		Fight()
		ToolTip("Fighting",0,0,"STATUS")
	Case 3 ;Mob not selected HP/MP okay
		SelectMob()
		ToolTip("Searching Mob",0,0,"STATUS")
EndSwitch
WEnd
U should get MP and mobHP addresses, don't have time for now to make a gui.
elmarcia is offline  
Old 12/19/2015, 03:57   #8
 
elite*gold: 0
Join Date: Oct 2005
Posts: 33
Received Thanks: 1

that's my point of hp and the other is my target pointer shows me when I select the hp MOBs or Player

target mobs or players
p3rm3l0mga is offline  
Reply


Similar Threads Similar Threads
Cheat Engine aobscan in Autoit
08/21/2022 - AutoIt - 3 Replies
Moin Leute, ich wollte mal nachfragen ob es in Autoit möglich ist, eine Cheat Engine aob script zu injecten. Hier ist der Script den ich gerne injecten würde: //code from here to '' will be used to enable the cheat alloc(newmem,2048) //2kb should be enough label(returnhere) label(originalcode) label(exit) label(whatever)
Cheat Engine aobscan in Autoit
11/27/2013 - General Coding - 3 Replies
Moin Leute, ich wollte mal nachfragen ob es in Autoit möglich ist, eine Cheat Engine aob script zu injecten. Hier ist der Script den ich gerne injecten würde: //code from here to '' will be used to enable the cheat alloc(newmem,2048) //2kb should be enough label(returnhere) label(originalcode) label(exit) label(whatever)
Cheat Engine adresse in Autoit ??
07/18/2011 - AutoIt - 4 Replies
Hallo alle zusammen :) Was ihr vorher wissen solltet : -kommt mir nicht mit sowas wie "Google doch selbst". Ich google und stöber alle Foren seit genau 11 Stunden durch. Bin auf einige Tutorials gekommen, doch bin nicht sehr weiter gekommen. Ich habe ein kleines Problem. Ich würde gerne einen kleinen Hack schreiben.
kan man bei autoit cheat engine ??
01/09/2010 - AutoIt - 3 Replies
so kan man bei autoit cheat engine value einbinden?? das zb ein knopf wen drauf geklikt wird waffe +9 sind??moklich?? lg gael1509
cheat engine / autoit
04/12/2009 - AutoIt - 4 Replies
hey leute ich hab bei cheat engine jetzt 10 verschiedene werte. ich möchte jetzt mit autoit ein programm schreiben, dass so lange alle 2 sekunden auf einen button klickt, (pixel: 655, 425) bis irgendeiner der werte auf 12 ist. dann soll er einfach aufhören zu klicken. wie geht das? kann mir einer helfen bitte?



All times are GMT +1. The time now is 05:10.


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.