PDA

View Full Version : Pet vs Named errors



Seaxouri
12-21-2007, 08:04 PM
Please post any problems you see where a pet is typed a named and/or vice versa. I have been working a long formula for it but its not perfect yet. Not really even close enough for gov work.

If you come across an incorrect classificication, please tell me the exact name of the spawn, space and capitalization exactly. Level too.

Thanks.

Seaxouri
12-21-2007, 08:07 PM
a spirit warder
level 83
is mob, classed pet

Seaxouri
12-21-2007, 11:34 PM
Vebn

is pet classed named

BlueAdept
12-22-2007, 09:20 AM
I do not know if this will help, but pets have a specific name pattern. I cut the section that I think was the correct search pattern to get them all.

Part of the problem is that pet names match a string.

First char is:
G,J,K,L,X,Z

Then there is a patern:

ab,an,ar,en,er,ib, etc

That cna be repeated up to 3 times.

Then there may or may not be a "tik" on the end.
In perl I'm searching with:

(G|J|K|L|V|X|Z)(ab|an|ar|as|eb|ek|en|er|ib|ob|on)+ (tik|n)*

Seaxouri
12-22-2007, 10:37 PM
Thanks. My pattern check has some of this but not all of it. I will try yours out next go around. Big help here.