Feat Req: /target npccorpse

A forum for feature requests/discussions and user submitted patches that improve MQ2

Moderator: MacroQuest Developers

Lax
We're not worthy!
We're not worthy!
Posts: 3524
Joined: Thu Oct 17, 2002 1:01 pm
Location: ISBoxer
Contact:

Post by Lax » Mon Oct 27, 2003 1:35 pm

This won't work for all obviously, but you can narrow it down quite a bit by determining if the race is a valid player race...
Lax Lacks
Master of MQ2 Disaster
Purveyor of premium, EULA-safe MMORPG Multiboxing Software
* Multiboxing with ISBoxer: Quick Start Video
* EQPlayNice, WinEQ 2.0

User avatar
blueninja
a grimling bloodguard
a grimling bloodguard
Posts: 541
Joined: Thu Aug 28, 2003 7:03 am
Location: Göteborg, Sweden

Post by blueninja » Mon Oct 27, 2003 3:08 pm

Yes, I wrote something like that for a macro I use but when I started making the list of valid races I gave up. Thought about collecting a list of races from '/who pc' output then sorting it but I never got around to that. Seems like there can be quite a few valid races with all these illusions people use these days..

Lax
We're not worthy!
We're not worthy!
Posts: 3524
Joined: Thu Oct 17, 2002 1:01 pm
Location: ISBoxer
Contact:

Post by Lax » Mon Oct 27, 2003 3:12 pm

EQ has a function called something like "IsValidPlayerRace" which could be used for that. Illusions are one of the more difficult problems with that idea though... like I said, won't work for all cases but can help narrow it down in most cases :(
Lax Lacks
Master of MQ2 Disaster
Purveyor of premium, EULA-safe MMORPG Multiboxing Software
* Multiboxing with ISBoxer: Quick Start Video
* EQPlayNice, WinEQ 2.0

Amadeus
The Maestro
The Maestro
Posts: 2036
Joined: Sat Jun 29, 2002 3:51 pm

Post by Amadeus » Mon Oct 27, 2003 3:23 pm

One of the various SPAWNINFO additions I have returns a -1 unless you're in you're a NON PC race form.

...so, just a few more days and you should be able to check if someone is in PC race form.