SphereServer BugTracker - SphereServer
View Issue Details
0002249SphereServerexecutable - windows buildpublic03-12-13 17:5324-02-14 23:46
Coruja 
Ben 
normalminoralways
resolvedfixed 
 
0.56c Nightly 
Automated (specify build number)
None
None
0002249: "Object not placed in the world" console error
I always got 2000+ of these msgs at every server startup since many weeks ago, but sphere seems to not delete these items and this thing is getting each day bigger

13:59:ERROR:UID=04fffffff, id=03779 'sparkle', Invalid code=3202 (Object not placed in the world)
13:59:ERROR:UID=04fffffff, id=03779 'sparkle', Invalid code=3202 (Object not placed in the world)
13:59:ERROR:UID=04fffffff, id=03779 'sparkle', Invalid code=3202 (Object not placed in the world)
13:59:ERROR:UID=04fffffff, id=03779 'sparkle', Invalid code=3202 (Object not placed in the world)
13:59:ERROR:UID=04fffffff, id=03779 'sparkle', Invalid code=3202 (Object not placed in the world)
13:59:ERROR:UID=04fffffff, id=03779 'sparkle', Invalid code=3202 (Object not placed in the world)
13:59:ERROR:UID=04fffffff, id=03779 'sparkle', Invalid code=3202 (Object not placed in the world)

I already tried debug/remove these items using this function but it doesnt find any item on loop
[FUNCTION lol]
FORINSTANCES 03779 //i_fx_sparkle_2
 SERV.LOG <UID>:


ENDFOR

Using 3 dec nightly build
No tags attached.
Issue History
03-12-13 17:53CorujaNew Issue
03-12-13 19:27XuNNote Added: 0001799
03-12-13 23:55CorujaNote Added: 0001803
08-12-13 17:19XuNNote Added: 0001807
08-12-13 19:47CorujaNote Added: 0001808
08-12-13 22:41BenNote Added: 0001811
09-12-13 01:34CorujaNote Added: 0001812
11-12-13 19:27RanXeroxNote Added: 0001813
16-12-13 01:54CorujaNote Added: 0001858
22-01-14 18:43jconapogostickNote Added: 0001931
24-02-14 16:28CorujaNote Added: 0001972
24-02-14 16:28CorujaNote Edited: 0001972bug_revision_view_page.php?bugnote_id=0001972#r574
24-02-14 16:29CorujaNote Edited: 0001972bug_revision_view_page.php?bugnote_id=0001972#r575
24-02-14 17:28jconapogostickNote Added: 0001973
24-02-14 23:46BenNote Added: 0001974
24-02-14 23:46BenStatusnew => resolved
24-02-14 23:46BenFixed in Version => 0.56c Nightly
24-02-14 23:46BenResolutionopen => fixed
24-02-14 23:46BenAssigned To => Ben

Notes
(0001799)
XuN   
03-12-13 19:27   
Did you search for any script creating (and not placing) these sparkles? It doesnt seem to be any piece of code.
(0001803)
Coruja   
03-12-13 23:55   
yea already search it but I doesnt found nothing, theres just a few functions that creates sparkle but all of them is just for animation and remove the sparkle at the end

but the point is: actually these items will never get removed from the server, since sphere return the error for invalid UID (04fffffff) / invalid P but it doesnt remove it and theres no way to removed it using scripts too :P
So to fix it I think the server must remove these items when it return the error
(0001807)
XuN   
08-12-13 17:19   
bencro1028 r1729 05.12.13

possible fix for 0002249 "Object not placed in the world"


Have you tried this? can you tell us if it's working fine now?
(0001808)
Coruja   
08-12-13 19:47   
I tried here on 8 dec 2013 nightly but the problem still there :/
(0001811)
Ben   
08-12-13 22:41   
well, not sure what's happening here, but I can't reproduce it.
When that message is shown, sphere already delete's the item.

You should open your save file and look for those damn sparkles to see what's happening
(0001812)
Coruja   
09-12-13 01:34   
strange, already tried to save and reopen sphere, but these items still there.

and I found nothing on save files, just a couple of i_fx_sparkle with everything fine (not i_fx_sparkle_2 which is the itemdef 03779 resulting on error). I dont know if its really not there (I dont think so) or if they got saved with invalid data where I cant find these lines (empty itemdef, empty UID/serial, etc)

I think even trying to delete these items on error, sphere fails to delete because these items have a strange UID (04fffffff for all of them)
(0001813)
RanXerox   
11-12-13 19:27   
Interesting. 04fffffff is the maximum value that can be stored in a DWORD... check your save files and see what the largest (and smallest) SERIAL= value is.
(0001858)
Coruja   
16-12-13 01:54   
min = 040000004 (dec 1073741828)
max = 04039bffe (dec 1077526526)

but strangely the UID 04fffffff (1342177279) is not on this range, it's higher than the max value. I tried to search by 04fffffff (and near values) but nothing found


[WORLDITEM i_chair_wood_fancy_cushion]
SERIAL=040000004
DISPID=0b50
ATTR=08010
P=1338,1606,50

[WORLDITEM i_cape_meditation]
SERIAL=04039bffe
DISPID=i_cape
ATTR=08
MORE1=0160016
CONT=040021d58
P=63,96
CONTGRID=7
QUALITY=191
(0001931)
jconapogostick   
22-01-14 18:43   
same is happening on my server with fish getting deleted on save. the fish are in the ship, but appereantly garbage collection cannot recognize it.

02:27:ERROR:GC: 75 unplaced object deleted
02:27:ERROR:UID=04009161d, id=09cd 'fish', Invalid code=3202 (Object not placed in the world)
02:27:ERROR:UID=040091882, id=09cd 'fish', Invalid code=3202 (Object not placed in the world)

and lots like this during the world save.
(0001972)
Coruja   
24-02-14 16:28   
(edited on: 24-02-14 16:29)
latest nightly 1795 (23 feb) fixed this problem :D

(0001973)
jconapogostick   
24-02-14 17:28   
there's nothing in the svn log that would effect the change? any devs wanna comment? :)
(0001974)
Ben   
24-02-14 23:46   
It's a mystery... I'm thinking it might have something to do with triggers not firing on startup, but who knows :D