Crystal icon indicating copy to clipboard operation
Crystal copied to clipboard

Script & NPC Indexes

Open EliteMir opened this issue 2 years ago • 2 comments

If you delete an NPC, this will indefinitely attempt to load the scripts even though they no longer exist.

Example (I added debugging to identify the script ID) 377 - 380 are deleted NPCs.

[27/02/2023 08:07:34]: Script Not Found - Filename: Type: Normal, ScriptID: 377 [27/02/2023 08:07:34]: Script Not Found - Filename: Type: Normal, ScriptID: 378 [27/02/2023 08:07:34]: Script Not Found - Filename: Type: Normal, ScriptID: 379 [27/02/2023 08:07:34]: Script Not Found - Filename: Type: Normal, ScriptID: 380

EliteMir avatar Feb 27 '23 13:02 EliteMir

Don't understand. You deleted an NPC script and are questioning why it's reporting the script is missing?

None of those logs look to be repeated

Suprcode avatar Feb 27 '23 13:02 Suprcode

Don't understand. You deleted an NPC script and are questioning why it's reporting the script is missing?

None of those logs look to be repeated

NPC 100 NPC 101 << gets deleted NPC 102

^^ Server will forever post 'Script Not Found' on start up, even though the NPC no longer exists in the DB and you cannot stop it.

EliteMir avatar Feb 28 '23 09:02 EliteMir