09.02.2013, 03:02
Then cite your sources. You basically copied it word-for-word, and just changed the order a bit. Even if this just a mod for a 9 year old game, the rules of plagiarism still apply.
Also, I would have really liked this tutorial if you didn't use crappy methods. Everyone using SQLite should take advantage of an auto increment field, and also make use of db_get_field. Theoretically (I say that because I haven't looked through the sqlite source) db_get_field_assoc has to run a loop comparison through all the field names in order to return data causing you to lose time.
In other words, this tutorial is pretty much the same as all of the other ones posted, and doesn't really explain much.
Also, I would have really liked this tutorial if you didn't use crappy methods. Everyone using SQLite should take advantage of an auto increment field, and also make use of db_get_field. Theoretically (I say that because I haven't looked through the sqlite source) db_get_field_assoc has to run a loop comparison through all the field names in order to return data causing you to lose time.
In other words, this tutorial is pretty much the same as all of the other ones posted, and doesn't really explain much.