Yoko

All sides of Injection
It is currently 2024-04-18 23:31:59

All times are UTC+02:00




Post new topic  Reply to topic  [ 6 posts ] 
Author Message
PostPosted: 2014-09-01 09:02:59 
Offline

Joined: 2014-08-20 11:50:46
Posts: 14
Hallo,

I need to recognize if a dead body is a humanoid corpse or not. Every corpse have type 0x2006 and I am not able to figure out which type of corpse lies on the ground. Can someone advice me please.

I advert that every body type have another quantity. Is it the key?


Top
   
PostPosted: 2014-09-01 09:36:58 
Offline

Joined: 2014-08-20 11:50:46
Posts: 14
Ok I figured it out. Quantity is the key. It's an animation number. Human male is 400(0x0190) and female 401(0x0191). Now I need to recognize if a body is a player or NPC.


Top
   
PostPosted: 2014-09-01 15:18:49 
Offline
User avatar

Joined: 2009-05-28 09:58:28
Posts: 2802
Location: Иваново
Hypermangan wrote:
Ok I figured it out. Quantity is the key. It's an animation number. Human male is 400(0x0190) and female 401(0x0191). Now I need to recognize if a body is a player or NPC.

impossible

_________________
Image
YokoInjection CodeSweeper
Ошибка "Unhandled exception in parser"
Стрелялка для олдов.


Top
   
PostPosted: 2014-09-02 09:32:47 
Offline

Joined: 2014-08-20 11:50:46
Posts: 14
I expected a little bit better answer but through that thank you.

I tried to figure it out with UO.GetNotoriety but this function returns any value.


Top
   
PostPosted: 2014-09-02 10:18:14 
Offline
User avatar

Joined: 2009-05-28 09:58:28
Posts: 2802
Location: Иваново
UO.GetNotoriety does not distinguish between NPC and players

Actually there is no way to distinguish between the player and NPC. If only taking a particular case

_________________
Image
YokoInjection CodeSweeper
Ошибка "Unhandled exception in parser"
Стрелялка для олдов.


Top
   
PostPosted: 2014-09-03 08:01:05 
Offline

Joined: 2014-08-20 11:50:46
Posts: 14
And some casual way exists? :)

I thing I can look in to the body and search for IVM and KVF scrolls which every player carry on pvp on our shard. But its not absolutely precise.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 6 posts ] 

All times are UTC+02:00


Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Limited