.ini is Blank - Not Saving the data (y_ini)
#1

Hey, i was trying to create a registration system.
As you know the player's data is supposed to save when they disconnect by creating an .ini file.
The .ini is created in the scriptfiles\Users, though the problem is, that the .ini file is blank with no data !

- I tried re-installing YSI,
- I have tried in another computer (the same script), But it works perfectly ...
Reply
#2

Hey!
Maybe it s come from your Microsoft Visual C++, and what version you use!
Reply
#3

I got both,
- Microsoft Visual C++ 2008 - v9.0.30729
- Microsoft Visual C++ 2010 - v10.0.40219
?
Reply
#4

Try to add Microsoft Visual C++ 2005 .
Reply
#5

Nope.
Same, windows 7 ultimate
Reply
#6

It's hard to see the problem if you don't provide the code that should save the player data into the file.
Reply
#7

Quote:
Originally Posted by LarzI
Посмотреть сообщение
It's hard to see the problem if you don't provide the code that should save the player data into the file.
I have stated before that the code works perfectly on another computer, so i dont think thats really necessary.
Anyways, i was following newbienoob"s tutorial > https://sampforum.blast.hk/showthread.php?tid=352703
and i downloaded that full package and compiled it, same happens ... .ini is blank, doesnt save the data.
But works on another computer.
Reply
#8

Quote:
Originally Posted by Saiph
Посмотреть сообщение
I have stated before that the code works perfectly on another computer, so i dont think thats really necessary.
Oh, sorry. I must've skipped that part when I read.
Reply
#9

Quote:
Originally Posted by Saiph
Посмотреть сообщение
I have stated before that the code works perfectly on another computer, so i dont think thats really necessary.
Anyways, i was following newbienoob"s tutorial > https://sampforum.blast.hk/showthread.php?tid=352703
and i downloaded that full package and compiled it, same happens ... .ini is blank, doesnt save the data.
But works on another computer.
try putting something like:
pawn Код:
print("Test 1");
after all the things that needs to adjust the file.

if it print everything i think it might be that your firewall / virus scanner is blocking it else it is still something wrong with the script. Maybe a bad conversion
Reply
#10

Quote:
Originally Posted by HireMe
Посмотреть сообщение
if it print everything i think it might be that your firewall / virus scanner is blocking it else it is still something wrong with the script. Maybe a bad conversion
I have tried turning off the Firewall + Anti-virus,
same...
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)