Property system - 1 or many files?
#1

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.
Reply
#2

Use mysql
Reply
#3

Quote:
Originally Posted by kLx
Use mysql
This.
Reply
#4

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.
Reply
#5

Try to shut down Skype, sometime it might blocks local MySQL servers.
If that not works install XAMPP.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)