First crash report in and it occurred during round_start. Possibly during a weapon purchase.
Code:
2021-04-03 04:47:30.554057] 3 call: 'OnGameFrame'. Line 37, D:\CSGO-WCS1\csgo\addons\smython\tools\fakeevents\playerweapons.py
2021-04-03 04:47:30.554057] 3 call: 'OnGameFrame'. Line 20, D:\CSGO-WCS1\csgo\addons\smython\tools\fakeevents\newevents.py
2021-04-03 04:47:30.554057] 5 call: 'can_buy'. Line 67, D:\CSGO-WCS1\csgo\addons\smython\hellz_admin\modules\defuse\defuse.py
2021-04-03 04:47:30.554057] 5 call: 'can_buy'. Line 41, D:\CSGO-WCS1\csgo\addons\smython\hellz_admin\modules\weaponbuying\weaponbuying.py
2021-04-03 04:47:30.554057] 5 call: 'can_buy'. Line 4033, D:\CSGO-WCS1\csgo\addons\smython\wcsp\wcsp.py
Code:
def client_command_listener(userid, cc):
if cc.cmd != "buy" or not userid.exists() or not cc.args:
return sm.REACT_CONTINUE
buying = cc.args[0].lower()
return can_buy({"userid":userid,"buying":buying})
def can_buy(ev):
if False in trigger_manager.fireEvent("trybuy", ev["userid"], (ev["userid"], ev["buying"])):
return sm.REACT_HANDLED
return sm.REACT_CONTINUE
If the next couple are in similar areas we can try to log the arguments being sent during the buy event to see if there is a correlation.