Michael Cook (mackal)
a3eb74b855
Fix /split while in a raid
...
This still doesn't add support for /autosplit in a raid, how should that
work?
This changes the Raid::SplitMoney to take a group ID and fails when
provided with RAID_GROUPLESS. This does change behavior, but I'm not
sure if it was ever used so ...
2020-03-05 14:37:43 -05:00
Michael Cook (mackal)
6fb0042e3f
Add packet struct and ops for AdvancedLoreText
...
Just stuff if people want to start working on it
2020-02-18 15:50:01 -05:00
Michael Cook (mackal)
a63dc7d5e0
Merge pull request #974 from noudess/master
...
Added a rule to disallow click training of tomes and fall back to handins.
2020-02-16 14:37:56 -05:00
Michael Cook (mackal)
67449de27e
Merge pull request #973 from TheGrandPackard/Character-PetsUseReagents-Fix-Necro-Spells
...
Add Necromancer pet spell effect id to pet spell reagent check
2020-02-16 14:37:26 -05:00
Michael Cook (mackal)
a4a70cf225
Merge pull request #969 from EQEmu/bug_fix/loh_skill_death_reset
...
LoH skill needs to be reset on death
2020-02-06 19:50:30 -05:00
Michael Cook (mackal)
29fccd9239
LoH skill needs to be reset on death
2020-02-06 16:44:46 -05:00
Michael Cook (mackal)
cdc82f0ba7
Merge pull request #968 from EQEmu/feature/aa_timer_reset_on_death
...
Implement AA timers reset on death
2020-02-06 16:30:10 -05:00
Michael Cook (mackal)
2f5909d4cb
Implement AA timers reset on death
...
This is a field in the packet, live only uses this for Lay on Hands
Currently I didn't add this to the packet since it has 0 effect on the
client.
We could move this field to aa_ranks which would give more flexibility
for custom servers, but no one said they wanted it there.
2020-02-06 14:20:18 -05:00
Michael Cook (mackal)
13c2df7eb1
Merge pull request #967 from EQEmu/feature/global_loot_hot_zone
...
Add hot_zone filtering for global loot
2020-02-06 12:56:20 -05:00
Michael Cook (mackal)
16ac6f624b
Remove extra whitespace
2020-02-06 01:59:18 -05:00
Michael Cook (mackal)
501204a4d2
Add hot_zone filtering for global loot
...
We do this in GlobalLootEntry::PassesRules since we want to check if the
hot zone status changes during run time
Value can be null, if null it's not checked. If the value is 0 the zone
must not be a hot zone (I guess one might want that) and if it's not 0,
the zone must be a hot zone
2020-02-06 01:52:35 -05:00
Michael Cook (mackal)
8bcef6c2e7
Fix BodyType bug in GlobalLoot
2020-02-06 01:08:53 -05:00
Michael Cook (mackal)
2db47adf7b
Merge pull request #966 from noudess/master
...
Idle NPC mana regen
2020-02-05 21:17:23 -05:00
Michael Cook (mackal)
2d24cdf5e4
Merge pull request #963 from noudess/patch-10
...
Update command.cpp
2020-02-04 13:24:49 -05:00
Michael Cook (mackal)
424b669cbb
Target not required for newer clients in QuestReward
2020-02-02 16:39:46 -05:00
Michael Cook (mackal)
f195820854
Merge pull request #959 from hgtw/fix/raid-invite-crash
...
Fix zone crash when a group member raid invites own group leader
2020-02-01 22:59:33 -05:00
Michael Cook (mackal)
59903313e4
Expand Lua's Client QuestReward function
...
You can now use it to summon up to 8 items ex:
`e.other:QuestReward(e.self, {items = {28745, 28092}, exp = 250})`
This expands the version that takes a table. The new item is a table (in
the main table) called items, which needs to be auto keyed like the
example above. If you also provide the old itemid key, it will be
ignored if the items is there.
2020-02-01 22:48:39 -05:00
Michael Cook (mackal)
b351d3718a
Merge pull request #961 from noudess/patch-7
...
Fix FixZ regarding the use of model in npc_types
2020-02-01 21:55:53 -05:00
Michael Cook (mackal)
b02e87cce7
Fix Client::QuestReward for struct adjustment
2020-02-01 19:54:26 -05:00
Michael Cook (mackal)
50a39057e4
Update QuestReward_Struct
2020-02-01 19:27:15 -05:00
Michael Cook (mackal)
6dee837f67
Merge pull request #960 from noudess/patch-6
...
Further refine monk weight checks for floating point
2020-01-30 15:41:25 -05:00
Michael Cook (mackal)
ff897dc90a
Update CURRENT_BINARY_DATABASE_VERSION
2020-01-24 20:36:33 -05:00
Michael Cook (mackal)
f73f72b2b2
Merge pull request #956 from regneq/master
...
New pathgrid types. fixed an issue where npc would face north when pause and heading were set at -1.
2020-01-24 20:31:10 -05:00
Michael Cook (mackal)
c590cf7c35
Let's try updating travis to bionic
2020-01-23 23:36:13 -05:00
Michael Cook (mackal)
f6ed4bb888
Merge pull request #952 from noudess/patch-4
...
Fix formula for mana
2020-01-20 14:49:23 -05:00
Michael Cook (mackal)
6c91786cfb
Merge pull request #950 from noudess/patch-3
...
Update attack.cpp
2020-01-19 16:11:20 -05:00
Michael Cook (mackal)
43df845233
Fix issue with overflow in Mob::SendHPUpdate
2020-01-18 21:42:51 -05:00
Michael Cook (mackal)
feefd7a23b
Update default NPC:NPCGatePercent value to something more live like
2020-01-17 17:30:38 -05:00
Michael Cook (mackal)
5a1eac010b
Merge pull request #945 from noudess/patch-2
...
Update waypoints.cpp
2020-01-17 14:52:31 -05:00
Michael Cook (mackal)
e1408ede6b
Remove AdventureManager::Load since it doesn't do anything
2020-01-16 19:22:17 -05:00
Michael Cook (mackal)
4241fba7e2
Forgot 2 exceptions
2020-01-16 19:10:04 -05:00
Michael Cook (mackal)
139b6c34e5
Change things -Wcatch-value complains about to references
2020-01-16 19:03:36 -05:00
Michael Cook (mackal)
baf4cc62eb
Fix format truncation in RoF2 OP_Trader
2020-01-16 18:04:20 -05:00
Michael Cook (mackal)
14402c9c41
Fix unreachable switch statements in console_server_connection.cpp
2020-01-16 17:44:46 -05:00
Michael Cook (mackal)
e4c4e5edb2
References shouldn't be null
2020-01-16 17:17:31 -05:00
Michael Cook (mackal)
e6a14beb2e
Remove another unnecessary this == null check
2020-01-16 17:06:11 -05:00
Michael Cook (mackal)
945ca1278c
Remove some unnecessary this == null checks
2020-01-16 17:02:35 -05:00
Michael Cook (mackal)
a307747c29
Nuke unused command_itemtest
2020-01-16 16:51:24 -05:00
Michael Cook (mackal)
099da513ff
Remove some unused misc.cpp functions (encode/decode)
...
These were unused and throwing warnings, so throw them away!
2020-01-16 16:18:08 -05:00
Michael Cook (mackal)
607379110b
Add some focus effects bots were missing
2020-01-16 16:00:38 -05:00
Michael Cook (mackal)
7ce88b30ad
Remove Bot::BotfocusType
...
This was just a maintenance burden keeping it in sync with focusType
(and it wasn't!)
2020-01-16 15:47:25 -05:00
Michael Cook (mackal)
28b0526857
Change NPCType::deity to uint32 to match client data type
...
Fixes overflow warning in bot.cpp
Shouldn't need DeityAgnostic_LB anymore either
2020-01-16 15:16:21 -05:00
Michael Cook (mackal)
d5067c4c3a
Treat bots like PCs for pcnpc_only_flag
2020-01-15 19:30:47 -05:00
Michael Cook (mackal)
3a10131a00
Add missing currently_fleeing flag to sanity check
2020-01-03 15:50:10 -05:00
Michael Cook (mackal)
a94072e3ea
Fix CheckFlee logic
...
This /should/ be correct. But it doesn't explain other issues we've seen
on some servers
2020-01-03 15:49:20 -05:00
Michael Cook (mackal)
a7479a628c
Use CastTime == 0 on clickies to prevent reagent consumption
...
This /may/ not be correct, but we think it is
2019-12-29 23:00:42 -05:00
Michael Cook (mackal)
53a289a6bc
Refactor Mob::CastedSpellFinished
...
We now only call GetInv().GetItem() once
2019-12-29 21:40:36 -05:00
Michael Cook (mackal)
c90326f585
Merge pull request #933 from fryguy503/no_trade_combat
...
Mobs will not trade anymore if they are currently in combat.
2019-11-18 21:59:24 -05:00
Michael Cook (mackal)
dff23793c6
Merge pull request #930 from noudess/patch-2
...
Fix damage done by poison proc changes
2019-11-02 15:54:09 -04:00
Michael Cook (mackal)
b0efe88a03
Merge pull request #922 from noudess/spawn2
...
Fix some bugs with the use of the model field in npc_types
2019-10-15 21:02:36 -04:00
Michael Cook (mackal)
37d4371acd
Merge pull request #915 from noudess/spawn2
...
Old School poison changes to be close to live. Added extending proci…
2019-10-10 17:32:48 -04:00
Michael Cook (mackal)
db085b7126
Merge pull request #911 from noudess/spawn2
...
Old school apply poison was allowing multiple poisons at once.
2019-10-07 17:18:35 -04:00
Michael Cook (mackal)
91a7ebbdfb
Fix crash in SharedDatabase::UpdateOrphanedCommandSettings
2019-09-17 12:52:00 -04:00
Michael Cook (mackal)
ae0eebe043
Nuke unused TinyXML
2019-09-16 23:55:40 -04:00
Michael Cook (mackal)
83cae7aaf3
Merge pull request #886 from KinglyKrab/master
...
Export Getter/Setter alternate currency methods to Perl and Lua.
2019-08-20 19:01:45 -04:00
Michael Cook (mackal)
ef6b2976a3
Make SE_SummonPC only clear aggro for beneficial spells
2019-08-14 23:06:34 -04:00
Michael Cook (mackal)
7b4908957d
Clean up EntityList::QuestJournalledSayClose
2019-08-13 15:19:20 -04:00
Michael Cook (mackal)
963da70506
Change how we handle null quest initiator in QuestManager::say
...
Timers etc triggered say's don't have an initiator but should still
work.
The target ID is set in QuestJournalledSay for us so not needed here
2019-08-13 15:11:37 -04:00
Michael Cook (mackal)
8df7bcc2c8
Fix double free in queryserv
2019-08-08 14:26:08 -04:00
Michael Cook (mackal)
186834594f
Merge pull request #871 from EQEmu/fix_OP_SpecialMesg
...
Fix issues with OP_SpecialMesg handling
2019-07-20 01:46:53 -04:00
Michael Cook (mackal)
f4310c5a06
Merge branch 'master' into fix_OP_SpecialMesg
2019-07-20 01:27:37 -04:00
Michael Cook (mackal)
222fd060a3
Change lua constants to be less ugly
2019-07-19 13:04:27 -04:00
Michael Cook (mackal)
9fe17f4d46
Fix issues with OP_SpecialMesg handling
...
This should prevent any optimizations being done on the "1 char string"
This also fully documents the packet and expands the uses of
quest::say/QuestSay
2019-07-18 00:56:46 -04:00
Michael Cook (mackal)
16d6014a87
Merge pull request #859 from eqft/feature/rule_for_gm_level_cmd_with_target
...
Convert constant check in level_command() to a Rule
2019-07-16 13:43:02 -04:00
Michael Cook (mackal)
7801b295d6
Merge pull request #869 from regneq/master
...
added variable to chatchannels as well as various changed to chatchannel and using language / language skills d…
2019-07-16 13:39:33 -04:00
Michael Cook (mackal)
1ba78d0988
Switch to char_traits::length in SerializeBuffer
...
This benches a bit faster
2019-07-10 14:33:33 -04:00
Michael Cook (mackal)
dfa90aaac5
Fix OP_SpecialMesg encoding
...
This broke with newer GCCs. It also worked even though the code was just
wrong before???
2019-07-10 01:44:59 -04:00
Michael Cook (mackal)
525813be02
Adjust VARSTRUCT_ENCODE_STRING macros for smarter compilers
...
This is no more dangerous than what we were doing before (not checking
return value of sprintf) Maybe we should sometime
2019-07-10 01:20:51 -04:00
Michael Cook (mackal)
290133803e
Add a hard off for NPC scaling for Merc/Bot
...
They don't need it. We may want to add this to actually be in the DB for
normal NPCs in the future.
2019-06-10 00:36:18 -04:00
Michael Cook (mackal)
4627bfe271
Mercs shouldn't do global loot (I think)
2019-06-10 00:30:04 -04:00
Michael Cook (mackal)
63933f53c8
Merge pull request #851 from fryguy503/lua_stand_crouch
...
LUA/PERL - IsStanding() and IsCrouching() - Returns as bools
2019-06-08 14:09:44 -04:00
Michael Cook (mackal)
54da27424f
Implement Foraging AA
...
Currently this SPA is only checked for AA bonuses since a non-permanent
bonus doesn't make sense. Plus I'm not sure the client is aware of it in
spells/gear
2019-04-14 00:18:23 -04:00
Michael Cook (mackal)
6e1f317c60
Merge pull request #839 from briankinney/rule-based-faction-thresholds
...
Rule based faction thresholds
2019-04-13 16:01:29 -04:00
Michael Cook (mackal)
e009e064f3
Merge pull request #842 from noudess/faction_min_max
...
Fix the auto-correct mechanism on illegal faction
2019-04-13 12:56:58 -04:00
Michael Cook (mackal)
9654beda9f
Merge pull request #841 from noudess/use_model
...
Fix version to match committed manifest
2019-04-13 12:56:48 -04:00
Michael Cook (mackal)
fa2052236c
Update some spell immune message colors Fixes #833
...
Should probably go and do some captures on live, but MQ2Cast's source is
probably correct
2019-03-27 18:20:39 -04:00
Michael Cook (mackal)
20de6acfea
Merge pull request #829 from noudess/master
...
Fix Spin() to use old mechanism so the npc actually spins again.
2019-03-14 12:56:44 -04:00
Michael Cook (mackal)
9c42f28b0d
Make Database::CheckStatus() 2038 safe
2019-03-12 14:31:23 -04:00
Michael Cook (mackal)
c8b7b3e74f
Merge pull request #824 from briankinney/correctly-reference-defender-mitigation
...
Reference the defender melee mitigation, not attacker
2019-02-06 23:58:27 -05:00
Michael Cook (mackal)
14a4f58c0b
Remove duplicate waypoint code from a merge
2019-01-16 13:18:33 -05:00
Michael Cook (mackal)
dd0216589f
Merge pull request #806 from KinglyKrab/master
...
Reimplemented pre-nerf Ranger stationary damage bonus.
2019-01-10 19:33:39 -05:00
Michael Cook (mackal)
f39244acca
Comment out some IsBardOnlyStackEffect stuff
2019-01-02 17:09:36 -05:00
Michael Cook (mackal)
bbbee6e6b2
Fix some bard stacking issues (mainly AE DOT)
...
Please report if it breaks anything (shouldn't)
2018-12-17 00:51:18 -05:00
Michael Cook (mackal)
f4dee67d7c
Merge pull request #797 from noudess/master
...
Fix typo in manifest.
2018-12-12 12:56:40 -05:00
Michael Cook (mackal)
ce5c09441f
Merge pull request #795 from noudess/master
...
Fix the LoadGFG function to no longer have the unused parameter.
2018-12-11 17:20:48 -05:00
Michael Cook (mackal)
a4a69be0f5
Merge pull request #794 from noudess/master
...
Small fix for an NPC on a faction but with no entries in npc_faction_entries
2018-12-06 19:44:17 -05:00
Michael Cook (mackal)
c6bb4cd44a
Update system_tables.txt [skip ci]
2018-11-19 20:40:52 -05:00
Michael Cook (mackal)
0d0c22b5e5
Update corpse decay cap to 24 hours I guess
...
Some people were wanting higher, w/e
2018-11-18 16:06:31 -05:00
Michael Cook (mackal)
aae316c171
Fix formating in ZoneDatabase::GetDecayTimes()
2018-11-18 16:03:38 -05:00
Michael Cook (mackal)
2c0714b5d8
Fix cap bug in ZoneDatabase::GetDecayTimes()
2018-11-18 16:02:59 -05:00
Michael Cook (mackal)
8302f7cc26
Add a level cap to gray con flee
2018-11-14 22:59:07 -05:00
Michael Cook (mackal)
a1b384c254
Don't reset AA timers
2018-11-14 20:39:18 -05:00
Michael Cook (mackal)
d4395a6f0a
Client doesn't check AA casting standstate
...
Fixes an exploit and makes you stand if you're just sitting
2018-11-14 20:37:57 -05:00
Michael Cook (mackal)
cc920e60d9
Reset all follow variables when follow target is gone
2018-11-03 18:14:54 -04:00
Michael Cook (mackal)
467e2d3114
Add follow getters to lua just in case
2018-11-03 18:10:36 -04:00
Michael Cook (mackal)
dbb368865c
Add some Follow stuff to lua
...
You can also disallow following code from allowing the NPC to run if
they're far enough away
2018-11-03 17:44:19 -04:00
Michael Cook (mackal)
df899bb2df
Tweak NPC AI Heal logic a bit
...
New rule: Spells:AI_HealHPPct defaults to 50
This is the default maximum HP and NPC will start a heal
The spell AI fields min_hp and max_hp are now used to override the HP
percentages they will heal at
2018-10-09 14:18:24 -04:00
Michael Cook (mackal)
d8c6c62809
Merge pull request #779 from noudess/master
...
Allow UseLevelAggro rule to be configurable.
2018-10-05 17:21:41 -04:00
Michael Cook (mackal)
7836d020ce
Add NPC Max Aggro Distance to zone table
2018-09-08 00:22:16 -04:00
Michael Cook (mackal)
ec40b3dc69
Fix bots
2018-09-08 00:11:31 -04:00