Natedog2012
451983ffc9
Fix formatting on this.. which caused major zone crashes
2015-01-23 14:16:16 -05:00
KimLS
269d56e1d0
Switched out our kinda juryrigged vector types for glm::vec types since we use that as a 3d math library already but never switched out the types
2015-01-23 00:01:10 -08:00
Michael Cook (mackal)
f702e953e7
Some std::abs usage and a bit of clang-formatting
2015-01-22 22:59:52 -05:00
Akkadius
c5447778a6
Merge remote-tracking branch 'remotes/origin/master' into logging_changes
...
Conflicts:
world/client.cpp
world/worlddb.cpp
zone/aggro.cpp
zone/bot.cpp
zone/client.cpp
zone/client_packet.cpp
zone/client_process.cpp
zone/doors.cpp
zone/entity.cpp
zone/inventory.cpp
zone/mob_ai.cpp
zone/perl_client.cpp
zone/spells.cpp
zone/waypoints.cpp
zone/zone.cpp
zone/zonedb.cpp
zone/zoning.cpp
2015-01-21 17:29:30 -06:00
Uleat
e70e443950
Implemented 'enum class ClientVersion' -- added 'RoF2' to lua client version enumeration
2015-01-19 23:32:57 -05:00
Akkadius
ac2b53c94b
Remove Duplicative MySQL Error: Error while querying Spell ID %i spell_globals table query '%s': %s
2015-01-19 05:25:08 -06:00
Akkadius
0d9b6703a6
Rename debug.h to global_define.h, update cmakelists and such
2015-01-19 04:12:09 -06:00
Akkadius
14bac9f8c0
Remove occurrences of _pkt
2015-01-18 03:25:52 -06:00
Arthur Ice
94261700d9
Removed a usage of Mob::DistNoRoot and used ComparativeDistance instead
2015-01-18 01:21:19 -08:00
Arthur Ice
53ad34b060
Removed a usage of Mob::DistNoRoot and used ComparativeDistance instead
2015-01-18 01:19:45 -08:00
Akkadius
467b359d0c
Moved all EQEmuLogSys:: enum references used in Log.Out to a namespace 'Logs' for shortening of syntax
2015-01-18 02:20:16 -06:00
Akkadius
c025765283
Renamed DoLog to Out as the aggregate logging function for simplicity of use and shortened syntax of Log.Out
2015-01-18 02:00:15 -06:00
Akkadius
1c048cb1d1
Renamed DebugCategory to DoLog as the aggregate logging function for simplicity of use and shortened syntax of Log.DoLog
2015-01-18 01:54:09 -06:00
Akkadius
ec7fd9b4e7
Consolidate 'LogType' Normal logs over to 'LogCategory'
2015-01-18 01:32:18 -06:00
Akkadius
e691735a2d
Consolidate 'LogType' Error logs over to 'LogCategory'
2015-01-18 01:30:25 -06:00
Akkadius
7dbde36b03
Rename reference logger to Log
2015-01-18 00:41:18 -06:00
Akkadius
58d0b86a67
Consolidate EQEmuLogsys::Debug General calls into DebugCategory
2015-01-18 00:00:03 -06:00
Michael Cook (mackal)
fd77fbf163
Merge pull request #313 from addtheice/data_bundling
...
Data bundling
2015-01-17 17:30:14 -05:00
Michael Cook (mackal)
f9a7da61b8
Switch NUMHIT_ enum to a strongly typed enum
2015-01-17 16:18:09 -05:00
Akkadius
1405d9e114
port mlog 'CLIENT__SPELLS' category to new log system
2015-01-17 02:28:25 -06:00
Akkadius
d4f2e0ce5f
port mlog 'AI' category to new log system
2015-01-17 02:20:01 -06:00
Akkadius
cae6a70a2c
port mlog 'Spells' category to new log system
2015-01-17 02:01:20 -06:00
Akkadius
aec39d2650
Port mlog AA category to new log system
2015-01-17 01:59:18 -06:00
Akkadius
132fbbb0c6
Rename LogDebugType to DebugCategory
2015-01-16 03:09:02 -06:00
Akkadius
683ff1ea60
Convert 'SPELLS' debugging _log to logger.LogDebugType
2015-01-12 22:52:11 -06:00
Akkadius
26b550dd0d
More log replacements
2015-01-10 16:01:43 -06:00
Akkadius
b76e179d75
Fix spacing
2015-01-10 15:47:36 -06:00
Akkadius
6844645dfb
Replace LogFile->write(EQEmuLog::Error, with logger.logevents(EQEmuLogSys::Error
2015-01-10 15:44:35 -06:00
Akkadius
dadae1a71f
Replaced Debug messages: LogFile->write with logger.LogDebug
2015-01-10 15:26:38 -06:00
Arthur Ice
cd9ca65587
merge upstream
2015-01-08 19:40:00 -08:00
Akkadius
be381b4e56
Renamed EQEMuLog class to EQEmuLog
2015-01-08 19:46:28 -06:00
Trevius
179f47dbe3
RoF+ - Added the "Your race, class, or deity cannot use this item." message since it no longer exists in the eqstr_us.txt file.
2015-01-04 20:42:45 -06:00
Akkadius
73fe229e25
More hate changes
2014-12-27 20:23:49 -06:00
Akkadius
21ce6efc73
Merge branch 'master' of https://github.com/EQEmu/Server
2014-12-27 18:25:00 -06:00
Akkadius
3a488e3a61
Changed hate counter to uint32 to prevent negative rollback, this most likely can will be an issue but more uncommon
...
Renamed and refactored most functions and variables in hate_list.h/cpp for readability
Refactored how hate works in some local functions mixing the use of hate variable and split it out into different status variables
hate_list.cpp/.h style cleanup
hate_list.h header function sort, comment erase
functions should clearly state their function
2014-12-27 18:24:42 -06:00
KayenEQ
9666f1e25e
Implemened npc special ability (43) CASTING_RESIST_DIFF which sets innate resist modifier on
...
ALL spells used by that NPC. Ie. 43,1,-200 will set a -200 innate resist diff, so if your npc cast
a spell that has a -10 resist modifier the final resist diff would be -210.
2014-12-27 18:43:59 -05:00
Uleat
34ab3e10f5
Added some nullptr checks for ItemInst* in a few places (tradeskills.cpp - particularly augments - needs a better review)
2014-12-23 10:14:45 -05:00
Michael Cook (mackal)
a7cdb4c0af
Add a few missing bonus recalcs
2014-12-21 23:53:02 -05:00
Arthur Ice
f409d39f1a
merge upstream
2014-12-21 13:57:20 -08:00
Akkadius
9ef0fa13c7
Merge branch 'master' of https://github.com/EQEmu/Server
2014-12-15 19:12:23 -06:00
Michael Cook (mackal)
b5c60d8123
Bot compile fix
2014-12-15 20:08:46 -05:00
Akkadius
1ec2ce7e26
spells.cpp header include cleanup
2014-12-15 18:48:42 -06:00
KayenEQ
70f570dbd9
Implemented support for allowing most focus effects to now be usable
...
by NPCs (ie Heal/Damage focus, cast time, spell range ect) from
both spell buffs and items.
Rule for enabling spell focus is TRUE by default
Rule for enabling item focus is FALSE by default.
Consilidated a number of redundant client / mob functions
to use the same pathway for calculating effect values.
2014-12-08 01:22:01 -05:00
Arthur Ice
2aa287fe3c
Merge
2014-12-05 20:16:13 -08:00
Arthur Ice
f5a94ed07b
IsSpellBlocked converted to use xyz_location
2014-12-01 16:00:48 -08:00
Michael Cook (mackal)
395be050a3
Switch random function to std::mt19937
...
Added class EQEmu::Random
Functions:
EQEmu::Random::Int(int low, int high)
EQEmu::Random::Real(double low, double high)
EQEmu::Random::Roll(int required)
EQEmu::Random::Roll(double required)
EQEmu::Random::Reseed()
For zone, you will access the random object through the zone object
ex.
zone->random.Int(0, 100);
Int returns a random int between low and high
Real returns a random double between low and high
Roll(int) returns true if Int(0, 99) < required is true
Roll(double) returns true if Real(0.0, 1.0) <= required is true
2014-12-01 18:13:12 -05:00
Arthur Ice
fb9d76f851
GetSpellBlockedMessage converted to xyz_location
2014-12-01 14:16:53 -08:00
akkadius
f5ba442ba6
spells.cpp #include cleanup
2014-11-29 15:59:24 -06:00
Michael Cook (mackal)
ee7f88d247
Merge pull request #301 from KayenEQ/Development
...
Fix for numhits counter being decreased 2x for Outgoing Hit Success from...
2014-11-26 15:27:43 -05:00
Akkadius
b43cfa126f
Renamed SetPKItem to SetPlayerKillItemID
...
Renamed AllowMobLoot to AllowPlayerLoot
Renamed DepopCorpse (PC) to DepopPlayerCorpse
Renamed GetPKItem to GetPlayerKillItem
Renamed Corpse class variable 'orgname' to 'corpse_name'
Renamed CompleteRezz to CompleteResurrection
Renamed GetDBID to GetCorpseDBID
Removed CorpseToServerSlot as it is unnecessary
Removed ServerToCorpseSlot as it is unnecessary
Reogrganized corpse.h header
2014-11-25 23:54:59 -06:00