View Single Post
  #14  
Old 08-14-2014, 09:55 PM
Uleat's Avatar
Uleat
Developer
 
Join Date: Apr 2012
Location: North Carolina
Posts: 2,815
Default

Code:
ns->spawn.is_npc = 0;
...
ns->spawn.NPC = 0;
Older clients seem to use both in ENCODE(OP_ZoneSpawns)..

Underfoot uses 'NPC' only in zone spawns..'is_npc' only shows up in the illusion encode.

I'm not 100% on spawn structs and what mob types use which fields..but, I think all playable races should be using
equipment[0-8] for armor models, and non-playable use texture, helmtexture, etc... for armor models.


I still think it's related to how we identify bots as 'clients' to the client and are misusing some of the inital struct fields..but, it could be color.

The green only show up on an empty slot, not a properly occupied slot.

It retains the model of the removed item..but, in a green shade..possibly a transparency mask.
(rgb 0x00FF00 level brightness..no texture, only the painted surface)


I really just need to compare Ti vs. later clients translators to see what has changed..we may have a hard-coded unidentified field in the
spawn packet (like the 'is_npc' field)
__________________
Uleat of Bertoxxulous

Compilin' Dirty
Reply With Quote