Fix#66
- Fixed crashing of the world server when a client in a group zones
- Tracking of players group_id in the characters table (for both sanity and tracking cross zone)
- Clients zoning now properly 'rejoin' their group
- Mutex locks added to group code, this makes groups more reliably work across different zones as they run on different threads (some behavior for example was some players would not see chat and others would)
- multimap needs to be used for various key matches
- fixed class matching
- Put a short tic wait for the async queries to hit the DB. Eventual solution here really would be that all character loading (char sheet/spells/etc) should be done async.
Fix#165 - support adding starting skills/spells to characters after their initial creation
/reload startabilities added
insert into commands set type=1,command='reload',subcommand='startabilities',handler=522,required_status=100;
In support of issue #125
- /house_deposit [??] [coin_amount] [status_amount] added
update query:
update commands set handler=518 where command='house_deposit';
- Escrow balance is tracked on the house
- Deposits are tracked for total and last deposit
- House upkeep payment now takes from escrow first
- character_house_deposits table added
CREATE TABLE `character_house_deposits` (
`timestamp` int(10) unsigned NOT NULL DEFAULT 0,
`house_id` int(10) unsigned NOT NULL DEFAULT 0,
`instance_id` int(10) unsigned NOT NULL DEFAULT 0,
`name` varchar(64) not null default '',
`amount` bigint unsigned NOT NULL DEFAULT 0,
`last_amount` bigint unsigned NOT NULL DEFAULT 0,
`status` int(10) unsigned NOT NULL DEFAULT 0,
`last_status` int(10) unsigned NOT NULL DEFAULT 0
) ENGINE=InnoDB DEFAULT CHARSET=latin1;