Michael Cook (mackal)
0956575292
clang-modernize -use-auto convert for world/eqw_http_handler.cpp
2015-01-09 03:05:13 -05:00
Michael Cook (mackal)
0ed10ec102
clang-modernize -use-auto convert for world/console.cpp
2015-01-09 03:05:13 -05:00
Michael Cook (mackal)
81a48cac6c
clang-modernize -use-auto convert for world/clientlist.cpp
2015-01-09 03:05:13 -05:00
Michael Cook (mackal)
bb37dd1b16
clang-modernize -use-auto convert for world/cliententry.cpp
2015-01-09 03:05:13 -05:00
Michael Cook (mackal)
c2936a893e
clang-modernize -use-auto convert for world/client.cpp
2015-01-09 03:05:13 -05:00
Michael Cook (mackal)
64be231fe6
clang-modernize -use-auto convert for world/adventure_manager.cpp
2015-01-09 03:05:13 -05:00
Michael Cook (mackal)
28680a4695
clang-modernize -use-auto convert for world/adventure.cpp
2015-01-09 03:05:13 -05:00
Michael Cook (mackal)
502bb6ca79
clang-modernize -use-auto convert for ucs/worldserver.cpp
2015-01-09 02:57:00 -05:00
Michael Cook (mackal)
09f37323d1
clang-modernize -use-auto convert for ucs/database.cpp
2015-01-09 02:57:00 -05:00
Michael Cook (mackal)
b34b26c423
clang-modernize -use-auto convert for ucs/clientlist.cpp
2015-01-09 02:57:00 -05:00
Michael Cook (mackal)
1873b1d739
Ranged-based for for ucs/clientlist.cpp
2015-01-09 02:50:13 -05:00
Michael Cook (mackal)
c33973f20a
Optimize EntityList::RemoveGroup/RemoveRaid
...
lambdas are cheating btw.
2015-01-09 02:44:20 -05:00
Michael Cook (mackal)
4808dcadcf
Range-based for for world/zonelist.cpp
2015-01-08 22:01:37 -05:00
Michael Cook (mackal)
4fde4bba72
Range-based for for world/lfplist.cpp
2015-01-08 22:01:21 -05:00
Michael Cook (mackal)
4f643c7201
Range-based for for world/adventure_manager.cpp
2015-01-08 22:01:02 -05:00
Michael Cook (mackal)
784a6974d1
Range-based for for world/adventure.cpp
2015-01-08 22:00:36 -05:00
Michael Cook (mackal)
c8278608a3
Merge pull request #331 from af4t/master
...
Work-around for "strange ADL issues" not needed if using Boost 1.57.0
2015-01-08 12:31:02 -05:00
Michael Cook (mackal)
85a27cdd74
Fix account_creation
2015-01-04 01:52:46 -05:00
Michael Cook (mackal)
a75db63cbc
Fix EVENT_CONNECT
2015-01-04 01:48:31 -05:00
Michael Cook (mackal)
f8b6ee296c
Fix memleak in Mob::TypesTemporaryPets
2015-01-03 18:48:38 -05:00
Michael Cook (mackal)
09d76605f5
Fix memleak in Mob::TemporaryPets
2015-01-03 18:42:28 -05:00
Michael Cook (mackal)
6897aef4b5
Need to set this to 1 again before the perl_destruct
2015-01-03 15:14:12 -05:00
Michael Cook (mackal)
77b8e9ec6e
Perl memleak fix
...
This may need more test!!
2015-01-03 13:54:31 -05:00
Michael Cook (mackal)
ea6ab5b10f
Virtualize WaterMap's destructor (memleak fix)
2015-01-03 12:33:53 -05:00
Michael Cook (mackal)
9b8598c566
Group/raid memleaks
2015-01-03 02:57:55 -05:00
Michael Cook (mackal)
1b5db0684e
Fix memleak in OP_RaidJoin
2015-01-03 02:39:44 -05:00
Michael Cook (mackal)
7cbefa4ec2
Fix memleak in OP_RaidUpdate
2015-01-03 01:52:24 -05:00
Michael Cook (mackal)
6a2260f106
Memleak in Map
2015-01-03 01:26:46 -05:00
Michael Cook (mackal)
d93edd7393
Make NPCs less jumpy
...
We actually didn't want that +2.0f
2014-12-31 17:49:12 -05:00
Michael Cook (mackal)
5df65427b1
Merge pull request #330 from KinglyKrab/master
...
Made fifth argument of UpdateTaskActivity truly optional.
2014-12-29 17:30:17 -05:00
Michael Cook (mackal)
8522542ae2
Use lambdas in sort functions (for zone at least)
2014-12-24 18:29:23 -05:00
Michael Cook (mackal)
811872c17f
Rework Bot::GetBotArcheryRange
2014-12-24 17:42:35 -05:00
Michael Cook (mackal)
7742892377
Fix issue with Mob::MakeNewPositionAndSendUpdate
2014-12-23 22:26:36 -05:00
Michael Cook (mackal)
5e34b06952
Merge pull request #326 from KinglyKrab/master
...
Bot Crash Fixes.
2014-12-23 22:15:58 -05:00
Michael Cook (mackal)
36c1f50e1b
Use lambda expression for compare instead
2014-12-22 17:51:59 -05:00
Michael Cook (mackal)
62ae7ba1de
Fix RoF2 rez response
2014-12-22 13:42:22 -05:00
Michael Cook (mackal)
18fb86a560
Force changing the timer_time for attack timers
...
Should fix issues with waiting for a slow timer after a cure
2014-12-22 01:58:54 -05:00
Michael Cook (mackal)
a7cdb4c0af
Add a few missing bonus recalcs
2014-12-21 23:53:02 -05:00
Michael Cook (mackal)
de3f9f7276
Fix missing {} in SE_*Counter bonus processing
2014-12-21 23:48:18 -05:00
Michael Cook (mackal)
cedec3d872
Revert "Cleared clientversions.h and eq_dictionary files of Client6.2 references"
...
This reverts commit d4506363b8 .
2014-12-19 23:08:44 -05:00
Michael Cook (mackal)
dabe550966
Fix eq_dictionary.cpp from 62 removal
...
Note: 62 references in clientversion.h need to be cleaned up
before we can remove them from other files
2014-12-19 17:22:05 -05:00
Michael Cook (mackal)
1261aac036
Check DivineAura in TryWeaponProc, should resolve #321
2014-12-18 18:50:38 -05: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)
5099010840
Merge pull request #317 from Leere/chargesfix
...
Fix for stackable items being unmoveable when charges=0
2014-12-16 18:53:56 -05:00
Michael Cook (mackal)
b5c60d8123
Bot compile fix
2014-12-15 20:08:46 -05:00
Michael Cook (mackal)
c1baade00f
Fix build failure
2014-12-15 19:06:38 -05:00
Michael Cook (mackal)
62181ff08c
Add Random::Shuffle
...
This is just a wrapper to std::shuffle since it requires a random
engine and ours lives in a class
Must pass random access iterators (array, vector, deque, etc)
ex:
std::vector<int> v;
/* init ... */
random.Shuffle(v.begin(), v.end());
2014-12-15 02:53:58 -05:00
Michael Cook (mackal)
026d5e71fa
Adjust common/random.h based on N3551
2014-12-14 19:38:23 -05:00
Michael Cook (mackal)
80a67f9ebc
Fix guild rank spam
2014-12-13 03:18:30 -05:00
Michael Cook (mackal)
118d587064
Implement IGNORE_ROOT_AGGRO_RULES (special attack 42)
...
This allows you to have a mob be rooted but still try to attack the
target with the most amount of hate instead of attacking the closest
2014-12-12 18:55:43 -05:00
Michael Cook (mackal)
0e54019fd5
Set the no_target_hotkey data as well
2014-12-10 02:18:57 -05:00
Michael Cook (mackal)
d9a1bcb3fd
Clean up SoF+ swarm pet F8 hack
2014-12-10 02:15:15 -05:00
Michael Cook (mackal)
820f99067d
Make use of the targetable_with_hotkey flag for SoF+
2014-12-10 01:19:44 -05:00
Michael Cook (mackal)
2d1999c961
Update version too
2014-12-10 00:59:54 -05:00
Michael Cook (mackal)
4c9befee22
Some clean ups due thanks to clang's warnings
2014-12-09 23:41:19 -05:00
Michael Cook (mackal)
362bfc79d6
Fix compile error
2014-12-09 22:33:09 -05:00
Michael Cook (mackal)
7e7ec8e3d2
Be more explicit about what we are checking
...
(This removes a crap ton of clang warnings)
2014-12-08 20:58:49 -05:00
Michael Cook (mackal)
3e73df2c72
Clean up common/misc_functions.h
2014-12-06 21:56:14 -05:00
Michael Cook (mackal)
eed666c8c2
OP_ClearAA and OP_ClearLeadershipAbilities for RoF2
2014-12-06 20:12:19 -05:00
Michael Cook (mackal)
ce7a995223
Fix previous commit
2014-12-05 22:31:36 -05:00
Michael Cook (mackal)
51b997aa27
Implement OP_ClearAA and OP_ClearLeadershipAbilities for SoF+
...
This is nice since #resetaa will no longer require a kick
2014-12-05 22:29:41 -05:00
Michael Cook (mackal)
1ac92c603e
Add OP_ClearLeadershipAbilties
2014-12-05 22:27:39 -05:00
Michael Cook (mackal)
57a196a50c
Rename OP_ShroudClearAA to OP_ClearAA
2014-12-05 22:26:01 -05:00
Michael Cook (mackal)
a201a3e837
Added Shroud ops for UF
2014-12-05 16:26:55 -05:00
Michael Cook (mackal)
2d070ff1c0
OP_Untargetable for SoF
2014-12-05 15:59:03 -05:00
Michael Cook (mackal)
4e257d43b2
OP_CrystalCreate and OP_CrystalReclaim for SoF
2014-12-05 14:40:41 -05:00
Michael Cook (mackal)
7cb1a2e7e4
OP_DzChooseZone for RoF and UF
2014-12-05 14:29:54 -05:00
Michael Cook (mackal)
e2bc79401b
OP_ShroudClearAA for RoF, UF, and SoF
...
This should actually be usable to just straight clear AA data
2014-12-05 14:13:05 -05:00
Michael Cook (mackal)
26589835e5
OP_PVPStats for Underfoot
2014-12-05 14:00:51 -05:00
Michael Cook (mackal)
e65bf63e51
Fix OP_GMEmoteWorld for SoD
2014-12-05 13:56:20 -05:00
Michael Cook (mackal)
f6bddb9502
OP_IncreaseStats for SoF
2014-12-05 13:23:37 -05:00
Michael Cook (mackal)
48be7c508d
OP_PlayMP3 for SoF
2014-12-05 02:48:54 -05:00
Michael Cook (mackal)
0a8f3554e9
Merge branch 'master' into random
2014-12-04 13:07:32 -05:00
Michael Cook (mackal)
5998cf8a3c
Merge branch 'master' into random
2014-12-03 17:04:58 -05:00
Michael Cook (mackal)
fc282f86c0
Rework raid invite handling, shouldn't break rsay being invited to raid anymore
2014-12-03 17:04:26 -05:00
Michael Cook (mackal)
804421095a
Fix DB manifest
2014-12-03 16:55:43 -05:00
Michael Cook (mackal)
bc53ca3b71
Merge branch 'master' into random
2014-12-03 16:13:39 -05:00
Michael Cook (mackal)
23698c1373
Merge branch 'master' into random
2014-12-02 14:39:00 -05:00
Michael Cook (mackal)
9636ef3499
Update to new random functions
2014-12-02 14:09:14 -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
Michael Cook (mackal)
525eb518f6
Crash fix, this check got removed accidentally
2014-12-02 13:44:23 -05:00
Michael Cook (mackal)
faaebc2806
Merge branch 'master' into random
2014-12-01 19:51:02 -05:00
Michael Cook (mackal)
6f867ebca3
Add license info
2014-12-01 19:50:05 -05:00
Michael Cook (mackal)
cbadd8bde1
Merge pull request #306 from addtheice/warning_removal
...
Lua, perl, boost, zlib, mysql, and glm include files are now being inclu...
2014-12-01 19:48:50 -05: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
Michael Cook (mackal)
a59cdc2c89
Merge pull request #304 from KayenEQ/Development
...
Implemented archery projectiles to do damage on impact.
2014-12-01 16:30:26 -05:00
Michael Cook (mackal)
7198e670ae
Clang bots compile fix
2014-11-30 18:56:01 -05:00
Michael Cook (mackal)
4a7984f04d
Fix clang compile error
2014-11-30 18:32:45 -05:00
Michael Cook (mackal)
de84065cde
Fix some debug statements
2014-11-30 02:32:11 -05:00
Michael Cook (mackal)
b7c19e4034
Fix model_name in RoF Arrow_Struct
2014-11-28 02:19:45 -05:00
Michael Cook
cf1370b9e2
Spelling matters!
2014-11-27 22:56:40 -05:00
Michael Cook (mackal)
6f67577115
Crash fixes
2014-11-27 22:30:44 -05:00
Michael Cook (mackal)
c465b8c8c3
Merge pull request #303 from af4t/master
...
Typo?
2014-11-26 21:06:41 -05:00
Michael Cook (mackal)
32a034bd58
Flipped logic wrong :P
2014-11-26 19:12:04 -05:00
Michael Cook (mackal)
2814130aad
Fix for compilers w/o C++11 uniform initialization
2014-11-26 19:04:20 -05:00
Michael Cook (mackal)
c5c778f575
Minor bug fixes
2014-11-26 18:29:07 -05: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
Michael Cook (mackal)
3573686976
Fix issue with PendingTranslocateData
2014-11-21 22:50:08 -05:00
Michael Cook (mackal)
cab071b544
Merge pull request #299 from KayenEQ/Development
...
Fix to remove double CastSpell call from use disc function.
2014-11-21 16:51:14 -05:00