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

SDK Hooks 2.1 - Updated 2011-9-10


Post New Thread Closed Thread   
 
Thread Tools Display Modes
11530
Veteran Member
Join Date: Sep 2011
Location: Underworld
Old 06-29-2012 , 14:53   Re: SDK Hooks 2.1 - Updated 2011-9-10
#1931

Updating SourceMod (hg3516) fixes any errors relating to SDKHooks at the moment, however I run a set of forked servers. When starting the first server, the gamedata is updated and the server works fine, however it's not updating for any subsequent servers starting up. Copying the gamedata into the second/third servers fixes it, but this should be automatic.

Is there something I should be doing/missing/forgetting?
__________________
11530 is offline
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 06-29-2012 , 16:23   Re: SDK Hooks 2.1 - Updated 2011-9-10
#1932

Quote:
Originally Posted by 11530 View Post
Updating SourceMod (hg3516) fixes any errors relating to SDKHooks at the moment, however I run a set of forked servers. When starting the first server, the gamedata is updated and the server works fine, however it's not updating for any subsequent servers starting up. Copying the gamedata into the second/third servers fixes it, but this should be automatic.

Is there something I should be doing/missing/forgetting?
I assume this is an issue with the SourceMod GameData updater.

Long story short, even if you use sm_basepath, the copy of SourceMod that's executing is the one in addons/sourcemod/ . I assume the GameData updater ignores sm_basepath, notices the gamedata in addons/sourcemod/gamedata is up to date, and ignores the copy is otherpath/sourcemod/gamedata (which was loaded when SourceMod started).
__________________
Not currently working on SourceMod plugin development.
Powerlord is offline
fifipaldi
Member
Join Date: Apr 2011
Old 06-30-2012 , 02:50   Re: SDK Hooks 2.1 - Updated 2011-9-10
#1933

Ah i am using sm_basepath of course and i think that everyone with more than 2 servers is using it. This is a big gaps in the sourcemod updater. So what is the fix ? I have to copy manually gamedata from the latest sourcemod shapshot ?
fifipaldi is offline
asto
Member
Join Date: Aug 2010
Old 06-30-2012 , 06:46   Re: SDK Hooks 2.1 - Updated 2011-9-10
#1934

SDKHook_OnTakeDamage doesn't work in L4D1. The "damagetype" is always 0, "weapon" gives random entities, ...
asto is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 06-30-2012 , 07:49   Re: SDK Hooks 2.1 - Updated 2011-9-10
#1935

See post 1731 and the replies.
__________________
Silvers is offline
psychonic

BAFFLED
Join Date: May 2008
Old 06-30-2012 , 08:36   Re: SDK Hooks 2.1 - Updated 2011-9-10
#1936

Quote:
Originally Posted by Powerlord View Post
I assume the GameData updater ignores sm_basepath, notices the gamedata in addons/sourcemod/gamedata is up to date, and ignores the copy is otherpath/sourcemod/gamedata (which was loaded when SourceMod started).
Please don't make assumptions. The updater uses ISourceMod::BuildPath with Path_SM, the rough equivalent of doing the same with SM's BuildPath native. Both respect sm_basepath, which is largely why they even exist.
psychonic is offline
11530
Veteran Member
Join Date: Sep 2011
Location: Underworld
Old 06-30-2012 , 08:54   Re: SDK Hooks 2.1 - Updated 2011-9-10
#1937

Quote:
Originally Posted by psychonic View Post
Please don't make assumptions. The updater uses ISourceMod::BuildPath with Path_SM, the rough equivalent of doing the same with SM's BuildPath native. Both respect sm_basepath, which is largely why they even exist.
Then what is the reason for my problem at the top of this page? I'm curious as to what is being missed.
__________________
11530 is offline
fifipaldi
Member
Join Date: Apr 2011
Old 06-30-2012 , 13:45   Re: SDK Hooks 2.1 - Updated 2011-9-10
#1938

And please tell us what we should do to fix the problem.
fifipaldi is offline
BrockLesnar05
Junior Member
Join Date: Feb 2012
Location: Octagon, UFC
Old 06-30-2012 , 20:20   Re: SDK Hooks 2.1 - Updated 2011-9-10
#1939

Hi , I have a problem when I install SDK Hooks 2.0 for windows , I put every file where it belongs , and I start the game , host a map and all works good , as soon as I put a plug-in that needs SDK Hooks to work , my game crashes when I host a map , other plug-ins that works by its own doesn't crash , I tried more than 1 plug-in and all crash , anyone know why?

Meta Mod version 1.9.0-dev

Source Mod version 1.5.0-dev

Last edited by BrockLesnar05; 07-01-2012 at 04:12.
BrockLesnar05 is offline
Molli
SourceMod Donor
Join Date: Aug 2007
Location: Finland
Old 07-01-2012 , 05:10   Re: SDK Hooks 2.1 - Updated 2011-9-10
#1940

Quote:
Originally Posted by BrockLesnar05 View Post
Hi , I have a problem when I install SDK Hooks 2.0 for windows , I put every file where it belongs , and I start the game , host a map and all works good , as soon as I put a plug-in that needs SDK Hooks to work , my game crashes when I host a map , other plug-ins that works by its own doesn't crash , I tried more than 1 plug-in and all crash , anyone know why?

Meta Mod version 1.9.0-dev

Source Mod version 1.5.0-dev
Same here.3 days ago started.
Molli 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 03:48.


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