View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0002561SphereServerexecutable - windows buildpublic04-10-15 15:1630-10-15 18:00
ReporterSoulless 
Assigned ToXuN 
PrioritynormalSeveritymajorReproducibilityalways
StatusresolvedResolutionfixed 
PlatformOSOS Version
Product Version16-06-2013, 0.56b Prerelease 
Target VersionFixed in Version0.56c Nightly 
Summary0002561: NPCs spawn with strange colors and missing items
DescriptionNpc'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.
Steps To Reproduceadd an innkeeper enough times and one will show up with missing articles and/or a strange skin color
TagsNo tags attached.
Nightly VersionAutomated (specify build number)
Experimental FlagsNone
Option FlagsCommand_Sysmsgs
Internal Build Number2464
Attached Files

- Relationships

-  Notes
(0002986)
Shamino (reporter)
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 (reporter)
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 (reporter)
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 (developer)
30-10-15 13:10

Should be fixed in latest rev

- Issue History
Date Modified Username Field Change
04-10-15 15:16 Soulless New Issue
04-10-15 20:52 Shamino Note Added: 0002986
06-10-15 16:01 Soulless Note Added: 0002987
06-10-15 19:48 Shamino Note Added: 0002988
30-10-15 13:10 XuN Note Added: 0002989
30-10-15 18:00 XuN Status new => resolved
30-10-15 18:00 XuN Fixed in Version => 0.56c Nightly
30-10-15 18:00 XuN Resolution open => fixed
30-10-15 18:00 XuN Assigned To => XuN


Copyright © 2000 - 2010 MantisBT Group
Powered by Mantis Bugtracker