Your server shouldn't need to query mobs. Mobs are volatile data - they don't need saving, you can hold them entirely in memory and just reload them when you restart the server etc. Mob spawns should be kept in a database, but they are only called routinely on a timer, and that shouldn't produce any kind of lag, particularly if you're threading properly.Quote:
MySQL runs smoother??
Wrong , it querys to much at mobs and lags unless u got better hardware.
U wont be able to have tings like ko board and top players?
Wrong PHP can read ini files get the line and show the things.
This wasnt a attack but i think they arent tht bad :)
SQL Runs at localhost n uses internet bandwdh which isnt good 4 my modem xD
But thx 4 tring to help me ^^
---------------------------------------------------------------------
Please someone Help :)
Lol. Services running on localhost do not use bandwidth.
About reading ini files with PHP etc. Why? This is the exact reason why ini files are no good. You've already implemented a method to read the ini in C#, but now, you wanna re-implement the same thing in php? What's wrong with having a database with stored procedures? That way you're only implementing once.
Ok, so you might be able to query a few ini files at a decent rate, you don't have much data. I'll tell you before you make the mistake and fail, using plain text files is unscaleable. Once you have alot of data, you will get slowdowns. Databases are much more scaleable - you'll still have quick qeurying when you're into gigabytes of data.