SA-MP Forums Archive
Newcomer needs help.. - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Server (https://sampforum.blast.hk/forumdisplay.php?fid=6)
+--- Forum: Server Support (https://sampforum.blast.hk/forumdisplay.php?fid=19)
+--- Thread: Newcomer needs help.. (/showthread.php?tid=613837)

Pages: 1 2


Newcomer needs help.. - kanerandyfirst - 01.08.2016

Hello to who's reading! This is my first thread here, and I want to ask you something.

I am new (4 months old) to pawno, but I managed to pull some strings thank to you and to SAMP documentation.
I was looking some days ago for a hoster to host for free my working script. I found FRAG's website and applied for a server.

Problem is, I work on Windows, and FRAG works on Linux. Everytime I load via FTP all my files, server won't load any gamemode.
It loads filterscripts and plugins (added the .so at plugins line in server.cfg) but when it comes to load the gamemode it says "file not found or inexistent dir".
Grandlarc and the others work, but if I just compile their .pwn (without modifying), they won't be loaded just like my code.

I thought it may be my pawno, maybe some plugins for linux I have are outdated or..?

Thanks in advance!


Re: Newcomer needs help.. - DeksoN - 01.08.2016

Try updating your plugins , did you uploaded just .pwn file on ftp? from gamemode ofc.


Re: Newcomer needs help.. - kanerandyfirst - 02.08.2016

No, uploaded only .amx file, plugins and scriptfiles folder.. no .pwn


Re: Newcomer needs help.. - kanerandyfirst - 05.08.2016

Does anyone know how to solve this? Shall I use a linux pc? Help please


Re: Newcomer needs help.. - Isolated - 05.08.2016

show server config please


Re: Newcomer needs help.. - Sithis - 05.08.2016

If you are using any plugins, make sure to upload (and use) the .so version of the plugin instead of the .dll. That's the Linux version of the plugin.

In your server.cfg, you have to type the extension too instead of just the plugin name ("sscanf" becomes "sscanf.so").


Re: Newcomer needs help.. - SickAttack - 05.08.2016

Pawn = the language
Pawno = the program


Re: Newcomer needs help.. - Shinja - 05.08.2016

It isnt enough to add .so to make .dll plugins working, you have to download .so version


Re: Newcomer needs help.. - Sew_Sumi - 06.08.2016

Quote:
Originally Posted by Sithis
View Post
If you are using any plugins, make sure to upload (and use) the .so version of the plugin instead of the .dll. That's the Linux version of the plugin.

In your server.cfg, you have to type the extension too instead of just the plugin name ("sscanf" becomes "sscanf.so").
Should read the thread... He's plainly said it loads the plugin and the filterscript but when it comes to the game it errors out.



OP post up your server.cfg, and the latest server.log output.


Re: Newcomer needs help.. - kanerandyfirst - 13.08.2016

Thanks for the replies!
Not at home atm, replying here in some minutes!

EDIT: here it is

echo Executing Server Config...
lanmode 0
rcon_password example
maxplayers 50
port 7778
hostname SA-MP 0.3 Server
gamemode0 Persol
announce 1
chatlogging 0
weburl www.sa-mp.com
onfoot_rate 40
incar_rate 40
weapon_rate 40
stream_distance 350.0
stream_rate 1000
maxnpc 0
logtimeformat [%H:%M:%S]
language English
plugins sscanf.so streamer.so Whirlpool.so
filterscripts hit

Last Server log was loading successfully filterscripts and plugins, but when it comes to load the gamemode it says "file not found", sorry couldnt find the whole log


Re: Newcomer needs help.. - kanerandyfirst - 17.08.2016

Anyone?


Re: Newcomer needs help.. - CopKing123 - 17.08.2016

Quote:
Originally Posted by kanerandyfirst
View Post
Thanks for the replies
gamemode0 Persol
Write 1 after your gamemode name
e.g, Persol1


Re: Newcomer needs help.. - GoldenLion - 18.08.2016

Quote:
Originally Posted by CopKing123
View Post
Write 1 after your gamemode name
e.g, Persol1
This won't change anything.


Re: Newcomer needs help.. - Sew_Sumi - 18.08.2016

This should fix it...

Code:
gamemode0 persol 1
or

Code:
gamemode0 Persol 1
Remember Linux is case sensitive, and the gamemode needs to have 1 after it. It means how many times that gamemode runs.


There is a method to this scenario.

Code:
gamemode0 CnR 3
gamemode1 TDM 1
gamemode2 Freeroam 1
This will run the CnR for 3 rounds, TDM for 1, and Freeroam for another.

Once you make the gamemode restart, it'll roll over to the next "phase" of whatever it is up to.


Re: Newcomer needs help.. - Pavintharan - 18.08.2016

hmm...did you upload .so plugins on plugins folder ?


Re: Newcomer needs help.. - Sew_Sumi - 18.08.2016

Quote:
Originally Posted by Pavintharan
View Post
hmm...did you upload .so plugins on plugins folder ?
Read the damn thread... He says that his plugins and filterscripts loaded, and the gamemode was the only one failing.


Re: Newcomer needs help.. - kanerandyfirst - 11.09.2016

/Bump, still not solved..

May I change something in Pawno's Run Options?


Re: Newcomer needs help.. - Sew_Sumi - 11.09.2016

Quote:
Originally Posted by kanerandyfirst
View Post
/Bump, still not solved..

May I change something in Pawno's Run Options?
Did you even do what I said, and Linux is case sensitive, so your amx file, should be Persol.amx, not persol.amx

Post up a current log, and a screenshot of your gamemodes folder.


Re: Newcomer needs help.. - Spmn - 11.09.2016

Load crashdetect.so


Re: Newcomer needs help.. - Sew_Sumi - 11.09.2016

Quote:
Originally Posted by Spmn
View Post
Load crashdetect.so
Why not simply figure out what is going wrong, in the normal way, rather than relying on loading up another plugin.


Judging that they took a month to respond last time, it's obviously not a "mission critical" issue.