Raised This Month: $ Target: $400
 0% 

choosing gamedll in command line parameter (more amxx in hlds directory)


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
James
Senior Member
Join Date: Dec 2004
Old 01-17-2007 , 14:03   choosing gamedll in command line parameter (more amxx in hlds directory)
Reply With Quote #1

Hello, I want run more HLDSs from one directory, but with different addons/amxmodx directories (hlds's have not the same amxmodx config). So, in liblist.gam is gamedll parameter which determine a path to metamod.dll (and in metamod.ini is a path to amxmodx).

So, my question is: Is possible change path to liblist.gam (or change parametr gamedll) in hlds's command line? Like -port +map etc? I really dont want make more HLDS directories, i want just more amxmodx folders (=configs -- plugins.ini, users.ini etc...)
James is offline
cybermind
Senior Member
Join Date: Oct 2004
Old 01-17-2007 , 16:44   Re: choosing gamedll in command line parameter (more amxx in hlds directory)
Reply With Quote #2

-dll "file"

However, you will want to have Metamod set up to use a different metamod.ini file for each HLDS instance, rather than having a different Metamod load (they will both load the same config file by default). To change the config file Metamod uses, use:

+localinfo mm_configfile "file"

Last edited by cybermind; 01-17-2007 at 16:47.
cybermind is offline
James
Senior Member
Join Date: Dec 2004
Old 01-18-2007 , 18:06   Re: choosing gamedll in command line parameter (more amxx in hlds directory)
Reply With Quote #3

Thanks, I try it but I have problem. If I use other amxx path (like /addons/amxmodxpub) he doesnt start correctly.

example: I have cstrike\addons\amxmodxdm and cstrike\addons\amxmodxpub

in metamod directory i have
pub.ini: win32 addons\amxmodxpub\dlls\amxmodx_mm.dll
dm.ini win32 addons\amxmodxdm\dlls\amxmodx_mm.dll

i start pub with:
-dll addons\metamod\dlls\metamod.dll +localinfo mm_pluginsfile addons/metamod/pub.ini

-dll is allright, metamod is active. plugins file seems to be allright because metamod plugin amxmodx_mm.dll RUN. Unfortunatelly, only this one. Not the others (FUN, ENGINE etc, and amxx list show 0 plugins).

When i create addons/amxmodx directory and copy there files from addons/amxmodxpub, then PUB works. So, i need figure out WHY need exact path amxmodx? I want run different amxmodx, why I cant rename standart path? With proprietry +localinfo mm_pluginsfile??

Can anybody help me?
James is offline
James
Senior Member
Join Date: Dec 2004
Old 01-18-2007 , 18:29   Re: choosing gamedll in command line parameter (more amxx in hlds directory)
Reply With Quote #4

I found everything in http://forums.alliedmods.net/showthr...instances+AMXX. It all core.ini + localinfo magic ;) Thanks for help anyway! (usefull too)
James 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 10:56.


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