Closed Nord1cWarr1or closed 9 months ago
Does you map have a func_vehicle or func_plat? I've encountered a similar issue in version 1.7.1 CSWM code hooks PlaybackEvent and then tries to get a private data of invoker, implying that invoker would be a player. It leads to a crash PlaybackEvent Invoker is not always a player, it could be a vehicle or platform entities, etc. I think a solution would be to check if invoker is a valid player in the CSWM code
Does you map have a func_vehicle or func_plat? I've encountered a similar issue in version 1.7.1 CSWM code hooks PlaybackEvent and then tries to get a private data of invoker, implying that invoker would be a player. It leads to a crash PlaybackEvent Invoker is not always a player, it could be a vehicle or platform entities, etc. I think a solution would be to check if invoker is a valid player in the CSWM code
Thanks for ur answer. I checked the server logs at the time of the debug logs and yes - the maps at that time were with func_vehicle. I don't know much about programming, but I will try to follow your advice.
@PentalginPlus You were right. I solved the problem this way: https://github.com/Nord1cWarr1or/Amxx-Module-CSWM/commit/043592fa49ebaf5cc5e7a3bd7c9200541c57b6e5
The module crashes the server. I can provide debug log, server info and used cswm's plugin.
Plugin
Click
Debug log
Click
Server info
(Re)HLDS:
GameDLL:
MetaMod:
AmxModX version:
Meta & Amxx modules (CSWM is disabled because of crashes):
I hope this helps fix the problem