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

[EXTENSION] Dukehacks


Post New Thread Reply   
 
Thread Tools Display Modes
Sammy-ROCK!
Senior Member
Join Date: Jun 2008
Location: Near Mrs.Lag
Old 08-26-2009 , 14:34   Re: [EXTENSION] Dukehacks
Reply With Quote #291

I've tryed compiling dukehacks myself in Visual Studio 2008 for the pdb file and this error poped.
Code:
1>------ Build started: Project: dukehacks, Configuration: Release - Orange Box Win32 ------
1>Compiling...
1>asm.c
1>Compiling...
1>extension.cpp
1>..\extension.cpp(105) : error C2511: 'void CTakeDamageInfo::Init(CBaseEntity *,CBaseEntity *,CBaseEntity *,const Vector &,const Vector &,const Vector &,float,int,int)' : overloaded member function not found in 'CTakeDamageInfo'
1>        C:\Users\Sammy\Documents\Sammy\hl2mpsrc\game_shared\takedamageinfo.h(25) : see declaration of 'CTakeDamageInfo'
1>..\extension.cpp(132) : error C2660: 'CTakeDamageInfo::Init' : function does not take 9 arguments
1>..\extension.cpp(173) : error C2248: 'CTakeDamageInfo::m_bitsDamageType' : cannot access protected member declared in class 'CTakeDamageInfo'
1>        C:\Users\Sammy\Documents\Sammy\hl2mpsrc\game_shared\takedamageinfo.h(95) : see declaration of 'CTakeDamageInfo::m_bitsDamageType'
1>        C:\Users\Sammy\Documents\Sammy\hl2mpsrc\game_shared\takedamageinfo.h(25) : see declaration of 'CTakeDamageInfo'
1>..\extension.cpp(925) : error C2660: 'CTakeDamageInfo::Init' : function does not take 9 arguments
1>Project : warning PRJ0018 : The following environment variables were not found:
1>$(MMSOURCE17)
1>$(HL2SDKOB)
1>$(SMSDK)
1>Build log was saved at "file://c:\Users\Sammy\Documents\Sammy\sourcemod-zps\DukeHacks 0.0.2.0\msvc9\Release - Orange Box\BuildLog.htm"
1>dukehacks - 4 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
I've never compiled an extension before so I dunno what's going wrong.
Sammy-ROCK! is offline
smk420
Junior Member
Join Date: Aug 2009
Old 08-26-2009 , 20:20   Re: [EXTENSION] Dukehacks
Reply With Quote #292

Hi all

My server seems to crash everytime someone dies. Does anyone have any ideas why ? Driving me nuts
smk420 is offline
Sammy-ROCK!
Senior Member
Join Date: Jun 2008
Location: Near Mrs.Lag
Old 08-26-2009 , 20:57   Re: [EXTENSION] Dukehacks
Reply With Quote #293

type in server console: sm plugins list and post the reply.
Sammy-ROCK! is offline
smk420
Junior Member
Join Date: Aug 2009
Old 08-27-2009 , 00:48   Re: [EXTENSION] Dukehacks
Reply With Quote #294

sm plugins
"TF2 Classic" (1.0.4.0) by CrancK

Thats the mod i am trying to run.

It was a vanilla server before adding his mod onto it. I have the latest sourcemod and metamod and duke hacks.

Hope thats enough info ?

Thanks
smk420 is offline
LastBoomer
Junior Member
Join Date: Mar 2008
Old 08-27-2009 , 03:47   Re: [EXTENSION] Dukehacks
Reply With Quote #295

Hi,

Valve's 8/25 SRCDS update broke DukeHacks 0.0.0.3 which I'm
running on my CS:S server.

Metamod version: 1.7.1
Sourcemod version: 1.2.2-hg2720

Does this version of DH still get .ext.cfg updates?

(I tried 0.0.2.0 just for kicks but it wouldn't load either.)

Quote:
[SM] Unable to load extension "dukehacks.ext.dll": Could not find signature in scanfunc.cpp: Line 248
[SM] Unable to load plugin "Custom\dhnades.smx": Required extension "Dukehacks Extension" file("dukehacks.ext") not running
[SM] Unable to load plugin "Custom\reb.smx": Required extension "Dukehacks Extension" file("dukehacks.ext") not running
LastBoomer is offline
DJ Tsunami
DJ Post Spammer
Join Date: Feb 2008
Location: The Netherlands
Old 08-27-2009 , 07:53   Re: [EXTENSION] Dukehacks
Reply With Quote #296

@Sammy-ROCK!: read my post, it tells you what to do to get it to work.
__________________
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
FeuerSturm
AlliedModders Donor
Join Date: Apr 2004
Old 08-28-2009 , 00:40   Re: [EXTENSION] Dukehacks
Reply With Quote #297

Here's the windows and linux binaries compiled against SM 1.2.3 stable:

NOTE: this is already the "cleaned" version without the annoying debug messages!

Last edited by FeuerSturm; 01-28-2020 at 05:21.
FeuerSturm is offline
teddyruxpin
Overseer of lost packets
Join Date: Feb 2008
Old 08-28-2009 , 23:41   Re: [EXTENSION] Dukehacks
Reply With Quote #298

Could anyone build a L4D version of DH? Would be very nice to get jumppads working on my L4D hosts.

--Teddy
__________________
Black Tusk Labs Home of Turbo TF2 and Turbo L4D:
http://blacktusklabs.com/ - Mah blog and stuff

My Crappy Plugins: SuperBuilds, Parent Buildables,
L4D Player Info
teddyruxpin is offline
Sammy-ROCK!
Senior Member
Join Date: Jun 2008
Location: Near Mrs.Lag
Old 08-29-2009 , 14:21   Re: [EXTENSION] Dukehacks
Reply With Quote #299

I've managed to compile and found out the crash was because of the general entity hooks (listen for entity create/spawn/delete). I removed those and the extension loaded like a charm.
Sammy-ROCK! is offline
teddyruxpin
Overseer of lost packets
Join Date: Feb 2008
Old 08-29-2009 , 21:55   Re: [EXTENSION] Dukehacks
Reply With Quote #300

Quote:
Originally Posted by Sammy-ROCK! View Post
I've managed to compile and found out the crash was because of the general entity hooks (listen for entity create/spawn/delete). I removed those and the extension loaded like a charm.
Compiled for Windows and L4D? Can you share the build.

--Teddy
__________________
Black Tusk Labs Home of Turbo TF2 and Turbo L4D:
http://blacktusklabs.com/ - Mah blog and stuff

My Crappy Plugins: SuperBuilds, Parent Buildables,
L4D Player Info
teddyruxpin is offline
Reply



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 19:21.


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