413 Commits

Author SHA1 Message Date
Akkadius
a5119d1a9f Remove some instances of std::cerr 2016-04-11 14:29:45 -05:00
Uleat
e75a53b775 Rework of eq_dictionary 2016-04-07 17:21:55 -04:00
Michael Cook (mackal)
9599501ace Implement extra bind points (secondary recall)
For SE_Gate, base2 is which bind to use (starting at 1)
For SE_BindAffinity, base1 is which bind to set (starting at 1)
For SE_GateCastersBindpoint, base1 is which bind to use (starting at 1)
    here was actually no spells that don't send to the main bind,
    but it uses a base1 of 1 which matches with SE_Gate
    This also doesn't break anything

The quest stuff for now hasn't been updated to be able to make use of the extra binds

There are a total of 5 bind points, with the 5th being your starting city
2016-03-05 16:28:53 -05:00
Luke Wahlmeier
3a20bbd834 fixed else error case for eqtime table 2016-01-05 14:18:31 -07:00
Tim DeLong
aad1396c73 * CheckNameFilter was enforcing minimum surname length of 3 instead of 4.
* Minor refactoring of CheckNameFilter to eliminate redundant code.
2015-12-30 23:30:52 -05:00
Tim DeLong
fe61abc3cd * AddReport's who and against strings were not being escaped properly. 2015-12-30 11:42:49 -05:00
regneq
17bbd8dfbe eqtime is now stored in the DB.
required/2015_12_17_eqtime.sql
2015-12-17 14:14:04 -08:00
Uleat
ecd695ff9b Script and server code query updates for bots_updater 2015-10-09 21:34:31 -04:00
Uleat
a1089fccd6 Implemented 'Inventory Snapshot' feature 2015-09-25 23:07:05 -04:00
JJ
56b57d2ca6 Fix moving character to zone using character id and zone name. (bheam) 2015-06-30 20:05:35 -04:00
Michael Cook (mackal)
36d53f69d6 Fix query in Database::SetRaidGroupLeaderInfo 2015-02-05 18:11:38 -05:00
Akkadius
387b445685 Fix the 'is_category_enabled' in each of the database loaders 2015-02-01 02:08:46 -06:00
Akkadius
46ac254b3a Add struct member LogSettings::is_category_enabled so that it can be used for fast checking in intense portions of code 2015-02-01 01:58:10 -06:00
Trevius
0aba2d578a Added more information to Mercenary Logging.
Added potential fix for Mercenaries that fail to unsuspend.
Added a new "statscale" field to the merc_stats table that can be used to quickly balance Mercenary Stats based on Level.
The new "statscale" field now combines with the Mercs::ScaleRate rule value (default 100 percent for both).
2015-01-29 23:04:41 -06:00
Akkadius
1d462bfd0f Revert some entity related CastTo changes 2015-01-25 01:42:46 -06:00
Akkadius
daa3b5d257 DeleteCharacter remove whitespaces in line endings 2015-01-24 23:55:01 -06:00
Akkadius
7b3d1c3252 DeleteCharacter formatting changes 2015-01-24 23:52:48 -06:00
Akkadius
60e17bbeaa Misc formatting changes 2015-01-24 23:49:29 -06:00
Akkadius
06b8ce6017 Cleanup database.h header and add database_conversions.cpp file 2015-01-24 23:43:00 -06:00
Akkadius
968e936114 Create database_conversions.cpp and move all of the conversion code to it 2015-01-24 23:34:14 -06:00
Akkadius
0af719e3a2 Cleanup Database::GetMiniLoginAccount 2015-01-24 23:10:55 -06:00
Akkadius
0ae5784c99 Cleanup Database::AddClientToInstance 2015-01-24 23:08:40 -06:00
Akkadius
00ae27136c Cleanup Database::CheckInstanceExists 2015-01-24 23:05:41 -06:00
Akkadius
e5f22f1f00 Cleanup Database::BuryCorpsesInInstance 2015-01-24 23:04:55 -06:00
Akkadius
3b7ea7fe24 Cleanup Database::CheckInstanceExists, use just one column instead of * as storing more results than you need to is generally slower 2015-01-24 23:02:51 -06:00
Akkadius
f4a25b0331 Cleanup Database::GetAdventureStats 2015-01-24 22:59:52 -06:00
Akkadius
00d3939ece Cleanup Database::GlobalInstance 2015-01-24 22:58:14 -06:00
Akkadius
5aadfc5577 Cleanup Database::AssignRaidToInstance 2015-01-24 22:56:18 -06:00
Akkadius
003b56bc39 Cleanup Database::AssignGroupToInstance 2015-01-24 22:55:51 -06:00
Akkadius
64192fa1d7 Cleanup Database::GetCharactersInInstance 2015-01-24 22:55:15 -06:00
Akkadius
3428540d01 Cleanup Database::GetInstanceID, the 2nd version 2015-01-24 22:54:16 -06:00
Akkadius
10ab806859 Cleanup Database::GetInstanceID 2015-01-24 22:51:49 -06:00
Akkadius
9c92cbb780 Remove redundant MySQL error message in ClearRaidLeader 2015-01-24 22:42:51 -06:00
Akkadius
e7b4a38e69 Remove redundant MySQL error message in ClearAllRaidLeaders 2015-01-24 22:40:58 -06:00
Akkadius
5585b50601 Remove redundant MySQL error message in SetRaidGroupLeaderInfo 2015-01-24 22:38:35 -06:00
Akkadius
8d30ca51ca Cleanup Database::GetRaidLeaderName log Messages 2015-01-24 22:37:40 -06:00
Akkadius
f39afc51c7 Suppress Error message for GetRaidID (Unable to get raid id, char not found) because it will happen for any player who is not in a raid anyways which makes it pointless 2015-01-24 22:29:23 -06:00
Akkadius
8ed1d5042a Suppress Error message for GetRaidID (Unable to get raid id, char not found) because it will happen for any player who is not in a raid anyways which makes it pointless 2015-01-24 22:29:15 -06:00
Akkadius
443e3bf8a7 Fix Database::ReserveName so that it no longer relies on a failed insert into the character_data table to return false; on character creation. Log message for Logs::World_Server added for the same 2015-01-24 01:20:04 -06:00
Akkadius
66008f4475 Fix situation where someone will add a player to an instance for sanity sake (twice) and INSERT will fail, this is merely suppressing logsby doing a REPLACE INTO via Database::AddClientToInstance 2015-01-24 00:57:36 -06:00
Akkadius
46010fbfdf Rename LoadLogSysSettings to LoadLogSettings 2015-01-21 19:04:13 -06:00
Akkadius
1bbbb28218 Refactor some of the database stuff for QueryServ for uniformity, should probably be done right later 2015-01-20 04:30:27 -06:00
Akkadius
cdde408602 Some adjustments to file writing routines 2015-01-20 04:10:39 -06:00
Akkadius
0bb013bafb Convert DeleteCharacter to Log.Out 2015-01-20 02:36:47 -06:00
Akkadius
fc0e760b02 Convert DeleteAccount to Log.Out 2015-01-20 02:33:55 -06:00
Akkadius
ec2a8c4a1b Convert CreateAccount to Log.Out 2015-01-20 02:33:15 -06:00
Akkadius
29774d9765 Database:;ClearMerchantTemp cleanup 2015-01-20 02:16:53 -06:00
Akkadius
3fbac46ee6 Remove Duplicative MySQL Error: 2015-01-20 02:14:36 -06:00
Akkadius
5ec3d58e32 Remove Duplicative MySQL Error: Error updating LFP for character %i : %s 2015-01-20 02:13:25 -06:00
Akkadius
c5dbbd1f07 Remove Duplicative MySQL Error: Error updating LFP for character %i : %s 2015-01-20 02:12:59 -06:00