KimLS
04dc593df9
Various bug fixes
2014-08-31 20:27:02 -07:00
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
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
Michael Cook (mackal)
11ed698642
(noudess) Merchants are more descriptive in their rejections
2014-08-30 01:38:49 -04:00
KimLS
467afc86af
Merge branch 'master' of github.com:EQEmu/Server
2014-08-28 03:18:02 -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
Uleat
18a4f831be
Tweaked QS code for Client::FinishTrade() and QueryServ handlers.
2014-08-26 06:37:40 -04:00
KimLS
6597967acd
Changed void* to EQEmu::Any in quest interface. Been meaning to change from void* for a while to a structure that data hides instead.
2014-08-25 22:59:52 -07:00
Uleat
d4a9fed45e
Added QS code to Client::FinishTrade()
2014-08-25 22:29:00 -04: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
akkadius
cef1dfd0c0
Query Fix for SendQuery (Temporary)
2014-08-24 02:50:39 -05:00
akkadius
7f89191ffc
Changed zone process window title format, example: 'crushbone :: clients: 6 inst_id: 1 inst_ver: 0 :: port: 7015'
...
Most of the following changes are QueryServ related, fully implemented its original functionality to be able to offload
intensive or metric based logging to a remote server process that could exist on another server entirely
Implemented Player Event Logging Types (Go to table `qs_player_events`):
1 = Player_Log_Quest,
2 = Player_Log_Zoning,
3 = Player_Log_Deaths,
4 = Player_Log_Connect_State,
5 = Player_Log_Levels,
6 = Player_Log_Keyring_Addition,
7 = Player_Log_QGlobal_Update,
8 = Player_Log_Task_Updates,
9 = Player_Log_AA_Purchases,
10 = Player_Log_Trade_Skill_Events,
11 = Player_Log_Issued_Commands,
12 = Player_Log_Money_Transactions,
13 = Player_Log_Alternate_Currency_Transactions,
- All QueryServ logging will be implemented with a front end in EoC 2.0 very soon
Changed all QS Error related logging to 'QUERYSERV__ERROR'
(Natedog) (Crash Fix) Legacy MySQL bug revert for loading AA's COALESCE( from COALESCE (
Implemented Perl Quest objects (LUA still needed to be exported):
- quest::qs_send_query("MySQL query") - Will send a raw query to the QueryServ process, useful for custom logging
- quest::qs_player_event(char_id, event_desc); - Will process a quest type event to table `qs_player_events`
Added MySQL Tables:
- `qs_player_aa_rate_hourly`
- `qs_player_events`
- Source table structures from:
- utils\sql\git\queryserv\required\08_23_2014_player_events_and_player_aa_rate_hourly
To get the complete QueryServ schema, source from here:
- utils\sql\git\queryserv\required\Complete_QueryServ_Table_Structures.sql
Added rules for each logging type, source rules here with them enabled by default:
- utils\sql\git\queryserv\required\Complete_QueryServ_Rules_Enabled.sql
Spawn related logging cleanup
General code cleanup
Added queryserv.cpp and queryserv.h with QueryServ class
2014-08-23 23:59:20 -05:00
KimLS
07a2cbe9a5
Renamed zone files
2014-08-21 23:46:01 -07:00
KimLS
7fc21b9e3a
Tons of renames
2014-08-21 19:33:02 -07:00
Uleat
9e1549b61b
Fix for invalid handling of heading criteria in Client::Handle_OP_ClientUpdate()
2014-08-16 18:12:21 -04:00
Russell Kinasz
1ba4b6fc31
Implemented Raid OOC Regen
2014-08-12 15:18:11 -07:00
Uleat
8b14c21a24
More numeric to constant conversions..should be most of them... Please report any inventory abnormalities.
2014-07-31 07:52:38 -04:00
Uleat
36a2d52f1c
More 'dictionary' updates..added 'constants' files to client translators..started replacement of hard-coded inventory values.
2014-07-27 20:35:43 -04:00
Uleat
d7c2d6108f
Added the initial references for two new dictionaries - EmuConstants and EQLimits..more to come.
2014-07-16 21:23:16 -04:00
KayenEQ
0e438942e4
Complete revision of SE_SkillProc, SE_LimitToSkill,
...
SE_SkillProcSuccess (now implemented correctly)
to function more accurately and efficiently, AA supported.
This may need to be updated in the future, if more live
spells readily become avialable to test with.
2014-07-06 18:58:16 -04:00
KimLS
8c92271804
Initial v2 water map format.
2014-05-20 00:14:26 -07:00
SecretsOTheP
cc6dce25ad
Identified the opcode/struct for guild ranks in Rain of Fear+ clients and created a temporary workaround for permissions until full DB support is added for the new permissions system.
2014-05-17 23:33:35 -04:00
Michael Cook (mackal)
eb33e8ae11
Melee 'facing' code updated to client derived function
...
These new functions are derived from the client
The need was because the old function sometimes didn't line
up with the client generated messages.
2014-05-05 15:29:29 -04:00
KimLS
989bffee81
Merge branch 'master' into raycast
2014-04-27 14:36:05 -07:00
Corysia Taware
0f67e93a0f
Backward port to OSX 10.6 (Snow Leopard)
2014-04-05 10:24:28 -07:00
Michael Cook (mackal)
8866b3170e
Implement ability for NPC Merchants to open and close shop
2014-04-01 21:03:49 -04:00
Michael Cook (mackal)
d70c4d7bbe
Fix rogue's evade to be single target
...
This is also a lot nice performance wise
2014-03-05 01:34:17 -05:00
KimLS
629f9863ae
Merge branch 'master' into raycast
2014-03-01 17:49:21 -08:00
Michael Cook (mackal)
d525d23217
Shielding now uses StringIDs
2014-02-28 02:57:43 -05:00
Siroro
0f60fb06e3
Added rule Merchant: EnableAltCurrencySell - defaults to true, allows servers to disable the ability to resell items to alternate currency merchants.
2014-02-27 09:41:57 +00:00
KimLS
951c321ba6
Partial port of der's map rewrite, no new azone format yet but it's coming. Will convert legacy map formats on the fly atm.
2014-02-23 21:17:28 -08:00
cavedude00
c6377b93d5
Merchants will now keep track of charges sold to them properly so it is no longer possible to recharge items using merchants.
2014-02-23 15:55:26 -08:00
Michael Cook (mackal)
451d422b8a
Keep track of base spell id for SpellProcs/PermaProcs
...
This will fix numhits issue for procs from spells
2014-02-21 04:04:18 -05:00
Michael Cook (mackal)
808977f69a
(Performance) Corpse drag will now fetch entity by ID
2014-02-20 01:35:59 -05:00
KimLS
1ec0add76f
Make sure some strings coming from the client are actually null terminated.
2014-02-10 21:00:25 -08:00
KayenEQ
d98ed8f419
New spell effects
2014-01-27 05:17:52 -05:00
Michael Cook (mackal)
17f0cffca6
Do not trip hacker detection if target is on their XTargets
2014-01-24 18:48:47 -05:00
Michael Cook (mackal)
85d6db1de1
Switched some things to StringID defines
2014-01-24 02:05:26 -05:00
Michael Cook (mackal)
bb793e5582
Moved Assisting Exemption check up
...
This is just so assisting to a client will clear the flag
2014-01-22 01:41:26 -05:00
Michael Cook (mackal)
3d47d912fd
Fix /assist to only care about range to assistee
2014-01-22 01:00:48 -05:00
Michael Cook (mackal)
4216627604
Prefer prefix ++/-- on non-primitive types
...
Postfix ++/-- might cause the creation of a tmp instance
that might be optimized out. Mights are bad. Prefix doesn't
have this problem.
2014-01-13 22:14:02 -05:00
Michael Cook (mackal)
fdced53be1
Add pet size preservation like live
...
Run the SQL!!
2014-01-09 14:25:29 -05:00
Michael Cook
8a04d8e2b7
Moved pet target checking to the attack command, which is more live like
...
Also, probably a little better than attacking then backing off :P
2014-01-07 17:02:35 -05:00
Michael Cook (mackal)
a9b4e7819f
Add some overflow protection for emotes
...
Clients crash if the emote is too large, despite the client
using a 1024 char buffer...
2014-01-04 01:34:58 -05:00