AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Off-Topic (https://forums.alliedmods.net/forumdisplay.php?f=15)
-   -   Linux, metamod help and other (https://forums.alliedmods.net/showthread.php?t=56520)

TgAOD 06-15-2007 11:27

Linux, metamod help and other
 
Ok, I have always used windows based servers. A friend of mine recently got a linux server and asked me to help him set it up. I have a few plugins installed, but I'm having problems.

My problem is I am not sure how to list all the plugins in the metamod plugin.ini file. It's easy in windows, you just add what you want.

Example:

Win Addons/folder/dils/Plugin
Win Addons/folder/dils/Plugin
Win Addons/folder/dils/Plugin
Win Addons/folder/dils/Plugin

And I understand the concept for Linux, it has to be a running line


Example:

Linux Addons/folder/dils/PluginLinux Addons/folder/dils/PluginLinux Addons/folder/dils/PluginLinux Addons/folder/dils/Plugin

But for some reason only the first plugin works, so I assume I'm missing a way to separate the plugins. So what am I doing wrong?



Also, does this apply to the AMXX plugin file? It seems some of the AMXX plugins I installed don't work either.

Thanx in advance for any help you can be.

Roach 06-15-2007 12:05

Re: Linux, metamod help and other
 
You're just using the .so file extension instead of the .dll extension. Everything else, as pertaining to plugins and so forth, is exactly the same as the windows version. The plugins.ini file for AMXX uses the same setup as the windows version does.

And your lines dont have to be continuous. You can separate them just like you did with the windows command lines.

Your metamod plugins.ini will look like this:

Code:

linux  addons\amxmodx\dlls\amxmodx_mm_i386.so
; Enable this instead for binary logging
; linux  addons\amxmodx\dlls\amxmodx_bl_mm_i386.so

It's really much easier if you just use the full packaged installer (http://www.amxmodx.org/dl.php?filena...ller-1.76d.exe) and just select that the server is Linux instead of windows. That way all of the correct files are placed in all the correct places and the config files are already preset.

TgAOD 06-15-2007 19:30

Re: Linux, metamod help and other
 
Well thats for the AMXX, what about for the metamod plugin.ini file?
This is what the metamod plugin.ini file looked like (How I thought it should work):

linux addons/hlguard/dlls/hlguard_mm_i686.solinux addons/amxmodx/dlls/amxmodx_mm_bli386.solinux addons/amxmodx/sbsrv/sbsrv_mm_i386.so

As you see it's a continues line, but only the 1st one is reconized.


And yes, I am aware that Linux uses .so while windows uses .dil, But for some reason some of the AMXX plugins do not work.

Roach 06-15-2007 22:04

Re: Linux, metamod help and other
 
Linux commands dont have to be in one line. They can be on separate lines.

My guess is HLGuard is loading but nothing else is. Put it in like this:


linux addons/hlguard/dlls/hlguard_mm_i686.so
linux addons/amxmodx/dlls/amxmodx_mm_bli386.so
linux addons/amxmodx/sbsrv/sbsrv_mm_i386.so

If you're on separate lines it will run fine. I'm not too sure who told you they needed to be on a single line, because they don't. The plugins for metamod load the same on linux as they do on win32.


All times are GMT -4. The time now is 01:28.

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