Raised This Month: $170 Target: $400
 42% 

Extension Dependency


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
xerox8521
Senior Member
Join Date: Sep 2011
Old 02-17-2018 , 17:56   Extension Dependency
Reply With Quote #1

Hi,

so i'v tried building a simple Extension in VS 2013 which compiles just fine however as soon as i try to load it i just get a "could not load extension: error 00007e. So far i found out im missing some dependency but cant seem to find out which.
The extension doesn't do anything atm just wanted to see if it works at all using the sample extension.

Game is ZPS
Win 10 Pro
Latest stable SM / MM
Using Source SDK 2013 (zps received a big update where the code is based on the 2013 sdk)

Last edited by xerox8521; 02-17-2018 at 17:57.
xerox8521 is offline
Fyren
FyrenFyrenFyrenFyrenFyren FyrenFyrenFyrenFyrenFyren FyrenFyrenFyrenFyrenFyren FyrenFyrenFyrenFyrenFyren
Join Date: Feb 2106
Old 02-17-2018 , 19:05   Re: Extension Dependency
Reply With Quote #2

Try on 1.9 instead for a better error message.
Fyren is offline
xerox8521
Senior Member
Join Date: Sep 2011
Old 02-17-2018 , 19:55   Re: Extension Dependency
Reply With Quote #3

Tried with SM 1.9 "specified module could not be found" nothing more. Even recompiled the code with SM 1.9 same result.
xerox8521 is offline
psychonic

BAFFLED
Join Date: May 2008
Old 02-17-2018 , 21:45   Re: Extension Dependency
Reply With Quote #4

You're probably missing the VC 2013 redist on the server.

https://www.microsoft.com/en-us/down....aspx?id=40784 (get the x86 one).
psychonic is offline
xerox8521
Senior Member
Join Date: Sep 2011
Old 02-18-2018 , 14:17   Re: Extension Dependency
Reply With Quote #5

Have that one installed and still the same.
xerox8521 is offline
asherkin
SourceMod Developer
Join Date: Aug 2009
Location: OnGameFrame()
Old 02-18-2018 , 15:30   Re: Extension Dependency
Reply With Quote #6

How are you trying to load it? What is the file called? Where have you put it?
__________________

Last edited by asherkin; 02-18-2018 at 15:30.
asherkin is offline
xerox8521
Senior Member
Join Date: Sep 2011
Old 02-18-2018 , 16:50   Re: Extension Dependency
Reply With Quote #7

Using sm exts load zpshooks (filename zpshooks.dll) in addons/sourcemod/extensions
xerox8521 is offline
asherkin
SourceMod Developer
Join Date: Aug 2009
Location: OnGameFrame()
Old 02-18-2018 , 17:07   Re: Extension Dependency
Reply With Quote #8

Your filename is incorrect, look at the names of all the others (at minimum it should be "zpshooks.ext.dll").
__________________
asherkin is offline
xerox8521
Senior Member
Join Date: Sep 2011
Old 02-18-2018 , 18:36   Re: Extension Dependency
Reply With Quote #9

That did it thanks alot, although I'm curious why it worked before without the .ext. part

Also what would be the correct "compile option" for sdk 2013 OB or OB Valve ?

Edit: Now im getting: Could not find interface ISourceMod

Stable SM / MM on Server and used to compile

Last edited by xerox8521; 02-18-2018 at 18:50.
xerox8521 is offline
hmmmmm
Senior Member
Join Date: Mar 2017
Location: ...
Old 02-19-2018 , 04:47   Re: Extension Dependency
Reply With Quote #10

Quote:
Originally Posted by xerox8521 View Post
That did it thanks alot, although I'm curious why it worked before without the .ext. part

Also what would be the correct "compile option" for sdk 2013 OB or OB Valve ?

Edit: Now im getting: Could not find interface ISourceMod

Stable SM / MM on Server and used to compile
The version you've compiled against and the version you're running it on are different. I'm guessing you're compiling on a newer version than the one thats on the server.

Also the wiki mentions that the .ext suffix is highly recommended, but not necessary. Is that not right?
hmmmmm 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 03:33.


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