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

SDK Hooks 2.1 - Updated 2011-9-10


Post New Thread Closed Thread   
 
Thread Tools Display Modes
blodia
Veteran Member
Join Date: Sep 2009
Location: UK
Old 06-29-2010 , 19:18   Re: [EXTENSION] SDK Hooks 1.3 (Updated 2010-05-12)
#721

... psychonic meant use the file he attached to the post. also if you read his post he was talking about gmod not css.
blodia is offline
GanjaStar
Senior Member
Join Date: Jun 2009
Old 06-30-2010 , 06:13   Re: [EXTENSION] SDK Hooks 1.3 (Updated 2010-05-12)
#722

Quote:
Originally Posted by psychonic View Post
I'm assuming you're referring to on L4D2.

It already does work to an extent.

Find someone willing/able to reverse it further and Tsunami or myself would be happy to compiling against the changes.
Quote:
Originally Posted by Jоnny View Post
ontakedamage can't change damage, so it doesn't work
(L4D2)
this is what i was refering too yes. i wish i knew people who could do what you ask for psychonic
GanjaStar is offline
narutoj
Junior Member
Join Date: Jul 2007
Old 07-01-2010 , 01:17   Re: [EXTENSION] SDK Hooks 1.3 (Updated 2010-05-12)
#723

When fix OnTakeDamage to support [L4D2] Damage Mod (SDKHooks Ed.) ?
http://forums.alliedmods.net/showthread.php?t=127273



--------------------------------------
narutoj is offline
asherkin
SourceMod Developer
Join Date: Aug 2009
Location: OnGameFrame()
Old 07-01-2010 , 02:08   Re: [EXTENSION] SDK Hooks 1.3 (Updated 2010-05-12)
#724

When someone finishes reverse engineering it. This has already been said by psychonic and was quoted in the post above yours.
__________________
asherkin is offline
Portalboat
Senior Member
Join Date: May 2010
Old 07-02-2010 , 12:58   Re: [EXTENSION] SDK Hooks 1.3 (Updated 2010-05-12)
#725

Would it be possible to include this function in the next build of the .dll? I know that it's not a hook, per-say, but I'm getting kinda desperate, because no one's responded to my request, and it's been two days. I'm pretty sure it'll be useful.

Code:
LUA_FUNCTION(SetTableSize)
{
    ILuaInterface *g = gMod->m_lua;

    g->CheckType(1, GLua::TYPE_STRING);
    g->CheckType(2, GLua::TYPE_NUMBER);

    INetworkStringTable *netTbl = networkstringtable->FindTable(g->GetString(1));

    if(netTbl)
    {
        netTbl->c = g->GetInteger(2);
        netTbl->d = Q_log2(netTbl->c);
    }

    return 0;
}
I didn't write this myself, it's from the gmsv_networkstringtables dll for Garry's Mod, but it seems like it would be a easy fix.
Portalboat is offline
retsam
Veteran Member
Join Date: Aug 2008
Location: so-cal
Old 07-02-2010 , 22:46   Re: [EXTENSION] SDK Hooks 1.3 (Updated 2010-05-12)
#726

Anyone know of a plugin off the top of their head that uses optional SDKhooks. Im trying to see how you setup a plugin to use SDKhooks if its loaded, but doesnt if its not. Im not sure what all you do for that....
__________________
retsam is offline
pheadxdll
AlliedModders Donor
Join Date: Jun 2008
Old 07-03-2010 , 00:57   Re: [EXTENSION] SDK Hooks 1.3 (Updated 2010-05-12)
#727

RC+ I think?
__________________
pheadxdll is offline
DJ Tsunami
DJ Post Spammer
Join Date: Feb 2008
Location: The Netherlands
Old 07-03-2010 , 02:04   Re: [EXTENSION] SDK Hooks 1.3 (Updated 2010-05-12)
#728

Code:
#undef REQUIRE_EXTENSIONS
#include <sdkhooks>

new bool:g_bSDKHooks = false;

public OnPluginStart()
{
  g_bSDKHooks = LibraryExists("sdkhooks.ext");
}

public OnLibraryAdded(const String:name[])
{
  if(StrEqual(name, "sdkhooks.ext"))
    g_bSDKHooks = true;
}

public OnLibraryRemoved(const String:name[])
{
  if(StrEqual(name, "sdkhooks.ext"))
    g_bSDKHooks = false;
}
Something like this?
__________________
Advertisements | REST in Pawn - HTTP client for JSON REST APIs
Please do not PM me with questions. Post in the plugin thread.
DJ Tsunami is offline
cskiwi
Junior Member
Join Date: Jan 2010
Old 07-03-2010 , 07:51   Re: [EXTENSION] SDK Hooks 1.3 (Updated 2010-05-12)
#729

Hey, guys sinds no-one answerd my question here it comes again:


This is what my console gives me:
> look for the SDK hooks unable to load part


This is how I installed it
first downloaded and installed Sm_hosties then
I downloaded and installed the sdkhooks131-obv-sm13.zip From Tsunami-productions
cskiwi is offline
Jоnny
Senior Member
Join Date: Jun 2007
Old 07-03-2010 , 14:06   Re: [EXTENSION] SDK Hooks 1.3 (Updated 2010-05-12)
#730

Quote:
exec banned_user.cfg: file size larger than 1 MB!
exec banned_ip.cfg: file size larger than 1 MB!
lol
Jоnny is offline
Closed Thread



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 22:25.


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