Property system - 1 or many files? - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Property system - 1 or many files? (
/showthread.php?tid=151896)
Property system - 1 or many files? -
CaHbKo - 01.06.2010
Hello,
I'm making a property system. Made commands, enumerations and other stuff and just started making a function that saves the houses.
And here is the question. What is better and faster:
1. Create 1 file with 2200+ keys, and it will be slow to save just one property, as I'll have to save whole property file.
2. Have separate file for each property that is being updated after some action with the property was performed.
Thanks.
Re: Property system - 1 or many files? -
kLx - 01.06.2010
Use mysql
Re: Property system - 1 or many files? -
jameskmonger - 01.06.2010
Quote:
Originally Posted by kLx
Use mysql
|
This.
Re: Property system - 1 or many files? -
CaHbKo - 01.06.2010
Quote:
Originally Posted by jameskmonger
Quote:
Originally Posted by kLx
Use mysql
|
This.
|
I've used tutorial on wiki (
https://sampwiki.blast.hk/wiki/Mysql_tutorial), followed every step, but when I installed that wampserver I just had a small icon in my tray. I tried MySQL> Service> Install Service, but nothing happened.
Re: Property system - 1 or many files? - WackoX - 01.06.2010
Try to shut down Skype, sometime it might blocks local MySQL servers.
If that not works install XAMPP.