Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Dekaron
You last visited: Today at 10:54

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

Advertisement



Color not there then do something

Discussion on Color not there then do something within the Dekaron forum part of the MMORPGs category.

Reply
 
Old   #1
 
phatal808's Avatar
 
elite*gold: 0
Join Date: Sep 2007
Posts: 280
Received Thanks: 136
Color not there then do something

I'm writing a game bot for 2moons. I'm almost done. It uses a HP pot when health is low, it uses a MP pot when MP is low, it summons pet when pet's hp is low, it will attack the target the pet is attacking, and it loots the drops on the ground. This is the last thing I want to do to complete this.

There are 3 squares on screen that you place your HP pots and MP pots in. I'm trying to figure a way that when it does not see the HP pot (because there is none) it does some other actions that basically teleport you home.

Code:
;No HP Pots = TP
$coord = PixelSearch (17, 988, 18, 989, 0xBD616D, 1);HP slot empty?
If @error then
	ControlSend("2Moons","","","{i}"); Open inventory
	sleep(1000)
	MouseClick ("right", 713, 510, 1, 0); Right click TP scroll
	Call("Terminate")
endif
The HP pot icon is about 10 pixels wide and 20 pixels high. The center of the icon is 18,989 (1280x1024 32bit).

I mean this seems pretty cut and dry to me. Color not there then do this.
phatal808 is offline  
Old 09/26/2007, 07:34   #2
 
elite*gold: 0
Join Date: Sep 2007
Posts: 154
Received Thanks: 54
that works...its how i made sorc bot, mainly just pixelsearch, if not @error's, etc.
leggojake is offline  
Old 09/26/2007, 21:36   #3
 
phatal808's Avatar
 
elite*gold: 0
Join Date: Sep 2007
Posts: 280
Received Thanks: 136
Do you have code for that portion of your bot? I don't know if i'm using the wrong color or what, but if i turn it around and if it sees the pot then it works but having it tp when it doesnt see the pot doesnt work. idk.
phatal808 is offline  
Reply


Similar Threads Similar Threads
Horse Color (This Program Tells You Your Horse's EXACT Color Values)
10/21/2009 - CO2 Exploits, Hacks & Tools - 35 Replies
CURRENTLY: WORKING (Patch 5157) Alright guys, finally got around to updating and fixing this program... the way it works now is, just run the program, equip the horse you want to look at, and it'll show you it's Color Stats... in future versions I will be making it so u can equip one horse, then another, and it'll tell you what each horse's value is AND what would be the result if u combined them... and maybe even a little further into the future I will release a program that'll allow you to...
WoW Color Hack (Use color-codes in text)
09/23/2007 - WoW Exploits, Hacks, Tools & Macros - 31 Replies
WoWColorHack.flt -=Preamble=- I'm quite surprised that no one has released anything similar yet - the theory behind this dates back to the alpha days. Hell, I first used this filter on my own alpha sandbox. -=Theory=-



All times are GMT +2. The time now is 10:54.


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