Akkadius
ed9bdaf60c
Add to string_util.h void find_replace(std::string& string_subject, std::string& search_string, std::string& replace_string) {
2015-02-01 01:00:05 -06:00
Akkadius
a6b95aeceb
At point in which Client -> Server packet logging is working, will do more prechecking to declare that anything actually is subscribed to this category before outputting
2015-01-31 02:23:58 -06:00
Michael Cook (mackal)
0bdbc5f5c9
More clang-formatting
2015-01-31 01:22:40 -05:00
Akkadius
877d2cab4e
Merge branch 'master' of https://github.com/EQEmu/Server
2015-01-30 23:16:08 -06:00
Michael Cook (mackal)
0f1b504ed6
Some clang-formatting
2015-01-31 00:00:02 -05:00
Akkadius
ee57568c5d
Implement Rule Based Environment damage multiplier
2015-01-30 18:12:00 -06:00
KimLS
9a664476b0
Merge branch 'eqstream_ptr'
2015-01-30 15:03:40 -08:00
KimLS
f388a605dd
Spelling errors and revised my cle change to put it much lower so it shouldn't have any side effects other than avoiding the crash
2015-01-30 15:03:02 -08:00
Alex
01c0a87cee
Merge pull request #353 from EQEmu/eqstream_ptr
...
Change EQStream raw pointers to be std::shared_ptr
2015-01-30 13:41:49 -08:00
Michael Cook (mackal)
8ec1cb949a
Fix merc attack delay
2015-01-30 01:33:55 -05:00
KimLS
5e1a886e8f
Merge branch 'master' into eqstream_ptr
2015-01-29 22:13:41 -08: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
0c934272c0
Added Logs::DebugQuest category per request from Trevius (Great idea)
...
- Exported quest::debug(log_message, [debug_level = 1)
- Example:
quest::debug("This is a test debug message, level 1 (default)");
quest::debug("This is a test debug message, level 1", 1);
quest::debug("This is a test debug message, level 2", 2);
quest::debug("This is a test debug message, level 3", 3);
Result: http://i.imgur.com/6VoafGE.png
- Uses traditional logging system to output this category
- Required MySQL Source in Database version 9070
2015-01-28 20:00:03 -06:00
KimLS
7dbe6a7426
Many tweaks to stream memory allocation, including but not limited to streams now are shared_ptrs.
2015-01-27 21:12:44 -08:00
Uleat
4832acde0b
Finished ClientVersion naming conventions (don't forget to copy the renamed patch_UF.conf file)
2015-01-27 05:09:35 -05:00
Akkadius
e1e53b926f
Merge branch 'master' of https://github.com/EQEmu/Server
2015-01-26 01:53:37 -06:00
Akkadius
26a766335f
Fix for GetCharactersInInstance post-cleanup
2015-01-26 01:51:29 -06:00
Michael Cook (mackal)
03a27ca9ed
Merge pull request #350 from addtheice/dead_code_removal
...
Dead code removal
2015-01-26 01:13:25 -05:00
Michael Cook (mackal)
6e295a1102
Rewrite StringFormat to take advantage of RVO
...
The standard stipulates that if RVO doesn't take place, that it should
return an rvalue anyways, so move semantics should take place without
the std::move, which were just forcing RVO to not be attempted.
Also removed duplicate code
The only thing that /might/ be slower is the output.clear() but that's
an edge case anyways.
2015-01-26 00:31:50 -05:00
Akkadius
a5b77981b7
Rename db_update.pl to eqemu_update.pl so that the script is more of a generic upgrade script for future add-ons as well as implementing versioning without waiting for everyone to download the copy of the script that successfully self-updates. [skip ci]
2015-01-25 21:23:50 -06:00
Akkadius
9d9df6931e
Re-Implement file check for db_update.pl in Database::CheckDatabaseConversions() so when the file exists it isn't re-downloaded
...
Increment db_update.pl current version to version 2
Update Database::CheckDatabaseConversions() to check for version 2 of db_update.pl
2015-01-25 20:48:30 -06:00
Trevius
fc5266e115
Added Logs::Mercenaries to the new Logging System. Logging of Mercenary information is off by default with the required SQL.
2015-01-25 12:31:07 -06:00
Akkadius
5266d7b25c
Add extra checking at the root of Log.Out to check if the category is subscribed to any of the output methods before trying to parse message strings and then pass them to the sub output functions and THEN perform log_setting checks and debug_level checks.
...
I performed a unit test of 1,000,000 log writes, there is hardly any difference.
#::: Before Checks
[01-25-2015 :: 03:15:35] [999999] Test #2... Took 17.940001 seconds
#::: With Checks
[01-25-2015 :: 04:10:55] [999999] Test #2... Took 18.018000 seconds
2015-01-25 04:24:05 -06:00
Akkadius
4f19fe9f91
Travis compile fix for real?
2015-01-25 02:27:30 -06:00
Akkadius
5e107a9936
Help Travis figure out what time of day it is
2015-01-25 02:23:05 -06:00
Akkadius
6212045dcd
Add database_instances.cpp
2015-01-25 02:16:11 -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