Server crashes when loading vmt file

Discussion in 'KZTimer & Other Plugins' started by ShawN [playitordie.eu], Apr 1, 2018.

  1. ShawN [playitordie.eu]

    ShawN [playitordie.eu] NEW

    Joined:
    Apr 1, 2018
    Messages:
    7
    Likes Received:
    0
    Hello everyone,
    I am using KZTimerGlobal on a Windows server. Everything is downloaded and uploaded properly and everything works well.
    However, once after some time (sometimes it is a few hours, sometimes it is even days) the server crashes with the following error:
    Code:
    04:39:27 CMaterial::PrecacheVars: error loading vmt file for models/kzmod/buttons/stand_button
    04:39:27 CMaterial::PrecacheVars: error loading vmt file for models/kzmod/buttons/stand_button
    04:39:27 CMaterial::PrecacheVars: error loading vmt file for models/kzmod/buttons/stand_button 
    Does somebody know how to fix it?
    Thanks in advance for every reply.
     
  2. ShawN [playitordie.eu]

    ShawN [playitordie.eu] NEW

    Joined:
    Apr 1, 2018
    Messages:
    7
    Likes Received:
    0
    Hey,
    so I tried to remove KZErrorBoxFixer due to errors above because the plugin was loading them. However, now I am getting similar errors and I have no idea from where it comes.
    Code:
    14:43:19 CMaterial::PrecacheVars: error loading vmt file for sprites/physring1
    14:43:19 CMaterial::PrecacheVars: error loading vmt file for sprites/physring1
    14:43:19 CMaterial::PrecacheVars: error loading vmt file for sprites/physring1 
    Thanks in advance anyone for help.
     
  3. sneaK

    sneaK CASUAL KZ Server Owner

    Joined:
    Feb 12, 2016
    Messages:
    57
    Likes Received:
    37
    As far as the original message: Are you sure you have all of the materials/models from the kztimer package in the proper directories?

    As far as the second message: my guess is that it's happening on [a] specific map(s), can you confirm?

    This kind of crash from what I've observed is a source engine bug, on level init textures are loaded, and for some reason if it fails to load one, sometimes it will just tank the entire server. Not all the time, but sometimes.

    It'd be helpful to install Accelerator and report back with links to any crash dumps you may get.
     
  4. ShawN [playitordie.eu]

    ShawN [playitordie.eu] NEW

    Joined:
    Apr 1, 2018
    Messages:
    7
    Likes Received:
    0
    Hello,
    I really appreciate your answer!
    However, everything is downloaded properly (my folders with models and materials look exactly same as on GitHub) and it is also not caused by a specific map. I once tried to load the same map after a crash and then it was loaded properly.
    So I will download the extension, what you have sent, and when it crashes again, I send the logs.
    Once again for your help!
     
  5. ShawN [playitordie.eu]

    ShawN [playitordie.eu] NEW

    Joined:
    Apr 1, 2018
    Messages:
    7
    Likes Received:
    0
  6. Sikari

    Sikari Yay for bugs! Staff Member KZGlobalAdmin Programmer

    Joined:
    Jul 31, 2016
    Messages:
    224
    Likes Received:
    355
    I dont think this is caused by KZTimer, but rather by other plugins you might run.

    If you have any plugins that are doing precaching later than OnMapStart that might cause the crash.

    Code:
    public void OnConfigsExecuted()
    {
       Precache();
    }
    
    should be...

    Code:
    public void OnMapStart()
    {
        Precache();
    }
     
  7. ShawN [playitordie.eu]

    ShawN [playitordie.eu] NEW

    Joined:
    Apr 1, 2018
    Messages:
    7
    Likes Received:
    0
    There is only KZTimer and SourceBans++. Nothing more in plugins.
     
  8. Sikari

    Sikari Yay for bugs! Staff Member KZGlobalAdmin Programmer

    Joined:
    Jul 31, 2016
    Messages:
    224
    Likes Received:
    355
  9. ShawN [playitordie.eu]

    ShawN [playitordie.eu] NEW

    Joined:
    Apr 1, 2018
    Messages:
    7
    Likes Received:
    0
    As I checked now, the plugin on the server has been compiled on 15.3.2018. So it looks it is very new.
     
  10. Zpamm

    Zpamm Hold Tight Staff Member KZGlobalAdmin

    Joined:
    Jan 15, 2016
    Messages:
    980
    Likes Received:
    1,010
  11. ShawN [playitordie.eu]

    ShawN [playitordie.eu] NEW

    Joined:
    Apr 1, 2018
    Messages:
    7
    Likes Received:
    0
    Okay, so I downloaded the last version and uploaded it to the server. Since it the server has not crashed. I will check if it happens again.
     

Share This Page