Arthur Ice
99783fd871
Removed a usage of Mob::DistNoRootNoZ and used ComparativeDistanceNoZ instead
2015-01-18 03:31:07 -08:00
Arthur Ice
69a6a6f3f8
Removed a usage of Mob::DistNoRootNoZ and used ComparativeDistanceNoZ instead
2015-01-18 03:25:54 -08:00
Arthur Ice
90e011ad99
Removed a usage of Mob::DistNoRootNoZ and used ComparativeDistanceNoZ instead
2015-01-18 03:24:40 -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
Arthur Ice
0088d353d3
Removed a usage of Mob::DistNoRoot and used ComparativeDistance instead
2015-01-17 23:31:57 -08:00
Akkadius
e691735a2d
Consolidate 'LogType' Error logs over to 'LogCategory'
2015-01-18 01:30:25 -06:00
Arthur Ice
1bb4ff2d6a
Removed a usage of Mob::DistNoRoot and used ComparativeDistance instead
2015-01-17 23:30:18 -08:00
Arthur Ice
9aa46a9af2
Removed a usage of Mob::DistNoRoot and used ComparativeDistance instead
2015-01-17 23:27:57 -08:00
Arthur Ice
c5f38ee700
Removed a usage of Mob::DistNoRoot and used ComparativeDistance instead
2015-01-17 23:26:22 -08:00
Arthur Ice
81f36675b3
Removed a usage of Mob::DistNoRoot and used ComparativeDistance instead
2015-01-17 23:19:56 -08: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
Akkadius
d4f2e0ce5f
port mlog 'AI' category to new log system
2015-01-17 02:20:01 -06:00
Akkadius
7e7c59967c
_log error convert to logger.Log(EQEmuLogSys::Error
2015-01-10 19:05:46 -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
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
Michael Cook (mackal)
8522542ae2
Use lambdas in sort functions (for zone at least)
2014-12-24 18:29:23 -05:00
Arthur Ice
f409d39f1a
merge upstream
2014-12-21 13:57:20 -08:00
Akkadius
782b6fee94
merc.cpp header include cleanup
2014-12-15 17:54:23 -06:00
Michael Cook (mackal)
820f99067d
Make use of the targetable_with_hotkey flag for SoF+
2014-12-10 01:19:44 -05:00
Trevius
37951d09c7
(RoF+) Implemented Hero's Forge Armor Models for Items. To use, set herosforgemodel field in the item table to a model number such as 63 (for example).
2014-12-09 21:18:56 -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
Michael Cook (mackal)
23698c1373
Merge branch 'master' into random
2014-12-02 14:39:00 -05:00
Michael Cook (mackal)
dc0eb0f6b5
Merge branch 'master' into random
...
Conflicts:
zone/command.cpp
zone/merc.cpp
2014-12-02 14:05:55 -05:00
Trevius
52eb4d2d4e
Fixed Mercenary Depop Crash in Windows.
2014-12-02 00:07:09 -06:00
Trevius
24ea7a0d45
Mercenaries now spawn as the same Gender and Size of the Merchant they are purchased from.
...
Mercenaries now spawn with randomized facial features when purchased.
Setting a lastname for NPCs will now override any hard coded lastname (such as GM Trainers).
2014-12-01 19:54:01 -06: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
54bc1b06e4
NPC constructor converted to use xyz_heading
2014-11-30 17:32:11 -08:00
Trevius
b4862dea45
Compile Fix and fix to prevent Mercenaries from being set as Group Leader.
2014-11-25 02:54:02 -06:00
Trevius
09e13d0034
Spells that modify model size are now limited to 2 size adjustments from the base size.
2014-11-25 02:22:58 -06:00
Akkadius
111fb84041
Moved zonedatabase functions out of corpse.cpp
...
Conversion portion mostly complete
Some header readability cleanup
Some function renaming
Struct renaming
Many variable renaming
MySQL error log for all of QueryDatabase
Corpse table renaming
Corpse table field renaming
Most corpse database functions redone
2014-11-22 17:55:48 -06:00
Trevius
c5a90adb39
Grouping with Mercenaries is considerably less buggy.
2014-11-22 00:22:12 -06:00
Trevius
6c5248b9a9
Mercenaries now Dismiss, Suspend, Unsuspend, and Die correctly.
2014-11-19 22:43:19 -06:00
Trevius
a6b9e6cb3c
Trevius: Mercenaries can now zone once again.
2014-11-18 01:02:11 -06:00
KayenEQ
7943a73cfb
code fix
2014-11-12 02:03:24 -05:00
KayenEQ
59bcd031c8
Added a simple check to prevent DoEnduranceUpkeep (1 sec persistent timer)
...
from constantly checking when client has no endurance drain effects.
This was running 24/7 for all classes.
2014-11-12 01:54:21 -05:00
SecretsOTheP
29d614421f
int16/32 mismatch fixes. see changelog.txt
2014-11-03 22:43:00 -05:00
Michael Cook (mackal)
a062c27e1a
Take into account endurance bonuses from AAs
2014-10-22 22:27:51 -04:00
Michael Cook (mackal)
3be7d45d36
Revamp attack delays / hastes / slows based on dev quotes
...
See changelog
2014-09-27 23:14:11 -04:00
Alex
1bccdf57ee
Merge pull request #200 from addtheice/RunQueryToDatabaseQuery_zone_merc
...
Run query to database query zone merc
2014-08-22 13:47:29 -07: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
Arthur Ice
49d231f5dd
LoadMercs converted to QueryDatabase
2014-08-18 21:06:04 -07:00