About Linux hosting.
#1


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!


Reply
#2

Bump, any help?
Reply
#3

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
Reply
#4

Linux plugins. thats it.
Reply
#5

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
Reply
#6

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.
Reply
#7

Do all Windows plugins work on Linux if .so is added?
Reply
#8

Quote:
Originally Posted by [Twixx]
Посмотреть сообщение
Do all Windows plugins work on Linux if .so is added?
No, you gotta download the "linux" version of the plugin (most plugins have a linux [.so] version) so you just use that one instead of the .dll version.
Reply
#9

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.
Reply
#10

[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
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)