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

[L4D & L4D2] Left 4 DHooks Direct (1.146) [21-Apr-2024]


Post New Thread Reply   
 
Thread Tools Display Modes
Dominatez
Senior Member
Join Date: Oct 2009
Location: Birmingham, UK
Old 11-06-2022 , 18:17   Re: [L4D & L4D2] Left 4 DHooks Direct (1.121) [06-Nov-2022]
Reply With Quote #791

I am getting this since the update (L4D1).

Code:
[SM] Unable to load plugin "left4dhooks.smx": Native "DHookParam.GetAddress" was not found
Dominatez is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 11-06-2022 , 20:31   Re: [L4D & L4D2] Left 4 DHooks Direct (1.121) [06-Nov-2022]
Reply With Quote #792

SourceMod 1.11?
__________________
Silvers is offline
Dominatez
Senior Member
Join Date: Oct 2009
Location: Birmingham, UK
Old 11-07-2022 , 03:19   Re: [L4D & L4D2] Left 4 DHooks Direct (1.121) [06-Nov-2022]
Reply With Quote #793

Quote:
Originally Posted by Silvers View Post
SourceMod 1.11?
I am using

MetaMod:Source v1.11.0-dev+1148V, SourceMod v1.11.0.6910
Dominatez is offline
HarryPotter
Veteran Member
Join Date: Sep 2017
Location: Taiwan, Asia
Old 11-07-2022 , 03:31   Re: [L4D & L4D2] Left 4 DHooks Direct (1.121) [06-Nov-2022]
Reply With Quote #794

Quote:
Originally Posted by Dominatez View Post
I am getting this since the update (L4D1).

Code:
[SM] Unable to load plugin "left4dhooks.smx": Native "DHookParam.GetAddress" was not found
I don't have this error in l4d1, can you type in server console?

PHP Code:
sm version 
PHP Code:
sm exts list 
__________________
HarryPotter is offline
Dominatez
Senior Member
Join Date: Oct 2009
Location: Birmingham, UK
Old 11-07-2022 , 12:44   Re: [L4D & L4D2] Left 4 DHooks Direct (1.121) [06-Nov-2022]
Reply With Quote #795

Code:
sm version  
SourceMod Version Information:
SourceMod Version: 1.11.0.6910
SourcePawn Engine: 1.11.0.6910, jit-x86 (build 1.11.0.6910)
SourcePawn API: v1 = 5, v2 = 16
Compiled on: Aug  6 2022 16:24:51
Built from: https://github.com/alliedmodders/sourcemod/commit/c6de1d6e
Build ID: 6910:c6de1d6e
http://www.sourcemod.net/

sm exts list  
[SM] Displaying 11 extensions:
[01] Automatic Updater (1.11.0.6910): Updates SourceMod gamedata files
[02] Webternet (1.11.0.6910): Extension for interacting with URLs
[03] SDK Hooks (1.11.0.6910): Source SDK Hooks
[04] BinTools (1.11.0.6910): Low-level C/C++ Calling API
[05] SDK Tools (1.11.0.6910): Source SDK Tools
[06] Top Menus (1.11.0.6910): Creates sorted nested menus
[07] DHooks (2.2.0-detours17): Dynamic Hooks
[08] Client Preferences (1.11.0.6910): Saves client preference settings
[09] SQLite (1.11.0.6910): SQLite Driver
[10] GeoIP (1.11.0.6910): Geographical IP information
[11] MySQL-DBI (1.11.0.6910): MySQL driver implementation for DBI
Quote:
Originally Posted by HarryPotter View Post
I don't have this error in l4d1, can you type in server console?

PHP Code:
sm version 
PHP Code:
sm exts list 
Dominatez is offline
HarryPotter
Veteran Member
Join Date: Sep 2017
Location: Taiwan, Asia
Old 11-07-2022 , 14:07   Re: [L4D & L4D2] Left 4 DHooks Direct (1.121) [06-Nov-2022]
Reply With Quote #796

Quote:
Originally Posted by Dominatez View Post
[07] DHooks (2.2.0-detours17): Dynamic Hooks
Remove DHooks (2.2.0-detours17), and use dhoost from sourcemod v1.11

PHP Code:
DHooks (1.11.0.6910): Dynamic Hooks 
Quote:
DHooks is now included in SourceMod 1.11.6820. This repository is archived and discontinued.
__________________

Last edited by HarryPotter; 11-07-2022 at 14:09.
HarryPotter is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 11-15-2022 , 08:21   Re: [L4D & L4D2] Left 4 DHooks Direct (1.122) [15-Nov-2022]
Reply With Quote #797

Code:
1.122 (15-Nov-2022)
    - Added native "Left4DHooks_Version" to get the Left4DHooks plugin version.
    - Fixed native "L4D2_SpitterPrj" not playing any acid damage sounds if the attacker index was 0.
    - Fixed forwards "L4D_OnGetCrouchTopSpeed", "L4D_OnGetWalkTopSpeed" and "L4D_OnGetRunTopSpeed" from throwing client not in game errors. Thanks to "Eärendil" for reporting.

    - Updated: Plugin and test plugin.
    - Updated: "left4dhooks.inc" Include file.
    - Updated: "/scripting/l4dd/l4dd_forwards.sp" project file.
    - Updated: "/scripting/l4dd/l4dd_natives.sp" project file.
    - Updated: "/scripting/l4dd/l4dd_setup.sp" project file.
__________________
Silvers is offline
LinLinLin
Senior Member
Join Date: Sep 2021
Old 11-17-2022 , 02:50   Re: [L4D & L4D2] Left 4 DHooks Direct (1.122) [15-Nov-2022]
Reply With Quote #798

hi, are you interesting in adding a func about this ?

Code:
"CTerrorPlayer::IsShoving"
{
	"library"	"server"
	"linux"		"@_ZNK13CTerrorPlayer9IsShovingEv"
}
it detects the survivor is shoving or not, maybe helpful to do some work.
I don't know how to find the signature in windows, it looks too difficult for me.

Last edited by LinLinLin; 11-17-2022 at 02:50.
LinLinLin is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 11-17-2022 , 05:39   Re: [L4D & L4D2] Left 4 DHooks Direct (1.122) [15-Nov-2022]
Reply With Quote #799

Quote:
Originally Posted by LinLinLin View Post
hi, are you interesting in adding a func about this ?

Code:
"CTerrorPlayer::IsShoving"
{
	"library"	"server"
	"linux"		"@_ZNK13CTerrorPlayer9IsShovingEv"
}
it detects the survivor is shoving or not, maybe helpful to do some work.
I don't know how to find the signature in windows, it looks too difficult for me.
You could probably check the netprop "m_flNextShoveTime" > GetGameTime() although I don't know if that gets set in other situations to block shoving. Could look at the Shove Handler plugin I wrote. What's the use case of this?
__________________
Silvers is offline
LinLinLin
Senior Member
Join Date: Sep 2021
Old 11-17-2022 , 21:24   Re: [L4D & L4D2] Left 4 DHooks Direct (1.122) [15-Nov-2022]
Reply With Quote #800

A friend said to me that he found a server which can stagger survivor by his teammate. He said that if survivor can defend themself by shoving back to the attacker or even push the attacker conversely, it would look pretty fun.
So i want to write this plugin about this.
LinLinLin is offline
Reply



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 00:44.


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