AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Extensions (https://forums.alliedmods.net/forumdisplay.php?f=134)
-   -   DHooks (Dynamic Hooks - Dev Preview) (https://forums.alliedmods.net/showthread.php?t=180114)

Peace-Maker 10-25-2020 10:42

Re: DHooks (Dynamic Hooks - Dev Preview)
 
Quote:

Originally Posted by Shadowysn (Post 2722433)
Whenever I try to compile, I get these errors from the .inc file.

You can replace all occurences of "GameData" with "Handle" in the file to compile with pre 1.10 includes.

Mi.Cura 10-28-2020 18:24

Re: DHooks (Dynamic Hooks - Dev Preview)
 
Someone could help, I'm getting this error in the log, but I don't know why.


L 10/28/2020 - 15:47:16: SourceMod error session started
L 10/28/2020 - 15:47:16: Info (map "c5m1_waterfront") (file "d:\tcafiles\users\scotts1\41067\left4dea d2\a ddons\sourcemod\logs\errors_20201028.log")
L 10/28/2020 - 15:47:16: [SM] Exception reported: Failed to get CreateInterface
L 10/28/2020 - 15:47:16: [SM] Blaming: dhooks-test.smx
L 10/28/2020 - 15:47:16: [SM] Call stack trace:
L 10/28/2020 - 15:47:16: [SM] [0] SetFailState
L 10/28/2020 - 15:47:16: [SM] [1] Line 100, C:\Users\Jannik\Documents\GitHub\DHooks2\buil d\package\addons\sourcemod\scripting\dhooks-test.sp::OnPluginStart
L 10/28/2020 - 15:47:16: [SM] Unable to load plugin "dhooks-test.smx": Error detected in plugin startup (see error logs)

Peace-Maker 10-28-2020 19:42

Re: DHooks (Dynamic Hooks - Dev Preview)
 
Quote:

Originally Posted by Mi.Cura (Post 2722908)
Someone could help, I'm getting this error in the log, but I don't know why.


L 10/28/2020 - 15:47:16: SourceMod error session started
L 10/28/2020 - 15:47:16: Info (map "c5m1_waterfront") (file "d:\tcafiles\users\scotts1\41067\left4dea d2\a ddons\sourcemod\logs\errors_20201028.log")
L 10/28/2020 - 15:47:16: [SM] Exception reported: Failed to get CreateInterface
L 10/28/2020 - 15:47:16: [SM] Blaming: dhooks-test.smx
L 10/28/2020 - 15:47:16: [SM] Call stack trace:
L 10/28/2020 - 15:47:16: [SM] [0] SetFailState
L 10/28/2020 - 15:47:16: [SM] [1] Line 100, C:\Users\Jannik\Documents\GitHub\DHooks2\buil d\package\addons\sourcemod\scripting\dhooks-test.sp::OnPluginStart
L 10/28/2020 - 15:47:16: [SM] Unable to load plugin "dhooks-test.smx": Error detected in plugin startup (see error logs)

https://forums.alliedmods.net/showth...74#post2442574
https://forums.alliedmods.net/showth...34#post2616934
https://forums.alliedmods.net/showth...71#post2605671

Quote:

Originally Posted by asherkin (Post 2605687)
That is expected, it is a code sample of the DHooks API and does not contain up-to-date gamedata for every game. You should not be trying to load it.


micapat 11-22-2020 17:25

Re: DHooks (Dynamic Hooks - Dev Preview)
 
Hello,

DHookReturn seems to have an issue (SourceMod 1.10).
I'm doing something like:

PHP Code:

public MRESReturn X(int pThisDHookReturn dynamicHookReturn)
{
    
dynamicHookReturn.Value.set(3);


And I get:

HTML Code:

error 104: cannot find any methods for any
warning 215: expression has no effect
error 001: expected token: ";", but found ")"
error 029: invalid expression, assumed zero
fatal error 190: too many error messages on one line


asherkin 11-22-2020 17:29

Re: DHooks (Dynamic Hooks - Dev Preview)
 
Your code is wrong:

PHP Code:

public MRESReturn X(int pThisDHookReturn dynamicHookReturn)
{
    
dynamicHookReturn.Value 3;



micapat 11-22-2020 17:33

Re: DHooks (Dynamic Hooks - Dev Preview)
 
Oh ok, working now. Sweet :bee:.

Mi.Cura 12-03-2020 11:50

Re: DHooks (Dynamic Hooks - Dev Preview)
 
L 12/03/2020 - 13:14:07: SourceMod error session started
L 12/03/2020 - 13:14:07: Info (map "c5m1_waterfront") (file "d:\tcafiles\users\sergiok\34149\left4dead2\a ddons\sourcemod\logs\errors_20201203.log")
L 12/03/2020 - 13:14:07: [left4dhooks.smx] Failed to find signature: ForceNextStage
L 12/03/2020 - 13:16:13: Error log file session closed.

Psyk0tik 12-03-2020 11:58

Re: DHooks (Dynamic Hooks - Dev Preview)
 
Quote:

Originally Posted by Mi.Cura (Post 2727186)
L 12/03/2020 - 13:14:07: SourceMod error session started
L 12/03/2020 - 13:14:07: Info (map "c5m1_waterfront") (file "d:\tcafiles\users\sergiok\34149\left4dead2\a ddons\sourcemod\logs\errors_20201203.log")
L 12/03/2020 - 13:14:07: [left4dhooks.smx] Failed to find signature: ForceNextStage
L 12/03/2020 - 13:16:13: Error log file session closed.

That error is coming from Left 4 DHooks because the latest L4D2 update broke some signatures. DHooks itself has nothing to do with this.

Tenchuu1987 12-06-2020 04:35

Re: DHooks (Dynamic Hooks - Dev Preview)
 
Hello,

i got some error if i use my knife ... the server is just crashing ...

Quote:

L 12/06/2020 - 10:22:43: SourceMod error session started
L 12/06/2020 - 10:22:43: Info (map "de_dust2") (file "C:\SteamCMD\csgo_server\csgo\addons\sourcemo d\logs\errors_20201206.log")
L 12/06/2020 - 10:22:43: [DHOOKS] FATAL: Failed to find return address of original function. Check the arguments and return type of your detour setup.
L 12/06/2020 - 10:29:29: SourceMod error session started
L 12/06/2020 - 10:29:29: Info (map "de_dust2") (file "C:\SteamCMD\csgo_server\csgo\addons\sourcemo d\logs\errors_20201206.log")
L 12/06/2020 - 10:29:29: [DHOOKS] FATAL: Failed to find return address of original function. Check the arguments and return type of your detour setup.
This is the error log ...

Plugins :

Quote:

[SM] Listing 30 plugins:
01 "Admin File Reader" (1.10.0.6501) by AlliedModders LLC
02 "SQL Admins (Threaded)" (1.10.0.6501) by AlliedModders LLC
03 "Admin Help" (1.10.0.6501) by AlliedModders LLC
04 "Admin Menu" (1.10.0.6501) by AlliedModders LLC
05 "Advertisements" (2.1.0) by Tsunami
06 "Anti-Flood" (1.10.0.6501) by AlliedModders LLC
07 "AutoExecConfig Testsuite" (0.1.5) by Impact
08 "Basic Ban Commands" (1.10.0.6501) by AlliedModders LLC
09 "Basic Chat" (1.10.0.6501) by AlliedModders LLC
10 "Basic Comm Control" (1.10.0.6501) by AlliedModders LLC
11 "Basic Commands" (1.10.0.6501) by AlliedModders LLC
12 "Basic Info Triggers" (1.10.0.6501) by AlliedModders LLC
13 "Basic Votes" (1.10.0.6501) by AlliedModders LLC
14 "Client Preferences" (1.10.0.6501) by AlliedModders LLC
15 "constraints.smx"
16 "[CS:GO] Deathmatch" (2.1.0) by Maxximou5
17 "Fun Commands" (1.10.0.6501) by AlliedModders LLC
18 "Fun Votes" (1.10.0.6501) by AlliedModders LLC
19 "LagCompensation" (1.0.4) by BotoX
20 "Nextmap" (1.10.0.6501) by AlliedModders LLC
21 "Player Commands" (1.10.0.6501) by AlliedModders LLC
22 "Reserved Slots" (1.10.0.6501) by AlliedModders LLC
23 "Say Sounds (including Hybrid Edition)" (4.0.8) by Hell Phoenix|Naris|FernFerret|Uberman|psychonic|ed gecom|woody|Miraculix|gH0sTy
24 "Block SM Plugins" (1.0.0) by Bara
25 "SimpleGDPRCompliance" (1.0) by Sarrus
26 "SMACBANS: Block" (0.2.0) by SMACBANS Team
27 "Sound Commands" (1.10.0.6501) by AlliedModders LLC
28 "SQL Admin Manager" (1.10.0.6501) by AlliedModders LLC
29 "Updater" (1.2.2) by GoD-Tony
30 "vphysics.smx"
Extensions :

Quote:

[SM] Displaying 19 extensions:
[01] Automatic Updater (1.10.0.6501): Updates SourceMod gamedata files
[02] Webternet (1.10.0.6501): Extension for interacting with URLs
[03] CS Tools (1.10.0.6501): CS extended functionality
[04] BinTools (1.10.0.6501): Low-level C/C++ Calling API
[05] SDK Tools (1.10.0.6501): Source SDK Tools
[06] Top Menus (1.10.0.6501): Creates sorted nested menus
[07] Client Preferences (1.10.0.6501): Saves client preference settings
[08] MySQL-DBI (1.10.0.6501): MySQL driver implementation for DBI
[09] VPhysics (1.0.0): Source VPhysics Tools
[10] SDK Hooks (1.10.0.6501): Source SDK Hooks
[11] PhysHooks (1.0): Hooks, forwards and natives for LagCompensation, etc.
[12] DHooks (2.2.0-detours15): Dynamic Hooks
[13] Sound Info Library (1.0): Access information of sound files
[14] PTaH (1.1.3): Additional CS:GO Hooks and Natives
[15] cURL Extension (1.3.0.0): cURL Extension
[16] Regex (1.10.0.6501): Provides regex natives for plugins
[17] Socket (3.0.1): Socket extension for SourceMod
[18] <OPTIONAL> file "steamtools.ext.dll": Das angegebene Modul wurde nicht gefunden.
Meta :

Quote:

Listing 8 plugins:
[01] SourceMod (1.10.0.6501) by AlliedModders LLC
[02] CS Tools (1.10.0.6501) by AlliedModders LLC
[03] SDK Tools (1.10.0.6501) by AlliedModders LLC
[04] VPhysics (1.0.0) by Asher Baker (asherkin)
[05] SDK Hooks (1.10.0.6501) by AlliedModders LLC
[06] PhysHooks (1.0) by BotoX
[07] DHooks (2.2.0-detours15) by Dr!fter
[08] PTaH (1.1.3) by Phoenix (╦Ö╬ç┘áÔùÅðñðÁð¢ð©ð║ÐüÔùÅ┘á╬ç╦Ö)

ttfak12 12-23-2020 21:51

Re: DHooks (Dynamic Hooks - Dev Preview)
 
L 12/24/2020 - 10:48:04: [left4dhooks.smx] Failed to find signature: ForceNextStage


All times are GMT -4. The time now is 21:14.

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