Raised This Month: $12 Target: $400
 3% 

Fix for random(?) crash on CSGO Update 02/06/2019


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
PerfectLaugh
Junior Member
Join Date: Oct 2014
Old 02-07-2019 , 16:33   Fix for random(?) crash on CSGO Update 02/06/2019
Reply With Quote #1

DEPRECATED: JUST UPDATE YOUR SERVER

Hey guys.
Maybe you have noticed that your server has some random(?) crashes since the latest update (02/08/2019 in UTC+8 )
I have disassembled a bit of dll and have some findings.
There's apparently an unchecked null-pointer usage on CCSPlayerInventory::GetItemInLoadout that trying to use an InventoryItem(?) (idk that classname).
Possibly related to this thread on Github
https://github.com/ValveSoftware/csg...ux/issues/1979
Anyway here's the plugin.
I have also included the linux plugin support. But without any guarantee

PS: And BTW. This plugin requires dhooks with detour support https://forums.alliedmods.net/showpo...&postcount=589
Attached Files
File Type: zip Crashfix_GetItemInLoadout.zip (7.8 KB, 357 views)

Last edited by PerfectLaugh; 02-08-2019 at 12:42. Reason: Add dependency
PerfectLaugh is offline
_GamerX
AlliedModders Donor
Join Date: Jun 2011
Location: Fun Server
Old 02-07-2019 , 19:16   Re: Fix for random(?) crash on CSGO Update 02/06/2019
Reply With Quote #2

hmmm i will test on linux
__________________
_GamerX is offline
Send a message via ICQ to _GamerX Send a message via Skype™ to _GamerX
Bad Cold Man
Senior Member
Join Date: Apr 2014
Old 02-08-2019 , 00:54   Re: Fix for random(?) crash on CSGO Update 02/06/2019
Reply With Quote #3

Quote:
Originally Posted by PerfectLaugh View Post
Hey guys.
Maybe you have noticed that your server has some random(?) crashes since the latest update (02/08/2019 in UTC+8 )
I have disassembled a bit of dll and have some findings.
There's apparently an unchecked null-pointer usage on CCSPlayerInventory::GetItemInLoadout that trying to use an InventoryItem(?) (idk that classname).
Possibly related to this thread on Github
https://github.com/ValveSoftware/csg...ux/issues/1979
Anyway here's the plugin.
I have also included the linux plugin support. But without any guarantee

PS: And BTW. This plugin requires dhooks with detour support https://forums.alliedmods.net/showpo...&postcount=589


Hi.

What is wrong?

Errors:
crashfix_getiteminloadout.smx (Crashfix GetItemInLoadout): Native "DHookCreateDetour" was not found
dhooks-test.smx: Native "DHookGetParamObjectPtrString" was not found

I've installed all but doesn't works.

Last edited by Bad Cold Man; 02-08-2019 at 00:54.
Bad Cold Man is offline
PerfectLaugh
Junior Member
Join Date: Oct 2014
Old 02-08-2019 , 00:56   Re: Fix for random(?) crash on CSGO Update 02/06/2019
Reply With Quote #4

Quote:
Originally Posted by Bad Cold Man View Post
Hi.

What is wrong?

Errors:
crashfix_getiteminloadout.smx (Crashfix GetItemInLoadout): Native "DHookCreateDetour" was not found
dhooks-test.smx: Native "DHookGetParamObjectPtrString" was not found

I've installed all but doesn't works.
PS: And BTW. This plugin requires dhooks with detour support https://forums.alliedmods.net/showpo...&postcount=589
You installed the dhooks without detour support

Last edited by PerfectLaugh; 02-08-2019 at 00:57.
PerfectLaugh is offline
Bad Cold Man
Senior Member
Join Date: Apr 2014
Old 02-08-2019 , 01:12   Re: Fix for random(?) crash on CSGO Update 02/06/2019
Reply With Quote #5

Quote:
Originally Posted by PerfectLaugh View Post
PS: And BTW. This plugin requires dhooks with detour support https://forums.alliedmods.net/showpo...&postcount=589
You installed the dhooks without detour support
Quote:
Originally Posted by Bad Cold Man View Post
Hi.

What is wrong?

Errors:
crashfix_getiteminloadout.smx (Crashfix GetItemInLoadout): Native "DHookCreateDetour" was not found
dhooks-test.smx: Native "DHookGetParamObjectPtrString" was not found

I've installed all but doesn't works.
Bad Cold Man is offline
PerfectLaugh
Junior Member
Join Date: Oct 2014
Old 02-08-2019 , 01:16   Re: Fix for random(?) crash on CSGO Update 02/06/2019
Reply With Quote #6

You've probably installed the normal dhooks version.
"DHooks with detour support" is on the link I just posted.
There are two dhooks version. Please make sure you installed it.
Or may you post the "sm exts list" to me?
PerfectLaugh is offline
Bad Cold Man
Senior Member
Join Date: Apr 2014
Old 02-08-2019 , 01:27   Re: Fix for random(?) crash on CSGO Update 02/06/2019
Reply With Quote #7

Quote:
Originally Posted by PerfectLaugh View Post
You've probably installed the normal dhooks version.
"DHooks with detour support" is on the link I just posted.
There are two dhooks version. Please make sure you installed it.
Or may you post the "sm exts list" to me?
I think need to wait feedback from other people (on linux) if they have not problem that is my bad.

[SM] Displaying 18 extensions:
[01] Accelerator (2.3.3): SRCDS Crash Handler
[02] Webternet (1.9.0.6275): Extension for interacting with URLs
[03] Blank Map Fix (1.0): Fixes server query showing a blank map when using hibernation + GOTV
[04] BanId Fix (1.0): Correcting 'Ghost players' error
[05] SDK Tools (1.9.0.6275): Source SDK Tools
[06] BinTools (1.9.0.6275): Low-level C/C++ Calling API
[07] CS Tools (1.9.0.6275): CS extended functionality
[08] SDK Hooks (1.9.0.6275): Source SDK Hooks
[09] Top Menus (1.9.0.6275): Creates sorted nested menus
[10] DHooks (1.0.13-alpha): Allows basic dynamic hooks
[11] Regex (1.9.0.6275): Provides regex natives for plugins
[12] SteamWorks Extension (1.2.2): Exposes SteamWorks functions to Developers
[13] PTaH (P Tools and Hooks) (1.0.9): Expanding sdkhooks and sdktools
[14] Client Preferences (1.9.0.6275): Saves client preference settings
[15] SQLite (1.9.0.6275): SQLite Driver
[16] Socket (3.0.1): Socket extension for SourceMod
[17] TAU LIB (1.4):
[18] MySQL-DBI (1.9.0.6275): MySQL driver implementation for DBI

Anyway thank you for support.

Last edited by Bad Cold Man; 02-08-2019 at 01:54.
Bad Cold Man is offline
SHUFEN
Senior Member
Join Date: Jun 2014
Location: Japan, Tokyo
Old 02-08-2019 , 05:35   Re: Fix for random(?) crash on CSGO Update 02/06/2019
Reply With Quote #8

This is not DHooks with "Detour supported edition"
Code:
[10] DHooks (1.0.13-alpha): Allows basic dynamic hooks
You need download an specific version from this link: https://forums.alliedmods.net/showpo...&postcount=589
And hit this attached file:



Quote:
Originally Posted by Bad Cold Man View Post
I think need to wait feedback from other people (on linux) if they have not problem that is my bad.

[SM] Displaying 18 extensions:
[01] Accelerator (2.3.3): SRCDS Crash Handler
[02] Webternet (1.9.0.6275): Extension for interacting with URLs
[03] Blank Map Fix (1.0): Fixes server query showing a blank map when using hibernation + GOTV
[04] BanId Fix (1.0): Correcting 'Ghost players' error
[05] SDK Tools (1.9.0.6275): Source SDK Tools
[06] BinTools (1.9.0.6275): Low-level C/C++ Calling API
[07] CS Tools (1.9.0.6275): CS extended functionality
[08] SDK Hooks (1.9.0.6275): Source SDK Hooks
[09] Top Menus (1.9.0.6275): Creates sorted nested menus
[10] DHooks (1.0.13-alpha): Allows basic dynamic hooks
[11] Regex (1.9.0.6275): Provides regex natives for plugins
[12] SteamWorks Extension (1.2.2): Exposes SteamWorks functions to Developers
[13] PTaH (P Tools and Hooks) (1.0.9): Expanding sdkhooks and sdktools
[14] Client Preferences (1.9.0.6275): Saves client preference settings
[15] SQLite (1.9.0.6275): SQLite Driver
[16] Socket (3.0.1): Socket extension for SourceMod
[17] TAU LIB (1.4):
[18] MySQL-DBI (1.9.0.6275): MySQL driver implementation for DBI

Anyway thank you for support.
SHUFEN is offline
Send a message via Skype™ to SHUFEN
Bad Cold Man
Senior Member
Join Date: Apr 2014
Old 02-08-2019 , 07:34   Re: Fix for random(?) crash on CSGO Update 02/06/2019
Reply With Quote #9

Quote:
Originally Posted by SHUFEN.jp View Post
This is not DHooks with "Detour supported edition"
Code:
[10] DHooks (1.0.13-alpha): Allows basic dynamic hooks
You need download an specific version from this link: https://forums.alliedmods.net/showpo...&postcount=589
And hit this attached file:
Thank you. I aready did it:



Quote:
Originally Posted by Bad Cold Man View Post
Hi.

What is wrong?

Errors:
crashfix_getiteminloadout.smx (Crashfix GetItemInLoadout): Native "DHookCreateDetour" was not found
dhooks-test.smx: Native "DHookGetParamObjectPtrString" was not found

I've installed all but doesn't works.
Also I've install that on my test windows server and there I have same problem.

Last edited by Bad Cold Man; 02-08-2019 at 07:55.
Bad Cold Man is offline
PerfectLaugh
Junior Member
Join Date: Oct 2014
Old 02-08-2019 , 08:04   Re: Fix for random(?) crash on CSGO Update 02/06/2019
Reply With Quote #10

Quote:
Originally Posted by Bad Cold Man View Post
Thank you. I aready did it:





Also I've install that on my test windows server and there I have same problem.
...
PerfectLaugh is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 02:26.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode