It's because you're building the plugin in debug, and not adding -allowdebug to the command line options.
-Tony -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Andrew Armstrong Sent: February-11-09 7:07 AM To: 'Discussion of Half-Life Programming' Subject: Re: [hlcoders] Left4Dead Plugin? Hi, Okay, I've *only* made the below eiface.h change (any other changes I cannot find the appropriate place to make the change). I am running my test server like this: srcds.exe -game left4dead -allowdebug -console -norestart -nocrashdialog +maxplayers 8 +map l4d_vs_farm01_hilltop +port 21000 +exec server.cfg +sv_lan 1 I have the debug build located in c:\srcds\l4d\left4dead\addons\serverplugin_empty.dll I have in that same \addons directory a file named serverplugin_empty.vdf Inside it I have: "Plugin" { "file" "../left4dead/addons/serverplugin_empty" } Inside my server.cfg file I have this at the end: plugin_load serverplugin_empty When the game server starts up, the console finishes with these messages: Module serverplugin_empty is a debug build Failed to load plugin "serverplugin_empty" Unable to load plugin "serverplugin_empty" What am I doing wrong? I suspect its because I have not made all of the required changes, but I cannot find out where to do so. If you could point out where I make these changes specifically that would be great. Thanks again, Andrew -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Saul Rennison Sent: Wednesday, 11 February 2009 8:26 PM To: Discussion of Half-Life Programming Subject: Re: [hlcoders] Left4Dead Plugin? Yeah just change it in eiface.h. Ask if you need any more help. Sent from my iPhone On 11 Feb 2009, at 08:17, "Andrew Armstrong" <[email protected]> wrote: > Hi again, > > I am following that wiki article and have made the > "IVEngineServer::UserMessageBegin now takes an additional string > parameter > containing the message name." change in eiface.h (by changing the > signature > to UserMessageBegin( IRecipientFilter *filter, int msg_type, const > char* > name ) = 0;) > > Is this the only place that needs the change? > > Points 2 and 3 of the changes list I have not made, I am not sure > where to > make them. > > Any other hints? > > Thanks again, > Andrew > > > -----Original Message----- > From: [email protected] > [mailto:[email protected]] On Behalf Of Andrew > Armstrong > Sent: Wednesday, 11 February 2009 8:46 AM > To: 'Discussion of Half-Life Programming' > Subject: Re: [hlcoders] Left4Dead Plugin? > > Awesome, thank you. > > -----Original Message----- > From: [email protected] > [mailto:[email protected]] On Behalf Of Saul > Rennison > Sent: Wednesday, 11 February 2009 4:42 AM > To: Discussion of Half-Life Programming > Subject: Re: [hlcoders] Left4Dead Plugin? > > Here is the actual link: > http://wiki.alliedmods.net/Porting_to_Left_4_Dead > > 2009/2/10 Saul Rennison <[email protected]> > >> Check alliedmods.net wiki under Left4Dead interface changes. >> >> Sent from my iPhone >> >> >> On 10 Feb 2009, at 11:00, "Andrew Armstrong" <[email protected]> >> wrote: >> >> Hi guys, >>> >>> >>> >>> Is it possible yet to create a simple server plugin for Left4Dead? >>> >>> >>> >>> I've compiled the serverplugin_empty file, installed it as per the >>> wiki >>> etc, >>> but when trying to load the plugin from the console I receive: >>> >>> >>> >>> Failed to load plugin "serverplugin_empty" >>> >>> Unable to load plugin "serverplugin_empty" >>> >>> >>> >>> Is this because the Source SDK is still out of date and the game >>> does not >>> know how to compile this version of the plugin? >>> >>> >>> >>> Cheers, >>> >>> Andrew >>> >>> >>> >>> _______________________________________________ >>> To unsubscribe, edit your list preferences, or view the list >>> archives, >>> please visit: >>> http://list.valvesoftware.com/mailman/listinfo/hlcoders >>> >>> > > > -- > Thanks, > - Saul. > _______________________________________________ > To unsubscribe, edit your list preferences, or view the list archives, > please visit: > http://list.valvesoftware.com/mailman/listinfo/hlcoders > > > > _______________________________________________ > To unsubscribe, edit your list preferences, or view the list archives, > please visit: > http://list.valvesoftware.com/mailman/listinfo/hlcoders > > > > _______________________________________________ > To unsubscribe, edit your list preferences, or view the list > archives, please visit: > http://list.valvesoftware.com/mailman/listinfo/hlcoders > _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders

