Join the forums now, and start posting to receive access to our Scripts Vault!
We understood this... and I guess the answers still stayWhat you intend is a file cache in some sort of format, another is for example memcache(d), apc cache...
$items=Array('id'=>Array(0,1,2),'name'=>Array('nothing','something','bleep'),'lvl'=>Array(10,13,1),'value'=>Array(0,1,10));
i believe that you're always someone who was constantly saying "avoid queries as much as possible."
I already know that it's negligible
Quotei believe that you're always someone who was constantly saying "avoid queries as much as possible."True. But that is for optimization advices. Don't forget that the optimization is not the goal, but means. If you have 10 players and don't plan on getting more reducing queries is plain stupid for example Of course I always assume that people who ask for stuff aim to get many players so it is irrelevant, still you have to keep that in mind, optimization is just a tool.QuoteI already know that it's negligible That's blasphemy, you put optimization in the position of being worshipped. Your "god" is players fun/more players/money, not optimization. Optimization is just an insignificant servant of these. When you put optimization above these or equal to these it is heresy Instead of doing neglible optimization thou shall spend the time on making the game more fun for players. Doing optimization for the sake of optimization is a sinful perversion.
faster execution of scripts=less latency between player action and player result.
players can enjoy a less laggy game.
Quotefaster execution of scripts=less latency between player action and player result.By script you mean server side language, like PHP, right? If yes then it is completely irrelevant, network connection will be several times slower than even the slowest script. There is no way human can notice a slow script (because way before it reaches the human noticeable value the server will crash due to rapid resource consumption).Quoteplayers can enjoy a less laggy game. I don't see much connection here, never my games were laggy because of PHP. Read the "PHP vs DB" topic, there is a collection of peoples experience regarding this matter.
less database queries=faster game.