Akkadius
b36d9fe115
Update world binary with eqemu_update.pl script version [skip ci]
2015-03-10 22:44:30 -05:00
Akkadius
c313bd8d07
Re-rename UF.conf again [skip ci]
2015-03-10 22:40:20 -05:00
Akkadius
be9066235b
[eqemu_update.pl] Add Option 6) Download Latest map and water files
2015-03-10 22:37:17 -05:00
Akkadius
0210d6f6bf
Fix Spell Book Deletion
2015-03-04 02:40:49 -06:00
Akkadius
7ac7914f33
Set door zone to 32 bytes for consistency in copy [skip ci]
2015-02-13 03:50:01 -06:00
Akkadius
da425195f9
Missed .sql file [skip ci]
2015-02-12 22:32:36 -06:00
Akkadius
a544c681c7
Implement zone based gravity, required SQL DB change
...
- To test `zone` table `gravity` values, change the value and use #zheader <zoneshortname> to test
2015-02-12 22:09:17 -06:00
Akkadius
fd45e8d21d
Merge branch 'master' of https://github.com/EQEmu/Server
2015-02-12 20:52:24 -06:00
Akkadius
1966324112
Changed NPCTypes Data to bulk load when the zone loads or Repops, this bulk loading is stored in the npc_types cache
2015-02-12 19:57:24 -06:00
Akkadius
16002eb62e
ClientTaskState::GetTaskActivityDoneCountFromTaskID invalid Index return (Crash fix)
2015-02-12 01:54:41 -06:00
Akkadius
8b925f549b
derp [skip ci]
2015-02-08 06:19:14 -06:00
Akkadius
cb81d956f6
Reduced #repop time dramatically by taking down hundreds of individual SELECT/DELETE/INSERT queries in routines and bringing it down to very few
...
See: https://www.youtube.com/watch?v=9kSFbyTBuAk
2015-02-08 05:01:58 -06:00
Akkadius
d5047da637
Fix an issue that is slowing repops down and unecessarily causing more work for respawn timer code
2015-02-06 19:55:00 -06:00
Akkadius
ef5d475978
Correct db manifest [skip ci]
2015-02-05 06:05:49 -06:00
Akkadius
dce6ccf4de
GetTaskActivityDoneCountFromTaskID crash fix
2015-02-05 05:43:36 -06:00
Akkadius
f2667cee23
Implement Packet logs with dumps
...
- Category: 41: Packet: Server -> Client With Dump
- Category: 42: Packet: Server -> Client With Dump
See: http://wiki.eqemulator.org/p?Logging_System_Overhaul#packet-logging-levels
2015-02-02 00:10:22 -06:00
Akkadius
d2b9d4ab20
find_replace fix for real
2015-02-01 22:40:56 -06:00
Akkadius
20c99e36d8
find_replace fix
2015-02-01 22:29:04 -06:00
Akkadius
3ec39ce06b
Changelog
2015-02-01 22:00:21 -06:00
Akkadius
10e3c31ad6
Packet Logging database version update
2015-02-01 21:56:45 -06:00
Akkadius
4b08c75527
Add some 'is_category_enabled' before some more core logging function calls
2015-02-01 21:47:41 -06:00
Akkadius
8aa8982b66
Add File 2015_02_01_logsys_packet_logs.sql
2015-02-01 21:43:50 -06:00
Akkadius
5daa29aa3f
Merge branch 'master' of https://github.com/EQEmu/Server
2015-02-01 21:42:53 -06:00
Akkadius
75c48e5800
Add category prefix in file based log messages
2015-02-01 21:42:43 -06:00
Akkadius
02e56331ec
Have is_category_enabled update appropriately when settings are set via #logs
2015-02-01 19:57:02 -06:00
Akkadius
774e429d87
Get Logs::Client_Server_Packet_Unhandled to show raw opcodes
2015-02-01 19:56:32 -06:00
Akkadius
f9ba99e99f
Merge branch 'master' of https://github.com/EQEmu/Server
...
Conflicts:
common/eqemu_logsys.h
2015-02-01 15:56:05 -06:00
Akkadius
b3ea1a9da7
Some changes
2015-02-01 04:05:32 -06:00
Akkadius
5fcd3eb38e
Implement stable Server -> Client packet logging
2015-02-01 03:25:16 -06:00
Akkadius
e35205eaf4
Add Packet :: Server -> Client logging
2015-02-01 02:13:47 -06:00
Akkadius
081a61a948
Add Packet :: Server -> Client category
2015-02-01 02:11:58 -06:00
Akkadius
d75c632d73
Chnage netcode logging check to use is_category_enabled instead of just checking for console
2015-02-01 02:10:18 -06:00
Akkadius
d9c47fcd41
Add a category check pre Logs::Client_Server_Packet trigger
2015-02-01 02:09:24 -06: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
Akkadius
5f64b1e1c8
Modify category descriptor Packet :: Client -> Server
2015-02-01 01:06:19 -06:00
Akkadius
5c729e65c9
Add sanity checks to GMSayHookCallBackProcess
2015-02-01 01:05:39 -06:00
Akkadius
4f4eee2b16
Re-Order string_util.h
2015-02-01 01:03:30 -06:00
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
Akkadius
3c08af5ca1
(Bobaski) Add PoK New Merchant sql/git/optional/2015_01_30_poknowledge_spell_vendors.sql
2015-01-30 23:43:35 -06:00
Akkadius
7a3399e510
WOOPS! (That's what he said)
2015-01-30 23:17:11 -06:00
Akkadius
877d2cab4e
Merge branch 'master' of https://github.com/EQEmu/Server
2015-01-30 23:16:08 -06:00
Akkadius
39a47ceb93
Implemented LUA counterpart of EVENT_ENVIRONMENTAL_DAMAGE
2015-01-30 23:15:48 -06:00
Akkadius
8229a578ee
Implemented event type "EVENT_ENVIRONMENTAL_DAMAGE"
...
- This event triggers when taking any sort of environmental damage. Example use:
sub EVENT_ENVIRONMENTAL_DAMAGE{
quest::debug("EVENT_ENVIRONMENTAL_DAMAGE");
quest::debug("env_damage is " . $env_damage);
quest::debug("env_damage_type is " . $env_damage_type);
quest::debug("env_final_damage is " . $env_final_damage);
}
Result: (Test falling in Velks): http://i.imgur.com/tPRL7yL.png
2015-01-30 23:01:31 -06:00
Akkadius
62197d7d33
Merge branch 'master' of https://github.com/EQEmu/Server
2015-01-30 22:58:52 -06:00
Akkadius
ee57568c5d
Implement Rule Based Environment damage multiplier
2015-01-30 18:12:00 -06:00
Akkadius
5d465a4d49
UCS Crash Fix
2015-01-28 22:47:43 -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
Akkadius
61e9160d47
Update eqemu_update.pl to download patch_UF.conf instead of patch_Underfoot.conf
2015-01-28 00:05:29 -06:00
Akkadius
2211a63fe7
Some minor format changes to SaveCharacterCorpse
2015-01-27 20:24:43 -06:00
Akkadius
0f196cc995
Fix for ZoneDatabase::SaveCharacterCorpse where a corpse was empty and two individual corpses would be created
2015-01-27 19:46:31 -06: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
Akkadius
a698eff106
Natedog: Fix #gassign to work more appropriately and simplify the function
2015-01-25 23:27:44 -06:00
Akkadius
d63f137a9f
Now that versioning works, set script back to V 2 [skip ci]
2015-01-25 21:26:25 -06: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
38aa7134ad
Update db_update.pl verbiage [ci skip]
2015-01-25 20:54:45 -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
Akkadius
d51271dc6d
Fail safe for db_update.pl so that the menu loop does not loop forever, it will exit after 50 loops
...
Add --no-check-certificate to Linux wget for method GetRemoteFile in db_update.pl
Add a case where if the actual database version is greater than what world reports as the binary_database_version that it will simply continue booting up
2015-01-25 20:39:54 -06:00
Akkadius
58b5f6b88f
Update db_dumper.pl to allow remote host backups
2015-01-25 16:51:58 -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
13af3e35e2
Removed COMMANDS_LOGGING ifdef
2015-01-24 22:48:06 -06:00
Akkadius
36e01cb9f1
Adjust some commands that default to 0, change Log commands to Commands category instead of Error
2015-01-24 22:46:40 -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
609cad72d9
Convert Entity::CastToNPC to Log.Out with EQDEBUG remove
2015-01-24 22:22:30 -06:00
Akkadius
a31ad485e4
Convert Entity::CastToClient to Log.Out
2015-01-24 22:20:58 -06:00
Akkadius
1b1c82a3e7
Doors::HandleClick and remove #EQDEBUG check, convert log
2015-01-24 22:09:58 -06:00
Akkadius
ecf354e2c9
Update database table to the real defaults that it was intended to have
2015-01-24 22:05:29 -06:00
Akkadius
62d9de3074
Cleanup logging in Client::Handle_OP_CastSpell as well as some more conversions
2015-01-24 22:01:37 -06:00
Akkadius
d3fb59b3e5
Cleanup logging in Client::Handle_OP_CastSpell
2015-01-24 22:00:20 -06:00
Akkadius
26018ec898
astyle client_mods.cpp
2015-01-24 05:11:19 -06:00
Akkadius
6300cbb6b8
Client::CalcMaxMana Log adjust
2015-01-24 05:03:27 -06:00
Akkadius
91fe63537b
Client::ACMod Log adjust
2015-01-24 05:01:23 -06:00