SA-MP Forums Archive
From Windows to Linux? - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: From Windows to Linux? (/showthread.php?tid=442876)



From Windows to Linux? - Blackazur - 09.06.2013

Hello is there a possibly will to make a script from windows to linux, so that it works on Linux too? When yes, how can i make that? thanks.


Re: From Windows to Linux? - Basssiiie - 09.06.2013

Any Windows Pawn script will work in Linux too, by default. Are you running into problems or something like that?


Re: From Windows to Linux? - Facerafter - 09.06.2013

Quote:
Originally Posted by Basssiiie
Посмотреть сообщение
Any Windows Pawn script will work in Linux too, by default. Are you running into problems or something like that?
Like he said.
Only for the plugins you will need the .so files and in the server.cfg it needs to be "sscanf.so streamer.so" etc. instead of just "sscanf streamer"


AW: From Windows to Linux? - Blackazur - 09.06.2013

I have already the plugins but the server crashing when someone spawning, but why is that so, on my homeserver with windows all works. know someone an solution?


Re: From Windows to Linux? - Basssiiie - 09.06.2013

Download the Crashdetect plugin and plug it into your server. Watch what it reports back to you.


AW: From Windows to Linux? - Blackazur - 09.06.2013

Yes, i did but it didnt print anything, and it seems that just the player crashing it come something like lost connection to the server, server are restarting, you are banned from this server etc. is there an way to fix tha?


Re: From Windows to Linux? - Basssiiie - 09.06.2013

Does the plugin load correctly? Does it print "Crashdetect Loaded" or something similar in your console/server log?

Is it only the player who disconnects and has to reconnect or is it the whole server which restarts?


AW: From Windows to Linux? - Blackazur - 09.06.2013

It is only the player who disconnect and has to reconnct, and the plugins load correctly on my homeserver with windows all works. And my server hoster has linux that is the problem.


Re: From Windows to Linux? - Basssiiie - 09.06.2013

Do the plugins load correctly on your Linux server? I don't care about your Windows home server, because that one works.

If it's only the player, it might be bad internet connection.


AW: From Windows to Linux? - Blackazur - 09.06.2013

No, everytime i connect all works but when i spawning it seems like crashed, and always come lost connection to the server with linux. here is the log:

Код:
----------
Loaded log file: "server_log.txt".
----------

SA-MP Dedicated Server
----------------------
v0.3x, ©2005-2013 SA-MP Team

[13:16:12] 
[13:16:12] Server Plugins
[13:16:12] --------------
[13:16:12]  Loading plugin: irc.so
[13:16:12] 

*** IRC Plugin v1.4.3 by Incognito loaded ***

[13:16:12]   Loaded.
[13:16:12]  Loading plugin: streamer.so
[13:16:12] 

*** Streamer Plugin v2.6.1 by Incognito loaded ***

[13:16:12]   Loaded.
[13:16:12]  Loading plugin: sscanf.so
[13:16:12] 

[13:16:12]  ===============================

[13:16:12]       sscanf plugin loaded.     

[13:16:12]          Version:  2.8.1        

[13:16:12]    © 2012 Alex "******" Cole  

[13:16:12]  ===============================

[13:16:12]   Loaded.
[13:16:12]  Loaded 3 plugins.