SA-MP Forums Archive
Y_Ini not saving in linux - 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: Y_Ini not saving in linux (/showthread.php?tid=643874)



Y_Ini not saving in linux - Dancsika - 29.10.2017

Hello!
So, i started to edit an unfinished mode and i had no problem with it until i uploaded to my Linux server. I tested tons of time in my PC (Windows) and it worked.
So the main problem is that everytime i've left the Linux server than i have had to re-register. (This is the mode) I checked other stuffs on the internet but i dont know what to do. The mode is working with y_ini, and i saw that it has problems with Linux, but i cant fix it by my own.
Could somebody help me please? :C


Re: Y_Ini not saving in linux - Zeth - 29.10.2017

Have you created "user" folder in scriptfiles?


Re: Y_Ini not saving in linux - Dancsika - 29.10.2017

Yes. As i said it works perfectly on Windows


Re: Y_Ini not saving in linux - Escobabe - 29.10.2017

Have you check the server log for errors?


Re: Y_Ini not saving in linux - Dancsika - 29.10.2017

[13:38:17] *** YSI Error: INI_Open could not find or create file /User/Kami.ini
[13:39:57] *** YSI Error: INI_Open could not find or create file /User/Kami.ini
[13:39:57] Your character has been saved.
[13:39:57] [part] Kami has left the server (0:1)
Thats it.


Re: Y_Ini not saving in linux - Zeth - 29.10.2017

Quote:
Originally Posted by Dancsika
Посмотреть сообщение
[13:38:17] *** YSI Error: INI_Open could not find or create file /User/Kami.ini
[13:39:57] *** YSI Error: INI_Open could not find or create file /User/Kami.ini
[13:39:57] Your character has been saved.
[13:39:57] [part] Kami has left the server (0:1)
Thats it.
Exactly what I said above, you don't have "User" folder in scriptfiles or you are not creating .ini scriptwise.


Re: Y_Ini not saving in linux - Dancsika - 29.10.2017

I have it. But how could i create that .ini stuff?


Re: Y_Ini not saving in linux - n00blek - 29.10.2017

you copy zcmd for example and delete everything and put in data like this
http://prntscr.com/h3ib4l
sorry for my bad english


Re: Y_Ini not saving in linux - Dancsika - 29.10.2017

Okay, its too complicated for me xD I just give it up.


Re: Y_Ini not saving in linux - whadez - 29.10.2017

Go into your samp folder on your linux based VPS.
Give your files enough permission for writing+reading.

lets start by writing this command below
Код:
chmod -R 777 *
Also be aware of the case letters for your folder scheme.
(Make sure it's called 'User' and not 'user')