Rules
FAQ
Members List
Search
Register
Login
Raised This Month: $51
Target: $400
12%
Search Forums
Show Threads
Show Posts
Advanced Search
Go to Page...
Showing results 1 to 11 of 11
Search took
0.00
seconds.
Search:
Posts Made By:
Addie
Forum:
Extensions
11-18-2019, 10:20
Replies:
883
DHooks (Dynamic Hooks - Dev Preview)
Views:
701,405
Posted By
Addie
Re: DHooks (Dynamic Hooks - Dev Preview)
I'm messing up strings somewhere, both szParticleName and szAttachmentName always comes up empty. Any ideas? The rest work fine.
Function being hooked (from particle_parse.cpp...
Forum:
Extensions
07-08-2019, 22:33
Replies:
883
DHooks (Dynamic Hooks - Dev Preview)
Views:
701,405
Posted By
Addie
Re: DHooks (Dynamic Hooks - Dev Preview)
I'm pretty sure yes. With my detour still active, I hooked UTIL_VarArgs("kickid %d\n", int) as well, which is a unique call done by Bot_RunAll(), it fired normally.
Apologies, my only reason...
Forum:
Extensions
07-08-2019, 00:25
Replies:
883
DHooks (Dynamic Hooks - Dev Preview)
Views:
701,405
Posted By
Addie
Re: DHooks (Dynamic Hooks - Dev Preview)
I am having issues with the experimental detours branch.
Game is No More Room in Hell and I'm returning MRES_Supercede on a void function.
void __cdecl Bot_RunAll( void )
The detour fires, but...
Forum:
Scripting
07-07-2019, 22:51
Replies:
4
[NMRiH/Any] DHooks with detours not superseding function
Views:
2,687
Posted By
Addie
Re: [NMRiH/Any] DHooks with detours not superseding function
I don't believe DHooks expects me to set a return value on a void function. It knows it's void thanks to gamedata:
"Functions"
{
"Bot_RunAll"
{
"return" "void"
Forum:
Scripting
07-07-2019, 18:33
Replies:
4
[NMRiH/Any] DHooks with detours not superseding function
Views:
2,687
Posted By
Addie
[NMRiH/Any] DHooks with detours not superseding function
I'm trying to prevent the execution of:
void __cdecl Bot_RunAll()
using DHooks with Experimental Detours.
I successfully create the detour and simply return MRES_Supercede. Code below:
...
Forum:
Scripting
11-10-2018, 10:33
Replies:
9
Solved
Crash on DHook detouring (dhooks.ext.dll + 0xc3e0)
Views:
2,031
Posted By
Addie
Re: Crash on DHook detouring (dhooks.ext.dll + 0xc3e0)
Thanks for clearing that up, I'll keep it in mind for future use
Forum:
Scripting
11-09-2018, 22:13
Replies:
9
Solved
Crash on DHook detouring (dhooks.ext.dll + 0xc3e0)
Views:
2,031
Posted By
Addie
Re: Crash on DHook detouring (dhooks.ext.dll + 0xc3e0)
Marking as solved as I managed to get my hands on a unique signature for the target function (thanks Ryan (https://forums.alliedmods.net/member.php?u=283719)!) This approach is no longer needed.
Forum:
Scripting
11-09-2018, 19:46
Replies:
9
Solved
Crash on DHook detouring (dhooks.ext.dll + 0xc3e0)
Views:
2,031
Posted By
Addie
Re: Crash on DHook detouring
Alright bear with me, I'm still pretty new to this; If the offset doesn't go there, where should I specify it?
Thanks for the hints so far
Forum:
Scripting
11-09-2018, 05:40
Replies:
9
Solved
Crash on DHook detouring (dhooks.ext.dll + 0xc3e0)
Views:
2,031
Posted By
Addie
Re: Crash on DHook detouring (dhooks.ext.dll + 0xc3e0)
Thank you, I've fixed that together with a wrong offset calculation (now 244 instead of 228)
Unfortunately, it's still crashing, now on sourcemod.logic.dll!CGameConfig::GetAddress instead:...
Forum:
Scripting
11-09-2018, 04:10
Replies:
3
Do something beetween 20:30 PM and 07:00 AM
Views:
1,060
Posted By
Addie
Re: Do something beetween 20:30 PM and 07:00 AM
Pseudo code, kinda awkward though:
#define START_TIME 20.0
#define END_TIME 7.5
void YourFunction()
{
char strHours[3]; strMinutes[3];
FormatTime(strHours, sizeof(strHours), "%H");...
Forum:
Scripting
11-09-2018, 03:24
Replies:
9
Solved
Crash on DHook detouring (dhooks.ext.dll + 0xc3e0)
Views:
2,031
Posted By
Addie
Crash on DHook detouring (dhooks.ext.dll + 0xc3e0)
I'm trying to get the address to a function from its caller function, to set up a detour for it. It looks like this:
CNMRiH_GameRules::CleanAndResetMap(void) + E4 == call CEventQueue::Clear(void)...
Showing results 1 to 11 of 11
Forum Jump
User Control Panel
Private Messages
Subscriptions
Who's Online
Search Forums
Forums Home
Server Discussion
Source Servers (SRCDS)
HL1 Servers (HLDS)
AMX Mod X
News
Bug Reports
General
Off-Topic
Plugins
Suggestions / Requests
Approved Plugins
New Plugin Submissions
Unapproved/Old Plugins
Translation Request
High-Traffic Plugins
GunGame
UAIO (Ultimate All-In-One Plugin)
xREDIRECT
CSDM
AMX Super
RuneMod
Zombie Plague Mod
SuperHero Mod
News
Tech Support
Scripting Help
Off-Topic / General Chat
Heroes
Suggestions / Requests
Approved Heroes
New Submissions
Unapproved/Old Heroes
Module Heroes
SuperHero Mod Stats - By 123
(OLD) Bug Reports
Scripting
Scripting Help
Code Snippets/Tutorials
Module Coding
Donor Access
SourceMod
News
General
Plugins
Plugins
Unapproved Plugins
Plugin/Gameplay Ideas and Requests
High-Traffic Plugins
SourceMod Anti-Cheat
Zombie:Reloaded
SourceBans / SourceBans++
VSH / Freak Fortress
Store
SM_Hosties
HLstatsX:CE
Scripting
Extensions
Snippets and Tutorials
Donor Access
Metamod: Source
Metamod:Source Plugins
Metamod:Source Questions
Coding MM:S Plugins & SM Extensions
Hosted Stuff
Asherkin's Plugins
TFDodgeball
TF2Items
SteamTools
Bail's Plugins
CSDM
CS:S DM
Off-Topic & Trash
Off-Topic
Trash
All times are GMT -4. The time now is
15:35
.
DMCA
-
Archive
-
Top
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode