| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
| |
The only reason it was a DALStorage was because it used to implement the
Storage interface, but that interface got removed a long time ago.
|
| |
|
|
|
|
|
|
|
| |
Some methods were documented twice. Stuff moved to source file since
this keeps the header more readable, and makes it easier to keep the
documentation up to date with the implementation. Also, my IDE jumps to
the definition when navigating.
Removed two methods that were without an implementation.
|
| | |
|
| |
|
|
|
|
| |
Also updated the headers to refer to the GPL by URL instead of
suggesting to contact the FSF by snail mail, as per the latest
GPL usage instructions.
|
| |
|
|
|
|
| |
Removed pointless void in method parameter lists, fixed methods and
variables that started with upper case, removed pointless 'const' for
stuff passed by value, made some getters const, etc.
|
| |
|
|
|
| |
Includes a database update. Use update_6_to_7.sql to update existing
sqlite databases.
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
| |
Fixed database update "3 to 4".
Added database update "4 to 5".
Added indexes to table tmw_transaction for faster search when it
gets bigger.
Refactored layout of sqlite database script.
|
| |
|
|
| |
time for password recovery via tmwweb/email.
|
| | |
|
| | |
|
| |
|
|
|
| |
It should be noted that Jax still needs to update the client
Level calulation seems broken now too
|
| |
|
|
| |
Also renamed Guild::totalMembers to Guild::memberCount
|
| |
|
|
| |
Same as for the client.
|
| |
|
|
| |
Mostly comparisons between signed and unsigned integers
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
| |
This upgrade will be the first, we provide database installation scripts
and update scripts to upgrade from the previous version. For more details
about database upgrades see
http://wiki.themanaworld.org/index.php/Upgrade_Database and feel free to
comment.
|
| |
|
|
|
|
|
|
| |
The game server buffers all changes made to a character in a sync buffer.
The buffer is sent to the account server if the buffer contains more then
20 message, reaches size of 1kb or at least every 10 seconds.
ATM Character attributes, corr points and attribute points and skills are
synchronized. TODO: items, location, money...
|
| | |
|
| | |
|
| |
|
|
|
|
| |
It was throwing a std::string but nobody was dealing with it. The actual
problem still needs to be fixed. It seems to be having problems with
getting some database version.
|
| |
|
|
|
| |
The provided CreateTable.sql scripts store their versions inline of a database table. The account server checks this version number with its known
compatible version. If the numbers don't match, the account server raises an error and shuts down.
|
| |
|
|
| |
stream state.
|
| |
|
|
| |
database from items.xml
|
| |
|
|
|
|
| |
tmw_items table in the database.
* Added method to DataProvider to escape quotes in strings so that they can be used in SQL statements.
|
| |
|
|
| |
version to account server during registration and gets notified if the version is up-to-date or outdated to prevent inconsistencies.
|
| |
|
|
| |
functional as long as items not stored as individual items.
|
| |
|
|
| |
come at a later date)
|
| |
|
|
|
| |
when there is no connection the account server (a different one surfaced).
|
| |
|
|
|
|
| |
Added GM command for changing player attributes. Changed GM command to
@ as '/' was already being used by client for local commands.
|
| |
|
|
|
|
| |
by nested transactions.
Fixed deletion of characters which left over garbage in sqlite.
|
| | |
|
| | |
|
| |
|
|
|
| |
* Added link to wiki documentation as comment into tmwserv.xml
* Added table tmw_char_skills to store skills of a character and removed weapon skills from table tmw_characters.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
and postgresql. The create table statements have been completely removed out from the c++ source into separate, provider specific sql files. Accountserver will no longer create a sqlite file if none present.
* Added database specific config parameters to configure each provider independent.
* Simplified the connect routine of DALStorage class since every dataprovider is now responsible to retrieve its own parameters.
* Extended abstract dataprovider to support transactions, functionally implemented for SQLite and mySQL.
* Added methods to retrieve last inserted auto-increment value and the number of modified rows by the last statement.
* Rewrite of DALStorage class to be a little more transactional.
* Fixed a bug when deleting a character. Old function left data in quests table and guilds table.
* Doxygen now also includes non-documented functions and provides a dictionary for all classes
|
| |
|
|
|
|
| |
* Added table definition "tmw_world_states" to store map and world-specific variables
* Extended DALStorage to set and get those new variables
* Applied Kess's diff file from mantis #424 with modifications for PostgreSQL support
|
| |
|
|
|
|
| |
date. Modified account-server to fill the new columns on registration and login. Recreation of database needed!
* Added createIndex function to create indexes on tables.
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|