Akkadius
a6a86f030c
Remove Unneeded DebugBreak
2015-01-20 19:41:29 -06:00
Akkadius
56b0a2aa4f
Remove Unneeded DebugBreak
2015-01-20 19:41:28 -06:00
Akkadius
07d2eab183
Remove Unneeded DebugBreak
2015-01-20 19:41:27 -06:00
Akkadius
90dd9f8aeb
Remove Unneeded DebugBreak
2015-01-20 19:41:26 -06:00
Akkadius
32cba9083c
Remove Unneeded DebugBreak
2015-01-20 19:41:25 -06:00
Akkadius
26b65a05a9
Remove Unneeded DebugBreak
2015-01-20 19:41:24 -06:00
Akkadius
0db638c8c0
Remove Unneeded DebugBreak
2015-01-20 19:41:23 -06:00
Akkadius
456356d626
Remove Unneeded DebugBreak
2015-01-20 19:41:22 -06:00
Akkadius
29fe791ad0
Remove Unneeded DebugBreak
2015-01-20 19:41:21 -06:00
Akkadius
6c545a144c
Remove Unneeded DebugBreak
2015-01-20 19:41:20 -06:00
Akkadius
6e582fb68f
Remove Unneeded DebugBreak
2015-01-20 19:41:19 -06:00
Akkadius
a19f7f702c
Remove Unneeded DebugBreak
2015-01-20 19:41:18 -06:00
Akkadius
f44155a317
Remove Unneeded DebugBreak
2015-01-20 19:41:17 -06:00
Akkadius
7fef8de50a
Remove Unneeded DebugBreak
2015-01-20 19:41:14 -06:00
Akkadius
440ca97a79
Remove Unneeded DebugBreak:
2015-01-20 19:40:55 -06:00
Akkadius
b5fe23a4c3
Remove commented std::cout : CastToTrap error
2015-01-20 01:30:56 -06:00
Akkadius
849ec2850f
Remove commented std::cout : CastToTrap error
2015-01-20 01:30:53 -06:00
Akkadius
0d9b6703a6
Rename debug.h to global_define.h, update cmakelists and such
2015-01-19 04:12:09 -06:00
Akkadius
abc2f9cace
Convert 'Dropping client:' to Zone Status
2015-01-19 03:00:32 -06: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
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
d21466566e
Remove some mlog related functions in Mob::
2015-01-16 21:53:56 -06:00
Akkadius
132fbbb0c6
Rename LogDebugType to DebugCategory
2015-01-16 03:09:02 -06:00
Akkadius
4811631127
Convert _log from TASKS category
2015-01-12 21:19:19 -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
Michael Cook (mackal)
f3f9997adf
Packets are already memset to 0
2015-01-09 12:59:48 -05:00
Michael Cook (mackal)
1b8711bce9
Minor tweaking to zone/entity.cpp
2015-01-09 12:59:13 -05:00
Michael Cook (mackal)
c33973f20a
Optimize EntityList::RemoveGroup/RemoveRaid
...
lambdas are cheating btw.
2015-01-09 02:44:20 -05:00
Trevius
4c9653d204
Potential crash/bug fixes for Groups and Mercs.
2015-01-08 23:28:22 -06:00
Akkadius
be381b4e56
Renamed EQEMuLog class to EQEmuLog
2015-01-08 19:46:28 -06:00
Michael Cook (mackal)
9b8598c566
Group/raid memleaks
2015-01-03 02:57:55 -05:00
Akkadius
73fe229e25
More hate changes
2014-12-27 20:23:49 -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)
36c1f50e1b
Use lambda expression for compare instead
2014-12-22 17:51:59 -05:00
Trevius
6e192b1794
(RoF2) Fixed Tracking.
2014-12-22 16:09:11 -06:00
Michael Cook (mackal)
ce9bcef620
std::deque is a much better fit, should have bit better performance
2014-12-18 02:20:03 -05:00
Michael Cook (mackal)
a14f8058da
Switch path stuff to vectors
...
This should be more CPU cache friendly compared to lists so should
be faster. (profiling looked promising)
2014-12-17 01:52:00 -05:00
Michael Cook (mackal)
b5c60d8123
Bot compile fix
2014-12-15 20:08:46 -05:00
Akkadius
9cbaedc64f
entity.cpp & .h header cleanup & forward declare
2014-12-15 17:19:49 -06: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
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
akkadius
cb6948b6fd
npc.cpp #include cleanup
...
entity.cpp #include cleanup
2014-11-29 15:02:34 -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