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
Michael Cook (mackal)
ac463fe9aa
Fix RoF Raid opcodes
2014-11-20 01:10:24 -05:00
Michael Cook (mackal)
1ed9c3082c
Add see invis check to tracking packet
2014-11-19 15:00:09 -05:00
Michael Cook (mackal)
37936b63c4
Merge pull request #295 from Leere/getrecipefix
...
Fix for GetTradeRecipe results variable overload instead of reuse
2014-11-19 14:26:04 -05:00
Michael Cook (mackal)
d7e05de556
Merge pull request #292 from KayenEQ/Development
...
Updated swarm pet AI to be consistent with live.
2014-11-18 15:04:08 -05:00
Michael Cook (mackal)
0b44f58518
Correct OP_AugmentInfo reply
...
This fixes the display issue for RoF
SoF/SoD/UF still won't show the charm info on Adventurer's Stone,
probably a client bug.
2014-11-17 16:41:37 -05:00
Michael Cook (mackal)
e11fa4a278
Fix issue with ControlBoat_Struct and OP_BoardBoat
2014-11-16 17:42:15 -05:00
Michael Cook (mackal)
30922afd08
Remove scaling hack for client 62 (untested)
2014-11-15 01:01:57 -05:00
Michael Cook (mackal)
73e398b0f4
Remove scaling hack for SoD
2014-11-15 01:00:38 -05:00
Michael Cook (mackal)
10ae97e42f
Remove scaling hack for SoF
2014-11-15 00:54:21 -05:00
Michael Cook (mackal)
96242f6c5e
Remove scaling hack for Titanium
2014-11-15 00:29:56 -05:00
Michael Cook (mackal)
5dc3a5ab20
Also stop using hack on UF
2014-11-15 00:08:16 -05:00
Michael Cook (mackal)
44bfdfebc2
Correct charm scaling for RoF
...
Other clients should actually work the same as well
2014-11-14 23:45:56 -05:00
Michael Cook (mackal)
19e6a6909f
Merge pull request #283 from KayenEQ/Development
...
Mez spells will no longer attempt memblur each tic, just on initial cast...
2014-11-08 02:21:32 -05:00
Michael Cook (mackal)
f81f8ea5d6
Merge pull request #282 from KayenEQ/Development
...
Fix for CalcMaxHP
2014-11-06 21:57:16 -05:00
Michael Cook (mackal)
7476ae2a82
Tracking default order should now be correct
...
Reworked the tracking packet creation, should be better
2014-11-06 21:48:42 -05:00
Michael Cook (mackal)
b8b43c7149
Merge pull request #281 from KayenEQ/Development
...
Fix to SE_PercentHeal to allow it to work if no max value set.
2014-11-06 02:47:06 -05:00
Michael Cook (mackal)
b4576435e3
Size check on ServerOP_ChannelMessage
2014-11-02 18:50:02 -05:00
Michael Cook (mackal)
5e1500c93b
Merge pull request #278 from KayenEQ/Development
...
Revert for checking buffs if virus, couple of spells don't require a buff.
2014-11-02 18:48:02 -05:00
Michael Cook (mackal)
b417e23d97
Allow to set/del qglobals in encounters scripts
2014-10-31 00:02:05 -04:00
Michael Cook (mackal)
d3fbd026b4
Fix error with commit
2014-10-30 22:08:45 -04:00
Michael Cook (mackal)
2d77adeeb8
Merge pull request #273 from KayenEQ/Development
...
Allow npc_types field 'special_abilities' to be set as null in database.
2014-10-30 22:01:55 -04:00
Michael Cook (mackal)
7f85d8c8a2
Optional SQL to add AA Quick Draw
2014-10-24 01:06:07 -04:00
Michael Cook (mackal)
a062c27e1a
Take into account endurance bonuses from AAs
2014-10-22 22:27:51 -04:00
Michael Cook (mackal)
c5df59a2f0
Merge pull request #274 from RicardoCampos/Development
...
Bugfix: Corpse stays locked when looting fails
2014-10-22 22:01:53 -04:00
Michael Cook (mackal)
c81491f97e
Inspect buffs rank 1 will now show NPC buffs in target window (SoD+)
2014-10-20 01:05:38 -04:00
Michael Cook (mackal)
a6ae2ca635
Switch Inspect Buffs to use the OP code
...
Client 6.2 is SOL until someone find the op for that client
2014-10-19 22:30:11 -04:00
Michael Cook (mackal)
466eecacc4
Implement Group Inspect Buffs for raids
2014-10-19 18:34:43 -04:00
Michael Cook (mackal)
a327c91bac
Implement group mentoring while in raids (SoF+ only)
...
Note: This does not allow the raid leader to share raid leader XP
and since the raid leader doesn't gain group leadership, they can't
share that either.
2014-10-19 17:20:07 -04:00
Michael Cook (mackal)
3f056462d6
Enable gaining of group leadership while in raids
...
Note: raid leaders can only gain raid leadership, so they won't
ever gain group leadership while leading a raid, even if they don't
end up gaining group due to the restrictions.
From what I can tell, this should be in line with live
2014-10-18 13:27:33 -04:00
Michael Cook (mackal)
e8eb774458
Implement group mentor, leadership exp sharing (SoF+ only)
...
Currently only works in normal groups
Some decisions: the EXP will be rounded in the favor of the group leader
No idea how live actually handles it.
2014-10-18 00:17:46 -04:00
Michael Cook (mackal)
2db5dc2ed7
ndle Leadership with leader change in RaidCommandMoveGroup
2014-10-17 15:10:43 -04:00
Michael Cook (mackal)
6d95fc2547
Handle Leadership with leader change in RaidCommandDisband
2014-10-17 15:05:47 -04:00
Michael Cook (mackal)
b10062452a
Fix issue with moving a group leader in a raid
...
Moving a group leader to the ungrouped section was not correctly
finding an appropriate new group leader.
2014-10-17 01:06:27 -04:00
Michael Cook (mackal)
9c72533264
Fix issue with raidMakeLeader packets
2014-10-16 19:23:32 -04:00
Michael Cook (mackal)
7ca23d14c7
Remove debug statement
2014-10-16 17:01:06 -04:00
Michael Cook (mackal)
e38abaa32a
Optimize EntityList::UnMarkNPC
...
Going over the group_list is much better than hitting the same group
up to 5 unnecessary times
2014-10-14 22:50:09 -04:00
Michael Cook (mackal)
c002f834d4
Correct misidentified OP_MarkNPC (RoF,SoD,SoF,UF) [skip ci]
2014-10-14 17:20:19 -04:00
Michael Cook (mackal)
e53a91f5c3
Added some previous unidentified (still unhandled) UF opcodes
...
Didn't want them to get lost ;)
2014-10-14 00:01:51 -04:00
Michael Cook (mackal)
ef5e93b71b
Add debug log to Client::Handle_OP_DoGroupLeadershipAbility
2014-10-13 23:24:25 -04:00
Michael Cook (mackal)
6f00a69850
Raid Leadership RoF
2014-10-13 22:55:57 -04:00
Michael Cook (mackal)
41938fbe72
Raid leadership SoD
2014-10-13 22:54:57 -04:00
Michael Cook (mackal)
d1561c28d9
Raid Leadership SoF
2014-10-13 22:53:41 -04:00
Michael Cook (mackal)
be0621de42
Partial implementation of leadership in raids
...
Currently working: stat bonuses and client side only effects
Currently not working: Mark NPC and others that need more server side work
Currently only tested on UF, Ti and 62 may work, but not tested
SoF, SoD, and RoF need packet translators, which are most likely the same as UF
2014-10-13 21:36:59 -04:00
Michael Cook (mackal)
6c5b569c29
Raid MOTD for SoF
2014-10-11 02:07:49 -04:00
Michael Cook (mackal)
e5f3f4c552
Raid MOTD for SoD
2014-10-11 02:03:49 -04:00
Michael Cook (mackal)
f097eaf3cd
Raid MOTD for RoF
2014-10-11 01:54:54 -04:00