Y_INI Login system problem.
#7

Quote:
Originally Posted by CmZxC
Посмотреть сообщение
Your Userpath is setting all users to be saved as "PATH", playername is ignored.

If your "PATH" ends with a \ then do
PHP код:
format(string,sizeof(string),"%s%s",PATH,playername); 
If it does not, do
PHP код:
format(string,sizeof(string),"%s\%s",PATH,playername); 
Hey man, Thanks for taking the time to help. But now all that happens to the player files is they are saved as (%s%s.iniBlackboe) for example I tried both fixes you showed me and both do the same thing. I might add, I don't have trouble with players getting their own save files with their names. They just all inherit the cords and skin as the last person to log off.

Edit:
PHP код:
#define PATH "/Users/%s.ini" 
I found out why what you suggested didn't work, Completely forgot to include the define in the main topic.
Reply


Messages In This Thread
Solved - by DevHarden - 04.12.2015, 11:19
Re: Y_INI Login system problem. - by Denying - 04.12.2015, 12:42
Re: Y_INI Login system problem. - by Sellize - 04.12.2015, 12:56
Re: Y_INI Login system problem. - by DevHarden - 05.12.2015, 00:11
Re: Y_INI Login system problem. - by CmZxC - 05.12.2015, 00:37
Re: Y_INI Login system problem. - by DevHarden - 05.12.2015, 01:28
Re: Y_INI Login system problem. - by DevHarden - 05.12.2015, 07:26

Forum Jump:


Users browsing this thread: 1 Guest(s)