Raised This Month: $45 Target: $400
 11% 

DHooks (Dynamic Hooks - Dev Preview)


Post New Thread Reply   
 
Thread Tools Display Modes
nosoop
Veteran Member
Join Date: Aug 2014
Old 11-28-2021 , 10:11   Re: DHooks (Dynamic Hooks - Dev Preview)
Reply With Quote #871

Quote:
Originally Posted by Chdata View Post
My offsets seem to be correct according to the vtable dumper.
The binaries on the vtable dumper are from October; there was a breaking change in the CBaseEntity vtable in the middle of November.

The correct offsets for CBaseEntity::IsDeflectable() are 155 on Windows and 156 on Linux / Mac.
__________________
I do TF2, TF2 servers, and TF2 plugins.
I don't do DMs over Discord -- PM me on the forums regarding inquiries.
AlliedModders Releases / Github / TF2 Server / Donate (BTC / BCH / coffee)

Last edited by nosoop; 11-28-2021 at 10:13.
nosoop is offline
paulo_crash
AlliedModders Donor
Join Date: May 2016
Location: Brazil
Old 11-28-2021 , 11:25   Re: DHooks (Dynamic Hooks - Dev Preview)
Reply With Quote #872

Quote:
Originally Posted by Chdata View Post
Has there been some sort of breaking change with this transition?

An old plugin of mines that used to work seems to be causing crashes now.
Quote:
Originally Posted by Peace-Maker View Post
DHooks is now included with SourceMod 1.11.6820. Previous versions are unsupported.


Please use SourceMod's issue tracker on GitHub for any new issues.


The merged version includes additional changes that weren't released in a new version yet.
Changelog 1.11.6820:
  • Added new native "DHookParam.GetAddress" to get the address of a pointer parameter. (Thanks LuqS #24)
  • Fix error reporting on invalid entity (Thanks FortyTwoFortyTwo #25)
paulo_crash is offline
Chdata
Veteran Member
Join Date: Aug 2012
Location: Computer Chair, Illinois
Old 11-28-2021 , 15:44   Re: DHooks (Dynamic Hooks - Dev Preview)
Reply With Quote #873

Quote:
Originally Posted by nosoop View Post
The binaries on the vtable dumper are from October; there was a breaking change in the CBaseEntity vtable in the middle of November.

The correct offsets for CBaseEntity::IsDeflectable() are 155 on Windows and 156 on Linux / Mac.
Interesting, I didn't think it'd end up out-of-date for so long for some reason.

Then what does redownloading the server binary on that site every time actually do? XD

Quote:
Originally Posted by paulo_crash View Post
snip
Thanks, but I already read the front page. That doesn't tell me anything.

The two things you quoted aren't listed as breaking changes and I don't think it'd be appropriate for me to make a GitHub issue about my side plugin?

Come to think of it I don't have reason to conclude whether or not the crashing is specifically because of my plugin, or something with DHooks when my plugin runs, but I think I do have at least one other DHooks plugin that is fine... maybe. I forget if I was using DHooks for anything else at all that could tell me where the problem is fully isolated to.


edit: Tried the updated offsets nosoop posted, now my plugin works fine. I guess it was just that lol.
__________________

Last edited by Chdata; 11-28-2021 at 16:01.
Chdata is offline
NoroHime
Senior Member
Join Date: Aug 2016
Old 01-05-2022 , 07:57   Re: DHooks (Dynamic Hooks - Dev Preview)
Reply With Quote #874

Dhooks included sm1.11.6820?
im running 1.11.0.6825
does i need change reference or recompile?
Code:
] sm version
 SourceMod Version Information:
    SourceMod Version: 1.11.0.6825
    SourcePawn Engine: 1.11.0.6825, jit-x86 (build 1.11.0.6825)
    SourcePawn API: v1 = 5, v2 = 16
    Compiled on: Nov 23 2021 07:40:46
    Built from: https://github.com/alliedmodders/sourcemod/commit/4e3df763
    Build ID: 6825:4e3df763
    http://www.sourcemod.net/
__________________
receiver from chi

Last edited by NoroHime; 01-05-2022 at 08:09.
NoroHime 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 09:35.


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