Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Cabal Online > Cabal Guides & Templates
You last visited: Today at 04:23

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

Advertisement



[Guide] How to make a location-aware bot

Discussion on [Guide] How to make a location-aware bot within the Cabal Guides & Templates forum part of the Cabal Online category.

Reply
 
Old   #1
 
168Atomica's Avatar
 
elite*gold: 0
Join Date: Jul 2008
Posts: 72
Received Thanks: 85
Cool [Guide] How to make a location-aware bot

The rise of the zombots
Zombies, Zombie bots, zombots – call them how you like. They invade the cabalworld like mushrooms and it seems like they are very intelligent. They talk to NPCs, doing quest, moving to warpgates, and killing mobs at selected positions

It seems they are aware of their environment. It is not impossible either – to get that location-awareness functionality into your own Pixelbot (or non-pixelbot) scripts.

In this guide, I will show you how to get the coordinates of your character. You may already know it using CE but I will extend this to an AutoIt script.

First Part. Get the addresses.
1. Go to a location. Take note of your coordinates (say 20, 30)
2. Convert that value to its cabal float value by using this formula (x * 100 + 50)
Our x becomes 2050
3. Next in your CE, search for these values
Type: Float
Scan Type: Value in between X and X+100
(Using our example, search between 2050 and 2150)

4. Next is change the position of your character and get the new X. Scan again from the previous results using the new X.
5. You will be left with 2 green addresses and several black addresses. You only need one of those green addresses.
6. Do the same for Y coordinates.

Second Part. Plug the addresses in Autoit.
Now that we have our pointer for X and Y coordinates, it is time to use it in Autoit.
(You need Nomad’s library for memory reading)

Code:
#include <NomadMemory.au3>
SetPrivilege("SeDebugPrivilege", 1)

Global $iPID = ProcessExists('cabalmain.exe')
Global $hndCabal=_MemoryOpen($iPID)
Global $cabalmain = _MemoryGetBaseAddress($hndCabal)
Global $ahX = 0xABCDEF ; this is the pointer for our X
Global $ahY = 0xFEDCBA; this is the pointer for our Y

Tooltip ( _readX() & "," & _readY() , 0 , 0)

...

Func _readX()
    Return int( (_MemoryRead($cabalmain+ $ahX, $hndCabal, "FLOAT") - 50)/100)
EndFunc

Func _readY()
    Return int( (_MemoryRead($cabalmain+ $ahY, $hndCabal, "FLOAT") - 50)/100)
EndFunc
FAQ:
1. Does it need a bypass? No
2. Does it work on all OS? Tested on W7 64bit. You can use my AutoIt tester snippet
3. Where can i get the Nomad library? Errrr google?

Note that this reads an address that wont change even if you restart your cabal client.
168Atomica is offline  
Thanks
3 Users
Old 11/19/2012, 08:17   #2
 
elite*gold: 0
Join Date: Jun 2011
Posts: 35
Received Thanks: 3
follow this and quest bot???? that codes only ?? sory for my ban english ^_^
sazuke28 is offline  
Old 11/19/2012, 09:38   #3
 
168Atomica's Avatar
 
elite*gold: 0
Join Date: Jul 2008
Posts: 72
Received Thanks: 85
I think you have missed this part
Quote:
In this guide, I will show you how to get the coordinates of your character. You may already know it using CE but I will extend this to an AutoIt script.
168Atomica is offline  
Thanks
1 User
Old 07/29/2014, 19:17   #4
 
elite*gold: 0
Join Date: Jul 2014
Posts: 1
Received Thanks: 1
how to use the code FROM CE?
lucyjennifer is offline  
Thanks
1 User
Old 08/04/2014, 05:49   #5
 
168Atomica's Avatar
 
elite*gold: 0
Join Date: Jul 2008
Posts: 72
Received Thanks: 85
Thist
==========
Global $iPID = ProcessExists('cabalmain.exe')
Global $hndCabal=_MemoryOpen($iPID)
Global $cabalmain = _MemoryGetBaseAddress($hndCabal)
Global $ahX = 0xABCDEF ; this is the pointer for our X
Global $ahY = 0xFEDCBA; this is the pointer for our Y
==========
and a lot of AutoIt reading
168Atomica is offline  
Thanks
1 User
Old 09/01/2014, 18:35   #6
 
elite*gold: 0
Join Date: Sep 2014
Posts: 5
Received Thanks: 0
absolut super i wait for a mounth]
stefypepsy232 is offline  
Old 09/20/2014, 19:50   #7
 
elite*gold: 0
Join Date: Sep 2014
Posts: 4
Received Thanks: 0
GoodDay Sir , can i ask if its usable in CabalPH ? Thanks Sir . MorePower . Reply Please
ExtremeMikePogi is offline  
Reply


Similar Threads Similar Threads
[HOW TO]Make item jump to a location
08/11/2011 - Cabal Online - 6 Replies
Hi guys! I got a problem, i just fcuked my character. I managed to make my Ring be on the bracelet slot, but the thing is everytime i try to login my char, it disconnects me to the server. the only thing that i can think of is to make the ring jump out of the bracelet slot. is there anyway of emptying the bracelet slot and the earring slot? if there is please help help. Thank you!
[Guide/releae - How to Change new Char spawn location!]
04/13/2011 - EO PServer Guides & Releases - 10 Replies
Well, this is my first release so dont flame at me lol Ok well On my server you probs been wondering how i figured it out how to change the spawn location of a Char when making a new one, There is 2 ways to this The first one is. Server Files ---> AccServer ----> GetConfig.ini Ok you will find a info within this note pad you will find Alot if info like this... KeepConnectTimeOut=60000
[Warning-guide] Be aware of stackable BUG!
07/14/2009 - EO PServer Guides & Releases - 4 Replies
Hello everyone, Here I want to share small but important information! I spotted that many new pservers opening are implementing bulk seller (inside UniversalsXO 9999 selling)... via search engine I found this: http://www.elitepvpers.com/forum/eo-pserver-hosting /238078-guide-9999seller.html and as well I was informed that there is something like this made by diablos6r aka Murtah.. Anyway this addon/guide/release (whatever) is just big hole into your server!!
[GUIDE] Complete Maps, Mobs And Quest Location
03/16/2009 - Cabal Guides & Templates - 5 Replies
MAP LAYOUT Bloody Ice Complete Details: http://cabal.mmosite.com/mon/mon_1.shtml BLOODY ICE MAP http://srv0110-08.oak1.imeem.com/g/p/fd0320e76e2e 1c487d97f74a6c05f5a1_raw.jpg
Just want to make everyone aware of virustotal.
01/18/2009 - Conquer Online 2 - 1 Replies
Not that i don't accept people scanning files and posting the results but i just want to make you aware of (hands down) the best online file scanner available VirusTotal - Free Online Virus and Malware Scan with approx. 38 anti-virus systems scanning the same file, it's much more secure then stupid virus chief etc...



All times are GMT +1. The time now is 04:24.


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.