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] TruckersMP Developer

    Joined:
    Apr 1, 2018
    Messages:
    8
    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] TruckersMP Developer

    Joined:
    Apr 1, 2018
    Messages:
    8
    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] TruckersMP Developer

    Joined:
    Apr 1, 2018
    Messages:
    8
    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] TruckersMP Developer

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

    Sikari Yay for bugs! Staff Member KZGlobalAdmin Programmer

    Joined:
    Jul 31, 2016
    Messages:
    228
    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] TruckersMP Developer

    Joined:
    Apr 1, 2018
    Messages:
    8
    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:
    228
    Likes Received:
    355
  9. ShawN [playitordie.eu]

    ShawN [playitordie.eu] TruckersMP Developer

    Joined:
    Apr 1, 2018
    Messages:
    8
    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:
    1,293
    Likes Received:
    1,034
  11. ShawN [playitordie.eu]

    ShawN [playitordie.eu] TruckersMP Developer

    Joined:
    Apr 1, 2018
    Messages:
    8
    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.
     
  12. ShawN [playitordie.eu]

    ShawN [playitordie.eu] TruckersMP Developer

    Joined:
    Apr 1, 2018
    Messages:
    8
    Likes Received:
    0
    Hello,
    so I am still facing this problem. However, it crashes only like once per 2 weeks.
    I am adding 5 last crash dumps.
    Code:
    Uploaded crash dump: Crash ID: GQMD-RYU3-JGPI
    Uploaded crash dump: Crash ID: WEHY-23PU-ZBEE
    Uploaded crash dump: Crash ID: 7WDA-Q7AV-2TI6
    Uploaded crash dump: Crash ID: WDIT-6WH6-LLTM
    Uploaded crash dump: Crash ID: FVQC-MINW-RHAS
    
    And in error logs there is only one problem. But it does not cause crashes since it is there many times.
    Code:
    L 06/23/2018 - 01:17:40: [SM] Exception reported: Array index is out of bounds
    L 06/23/2018 - 01:17:40: [SM] Blaming: KZTimerGlobal.smx
    L 06/23/2018 - 01:17:40: [SM] Call stack trace:
    L 06/23/2018 - 01:17:40: [SM]   [1] Line 627, kztimerGlobal/jumpstats.sp::postthink
    L 06/23/2018 - 01:17:40: [SM]   [2] Line 1001, kztimerGlobal/hooks.sp::OnPlayerRunCmd
    
    Thanks in advance for your help!
     
  13. PlastiS

    PlastiS 一番 Video Editor Pro Player

    Joined:
    Dec 29, 2015
    Messages:
    411
    Likes Received:
    388
    If you want quicker responses you might want to ask in the discord under #Support
    https://discord.gg/csgokz
     

Share This Page