View Single Post
  #4  
Old 03-24-2011, 07:25 PM
fowlplay4 fowlplay4 is offline
team canada
fowlplay4's Avatar
Join Date: Jul 2004
Location: Canada
Posts: 5,200
fowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond repute
I prefer to cache mostly static data (weapon stats).

I.e: weapon.arc

PHP Code:
name=whatever weapon
speed
=fast
power
=high 
WeaponDB.weapon.loadvars("path/to/arcs/weapon.arc");

It's a lot easier to access down the run, and you won't have to update a table if you need a new variable.

But for player and item storage, SQL all the way.
__________________
Quote:
Reply With Quote