Michael Cook (mackal)
84a75f2a77
Fix missing arg to client message in #task
2020-08-19 17:13:28 -04:00
Michael Cook (mackal)
b9f01e0d1c
Merge pull request #1107 from fryguy503/percentheal_aggro
...
[Aggro] PercentalHeal should be included in aggro generation
2020-08-17 21:17:40 -04:00
Michael Cook (mackal)
f7e997fba1
Fix NPC AI casting of ST_AEClientV1
...
As noted, I think we do this check incorrectly, but this should work
fine and matches other similar spells, let's get it good enough first.
2020-08-17 18:04:52 -04:00
Michael Cook (mackal)
06104b624a
Merge pull request #1062 from EQEmu/istaunting
...
Add IsTaunting() to Perl/Lua.
2020-05-15 17:44:59 -04:00
Michael Cook (mackal)
d042b0831a
Merge pull request #1061 from noudess/NewFishing
...
New fishing
2020-05-12 13:31:52 -04:00
Michael Cook (mackal)
0e6a0b5a70
Add Item SubType to data structures and DB
2020-05-09 22:37:35 -04:00
Michael Cook (mackal)
7f3e4e3438
Merge pull request #1050 from EQEmu/feature/subtype_to_structs
...
Identify SubType in Item structs in some clients
2020-05-09 15:22:06 -04:00
Michael Cook (mackal)
572ad1b6ab
Identify SubType in Item structs in some clients
...
This maybe in older clients as well, but I couldn't verify it and those
clients never did anything with this field so it doesn't matter.
MQ2 calls this SubClass, but we call the field it's a "sub" of Type so I
figured we'd call it SubType.
We still need to rename the DB field and handle it server side etc
2020-05-08 12:56:10 -04:00
Michael Cook (mackal)
89f5b0b71e
Merge pull request #1040 from alimalkhalifa/redundant-check-during-enter-world
...
Removed redundant check during enter world
2020-04-19 15:22:18 -04:00
Michael Cook (mackal)
5ce1fef9ec
Merge pull request #1039 from alimalkhalifa/gitignore-win-64
...
Added a VS ignore for x64 compiles
2020-04-17 19:58:20 -04:00
Michael Cook (mackal)
874ca053f7
Merge pull request #1038 from alimalkhalifa/fix_charm_break_during_cast_lifetap_nuke
...
Fix edge case with NPC pet owners charming PCs
2020-04-17 14:19:13 -04:00
Michael Cook (mackal)
7aa8db76f4
Merge pull request #1016 from noudess/patch-14
...
Update ruletypes.h
2020-04-02 14:44:52 -04:00
Michael Cook (mackal)
3708efd8df
Merge pull request #984 from EQEmu/bug_fix/split_in_raid
...
Fix /split while in a raid
2020-03-08 01:03:16 -05:00
Michael Cook (mackal)
1d907564e9
Merge pull request #986 from regneq/master
...
Faction conning indifferent regardless of faction level in no-combat zones.
2020-03-07 22:01:26 -05:00
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