Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
Model Engine Model Engine
  • Project overview
    • Project overview
    • Details
    • Activity
  • Issues 34
    • Issues 34
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • MythicCraft
  • Model EngineModel Engine
  • Issues
  • #109

Closed
Open
Created Nov 27, 2024 by Ksewedo5@Ksewedo5

Incorrect functioning of ModelEngine with the Citizens2 plugin - Disappearing models, configuration not saving

I create a new NPC, add the trait parameter "meg_model," and assign it a model using the command ./meg npc. Everything seems normal, and the NPC model changes.

I noticed that changes in the "meg_model" parameter do not appear in the Citizens2 configuration. Despite this, the model displays correctly. Models start disappearing upon server restart or when leaving the map where the NPC is located. I can't pinpoint the exact moment when the models disappear. I should mention that there are already NPCs on the server, across different worlds, using the same models I intended to use, and they behave correctly.

I conducted a small experiment and changed the permissions of the Citizens2 configuration file to 444. It seems to have partially solved the problem... but it might just be a coincidence. I also tried transferring the "meg_model" parameter from other NPCs that use the same model. After some time, this parameter disappears from the configuration file!

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking