Post Reply Home » Forums » Vanguard » VGExtreme General Discussion

help with parsing chat : VGExtreme General Discussion

Posted: January 2nd, 2008
cap1820
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
cap1820
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
beergeek
fyi, you can also see some different string matching techniques when log parsing in my crafting bot.
Posted: January 4th, 2008
cap1820
thank you beergeek.
Posted: January 5th, 2008
User avatar
Premium
Total Posts:6718 Joined:2004
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!
Ready to join the community? Click here and see all of the benefits!
blue large dotWho is online
Users browsing this forum: No registered users and 42 guests
Post Reply