KimLS
34bec5913b
Merge plus changed getposition to return a reference
2015-01-24 11:48:06 -08:00
Akkadius
2457f5f455
Remove occurrences of LogSQL
2015-01-24 03:49:03 -06:00
KimLS
17af9e3808
Merge fixes, hopefully didn't break anything.
2015-01-23 13:36:27 -08: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
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
Akkadius
5ab131dcd6
More cleanup of some QueryDatabase references that no longer need auto results
2015-01-19 05:35:28 -06:00
Akkadius
363a4b95c1
Remove Duplicative MySQL Error: Error in LoadSpawnConditions events query '%s': %s
2015-01-19 05:25:58 -06:00
Akkadius
2a3b9b65fc
Remove Duplicative MySQL Error: Error in LoadSpawnConditions query '%s': %s
2015-01-19 05:25:56 -06:00
Akkadius
82951fb82d
Remove Duplicative MySQL Error: Error in LoadSpawnConditions query '%s': %s
2015-01-19 05:25:53 -06:00
Akkadius
04ae8b1707
Remove Duplicative MySQL Error: Error in LoadDBEvent query '%s': %s
2015-01-19 05:25:44 -06:00
Akkadius
db65661a10
Remove Duplicative MySQL Error: Unable to update spawn condition '%s': %s\n
2015-01-19 05:25:37 -06:00
Akkadius
650f7366ab
Remove Duplicative MySQL Error: Unable to update spawn event '%s': %s\n
2015-01-19 05:25:32 -06:00
Akkadius
9d23f69a10
Remove Duplicative MySQL Error: Error in CreateSpawn2 query '%s': %s
2015-01-19 05:25:26 -06:00
Akkadius
d4b35740be
Remove Duplicative MySQL Error: Error in LoadSpawn2 query '%s': %s
2015-01-19 05:25:21 -06:00
Akkadius
0917eb00b1
Remove Duplicative MySQL Error: Error in LoadSpawn2 query '%s': %s
2015-01-19 05:25:17 -06:00
Akkadius
9837e172ac
Remove Duplicative MySQL Error: Error in PopulateZoneLists 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
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
132fbbb0c6
Rename LogDebugType to DebugCategory
2015-01-16 03:09:02 -06:00
Akkadius
3693868acf
Convert 'SPAWNS' debugging _log to logger.LogDebugType
2015-01-12 22:52: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
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
Arthur Ice
f409d39f1a
merge upstream
2014-12-21 13:57:20 -08:00
Akkadius
c25e17f3bc
spawn2.cpp & .h header include cleanup
2014-12-15 18:42:14 -06:00
Arthur Ice
2aa287fe3c
Merge
2014-12-05 20:16:13 -08:00
Arthur Ice
2da6dfa931
CreateSpawn2 converted to xyz_heading
2014-12-02 16:53:52 -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
54bc1b06e4
NPC constructor converted to use xyz_heading
2014-11-30 17:32:11 -08:00
Akkadius
ce248d83d6
Corpse Class Private scope variables renamed for understandability across the source
...
Removed ThrowDBError from the source
Implemented MySQL query error log at the root of the MySQL API
Readability changes
2014-11-23 21:37:42 -06:00
Arthur Ice
b6875564d4
GetCondition converted to QueryDatabase
2014-08-24 13:50:23 -07:00
Arthur Ice
0240c61952
LoadSpawnConditions converted to QueryDatabase
2014-08-24 13:31:55 -07:00
Arthur Ice
7864a5285d
LoadDBEvent converted to QueryDatabase
2014-08-24 13:19:30 -07:00
Arthur Ice
538921701c
UpdatedDBCondition converted to QueryDatabase
2014-08-24 13:19:30 -07:00
Arthur Ice
3cf4d4af1b
UpdateDBEvent converted to QueryDatabase
2014-08-24 13:11:17 -07:00
Arthur Ice
c70c7e13ec
CreateSpawn2 converted to QueryDatabase
2014-08-24 13:07:15 -07:00
Arthur Ice
9980dfe80e
LoadSpawn2 converted to QueryDatabase
2014-08-24 13:03:45 -07:00
Arthur Ice
42a51eb373
PopulateZoneSpawnList converted to QueryDatabase
2014-08-24 13:00:39 -07:00
KimLS
7fc21b9e3a
Tons of renames
2014-08-21 19:33:02 -07:00
cavedude00
d8ad337c0e
Fixed a zone crash in spawn_conditions.
...
spawn_events changes, fixes, and additions.
2014-04-25 12:40:25 -07:00
cavedude00
1d6bd3cc5e
Better flee runspeed calculation.
...
Added two new NPC special_abilities, ALWAYS_FLEE and FLEE_PERCENT.
Fixed an issue where a NPC could get stuck on a single coord in a rectangular roambox.
Added mindelay to spawngroup to allow for greater control of the roambox delay. SQL is required.
2014-02-26 18:06:16 -08:00
sorvani
51dff22b93
fix for npcthis crash in new spawn condition case.
2014-02-10 15:13:54 -06:00
sorvani
4d653caca3
Typos in spawn condition log messages
2014-02-10 09:22:55 -06:00
sorvani
24c70a04ca
Enhanced spawn conditions with new onchange option DoRepopIfReady
2014-02-09 00:08:09 -06:00
Michael Cook (mackal)
4216627604
Prefer prefix ++/-- on non-primitive types
...
Postfix ++/-- might cause the creation of a tmp instance
that might be optimized out. Mights are bad. Prefix doesn't
have this problem.
2014-01-13 22:14:02 -05:00