Akkadius
e0a99730e5
pp revert
2014-08-31 21:58:04 -05:00
Akkadius
6497bdf45a
More stuff
2014-08-31 21:31:44 -05:00
Akkadius
ca430e2494
Fix void Database::GetCharName(uint32 char_id, char* name)
...
Increased MAX_PP_SPELLBOOK to 720 for UF/RoF
Increased MAX_PP_MEMSPELL to 12
Implemented up to 12 spell slots
Fix for public_note default value in bool BaseGuildManager::DBSetGuild(uint32 charid, uint32 guild_id, uint8 rank)
Updated all CastSpell entries to use the appropriate slot type defines located now in zone/common.h
Fixed Guild Loading from character_data
Fixed #guild list
Refactored Merchantlist loading
Refactored Temp Merchantlist loading
Gutted most of dbasync
Added:
LoadCharacterSpellBook(uint32 character_id, PlayerProfile_Struct* pp);
LoadCharacterMemmedSpells(uint32 character_id, PlayerProfile_Struct* pp);
LoadCharacterLanguages(uint32 character_id, PlayerProfile_Struct* pp);
LoadCharacterBindPoint(uint32 character_id, PlayerProfile_Struct* pp);
SaveCharacterSpellSwap(uint32 character_id, uint32 spell_id, uint32 from_slot, uint32 to_slot);
SaveCharacterSpell(uint32 character_id, uint32 spell_id, uint32 slot_id);
SaveCharacterMemorizedSpell(uint32 character_id, uint32 spell_id, uint32 slot_id);
DeleteCharacterSpell(uint32 character_id, uint32 spell_id, uint32 slot_id);
DeleteCharacterMemorizedSpell(uint32 character_id, uint32 spell_id, uint32 slot_id);
Removed Zone::LoadTempMerchantData_result(MYSQL_RES* result)
Removed Zone::LoadMerchantData_result(MYSQL_RES* result)
Removed SharedDatabase::GetPlayerProfile
Removed SharedDatabase::SetPlayerProfile
Removed SharedDatabase::SetPlayerProfile_MQ
Removed Zone::DBAWComplete(uint8 workpt_b1, DBAsyncWork* dbaw) from zone.cpp
2014-08-31 17:52:43 -05:00
Akkadius
f8439fd6e6
Made many adjustments to character load code.
...
Removed bool Client::FinishConnState2(DBAsyncWork* dbaw)
Removed all async character loads
Removed bool GetAccountInfoForLogin
Removed bool GetAccountInfoForLogin_result
Removed bool GetCharacterInfoForLogin_result
Removed bool GetCharacterInfoForLogin
Added:
bool LoadCharacterFactionValues(uint32 character_id, faction_map & val_list);
bool LoadCharacterDisciplines(uint32 character_id, PlayerProfile_Struct* pp);
bool LoadCharacterSkills(uint32 character_id, PlayerProfile_Struct* pp);
2014-08-31 07:52:52 -05:00
Akkadius
8dda7ddd04
Added the following tables to player profile automatic conversion during world bootup:
...
`character_bind_home`;
`character_alternate_abilities`;
`character_currency`;
`character_data`;
`character_spells`;
`character_memmed_spells`;
`character_disciplines`;
2014-08-31 05:52:36 -05:00
Akkadius
5d8ea5752d
Added automatic table creation in conversion process.
...
More will come when more tables are added
2014-08-31 03:23:42 -05:00
akkadius
4071d88290
At point of commit:
...
Basic character data, currency and AA are being loaded/saved from the database, currently working on the rest right now.
- Character blob removed from load for testing. Lots of cleanup yet to be done so don't judge code yet.
Saves:
- Two FULL saves when looting a corpse, this has been reduced to just currency saves on initial loot and trimmed to one save since AddToMoneyPP did it already
- Every time a player moves coin with any situation (Splits/Trades/Merchant/Skills/Bank Coin Exchange/Coin Moves), a full save is made, this is now just a currency save
- Every time a player skilled up at a skill vendor, a full blob save hit was made, this is not just a currency hit
2014-08-31 02:53:59 -05:00
Akkadius
5cf748d135
Initial work
2014-08-27 09:55:39 -05:00
Alex
9f4167a65c
Merge pull request #230 from addtheice/RunQueryToDatabaseQuery_zone_guild_mgr
...
Run query to database query zone guild mgr
2014-08-26 17:36:46 -07:00
Alex
085b021587
Merge pull request #226 from addtheice/RunQueryToDatabaseQuery_zone_spawngroup
...
Run query to database query zone spawngroup
2014-08-26 17:36:17 -07:00
Alex
5a65fd4207
Merge pull request #227 from addtheice/RunQueryToDatabaseQuery_zone_spawn2
...
Run query to database query zone spawn2
2014-08-26 17:36:03 -07:00
Alex
0f321b3a69
Merge pull request #228 from addtheice/RunQueryToDatabaseQuery_zone_client_packet
...
Run query to database query zone client packet
2014-08-26 17:35:51 -07:00
Alex
53c7b789f2
Merge pull request #229 from KayenEQ/Development
...
Added new param to special attack NPC_NO_CHASE
2014-08-26 17:35:36 -07:00
Alex
850ea7789e
Merge pull request #225 from addtheice/RunQueryToDatabaseQuery_zone_spells
...
SpellGlobalCheck converted to QueryDatabase
2014-08-26 17:35:21 -07:00
Alex
c3a3dc19a7
Merge pull request #224 from addtheice/RunQueryToDatabaseQuery_zone_zone
...
LoadStaticZonePoints converted to QueryDatabase
2014-08-26 17:35:10 -07:00
Alex
2606592f32
Merge pull request #223 from addtheice/RunQueryToDatabaseQuery_zone_doors
...
Run query to database query zone doors
2014-08-26 17:34:53 -07:00
Alex
5c3791631a
Merge pull request #221 from addtheice/RunQueryToDatabaseQuery_ucs_database
...
Run query to database query ucs database
2014-08-26 17:34:36 -07:00
Alex
4c9108a906
Merge pull request #210 from addtheice/RunQueryToDatabaseQuery_zone_waypoints
...
Run query to database query zone waypoints
2014-08-26 17:34:23 -07:00
Uleat
efbcaf6f64
Merge pull request #231 from EQEmu/trade_stacking
...
'Smart' Trade Transfers
2014-08-26 19:04:01 -04:00
Uleat
18a4f831be
Tweaked QS code for Client::FinishTrade() and QueryServ handlers.
2014-08-26 06:37:40 -04:00
Uleat
d4a9fed45e
Added QS code to Client::FinishTrade()
2014-08-25 22:29:00 -04:00
Arthur Ice
a6b923a22e
UpdateItemQuantity converted to QueryDatabase
2014-08-25 15:10:46 -07:00
Arthur Ice
1e87086471
DeleteItem converted to QueryDatabase
2014-08-25 12:43:14 -07:00
Arthur Ice
c3fdbfe904
SetPermissions converted to QueryDatabase
2014-08-25 12:33:09 -07:00
Arthur Ice
00852063c2
Promote converted to QueryDatabase
2014-08-25 12:15:06 -07:00
Uleat
d525d040fe
Merge branch 'master' of https://github.com/EQEmu/Server into trade_stacking
2014-08-24 23:40:15 -04:00
Michael Cook (mackal)
67a774dd9b
Remove extra c_str() non-sense now that the bug is fixed
2014-08-24 22:28:37 -04:00
Uleat
ff7ff658e0
Merge branch 'master' of https://github.com/EQEmu/Server into trade_stacking
...
Conflicts:
changelog.txt
2014-08-24 21:38:01 -04:00
Uleat
6100da75c5
Merge branch 'master' of https://github.com/EQEmu/Server into shutdown_crash
2014-08-24 19:59:34 -04:00
KimLS
a612c3c006
Idiot kls missed a file
2014-08-24 16:30:02 -07:00
KimLS
412835d7fa
Basic string tests, plus fix for StringFormat returning a std::string that was just very subtley malformed.
2014-08-24 16:26:51 -07:00
Uleat
6a4f7466f0
Merge branch 'master' of https://github.com/EQEmu/Server into shutdown_crash
...
Conflicts:
changelog.txt
2014-08-24 19:24:07 -04:00
KayenEQ
b3ea7ecd0d
Added param to special attack NPC_NO_CHASE
...
Param 2 = If set will disable LOS check
2014-08-24 19:11:41 -04:00
Arthur Ice
50e6d0d256
Load converted to QueryDatabase
2014-08-24 16:03:48 -07:00
Arthur Ice
f948786f6a
Handle_OP_GMSearchCorpse converted to QueryDatabase
2014-08-24 14:21:33 -07:00
Arthur Ice
4d0179d525
Handle_OP_SetStartCity converted to QueryDatabase
2014-08-24 14:13:06 -07:00
Arthur Ice
c851cd3f12
Handle_OP_ItemLinkClick converted to QueryDatabase
2014-08-24 14:06:52 -07:00
Arthur Ice
b6875564d4
GetCondition converted to QueryDatabase
2014-08-24 13:50:23 -07:00
Arthur Ice
0240c61952
LoadSpawnConditions converted to QueryDatabase
2014-08-24 13:31:55 -07:00
Arthur Ice
7864a5285d
LoadDBEvent converted to QueryDatabase
2014-08-24 13:19:30 -07:00
Arthur Ice
538921701c
UpdatedDBCondition converted to QueryDatabase
2014-08-24 13:19:30 -07:00
Arthur Ice
3cf4d4af1b
UpdateDBEvent converted to QueryDatabase
2014-08-24 13:11:17 -07:00
Arthur Ice
c70c7e13ec
CreateSpawn2 converted to QueryDatabase
2014-08-24 13:07:15 -07:00
Arthur Ice
9980dfe80e
LoadSpawn2 converted to QueryDatabase
2014-08-24 13:03:45 -07:00
Arthur Ice
42a51eb373
PopulateZoneSpawnList converted to QueryDatabase
2014-08-24 13:00:39 -07:00
Arthur Ice
932dd836d0
LoadSpawnGroupsByID converted to QueryDatabase
2014-08-24 12:54:06 -07:00
Arthur Ice
adf36bf912
LoadSpawnGroups converted to QueryDatabase
2014-08-24 12:46:02 -07:00
Arthur Ice
e7ef4b5484
SpellGlobalCheck converted to QueryDatabase
2014-08-24 12:37:44 -07:00
Arthur Ice
3d1521857e
LoadStaticZonePoints converted to QueryDatabase
2014-08-24 12:21:16 -07:00
Arthur Ice
9707b53df2
LoadDoors converted to QueryDatabase
2014-08-24 12:14:28 -07:00