Natedog2012
5c7972345a
[Bug Fix] Fix startzone rule to default players to correct zone when not found … ( #1669 )
...
* Fix startzone rule to default players to correct zone when not found in database
* Formatting
Co-authored-by: Kinglykrab <89047260+Kinglykrab@users.noreply.github.com>
2021-11-06 18:22:52 -04:00
Kinglykrab
efab0c4b6b
[Quest API] Add remove LDoN Win/Loss to Perl and Lua. ( #1611 )
...
* [Quest API] Add remove LDoN Win/Loss to Perl and Lua.
- Add $client->RemoveLDoNLoss(theme_id) to Perl.
- Add $client->RemoveLDoNWin(theme_id) to Perl.
- Add quest::removeldonloss(theme_id) to Perl.
- Add quest::removeldonwin(theme_id) to Perl.
- Add quest::crosszoneremoveldonlossbycharid(character_id, theme_id) to Perl.
- Add quest::crosszoneremoveldonlossbygroupid(group_id, theme_id) to Perl.
- Add quest::crosszoneremoveldonlossbyraidid(raid_id, theme_id) to Perl.
- Add quest::crosszoneremoveldonlossbyguildid(guild_id, theme_id) to Perl.
- Add quest::crosszoneremoveldonlossbyexpeditionid(expedition_id, theme_id) to Perl.
- Add quest::crosszoneremoveldonlossbyclientname(client_name, theme_id) to Perl.
- Add quest::crosszoneremoveldonwinbycharid(character_id, theme_id) to Perl.
- Add quest::crosszoneremoveldonwinbygroupid(group_id, theme_id) to Perl.
- Add quest::crosszoneremoveldonwinbyraidid(raid_id, theme_id) to Perl.
- Add quest::crosszoneremoveldonwinbyguildid(guild_id, theme_id) to Perl.
- Add quest::crosszoneremoveldonwinbyexpeditionid(expedition_id, theme_id) to Perl.
- Add quest::crosszoneremoveldonwinbyclientname(client_name, theme_id) to Perl.
- Add quest::worldwideaddldonloss(theme_id, min_status, max_status) to Perl.
- Add quest::worldwideaddldonwin(theme_id, min_status, max_status) to Perl.
- Add client:RemoveLDoNLoss(theme_id) to Lua.
- Add client:RemoveLDoNWin(theme_id) to Lua.
- Add eq.remove_ldon_loss(theme_id) to Lua.
- Add eq.remove_ldon_win(theme_id) to Lua.
- Add eq.cross_zone_remove_ldon_loss_by_char_id(character_id, theme_id) to Lua.
- Add eq.cross_zone_remove_ldon_loss_by_group_id(group_id, theme_id) to Lua.
- Add eq.cross_zone_remove_ldon_loss_by_raid_id(raid_id, theme_id) to Lua.
- Add eq.cross_zone_remove_ldon_loss_by_guild_id(guild_id, theme_id) to Lua.
- Add eq.cross_zone_remove_ldon_loss_by_expedition_id(expedition_id, theme_id) to Lua.
- Add eq.cross_zone_remove_ldon_loss_by_client_name(client_name, theme_id) to Lua.
- Add eq.cross_zone_remove_ldon_win_by_char_id(character_id, theme_id) to Lua.
- Add eq.cross_zone_remove_ldon_win_by_group_id(group_id, theme_id) to Lua.
- Add eq.cross_zone_remove_ldon_win_by_raid_id(raid_id, theme_id) to Lua.
- Add eq.cross_zone_remove_ldon_win_by_guild_id(guild_id, theme_id) to Lua.
- Add eq.cross_zone_remove_ldon_win_by_expedition_id(expedition_id, theme_id) to Lua.
- Add eq.cross_zone_remove_ldon_win_by_client_name(client_name, theme_id) to Lua.
- Add eq.world_wide_add_ldon_loss(theme_id, min_status, max_status) to Lua.
- Add eq.world_wide_add_ldon_win(theme_id, min_status, max_status) to Lua.
Adds enum for LDoN Themes and Theme Bitmasks so we're not using magic numbers.
Adds item links to item messages and augment messages on rejection/restriction/Lore.
* Update client_packet.cpp
* Update client_packet.cpp
* Update servertalk.h
Alphabetical.
2021-10-20 15:11:14 -04:00
Dencelle
7b069dcf20
[Cheat Detection] Anti-Cheat reimplementation ( #1434 )
...
* [Cheat Detection] Anti-Cheat reimplementation
* minor patch fixes
* ceiling to server side runspeed
Warp(LT) was picking up a bunch of expected 6.2 but it was reported back as 6.5, this should help reduce the amount of false positives we get
* use ceil instead of std::ceilf for linux
* boat false positive fix
* stopping the double detection
* fixes and cleanup
* auto merge tricked me...
* dummy divide by 0 checks
this should prevent anyone from setting Zone:MQWarpDetectionDistanceFactor to 0 and causing a crash.
* Formatting
* encapsulation to its own class and clean up
* more detections
* typo
* OP_UnderWorld implmentation
* Update client_packet.h
* Syntax changes, formatting, cleanup
* preventing crashes due to invalid packet size
* typos and clearer logic
* seperated the catagory for cheats
* Updated MQGhost for more detail
Co-authored-by: Akkadius <akkadius1@gmail.com>
2021-08-31 01:08:31 -05:00
Dencelle
ab89fe13b4
[Code] Addition of zone constants for hard coding ( #1443 )
2021-07-08 11:43:13 -05:00
Michael Cook (mackal)
1c75236508
[Spells Cleanup] Unify and add most hardcoded spell IDs ( #1438 )
...
Move the newer stuff added that was recently to the same place all of
our previous spell IDs were defined.
Either of these solutions were good, but I went with defines since it
was less changes
I also added a bunch of stuff the client has hardcoded behavior for, but
not currently implemented by us.
The removed stuff from the command_castspell were reused on live, so I
figured it was best to remove them from the restrictions since they are
no longer test spells
2021-06-25 14:38:02 -05:00
RoTPvP
6e61f6d0ba
[Spells] Added a pet check to Cazic Touch ( #1365 )
...
* Added a pet check to Cazic Touch
* Added a pet check to Cazic Touch
* Added rule option to Cazic pet Check
* Removed Magic Numbers
* Bracket fix
* Revert "Bracket fix"
This reverts commit 3deb3e0cade7bbb48946f394b96b6c98911b3ae8.
* Bracket fix
* Update spells.cpp
* Fixed constants
* Revert "Fixed constants"
This reverts commit 68502effd38cd5b84961a4c96f93504040dcffd5.
* Update eq_constants.h
* Update eq_constants.h
Co-authored-by: ProducerZekServer <go@away.com>
Co-authored-by: Chris Miles <akkadius1@gmail.com>
2021-06-11 16:10:30 -05:00
RoTPvP
71e9dd5a3c
[PVP] Pvp guard assist code. (Guards will assist in PvP based on faction) ( #1367 )
...
* Added Guard Assist Code
* Added PvP Rule and Detrimental Spell Check
* Added IsGuard() Method
* Change from uint to bool
* Added a faction check to IsGuard()
* Simplified Guard Checks, reduced costs
* Added IsNPC check to guard check
* simplified pet check
* Removed Magic numbers
* Formatting Fix
* Code fixes
* Fixed constants
Co-authored-by: ProducerZekServer <go@away.com>
2021-05-30 20:22:52 -05:00
hg
abf73947f4
[Dynamic Zones] Rename dynamic zone structs ( #1327 )
...
* Rename dz member id field
The name of the struct is enough to make this implicit
* Rename dz member enum and struct
Rename ExpeditionMember to DynamicZoneMember
Rename ExpeditionMemberStatus to DynamicZoneMemberStatus
* Rename dz window packet structs
This makes it more clear the window may be used by any dynamic zone
system not just expeditions (live missions fill the window when
player doesn't have an active expedition).
* Rename dz window packet fields
2021-04-27 18:53:56 -05:00
hg
dadc1b2843
[Expeditions] Refactor expedition caching ( #1315 )
...
Add common expedition base class
Use repository for zone and world expedition caching
World now stores members and leader as Member objects instead of ids
This improves readability of the caching methods and lets world cache
expedition dzs and members like zone. World also now caches expeditions
as unique_ptr which will be necessary for future dz callback lambdas
that capture 'this' so addresses don't change on cache vector resizes.
2021-04-07 01:20:35 -05:00
hg
d9e23a0303
[Expeditions] Decouple dz updates from expeditions ( #1303 )
...
Use internal dz messages to process duration and location changes
Add world DynamicZone class (later this will inherit from a base)
Add FindDynamicZoneByID to get dz from zone and world system caches
2021-03-28 18:14:36 -05:00
KimLS
2fbd5aaccc
Rename namespace EQEmu to namespace EQ (so we don't have two similar but different namespaces anymore)
2020-05-17 18:36:06 -07:00
Akkadius
b8624d0488
Post PR blocked spells formatting
2019-09-01 16:51:39 -05:00
Akkadius
20bd37dde7
More function name refactoring
2019-08-11 01:09:11 -05:00
Akkadius
57354579aa
Unify chat constants usage
2019-08-11 00:00:55 -05: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
regneq
460468224e
various changed to chatchannel and using language / language skills derived from takp code.
2019-07-14 20:03:30 -07:00
Uleat
1ba6801bb2
Fix for UF and older clients' experiment combine failure
2018-10-05 07:54:42 -04:00
Uleat
c435a77813
Reintegration of inventory-based EQDictionary references
2018-07-05 21:05:26 -04:00
Michael Cook (mackal)
28fca1f8dc
More OP_SpawnAppearance types
2017-08-01 20:14:10 -04:00
Michael Cook (mackal)
935dc7d8fb
Add more OP_SpawnAppearance types (RoF2 at least)
2017-08-01 19:57:30 -04:00
Uleat
bfd07b1010
Added class EQEmu::InventorySlot
2016-10-16 21:36:39 -04:00
Uleat
16895910e4
Another eq_dictionary pass
2016-05-30 06:52:25 -04:00
Uleat
71f128731f
Renamed and moved SkillUseTypes enumeration to EQEmu::skills::SkillType; eq_dictionary work
2016-05-25 18:50:26 -04:00
Uleat
3031365e1f
Moved struct Item_Struct into namespace EQEmu
2016-05-21 04:54:18 -04:00
Uleat
1890d006a2
Delinked current inventory slot enumeration and constants from EQEmu::constants and global definition
2016-04-22 07:34:55 -04:00
Uleat
8edb6e9595
Eliminated the nested class design of recent EQEmu work; Some more inv2 convergence work
2016-04-19 04:02:53 -04:00
Uleat
1b3cfc9a5c
Reworked EQDictionary into namespace EQEmu
2016-04-15 22:11:53 -04:00
Uleat
e75a53b775
Rework of eq_dictionary
2016-04-07 17:21:55 -04:00
Uleat
b327da7092
Activation of the new 'Bots' command system
2016-03-24 18:50:31 -04:00
Uleat
4842583426
Added some markers for skills.h and eq_constants.h enumerations
2016-03-20 20:09:14 -04:00
Uleat
1b7841f683
Fix for Berserker 'Piercing' skill issues
2016-01-26 15:08:41 -05:00
Uleat
1f0b86a0d5
Changes to how valid light sources are critiqued
2015-02-26 18:46:12 -05:00
JJ
318a664b09
No "sigs". [skip ci]
2015-02-23 19:57:47 -05:00
JJ
96925f0dde
Some minor cleanup. [skip ci]
2015-01-31 17:03:44 -05:00
Akkadius
045125d328
Add types.h to a bunch of files
2015-01-19 04:02:45 -06:00
Akkadius
51958b991c
Cleaner way to handle out of range and swaps
2014-11-02 22:30:29 -06:00
Uleat
8b14c21a24
More numeric to constant conversions..should be most of them... Please report any inventory abnormalities.
2014-07-31 07:52:38 -04:00
Uleat
36a2d52f1c
More 'dictionary' updates..added 'constants' files to client translators..started replacement of hard-coded inventory values.
2014-07-27 20:35:43 -04:00
Uleat
d7c2d6108f
Added the initial references for two new dictionaries - EmuConstants and EQLimits..more to come.
2014-07-16 21:23:16 -04:00
Uleat
4170434b96
** Fix for RoF clients not displaying Augment Restrictions in the Item Info window.
...
** Change to Client::SummonItem() to enforce valid item/augment combinations. (Run the optional sql file first, before posting any
SummonItem() failure issues in the forums.)
2014-03-17 04:53:47 -04:00
Uleat
e3805d5920
Converted SkillType typedef enumeration to SkillUseTypes enumeration
2013-10-27 13:03:41 -04:00
Uleat
3e6be197e6
Changed ItemTypes to ItemUseTypes
2013-10-27 09:04:52 -04:00
Uleat
0d5fc26841
Converted MATERIAL defines to MaterialUseSlots enumeration
2013-10-27 08:01:37 -04:00
Uleat
df47e17c8e
Changed ItemClass enumeration to ItemClassTypes enumeration
2013-10-27 06:38:34 -04:00
Uleat
d5152a0e59
Moved and expanded Deity-related code
2013-10-27 05:08:53 -04:00
Uleat
78e04dee99
Enforced naming standard on my recent changes
2013-10-27 04:17:08 -04:00
Uleat
403ac53a9e
Renamed/expanded 'BagTypes' enumeration
2013-10-18 20:33:41 -04:00
KimLS
49c3a81e18
More lua work, client should be completely exported barring any more bugs that crop up. Starting work on getting the rest of the general functions
2013-05-27 17:24:31 -07:00
j883376
4bdd8b2502
Change space indentation to tabs
2013-05-09 11:37:51 -04:00
j883376
ffcff4aea1
Remove trailing whitespace
2013-05-09 11:13:16 -04:00