Raised This Month: $ Target: $400
 0% 

IServerGameDLL


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Keeper
Senior Member
Join Date: Nov 2006
Old 01-09-2007 , 18:42   IServerGameDLL
Reply With Quote #1

I have a plugin that works fine under windows. When I move it over to linux now, it doesn't load. The part that's hiccuping is the assigning of the "IServerGameDLL" to INTERFACEVERSION_SERVERGAMEDLL which in my SDK is "ServerGameDLL005".

If I change this to ServerGameDLL006 it loads just fine. Is there a way to see what the latest one is from the plugin?

EDIT: If I type "meta game" in the console, I get ServerGameDLL005, both on Windows and Linux.

Thanks,
Keeper

Last edited by Keeper; 01-09-2007 at 22:26.
Keeper is offline
FlyingMongoose
Veteran Member
Join Date: Mar 2004
Old 01-10-2007 , 04:51   Re: IServerGameDLL
Reply With Quote #2

You are using the linux distrobution of the plugin on your linux machine, correct? *NOT* a .dll file but a .so file.

Note: Some plugins do not have *nix support.
FlyingMongoose is offline
Keeper
Senior Member
Join Date: Nov 2006
Old 01-10-2007 , 08:00   Re: IServerGameDLL
Reply With Quote #3

Yeah, the .so on linux. I had compiled and gotten my plugin to run in windows with no problems. I then compiled it under linux and it wouldn't load. I figured out it was the assigning of the servergamedll with the standard INTERFACEVERSION_SERVERGAMEDLL that was causing it. I tried 004 and that didn't work. As a lark I tried 006 and it worked. My plugin ran fine. I was confused because when I type meta game, I get 005.
Keeper is offline
Knagg0
SourceMod Donor
Join Date: Dec 2005
Location: Germany
Old 01-10-2007 , 09:30   Re: IServerGameDLL
Reply With Quote #4

Use GET_V_IFACE_ANY for the ServerGameDLL
Knagg0 is offline
Keeper
Senior Member
Join Date: Nov 2006
Old 01-10-2007 , 09:43   Re: IServerGameDLL
Reply With Quote #5

Yeah, I do that. Just an oddity that I found.
Keeper is offline
Knagg0
SourceMod Donor
Join Date: Dec 2005
Location: Germany
Old 01-10-2007 , 09:46   Re: IServerGameDLL
Reply With Quote #6

Do you have the latest metamod version installed?
Because i get the right version when i use meta game.
Knagg0 is offline
Keeper
Senior Member
Join Date: Nov 2006
Old 01-10-2007 , 10:35   Re: IServerGameDLL
Reply With Quote #7

Yes, as far as I know.

Code:
         v1.0.0.11 (Linux, Dedicated, Protocol 7)

         Metamod:Source version 1.3d
         Compiled on: Nov 29 2006
         Plugin interface version: 9:7
         SourceHook version: 4:3
         http://www.sourcemm.net/

         GameDLL Information
         Description: Deathmatch
         Mod Path: /usr/local/games/hl2dm/314970/hl2mp
         DLL Path: /usr/local/games/hl2dm/314970/hl2mp/bin/server_i486.so
         Interface: ServerGameDLL005

Last edited by Keeper; 01-10-2007 at 10:37.
Keeper is offline
L. Duke
Veteran Member
Join Date: Apr 2005
Location: Walla Walla
Old 01-10-2007 , 13:28   Re: IServerGameDLL
Reply With Quote #8

DODS is currently like CSS was for a while. They've updated the Linux engine binaries (and interface number) but not the Windows engine binaries.
L. Duke is offline
sslice
Senior Member
Join Date: Feb 2005
Location: Texas, USA
Old 01-10-2007 , 17:24   Re: IServerGameDLL
Reply With Quote #9

I'm pretty sure the interfaces themselves have been updated.. since the new functionality introduced works. They just forgot to change the interface number.

Edit: Maybe it really is messed up for win32 DoD:S
__________________

Last edited by sslice; 01-10-2007 at 21:36.
sslice 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 16:16.


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