Raised This Month: $85 Target: $400
 21% 

L4D2 - The Last Stand Update - Issues and Bugs - Mega Thread


Post New Thread Reply   
 
Thread Tools Display Modes
Accelerator74
AlliedModders Donor
Join Date: Dec 2010
Location: Russia
Old 10-01-2020 , 05:33   Re: L4D2 - The Last Stand Update - Issues and Bugs - Mega Thread
Reply With Quote #201

Quote:
Originally Posted by Accelerator74 View Post
[...]
I am still getting server crashes due to these two functions...

Code:
server_srv.so CBasePlayer::AutoaimDeflection(Vector &,autoaim_params_t &) -> 0x774f26
server_srv.so CBasePlayer::GetAutoaimVector(autoaim_params_t &) -> 0x775555
[...]
They are associated with a weapon shot (FireBullets looking the stack). but I have nothing on the server related to shots. I ask for help.
I noticed that some players, when they play on the server, have autoaim enabled, which should only work on joysticks or in single game, judging by the ShouldAutoaim code.
Code:
[...]
L 10/01/2020 - 12:15:28: [plugin.smx] ########### ShouldAutoaim TRUE! neotron weapon_pistol
L 10/01/2020 - 12:15:28: [plugin.smx] ########### ShouldAutoaim TRUE! neotron weapon_pistol
L 10/01/2020 - 12:15:28: [plugin.smx] ########### ShouldAutoaim TRUE! neotron weapon_pistol
[...]
L 10/01/2020 - 12:15:29: [plugin.smx] ########### ShouldAutoaim TRUE! neotron weapon_autoshotgun
L 10/01/2020 - 12:15:29: [plugin.smx] ########### ShouldAutoaim TRUE! neotron weapon_autoshotgun
L 10/01/2020 - 12:15:29: [plugin.smx] ########### ShouldAutoaim TRUE! neotron weapon_autoshotgun
L 10/01/2020 - 12:15:56: [plugin.smx] ########### ShouldAutoaim TRUE! neotron weapon_adrenaline
L 10/01/2020 - 12:15:56: [plugin.smx] ########### ShouldAutoaim TRUE! neotron weapon_adrenaline
L 10/01/2020 - 12:15:56: [plugin.smx] ########### ShouldAutoaim TRUE! neotron weapon_adrenaline
[...]
L 10/01/2020 - 12:15:56: [plugin.smx] ########### ShouldAutoaim TRUE! neotron weapon_autoshotgun
L 10/01/2020 - 12:15:56: [plugin.smx] ########### ShouldAutoaim TRUE! neotron weapon_autoshotgun
L 10/01/2020 - 12:15:56: [plugin.smx] ########### ShouldAutoaim TRUE! neotron weapon_autoshotgun
[...]
L 10/01/2020 - 12:19:16: [plugin.smx] ########### ShouldAutoaim TRUE! STiV ™ 
L 10/01/2020 - 12:19:16: [plugin.smx] ########### ShouldAutoaim TRUE! STiV ™ weapon_pistol
[...]
L 10/01/2020 - 12:19:17: [plugin.smx] ########### ShouldAutoaim TRUE! STiV ™ weapon_pistol
L 10/01/2020 - 12:19:17: [plugin.smx] ########### ShouldAutoaim TRUE! STiV ™ weapon_pistol
I use this is the plugin I was testing with - https://pastebin.com/9hW4zVuq

With the plugin, the server remains stable, as it forcibly prohibits autoaim to players.
Perhaps this is a new exploit or is it a bug in the game code.
Maybe they are cheaters, I don’t know in general) But the fact is that only for some players, as I said, the function returns true.
__________________

Last edited by Accelerator74; 10-01-2020 at 05:54.
Accelerator74 is offline
Send a message via ICQ to Accelerator74
Dragokas
Veteran Member
Join Date: Nov 2017
Location: Ukraine
Old 10-01-2020 , 06:46   Re: L4D2 - The Last Stand Update - Issues and Bugs - Mega Thread
Reply With Quote #202

Quote:
Originally Posted by Accelerator
..., which should only work on joysticks or in single game, judging by the ShouldAutoaim code.
L4D2 version is more complicated than sample from SDK. Who knows... if only we could have access to headers with struct of CBasePlayer, which is also changed in Last Stand.

Spoiler


Thanks for sharing, and thanks to Silvers for blocking it.
__________________
Expert of CMD/VBS/VB6. Malware analyst. L4D fun (Bloody Witch)
[My plugins] [My tools] [GitHub] [Articles]

Last edited by Dragokas; 10-01-2020 at 06:46.
Dragokas is offline
Accelerator74
AlliedModders Donor
Join Date: Dec 2010
Location: Russia
Old 10-01-2020 , 06:52   Re: L4D2 - The Last Stand Update - Issues and Bugs - Mega Thread
Reply With Quote #203

Quote:
Originally Posted by Dragokas View Post
L4D2 version is more complicated than sample from SDK. Who knows... if only we could have access to headers with struct of CBasePlayer, which is also changed in Last Stand.

Thanks for sharing, and thanks to Silvers for blocking it.
It's just a stub.
__________________

Last edited by Accelerator74; 10-02-2020 at 01:05.
Accelerator74 is offline
Send a message via ICQ to Accelerator74
tRololo312312
Senior Member
Join Date: Apr 2015
Old 10-01-2020 , 08:14   Re: L4D2 - The Last Stand Update - Issues and Bugs - Mega Thread
Reply With Quote #204

Yes, cl_mouselook 0 enables autoaim. Pretty weird that valve didnt put that in their default 360controller.cfg.
tRololo312312 is offline
rtokuda
Member
Join Date: Dec 2019
Old 10-01-2020 , 08:26   Re: L4D2 - The Last Stand Update - Issues and Bugs - Mega Thread
Reply With Quote #205

Could someone compile Accelerator74's l4d2_bugfixes

https://github.com/Accelerator74/l4d2_bugfixes
rtokuda is offline
spumer
Senior Member
Join Date: Aug 2011
Old 10-01-2020 , 14:20   Re: L4D2 - The Last Stand Update - Issues and Bugs - Mega Thread
Reply With Quote #206

Quote:
Originally Posted by rtokuda View Post
Could someone compile Accelerator74's l4d2_bugfixes

https://github.com/Accelerator74/l4d2_bugfixes
Compiled for SM 1.6, but i think should work fine for new versions of SM too
Attached Files
File Type: so l4d2_bugfixes.ext.so (35.9 KB, 16 views)
__________________
spumer is offline
the_new_guy
New Member
Join Date: Oct 2020
Old 10-02-2020 , 00:17   Re: L4D2 - The Last Stand Update - Issues and Bugs - Mega Thread
Reply With Quote #207

Quote:
Originally Posted by asherkin View Post
SM's base plugins have no L4D2-specific behaviour in them, or anything else that could affect gameplay to that degree.
Thanks for the reply. would it be innapropriate to repost my full initial statment in my reply?
huh im not sure why this is occruring then. I have confirmed that it is sourcemod causing the issue or at least its base plugins by putting all plugins in disabled folder and then only enabling the basecommands.smx, which itmmediately triggers all the bugs i mentioned and then when i put it in disabled the bugs go away. so based on what you said there is nothing in the basecommands.smx that would have l4d2 relevant cvars, so it sounds like its really that eanbling sourcemod itslef by enabling that plugin causes the bugs?

Last edited by the_new_guy; 10-02-2020 at 00:19.
the_new_guy is offline
Dragokas
Veteran Member
Join Date: Nov 2017
Location: Ukraine
Old 10-02-2020 , 07:10   Re: L4D2 - The Last Stand Update - Issues and Bugs - Mega Thread
Reply With Quote #208

the_new_guy, basecommands is responsible for executing "sm_cvar" command, which is usually apply ConVar from your server.cfg. So, it's better start digging from partial removing contents of your server.cfg to figure out the problem.
__________________
Expert of CMD/VBS/VB6. Malware analyst. L4D fun (Bloody Witch)
[My plugins] [My tools] [GitHub] [Articles]
Dragokas is offline
strikeraot
Senior Member
Join Date: Dec 2018
Location: Viet Nam
Old 10-02-2020 , 12:27   Re: L4D2 - The Last Stand Update - Issues and Bugs - Mega Thread
Reply With Quote #209

Is the SM 1.11 overwritten the gamedata? I used sm 1.11 for a week and no random crashing for me but not sure if it is safe to use with this update or not
strikeraot is offline
asherkin
SourceMod Developer
Join Date: Aug 2009
Location: OnGameFrame()
Old 10-02-2020 , 12:46   Re: L4D2 - The Last Stand Update - Issues and Bugs - Mega Thread
Reply With Quote #210

Quote:
Originally Posted by strikeraot View Post
Is the SM 1.11 overwritten the gamedata? I used sm 1.11 for a week and no random crashing for me but not sure if it is safe to use with this update or not
Core gamedata updates are automatically pushed to supported branches of SourceMod, so 1.10 and 1.11 got the SM gamedata changes done by ProdigySim automatically shortly after the game update was released.
__________________
asherkin 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 12:32.


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