Age | Commit message (Collapse) | Author | Files | Lines |
|
time for password recovery via tmwweb/email.
|
|
First flush the new character to the database to get it's new DatabaseID.
Calling ->getDatabaseID() before flush() will give a wrong, uninitialized
value.
|
|
|
|
|
|
It should be noted that Jax still needs to update the client
Level calulation seems broken now too
|
|
This was confusing, since changes made to the config file while the
server is running are lost once the server exists. Also, XML comments
were being stripped by the server.
The command line option to set the port now only applies to a single
run, and isn't saved in the configuration. There shouldn't be a need for
the server to write to its configuration file, it might not even have
the rights to do so.
|
|
|
|
Needed when the server has multiple network interfaces and the one you
want to use isn't the default one for localhost.
The host to listen on can be set in config file with 'net_listenHost'.
|
|
Also renamed Guild::totalMembers to Guild::memberCount
|
|
Same as for the client.
|
|
Also renamed Object to Actor, to make it sound a little less generic.
Cleans up a bit the rather big hierarchy of different object types we
have.
|
|
Mostly comparisons between signed and unsigned integers
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
The game server crashed when it was closed while it still hadn't been
able to connect to the account server, due to an uninitialized pointer.
Code style fixes. Don't use 'const' for arguments that are passed by
value and start variable names with lowercase.
|
|
|
|
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.
|
|
|
|
|