Posts: 625
Threads: 38
Joined: Nov 2011
Hello SA-MP players. Recently I've found this awesome hosting company HostSpree. Yet they provide only Linux servers for SA-MP. Since my server has been scripted on Windows with all the Windows plugins, will it be possible for everything to be ran trough Linux someway? Could you please explain it in details?
Thank you!
Posts: 625
Threads: 38
Joined: Nov 2011
Posts: 918
Threads: 125
Joined: Nov 2010
Yes,
But you will have to get the .so plugin files instead of the .dll onces.
In server.cfg you should add .so as extension at the plugins, eg: streamer.so
Posts: 154
Threads: 13
Joined: Dec 2010
Reputation:
0
Yep, all you gotta do is change all your plugins with the .so version of them, then in server.cfg instead of:
plugins pluginname
You gotta include the extension, such as:
plugins pluginname.so
Posts: 251
Threads: 2
Joined: Jun 2011
Reputation:
0
Of course yes, you just need the .so plugins for linux instead of .dll. And remember linux is Case Sensitive. So whatever you write in server.cfg or in your script, make sure its right and has the extension written with it.
Posts: 625
Threads: 38
Joined: Nov 2011
Do all Windows plugins work on Linux if .so is added?
Posts: 3,004
Threads: 12
Joined: May 2011
Quote:
Originally Posted by [Twixx]
Do all Windows plugins work on Linux if .so is added?
|
omg,you all are repeating the same and missing the same thing.
You should re-download the plugins you're using,after you've downloaded the plugins and opened the .rar \ .zip file.
you'll see 2 types of the same plugin,one .dll other .so.
.dll files are for windows series.
.so files are for linux series.
so if your server has linux os,than delete the .dll files and upload the .so files only.
and in server.cfg,as said above,type the plugin name
and add
.so after the plugin name.
Posts: 179
Threads: 1
Joined: Jun 2009
Reputation:
0
[Twixx], to run a SA:MP server with plugins on a linux machine the only thing you need is the .so plugin files.
For windows server you need the .dll (irc.dll) files in your plugins folder
For linux server you need the .so (irc.so) files in your plugins folder
All plugins generally come with both the files windows (.dll files) and linux (.so files), you just download them both.
Example of a windows config:
plugins irc streamer sscanf
Example of a linux config:
plugins irc.so streamer.so sscanf.so