Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Archlord
You last visited: Today at 19:49

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

Advertisement



[GUIDE] How To Create Ur Own Memory Bot!

Discussion on [GUIDE] How To Create Ur Own Memory Bot! within the Archlord forum part of the MMORPGs category.

Reply
 
Old   #1
 
Palmatex's Avatar
 
elite*gold: 0
Join Date: Jun 2005
Posts: 440
Received Thanks: 47
[GUIDE] How To Create Ur Own Memory Bot!

I made this bot for me so this is configured for elementalist!

1. Download autohotkey installer
2. Create a new .ahk
3. Open it with notepad or something like that.
4. Copy & paste the example code

Example bot futures:
- Multiclient support
- Use skills, buffs

Example Bot:
Code:
ReadMemory(MADDRESS,PROGRAM)
{
winget, pid, PID, %PROGRAM%

VarSetCapacity(MVALUE,4,0)
ProcessHandle := DllCall("OpenProcess", "Int", 24, "Char", 0, "UInt", pid, "UInt")
DllCall("ReadProcessMemory","UInt",ProcessHandle,"UInt",MADDRESS,"Str",MVALUE,"UInt",4,"UInt *",0)

Loop 4
result += *(&MVALUE + A_Index-1) << 8*(A_Index-1)

#NoEnv  ; Recommended for performance and compatibility with future AutoHotkey releases.
SendMode Input  ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir%  ; Ensures a consistent starting directory.

;----------- START -> CHANGE TITLE & GOSUB -----------
INSERT::
WinWaitActive, Archlord
WinSetTitle, Example Bot 1   ; Change window title
GoSub, Default
GoSub, Core
Return
;----------- END -> CHANGE TITLE & GOSUB -----------

;----------- START -> RESET COUNTERS -----------
Default:
FineStaffReuse = 0
FrostArmorReuse = 0
FairyBlessReuse = 0
Return
;----------- END -> RESET COUNTERS -----------

Core:
Loop
{
{
HP := ReadMemory(0xF165C58,"Example Bot 1")
If HP = 0
	ControlSend,, {TAB}, Example Bot 1
}
	If (1 < HP && FrostArmorReuse = 0)
	{
		Sleep, 1000
		GoSub, RebuffFrostArmor
	}
	If (1 < HP && FineStaffReuse = 0)
	{
		Sleep, 1000
		GoSub, RebuffFineStaff
	}
	If (1 < HP && FairyBlessReuse = 0)
	{
		Sleep, 1000
		GoSub, RebuffFairyBless
	}
	If (1 < HP && FrostArmorReuse = 1 && FineStaffReuse = 1 && FairyBlessReuse = 1)
	{
		ControlSend,, 4, Example Bot 1
		Sleep, 1000
	If (1 < HP && FrostArmorReuse = 1 && FineStaffReuse = 1 && FairyBlessReuse = 1)
		ControlSend,, 5, Example Bot 1
		Sleep, 1000
	If (1 < HP && FrostArmorReuse = 1 && FineStaffReuse = 1 && FairyBlessReuse = 1)
		ControlSend,, 6, Example Bot 1
		Sleep, 1000
	}
}
Return

;----------- START -> USE | BUFFS & SKILLS -----------
RebuffFrostArmor:
ControlSend,, 9, Example Bot 1
Sleep, 3000
FrostArmorReuse ++
SetTimer, FrostArmorReuse, 528000   ; Reuse Time
Return

RebuffFineStaff:
ControlSend,, 8, Example Bot 1
Sleep, 4000
FineStaffReuse ++
SetTimer, FineStaffReuse, 576000   ; Reuse Time
Return

RebuffFairyBless:
ControlSend,, 7, Example Bot 1
Sleep, 3000
FairyBlessReuse ++
SetTimer, FairyBlessReuse, 432000   ; Reuse Time
Return
;----------- END -> USE | BUFFS & SKILLS -----------

;----------- START -> TIMERS | BUFFS & SKILLS -----------
FrostArmorReuse:
Sleep, 3000
FrostArmorReuse = 0
Return

FineStaffReuse:
Sleep, 3000
FineStaffReuse = 0
Return

FairyBlessReuse:
Sleep, 3000
FairyBlessReuse = 0
Return
;----------- END -> TIMERS | BUFFS & SKILLS -----------

;----------- START -> CHANGE TITLE & RELOAD -----------
DELETE::
WinWaitActive, Example Bot 1
WinSetTitle, Archlord   ; Change back the title
Sleep, 2000
Reload
Return
;----------- END -> CHANGE TITLE & RELOAD -----------
Hotkeys:
INSERT: Start bot
DELETE: Stop bot

5. U need cheat engine to get the current Target HP address and paste here
HP := ReadMemory(0xF165C58,"Example Bot 1") 0xF165C58 <- Need to change the current address every time when u open archlord client! ATM dont work with pointers!

If u dont know how to use cheat engine just use CE tutorial or use google

The source code is simple i think so u can change for ur char.
Palmatex is offline  
Old 06/21/2009, 22:06   #2
 
Newbb's Avatar
 
elite*gold: 20
Join Date: Oct 2008
Posts: 2,384
Received Thanks: 371
ill see if i can make annything out of it after the weekend^^

thx in advance, it might be relay usefull since were in need of new bots..
Newbb is offline  
Old 06/22/2009, 09:50   #3
 
Drakonis's Avatar
 
elite*gold: 0
Join Date: Feb 2008
Posts: 310
Received Thanks: 75
you got me interested, can you please explain how does it work more closely?
Drakonis is offline  
Old 06/22/2009, 13:07   #4
 
Palmatex's Avatar
 
elite*gold: 0
Join Date: Jun 2005
Posts: 440
Received Thanks: 47
U can check all commands in here:

I upload the .ahk file u can edit with notepad or other editors. This is easy only for getting hp i use memory reading then use key sending like a macro.

Edit:
If somebody can send me the current pointers of the game like HP, pots, weapon durabiliti it would be nice
Attached Files
File Type: zip ExampleBot.zip (1.1 KB, 94 views)
Palmatex is offline  
Reply


Similar Threads Similar Threads
[Guide] How To Create Your Own DLL
08/17/2012 - General Gaming Discussion - 17 Replies
Credits: Andre. Download the tutorial here: MediaFire: Cell2Cell Tutorial by Andre.rar or E*pvpers: Cell2Cell Tutorial by Andre.rar Programs Needed:
[HELP] I need a guide to create a WH Bypass >_<
05/29/2010 - CO2 Programming - 12 Replies
I requested one and got told its not possible, that I need to make my own one, so i'll do it, Anyone guide me thru it? I know nothing of programming :/ So post some tutorials on what i need to learn and how to do the whbypass please
[Guide] How to Create a Private Server
05/11/2010 - CO2 PServer Guides & Releases - 36 Replies
Do not ask me about any of my pictures please. I put them in to add understanding to this thread. I don't have any personal gain by putting the images up except for the positive responses I get from helping people. Do not flame. Thank you. You don't need gears to own- only a heart. http://i746.photobucket.com/albums/xx110/brokentw ilight91/26914_1104971119736_1690526991_2125.jpg Yep, starting off with an image and a quote! I'm back! Hey everyone! My name's Spirits ^^...
[Guide] How to Create an Host Installer !
04/24/2009 - Lin2 Private Server - 0 Replies
:D Well, If someone Is interessted to create an Host Installer looks like this one http://s5.tinypic.com/1264fpu.jpg Then You Shoul Follow My lil Video Guide :P Link to Download : RapidShare: Easy Filehosting
need a guide on create bypass for xtrap
06/03/2008 - Cabal Guides & Templates - 2 Replies
hi all im looking for a guide on how to bypass xtrap , or create modified exe to run dual boxes and bots, im playing cabal brazil and cant find info, so i decided to make my own, but i need some help thanks



All times are GMT +1. The time now is 19:51.


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.