I am also having problems with the plugin system.

First, got a clean compile of serverplugin_empty.dll
Next, placed it in mod\bin\
Next, created a folder: mod\addons\
Next, created a file named plugins.vdf inside the mod\addons\ folder
Next, started the mod with -dev

Got the message on load: Plugins: found file "plugins.vdf"

But, trying any command in the plugin: menu, empty_version, plugin_empty,
etc...all just return a "unknown command" error


----- Original Message ----- From: "covert" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, December 01, 2004 8:20 PM Subject: RE: [hlcoders] Running serverplugin_empty


[ Converted text/html to text/plain ]

the only message I see in the console is

Plugins: found file "serverplugin_empty.vdf"



I am running the server via the run_mod.bat file



"c:\program files\valve\steam\steam.exe" -applaunch 220 -dev -game
"c:\myhl2mod\test" -allowdebug %1 %2 %3 %4 %5 %6 %7 %8 %9



As for running the dll in the debuger I am having a hard time working out
how
to launch so the debuger reconsises the symbols since it is being launched
by
steam.



On Wed, 1 Dec 2004 17:21:58 -0800, Alfred Reynolds wrote:
<SPAN>> Run with "-dev" on the command line and if you don't see any
errors
<SPAN>> about failing to load the plugin then it should be running. If you
<SPAN>> run
<SPAN>> under the debugger put a breakpoint on GameFrame() to check it is
<SPAN>> being
<SPAN>> called.
<SPAN>>
<SPAN>> - Alfred
<SPAN>>
<SPAN>> ----Original Message----
<SPAN>> From: [EMAIL PROTECTED]
<SPAN>> [mailto:[EMAIL PROTECTED] On Behalf Of
covert
<SPAN>> Sent: Wednesday, December 01, 2004 5:14 PM To:
<SPAN>> [EMAIL PROTECTED] Subject: RE: [hlcoders] Running
<SPAN>> serverplugin_empty
<SPAN>>
<SPAN>>> [ Converted text/html to text/plain ]
<SPAN>>>
<SPAN>>> I have started my own mod. I copied the serverplugin_empty.dll
<SPAN>>> file
<SPAN>>> from c:\myhl2mod\bin to c:\myhl2mod\test\bin (my mod is called
<SPAN>>> test)
<SPAN>>> and I have also created a directory called
c:\myhl2mod\test\addons
<SPAN>>> with a serverplugin_empty.vdf with the example text from
<SPAN>>> http://www.valve-erc.com/srcsdk/Code/ServerPlugins.html[1][2] in
it.
<SPAN>>>
<SPAN>>>
<SPAN>>> The console says it found the plugin but when I join the server
it
<SPAN>>> does not seem to run any of its code.
<SPAN>>>
<SPAN>>>
<SPAN>>> On Wed, 1 Dec 2004 13:17:22 -0800, Alfred Reynolds wrote:
<SPAN>>>> <SPAN>> Try copying serverplugin_empty.dll to the base bin/
<SPAN>>>> directory <SPAN>> (rather <SPAN>> than cstrike/bin/).
<SPAN>>>> <SPAN>>
<SPAN>>>> <SPAN>> - Alfred
<SPAN>>>> <SPAN>>
<SPAN>>>> <SPAN>> ----Original Message----
<SPAN>>>> <SPAN>> From: [EMAIL PROTECTED]
<SPAN>>>> <SPAN>> [mailto:[EMAIL PROTECTED] On
<SPAN>>>> Behalf
<SPAN>>>> Of covert <SPAN>> Sent: Wednesday, December 01, 2004 7:12 AM To:
<SPAN>>>> hlcoders <SPAN>> Subject: [hlcoders] Running serverplugin_empty
<SPAN>>>> <SPAN>> <SPAN>>> [ Converted text/html to text/plain ] <SPAN>>>
<SPAN>>>> <SPAN>>>> I have compiled the serverplugin_empty. I have made
<SPAN>>>> the
<SPAN>>>> .vdf <SPAN>>>> file in <SPAN>>>> the <SPAN>>> addons folder.
<SPAN>>>> When I
<SPAN>>>> ran my mod and do a map &lt;mapname&gt; the <SPAN>>> map
<SPAN>>>> <SPAN>>>
<SPAN>>>> loads and I get a "found pluging serverplugin_empty.vdf"<SPAN>
<SPAN>>>> <SPAN>>> <SPAN>>> <SPAN>>> So upto this point all seems fine.
<SPAN>>>> But I
<SPAN>>>> cannot trigger it to do <SPAN>>> anything. <SPAN>>>
<SPAN>>>> <SPAN>>>
<SPAN>>>> <SPAN>>> I thinking I need to do a "plugin_load" but I can not
<SPAN>>>> seem
<SPAN>>>> to <SPAN>>> find a <SPAN>>> working filename for it to load.
<SPAN>>>> Tried
<SPAN>>>> both the dll file and the <SPAN>>> vdf <SPAN>>> file. both with
<SPAN>>>> and
<SPAN>>>> without correct paths set. <SPAN>>>
<SPAN>>>> <SPAN>>>
<SPAN>>>> <SPAN>>> Anyone got an idea ?
<SPAN>>>> <SPAN>>> _______________________________________________
<SPAN>>>> <SPAN>>> To unsubscribe, edit your list preferences, or view the
<SPAN>>>> list <SPAN>>> archives, please visit:
<SPAN>>>> <SPAN>>>
<SPAN>>>> http://list.valvesoftware.com/mailman/listinfo/hlcoders[3][4]
<SPAN>>>> <SPAN>> <SPAN>> _______________________________________________
<SPAN>>>> <SPAN>> To unsubscribe, edit your list preferences, or view the
<SPAN>>>> list
<SPAN>>>> <SPAN>> archives, please visit:
<SPAN>>>> <SPAN>>
<SPAN>>>> http://list.valvesoftware.com/mailman/listinfo/hlcoders[4][5]
<SPAN>>>> <br> <SPAN>
<SPAN>>>
<SPAN>>> ===References:===
<SPAN>>> 1. http://www.valve-erc.com/srcsdk/Code/ServerPlugins.html[6]
<SPAN>>> 2. mailto:[EMAIL PROTECTED]
<SPAN>>> 3. http://list.valvesoftware.com/mailman/listinfo/hlcoders[8]
<SPAN>>> 4. http://list.valvesoftware.com/mailman/listinfo/hlcoders[9]
<SPAN>>>
<SPAN>>> _______________________________________________
<SPAN>>> To unsubscribe, edit your list preferences, or view the list
<SPAN>>> archives, please visit:
<SPAN>>> http://list.valvesoftware.com/mailman/listinfo/hlcoders[10]
<SPAN>>
<SPAN>> _______________________________________________
<SPAN>> To unsubscribe, edit your list preferences, or view the list
<SPAN>> archives, please visit:
<SPAN>> http://list.valvesoftware.com/mailman/listinfo/hlcoders[11]
<br>
<SPAN>

===References:=== 1. mailto:[EMAIL PROTECTED] 2. http://www.valve-erc.com/srcsdk/Code/ServerPlugins.html[1] 3. mailto:[EMAIL PROTECTED] 4. http://list.valvesoftware.com/mailman/listinfo/hlcoders[3] 5. http://list.valvesoftware.com/mailman/listinfo/hlcoders[4] 6. http://www.valve-erc.com/srcsdk/Code/ServerPlugins.html 7. mailto:[EMAIL PROTECTED] 8. http://list.valvesoftware.com/mailman/listinfo/hlcoders 9. http://list.valvesoftware.com/mailman/listinfo/hlcoders 10. http://list.valvesoftware.com/mailman/listinfo/hlcoders 11. 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



Reply via email to