.ini is Blank - Not Saving the data (y_ini) -
Saiph - 09.12.2012
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 ...
Re : .ini is Blank - Not Saving the data (y_ini) -
[HRD]Mar1 - 09.12.2012
Hey!
Maybe it s come from your Microsoft Visual C++, and what version you use!
Re: .ini is Blank - Not Saving the data (y_ini) -
Saiph - 09.12.2012
I got both,
- Microsoft Visual C++ 2008 - v9.0.30729
- Microsoft Visual C++ 2010 - v10.0.40219

?
Re : .ini is Blank - Not Saving the data (y_ini) -
[HRD]Mar1 - 09.12.2012
Try to add Microsoft Visual C++ 2005 .
Re: .ini is Blank - Not Saving the data (y_ini) -
Saiph - 10.12.2012
Nope.
Same, windows 7 ultimate
Re: .ini is Blank - Not Saving the data (y_ini) -
LarzI - 10.12.2012
It's hard to see the problem if you don't provide the code that should save the player data into the file.
Re: .ini is Blank - Not Saving the data (y_ini) -
Saiph - 10.12.2012
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.
Re: .ini is Blank - Not Saving the data (y_ini) -
LarzI - 10.12.2012
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.
Re: .ini is Blank - Not Saving the data (y_ini) -
HireMe - 10.12.2012
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:
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
Re: .ini is Blank - Not Saving the data (y_ini) -
Saiph - 10.12.2012
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...