The following warnings occurred:
Warning [2] Use of undefined constant SAPI_NAME - assumed 'SAPI_NAME' (this will throw an Error in a future version of PHP) - Line: 3388 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3388 errorHandler->error
/showthread.php 116 build_archive_link
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/inc/functions.php 3324 build_forum_breadcrumb
/showthread.php 195 build_forum_breadcrumb
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/showthread.php 195 build_forum_breadcrumb






Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Error befor save
Author Message
Doberman
Apprentice
*

Posts: 29
Likes Given: 2
Likes Received: 0 in 0 posts
Joined: May 2012
Reputation: 0



Post: #1
Error befor save
Hi!
After saving appears errors.
What is it?
Code:
ERROR:GC: 2 unplaced object deleted
ERROR:UID=04006e1f1, id=0eed 'gold coin', Invalid code=3202 (Object not placed in the world)
ERROR:'Feeblemind' Bad Link to 093911
ERROR:UID=04006d73e, id=04324 'Feeblemind', Invalid code=2205 (Mislinked item)
GC: 95017 Objects accounted for

ERROR:'Curse' Bad Link to 06cee8
ERROR:UID=04006d994, id=04655 'Curse', Invalid code=2205 (Mislinked item)
GC: 95011 Objects accounted for

Sphere 56d
10-13-2016 07:07 AM
Find all posts by this user Like Post Quote this message in a reply
Coruja
Sphere Developer
*****

Posts: 987
Likes Given: 5
Likes Received: 226 in 187 posts
Joined: Jul 2012
Reputation: 7

Dimension Shard

Post: #2
RE: Error befor save
there's nothing to worry, the "object not placed in world" means that an object got created but without get placed somewhere. So the object virtually "doesn't exist" and the server will remove it on worldsave. Usually its caused by scripts where you use SERV.NEWITEM but don't equip this created item on an char, don't bounce it to an container and don't place it on ground, so the object is created but still not placed on world

and the "mislinked item" error on spell memories usually occur when an NPC cast some spell that will add some effect on the target (eg: feeblemind, curse, bless, poison, etc) and later this NPC die. So the spell memory still equipped on the target but the caster NPC doesn't exist anymore, resulting the "mislinked item", where this memory will be removed on worldsave
10-13-2016 02:50 PM
Find all posts by this user Like Post Quote this message in a reply
Doberman
Apprentice
*

Posts: 29
Likes Given: 2
Likes Received: 0 in 0 posts
Joined: May 2012
Reputation: 0



Post: #3
RE: Error befor save
I"m understand, thank you.
10-13-2016 04:11 PM
Find all posts by this user Like Post Quote this message in a reply
darksun84
Sir Spamalot
****

Posts: 1,687
Likes Given: 245
Likes Received: 162 in 151 posts
Joined: Mar 2012
Reputation: 35



Post: #4
RE: Error befor save
(10-13-2016 02:50 PM)Coruja Wrote:  there's nothing to worry, the "object not placed in world" means that an object got created but without get placed somewhere. So the object virtually "doesn't exist" and the server will remove it on worldsave. Usually its caused by scripts where you use SERV.NEWITEM but don't equip this created item on an char, don't bounce it to an container and don't place it on ground, so the object is created but still not placed on world

and the "mislinked item" error on spell memories usually occur when an NPC cast some spell that will add some effect on the target (eg: feeblemind, curse, bless, poison, etc) and later this NPC die. So the spell memory still equipped on the target but the caster NPC doesn't exist anymore, resulting the "mislinked item", where this memory will be removed on worldsave

When an item is removed in that way (by worldsave), does the item still fire triggers like @Unequip, @Destroy and so on?
10-14-2016 01:56 AM
Find all posts by this user Like Post Quote this message in a reply
Coruja
Sphere Developer
*****

Posts: 987
Likes Given: 5
Likes Received: 226 in 187 posts
Joined: Jul 2012
Reputation: 7

Dimension Shard

Post: #5
RE: Error befor save
I never tested this, but maybe you can simulate this error to check if it call triggers before remove the item

Code:
[FUNCTION lol]
SERV.NEWITEM i_gold
NEW.EVENTS +e_test
SERV.SAVE

[EVENTS e_test]
ON=@Destroy
SERV.LOG Calling trigger @Destroy
10-14-2016 07:14 AM
Find all posts by this user Like Post Quote this message in a reply
darksun84
Sir Spamalot
****

Posts: 1,687
Likes Given: 245
Likes Received: 162 in 151 posts
Joined: Mar 2012
Reputation: 35



Post: #6
RE: Error befor save
Seems like is not fired, but i don't think it should be an issue.
10-19-2016 09:53 PM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)