Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Conquer Online 2
You last visited: Today at 02:58

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

Advertisement



Get_State() -> Need help

Discussion on Get_State() -> Need help within the Conquer Online 2 forum part of the MMORPGs category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Mar 2005
Posts: 23
Received Thanks: 8
Im working on a memory based bot and im trying to figure out where to read to see if my char is flying or on ground.

The actual address that I use is not working 100% of the time(0x0012F7E4) and im trying to find a better one.

On this address, 1839905888 mean my archer is using Stamina Fly(40 sec) but when I read it, it change the value to 13 so my loops are not working(Im trying to wait untill flying is done then sit to regen my stamina).


Code:
Func get_state()     	
	$address=0x0012F7E4
	Local $state
	$state= _MemoryRead($address,$_Handle)
	Return $state
EndFunc
Here is my loop

Code:
	While get_state() = 1839905888
 Sleep(2000)
	WEnd
It only loop once because the second time it read the memory it become 13.

Anyone have a better address for this?
Touch Of Dead is offline  
Old 07/30/2006, 09:29   #2
 
Lateralus's Avatar
 
elite*gold: 0
Join Date: May 2005
Posts: 1,892
Received Thanks: 920
DMA....
Lateralus is offline  
Old 07/30/2006, 09:41   #3
 
elite*gold: 0
Join Date: Mar 2005
Posts: 23
Received Thanks: 8
Quote:
Originally posted by Lateralus@Jul 30 2006, 09:29
DMA....
NOT

It's only happening when im reading it more then once in a short lapse of time.
If I read it 2 times in 5 seconds it will changes to 13 for some reason but if I only read it once I will be fine. The problem is I need to use this in a loop so I need to read it more then once.
Touch Of Dead is offline  
Old 07/30/2006, 10:06   #4
 
Lateralus's Avatar
 
elite*gold: 0
Join Date: May 2005
Posts: 1,892
Received Thanks: 920
Does it continue to change or does it stop at 13?
Lateralus is offline  
Old 07/30/2006, 10:09   #5
 
elite*gold: 0
Join Date: Apr 2005
Posts: 308
Received Thanks: 8
BOOBIES!!!!!!!!!!!!!
Rancid-Milk-Man is offline  
Old 07/30/2006, 10:42   #6
 
Lateralus's Avatar
 
elite*gold: 0
Join Date: May 2005
Posts: 1,892
Received Thanks: 920
Quote:
Originally posted by Rancid-Milk-Man@Jul 30 2006, 10:09
BOOBIES!!!!!!!!!!!!!
Yes, Keeley Hazell is a goddess.
Lateralus is offline  
Old 07/30/2006, 11:07   #7
 
elite*gold: 0
Join Date: Mar 2005
Posts: 23
Received Thanks: 8
I found an alternative way of doing it that should work for the beta stage.

I justu se 0x004FE42C and whenever this address = 0 it means im on ground ( no specials abilities activated) and safe to sit. In short, it let me know if im flying or if im on ground.
Touch Of Dead is offline  
Old 07/30/2006, 11:23   #8
 
Lateralus's Avatar
 
elite*gold: 0
Join Date: May 2005
Posts: 1,892
Received Thanks: 920
Quote:
Originally posted by Touch Of Dead@Jul 30 2006, 11:07
I found an alternative way of doing it that should work for the beta stage.

I justu se 0x004FE42C and whenever this address = 0 it means im on ground ( no specials abilities activated) and safe to sit. In short, it let me know if im flying or if im on ground.
Glad I could be of help!
Lateralus is offline  
Reply




All times are GMT +1. The time now is 02:59.


Powered by vBulletin®
Copyright ©2000 - 2026, 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 ©2026 elitepvpers All Rights Reserved.