|
|
|
Page 1 of 1 |
[ 5 posts ] |
|
 help with parsing chat : VGExtreme General Discussion
|
|
Posted: January 2nd, 2008, 1:30 pm
|
|
|
|
cap1820
cap1820's Reps:
|
i have written me a basic bot to go and kill whatever i tell it to.
i am having trouble determining if i am in combat. all i can do is tell if i am auto attacking. the only thing i can think of is to have the bot parse my combat chat window for "soandso hits you for blah" but i cannot find any instances of this in any of the bots on this site.
is chat parsing an option with this program? or does it only support chat logging?
also, is this the correct place to post a question of this nature?
thanks
|
|
|
|
|
Posted: January 2nd, 2008, 2:53 pm
|
|
|
|
cap1820
cap1820's Reps:
|
well i guess i missed the waypoint creator uses this concept.
so if anyone looks at this and happens to be needing help you can look at the waypoint creator in the programs section
|
|
|
|
|
Posted: January 2nd, 2008, 10:55 pm
|
|
|
|
beergeek
Total Posts: 434
Joined: July 10th, 2005, 9:59 am
beergeek's Reps: 21
|
fyi, you can also see some different string matching techniques when log parsing in my crafting bot.
|
|
|
|
|
Posted: January 4th, 2008, 6:42 pm
|
|
Posted: January 5th, 2008, 9:41 am
|
|
|
|
wyvernx
Total Posts: 6718
Joined: May 1st, 2004, 4:00 am
wyvernx's Reps: 21
|
I could have sworn I added a Player.isAttacking routine.
The other way is to check your HP. If you are below 100%, then something is wrong.
Another way is to check your target. Usualyl when you get attacked, you suddenly have a new target.
_________________
Use Search first, ask questions later!
|
|
|
|
|
Who is online |
|
Users browsing this forum: No registered users and 20 guests |
|
|
|