AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Coding MM:S Plugins & SM Extensions (https://forums.alliedmods.net/forumdisplay.php?f=75)
-   -   Extension Dependency (https://forums.alliedmods.net/showthread.php?t=305375)

xerox8521 02-17-2018 17:56

Extension Dependency
 
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)

Fyren 02-17-2018 19:05

Re: Extension Dependency
 
Try on 1.9 instead for a better error message.

xerox8521 02-17-2018 19:55

Re: Extension Dependency
 
Tried with SM 1.9 "specified module could not be found" nothing more. Even recompiled the code with SM 1.9 same result.

psychonic 02-17-2018 21:45

Re: Extension Dependency
 
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).

xerox8521 02-18-2018 14:17

Re: Extension Dependency
 
Have that one installed and still the same.

asherkin 02-18-2018 15:30

Re: Extension Dependency
 
How are you trying to load it? What is the file called? Where have you put it?

xerox8521 02-18-2018 16:50

Re: Extension Dependency
 
Using sm exts load zpshooks (filename zpshooks.dll) in addons/sourcemod/extensions

asherkin 02-18-2018 17:07

Re: Extension Dependency
 
Your filename is incorrect, look at the names of all the others (at minimum it should be "zpshooks.ext.dll").

xerox8521 02-18-2018 18:36

Re: Extension Dependency
 
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

hmmmmm 02-19-2018 04:47

Re: Extension Dependency
 
Quote:

Originally Posted by xerox8521 (Post 2578918)
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?


All times are GMT -4. The time now is 21:18.

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