Jump to content
  • 0
Sign in to follow this  
karazu

Will Plugin works in Debian OS?

Question

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?

Share this post


Link to post
Share on other sites

4 answers to this question

Recommended Posts

  • 0

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)

Share this post


Link to post
Share on other sites
  • 0

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

Share this post


Link to post
Share on other sites
  • 0

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?

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.