Chris Miles
7eb71c5902
Merge pull request #953 from noudess/patch-5
...
_GetRunSpeed did not correctly report aa mods for Clients.
2020-02-05 14:10:47 -06:00
Paul Coene
6b27e88315
Update attack.cpp
2020-02-05 14:42:37 -05:00
Chris Miles
138cb80b19
Merge pull request #958 from hgtw/feat/autoconsent
...
Implement consent for group/raid/guild and add Auto Consent support
2020-02-04 18:22:05 -06:00
hg
d7138e84c0
Make consent variable names more descriptive and replace char pointer parameters with std::string
...
Use fmt::format for SQL statement when updating corpse guild id
2020-02-04 18:54:43 -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
KimLS
6bc6b659d5
Merge branch 'master' of github.com:EQEmu/Server
2020-02-03 17:17:26 -08:00
Paul Coene
ad1f18306b
Update command.cpp
...
Fix #size command to be useful for anyone using the model field in npc_types.
All will remain the same for everyone else.
2020-02-03 13:47:16 -05:00
KimLS
d65a97e556
Rule for setting max navmesh nodes, default set higher than current to improve accuracy
2020-02-02 20:19:37 -08:00
Michael Cook (mackal)
424b669cbb
Target not required for newer clients in QuestReward
2020-02-02 16:39:46 -05:00
hg
e09b0ae1e9
Let client handle consent confirmation messages to corpse owner
2020-02-02 14:37:12 -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
Paul Coene
ab3d65b2ea
Fix FixZ regarding the use of model in npc_types
...
This fix only impacts those that use the model field in npc_types to override race on the client.
GetModel() returns model if set, otherwise race.
As a refresher, the model field is there so the server can still see a mob as its base race for things like bane, while the client can use a new model.
FixZ needs to know about this.
2020-02-01 20:29:48 -05:00
Michael Cook (mackal)
b02e87cce7
Fix Client::QuestReward for struct adjustment
2020-02-01 19:54:26 -05:00
hg
14c070f845
Use strn0cpy instead of strcpy when copying consent name buffers
...
Add nullptr checks to consent functions that accept char pointers
2020-01-30 20:19:54 -05:00
Paul Coene
83ad9c86db
Update attack.cpp
2020-01-30 15:19:02 -05:00
Paul Coene
bcb08f99f0
Update attack.cpp
2020-01-30 15:05:41 -05:00
Paul Coene
f968d0df4c
Reduce changes to those suggested by @mackal
2020-01-30 15:04:06 -05:00
Paul Coene
712366293d
Further refine monk weight checks for floating point
2020-01-30 11:10:57 -05:00
hg
9689787e56
Remove assignments in conditions
2020-01-29 18:34:33 -05:00
Uleat
92d32feb0d
Fix for player hp updates not matching between client and server
2020-01-28 21:24:14 -05:00
hg
371265d143
Make guild consent persistent for summoned corpses
...
Live drops group/raid consent but not guild when moving corpse to another zone
Store guild consent id in db for character corpses and keep it updated
2020-01-28 19:41:27 -05:00
hg
43da07fb55
Fix zone crash when a group member raid invites own group leader
2020-01-28 19:37:36 -05:00
hg
63b8df72b2
Implement consent for group/raid/guild and add Auto Consent support
...
Refactors consent to be more live accurate
Message sent to owner and receiver for each zone a corpse is in
Corpses now store consent list instead of clients holding corpse list
Consent throttling added
Message strings and colors updated
Removed reporting invalid consent targets
2020-01-27 00:17:15 -05:00
regneq
c2b3e85272
Added new pathgrid type 7 (GridCenterPoint). This grid causes a NPC to alternate between the first waypoint in their grid (Number 1 in the editor) and a random waypoint. (1 - 7 - 1 - 4 - 1 - 11 - 1 - 5 - 1, etc)
...
Changed the wandertype IDs to an enum so we know what we're looking at.
Added new pathgrid type 8 (GridRandomCenterPoint). (SQL required) This new type causes a NPC to alternate between a random waypoint in grid_entries and a random waypoint marked with the new centerpoint column set to true. If no waypoints are marked as a centerpoint, this wandertype will not work. There is no numbering requirement or limit for centerpoints. You can have as many as you need.
New spawngroup field: wp_spawns (SQL required). Added a new spawngroup field, which is a boolean that if true changes the behavior of spawngroups this way: If the spawnpoint in the spawngroup has a grid, the NPC will spawn at a random waypoint location taken from its grid instead of the spawnpoint location.
New randompath behavior: The randompath grid type will now use the closest waypoint as its current waypoint on spawning. This allows multiple spawn locations to use the same grid without having the undesirable behavior of walking to the first waypoint through walls and ignoring waypoint nodes. NPC::GetClosestWaypoint() was renamed to NPC::GetClosestWaypoints() as it was filling a list of multiple waypoints. a new method NPC::GetClosestWaypoint() returns a single waypoint in the form of an integer.
2020-01-24 15:11:08 -08:00
Kinglykrab
8b37ef5e67
Formatting
2020-01-20 21:14:28 -05:00
Kinglykrab
caceae1028
Implement Corpse counting methods for global/zone-specific counting.
...
Global:
- Perl: quest::getplayercorpsecount(uint32 char_id);
- Lua: eq.get_player_corpse_count(uint32 char_id);
Zone-specific:
- Perl: quest::getplayercorpsecountbyzoneid(uint32 char_id, uint32 zone_id);
- Lua: eq.get_player_corpse_count_by_zone_id(uint32 char_id, uint32 zone_id);
2020-01-20 20:23:11 -05:00
Kinglykrab
8e6dd638ff
Implement SE_SummonCorpseZone (SPA 388).
...
- This SPA summons all of a targeted group or raid group member's corpses from anywhere in the world.
- Example Spell 16247 (Summon Remains)
2020-01-20 20:20:06 -05:00
Paul Coene
51fb7d8b77
_GetRunSpeed did not correctly report aa mods for Clients.
...
I actually believe this was some old cut-n-paste error. aa_mod was being set to a total of all (3) caps - like the previous line.
2020-01-20 15:38:07 -05:00
Paul Coene
9cc73f2b4a
Fix formula for mana
...
There were errors in the old formula for wis/int values over 201.
2020-01-20 14:24:29 -05:00
Akkadius
6f73278cf8
Fix annoying aura crash that has been around for a year and a half, add aura logging, utilize close lists
2020-01-19 21:57:28 -06:00
Paul Coene
8eb60302a2
Update attack.cpp
...
Fix to Monk Mitigation. Divided weight by 10 to convert to stones.
2020-01-19 16:03:09 -05:00
Michael Cook (mackal)
43df845233
Fix issue with overflow in Mob::SendHPUpdate
2020-01-18 21:42:51 -05:00
Paul Coene
d47bf6a73b
Update waypoints.cpp
...
Fixed log message to be correct.
2020-01-17 14:35:32 -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)
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)
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
Akkadius
331032f4f4
Push a scan when mobs first construct [skip ci]
2020-01-14 16:14:19 -06:00
Uleat
61790ef195
Wasn't quite dead... (Removed substring call from silent saylink parsing)
2020-01-13 19:01:42 -05:00
Uleat
9bdb70b2f0
Fatality! (Fix for event_say parse events not observing the correct parser for their situation)
2020-01-13 01:47:39 -05:00
Uleat
c438819ed6
Fix for command redirect of '#bot' using EVENT_COMMAND invocation
2020-01-12 22:40:05 -05:00
Uleat
7a791dda3c
Merge branch 'master' of https://github.com/EQEmu/Server
2020-01-12 21:11:51 -05:00
Uleat
6366a3fa38
Fix for silent saylinks and EVENT_COMMAND calls
2020-01-12 21:11:43 -05:00
Akkadius
306a08b9ac
Unify / streamline scanning logic calls, do a manual scan on enter and cleanup logging
2020-01-12 19:37:53 -06:00
Uleat
6c2100a650
Fix for perl EVENT_COMMAND not exporting single arguments
2020-01-12 01:32:51 -05:00
Uleat
852d951b65
Reworked EVENT_COMMAND handling and addressed script commands not present during help use
2020-01-06 15:41:05 -05:00