SphereServer BugTracker - SphereServer
View Issue Details
0002561SphereServerexecutable - windows buildpublic04-10-15 15:1630-10-15 18:00
Soulless 
XuN 
normalmajoralways
resolvedfixed 
16-06-2013, 0.56b Prerelease 
0.56c Nightly 
Automated (specify build number)
None
Command_Sysmsgs
2464
0002561: NPCs spawn with strange colors and missing items
Npc's will spawn with strange skin color and missing articles of clothing. using the latest scriptpack off github and latest sphere win executable.

causing errors like this to spam the console on save.
17:11:ERROR:UID=040001b15, id=0230b 'fur surong', Invalid code=3202 (Object not placed in the world)
17:11:ERROR:UID=040001c7d, id=01eff 'fancy dress', Invalid code=3202 (Object not placed in the world)

Adding an NPC enough times by hand will produce this result using the latest script pack and sphere windows exe.
add an innkeeper enough times and one will show up with missing articles and/or a strange skin color
No tags attached.
Issue History
04-10-15 15:16SoullessNew Issue
04-10-15 20:52ShaminoNote Added: 0002986
06-10-15 16:01SoullessNote Added: 0002987
06-10-15 19:48ShaminoNote Added: 0002988
30-10-15 13:10XuNNote Added: 0002989
30-10-15 18:00XuNStatusnew => resolved
30-10-15 18:00XuNFixed in Version => 0.56c Nightly
30-10-15 18:00XuNResolutionopen => fixed
30-10-15 18:00XuNAssigned To => XuN

Notes
(0002986)
Shamino   
04-10-15 20:52   
The problem maybe is the 1,R5 code.

Try this:
   ITEMNEWBIE=random_male_hair
   COLOR=colors_hair
   ITEMNEWBIE=random_facial_hair
   COLOR=match_hair
   ITEM=random_shirts_human
   COLOR=colors_all
   ITEM=random_pants_human
   COLOR=colors_all
   ITEM=random_footwear_human
   COLOR=colors_neutral
   ITEM=random_hats
   COLOR=colors_all
(0002987)
Soulless   
06-10-15 16:01   
This is the correct fix for this problem. some items not showing up and when they don't show up it colors the NPC a random color sometimes. after removing all of the ,1,R5 lines I still get the occasional error about a misplaced item.

always about weapons and rings it seems

ERROR:GC: 2 unplaced object deleted
ERROR:UID=040006ff4, id=01f09 'silver ring', Invalid code=3202 (Object not placed in the world)
(0002988)
Shamino   
06-10-15 19:48   
OK Soulless open items/sphere_item_typedef_equipitem.scp

Search @EquipTest
And comment entire this trigger and test again.

The variable CANUSE don't works fine.
(0002989)
XuN   
30-10-15 13:10   
Should be fixed in latest rev