View Single Post
Xutax_Kamay
Member
Join Date: Feb 2016
Old 04-09-2019 , 16:33   Re: [CS:GO] fire bullet fix (hit registration fix plugin)
Reply With Quote #13

Quote:
Originally Posted by Ilusion9 View Post
yeah, i'm running plugins with -insecure on the local server from the csgo client.
S̶e̶e̶m̶s̶ ̶l̶i̶k̶e̶ ̶I̶ ̶c̶a̶n̶'̶t̶ ̶g̶e̶t̶ ̶i̶t̶ ̶w̶o̶r̶k̶i̶n̶g̶,̶ ̶I̶ ̶w̶o̶n̶d̶e̶r̶ ̶w̶h̶y̶,̶ ̶a̶r̶e̶ ̶y̶o̶u̶ ̶d̶o̶i̶n̶g̶ ̶s̶o̶m̶e̶t̶h̶i̶n̶g̶ ̶e̶l̶s̶e̶ ̶i̶n̶ ̶o̶r̶d̶e̶r̶ ̶t̶o̶ ̶m̶a̶k̶e̶ ̶i̶t̶ ̶l̶o̶a̶d̶?̶ ̶(̶I̶ ̶w̶o̶u̶l̶d̶ ̶j̶u̶s̶t̶ ̶b̶y̶t̶e̶p̶a̶t̶c̶h̶ ̶t̶h̶e̶ ̶e̶n̶g̶i̶n̶e̶ ̶b̶u̶t̶ ̶y̶e̶a̶h̶,̶ ̶n̶o̶)̶

EDIT: it actually works on windows, but not on linux.

I got a lot of problems hooking the firebullets functions on csgo. The calling convention is uh.. Well, it's right but the windows arguments are totally not the same as linux, so to make it portable and the easiest possible, I need to find a new way (wich I already did) but needs testing. The idea is to hook WeaponShootPosition vtable from player class. It should work pretty good. (so it can be done under sourcemod, I'll give a try)

Last edited by Xutax_Kamay; 04-10-2019 at 00:02.
Xutax_Kamay is offline