Will Plugin works in Debian OS?

karazu

New member
Messages
1,115
Points
0
Hello I am really having problem implementing Plugins in my server, I don't know if OS  had something to do with Plugins but every time i use them the .C  format will be converted to .SO?


the files are still .C but in the MAP server it says Skipping "autoattack.so


can somebody answer?

 
compile them,

Put the .c files in /src/plugins/,

Edit src/plugins/Makefile.in,

Add plugin names here without .c extension

MYPLUGINS =
so if you have plugin file named autoloottype.c

It will look like

MYPLUGINS = autoloottype
then do

make plugins

This step will make the .c file into .so file and store them in /plugins folder.

and then include the file name in conf/plugins.conf

and then run the server.

That's all

 
Wow, so at 1st I will put them in the trunk/src/plugin then after the compile I will transfer them to the trunk/plugins?


is that correct?

 
No No, If you put the .c files in src/plugins and edited src/plugins/makefile.in and then do

make plugins

then .so file will be automatically created at /plugins folder. so just do the steps:

1) Copy .c files in src/plugins

2) Edit src/plugins/makefile.in (As stated above)

3) Do "make plugins"

4) Edit conf/plugins.conf

5) Run your server.(And plugins will be loaded)

 
Back
Top