Commit graph

2006 commits

Author SHA1 Message Date
Ty Conner
1de1dc23e7
Update Checks for Attribute Transfers and Skill Alterations (#4476)
* Update AttributeTransferDevice.cs

* Update SkillAlterationDevice.cs

* Update WorldObject_Properties.cs

* Update WorldObject_Use.cs

* Update AttributeTransferDevice.cs

* Update SkillAlterationDevice.cs

* Update AttributeTransferDevice.cs

* Update SkillAlterationDevice.cs

* Update WorldObject_Use.cs

* Update WorldObject_Use.cs

* Update SkillAlterationDevice.cs

* Update AttributeTransferDevice.cs

* Update AttributeTransferDevice.cs
2026-08-13 01:12:28 -04:00
gmriggs
196a0af1df
restrict GetMultiplicativeMod to EnchantmentTypeFlags.Float (#4479) 2026-08-13 00:57:53 -04:00
Mag-nus
c2ed2eab9a
Performance improvements with the help of Claude (#4472)
* Network performance improvements, limit boxing

* Polygon comment out redundant test code

* Transition remove duplicate Init()

* Creature_BodyPart and Monster_Melee comment out unused var
2026-08-03 11:48:37 +00:00
gmriggs
4b1846c00d
improving consistency for if checks (#4434) 2026-04-21 16:18:44 -04:00
gmriggs
3dbcd775f4
fix Kiss of the Grave and some other fellowship spells (#4425)
* fix Kiss of the Grave and some other fellowship spells

* revise comment
2026-03-26 01:24:47 -04:00
Ty Conner
deb815b7cc
Fix xenophobia in Creatures (#4420)
Skip HeritageGroup checks during Activation/Use for Creatures
2026-03-15 15:50:17 -04:00
Ty Conner
8f2a805afd
Wire up HeritageGroup use requirement (#4415)
Add support for checking items with PropertyInt.HeritageGroup to verify player matches for activation
2026-03-08 19:18:59 -04:00
gmriggs
dd7faf95e0
sync AugmentationFasterRegen up with retail (#4413) 2026-03-01 07:38:09 -05:00
gmriggs
e05103bb05
DoSpellEffects target null check (#4411) 2026-02-14 01:24:49 -05:00
gmriggs
87e460413d
additional hotspot checks (#4408) 2026-02-14 01:24:36 -05:00
OptimShi
0720d32092
Handle some outlier instances where AltSetup models have different appearances (#4401)
Co-authored-by: OptimShi <26606778+OptimShi@users.noreply.github.com>
2025-11-28 12:38:59 -05:00
Ty Conner
e5fbb6ce31
Minimal changes to support metrics mod (#4346)
These are changes from PR #4199 which support outputting certain metrics that do not currently exist in ACEmulator.

These changes allow for the original PR to change to a simple Mod found at ACEmulator/ACE.Mods.Metrics
2025-08-11 22:38:37 -04:00
Coldeve-ACE
a31112ea51
Common Logging Changes (#4345)
* Update ShardDatabaseOfflineTools.cs

* Update Corpse.cs

* Update Creature_Death.cs

* Update Player_Death.cs

* Update Player_Inventory.cs

* Update WorldObject_Decay.cs

* Update HouseManager.cs

* Update Player_House.cs

* Update RecipeManager.cs

* Update Player_Allegiance.cs

* Update AuthenticationDatabase.cs

* Update ShardDatabase.cs

* Update WorldDatabase.cs

* Update Player_Magic.cs

* Update Player_Skills.cs

* Update Player_Attributes.cs

* Update Player_Combat.cs

* Update PhysicsObj.cs

* Update Player_Vitals.cs

* Update Player_Missile.cs

* Update Player_Melee.cs

* Update Monster_Melee.cs

* Update Session.cs
2025-08-11 22:38:12 -04:00
Coldeve-ACE
6122faa7a8
Remove Some Console Spam (#4343)
* Update PlayerCommands.cs

* Update EnchantmentManager.cs
2025-08-11 22:37:27 -04:00
Coldeve-ACE
a8318ca6fe
Update HousePortal.cs (#4342)
Add Try/Catch to find null crash bug
2025-08-11 22:37:07 -04:00
Coldeve-ACE
f5a514beb9
Null Catches (#4341)
* Update Position.cs

* Update DamageEvent.cs

* Update GameEventFellowshipFullUpdate.cs

* Update EmoteManager.cs

* Update Monster_Combat.cs

* Update DamageEvent.cs
2025-08-11 22:36:48 -04:00
Ty Conner
8235a4edff
Fix issue with Olthoi global chat (#4332) 2025-06-30 14:26:30 -04:00
Ty Conner
a9f3e1fd7e
Block mansion recalls to Apartments (#4330)
* Update Player_Location.cs

Thanks to Erusun for the report.

Stops mansion recall to Apartments.

* Update Player_House.cs

* Update Player_Location.cs
2025-06-29 14:59:18 -04:00
Galli
b5f9418388
Removed the duplicate "the" words from the comments (#4322)
* Update OfflineConfiguration.cs

Removed the duplicate "the" from the comment on line 63

* Update Config.js.docker

Removed the duplicate "the" from line 216

* Update Config.js.example

Removed the duplicate "the" from line 217

* Update Player_Networking.cs

Removed the duplicate "the" from line 27
2025-06-22 15:33:13 -04:00
gmriggs
4e5bd41907
add missing ServerSaveFailed messages for vendor transactions (#4317) 2025-06-22 15:33:01 -04:00
gmriggs
f1cbf49516
deprecating legacy loot system (#4314) 2025-05-10 22:13:29 -04:00
gmriggs
2961304625
add support for negative HealOverTime spells (#4304)
* add support for negative HealOverTime spells

* add periodic healing / harm message
2025-04-06 17:30:35 -04:00
OptimShi
9e3c88dffb
Handle getting WeenieClassName for missing weenie (#4303)
Co-authored-by: OptimShi <26606778+OptimShi@users.noreply.github.com>
2025-04-06 17:30:18 -04:00
Ty Conner
cac5473ce0
Add missing OnTalk to a few places (#4301)
OnTalk was missing from Suicide and DoSpellWords, both of which used GameMessageHearSpeech

OnTalk is currently a player function, it is possible it should be moved up the chain so the two remaining GameMessageHearSpeech and similar messages for Creatures or WorldObjects should be included in making HearChat emotes be triggered by players and npc alike for custom content purposes, but there may be a hidden problem with expanding that scope, so I'm not doing that for now.
2025-04-06 17:28:07 -04:00
gmriggs
dd4594e667
fix thrown shield stance swapping (#4277) 2025-03-09 05:22:25 -04:00
Ty Conner
a56333bd81
Set House ParentLink on Load (#4238)
Adjusted some logging and added a parentlink for slumlord to house.
2024-10-29 11:08:04 -04:00
OptimShi
4c8eb57ebf
Add physical damage handling for Life Magic Projectile spells (#4228)
Co-authored-by: OptimShi <26606778+OptimShi@users.noreply.github.com>
2024-09-29 22:03:45 -04:00
Ty Conner
b4e2334333
Update output of DateTime strings (#4224)
* Update output of DateTime strings

Define and use explicit formatting for DateTime objects used throughout source

* Update Player.cs

* Update GameActionQueryBirth.cs

* Update DateTimeExtensions.cs

* Update GameActionQueryBirth.cs

match the backpack panel output
2024-09-18 00:30:35 -04:00
Ty Conner
a15dadde78
[DEBUG] Force Logout of Stuck Characters (#4175)
* Force Logout of Stuck Characters

Ideally, this is a temporary workaround for characters that get stuck logging out.

This should hopefully catch most of the logout on death characters that get stuck, but will probably not catch all edge case scenarios of characters stuck in world that have been reported to us so far

* Update SessionTerminationReason.cs

* Update PlayerManager.cs
2024-09-15 22:33:24 -04:00
FlaggAC
7f1b58ab24
Change static readonly fields to const fields. (#4211)
This will at least somewhat improve performance, as confirmed through microbenchmark testing.

const fields are replaced with literal values in the Assembly's IL code, while static readonly fields may be optimized by the JIT, and is not guaranteed to happen. const fields may also lend themselves to stronger optimizations at runtime.
2024-08-24 14:32:35 +00:00
aquafir
514f465df8
Switch from name to using DamageType to resolve vital for LifeProjectiles (#4197) 2024-06-28 10:45:32 -04:00
Ty Conner
9b89ba472d
Update InqFellowNum and Add InqNumCharacterTitles (#4196) 2024-06-28 10:45:03 -04:00
Mag-nus
2b61b28147
Cumulative updates (#4180)
* Many lb group performance related updates

* fixes

* tweak partitioner

* Implement LandblockGroupMinSpacingWhenDormant

* More threaddebug

* cleanup
2024-06-28 10:43:53 -04:00
Ty Conner
2c459c7577
Improve Friends Notifications (#4194)
* Improve Friends Notifications

Friends will now send broadcast text to announce their online status as was the case in retail.

* Update Player_Networking.cs

:}

* Update Player_Networking.cs
2024-06-06 00:59:29 -04:00
Ty Conner
575688c222
Adjust Ethereal state on Drop (#4188)
Re-enforces expected default state of Ethereal after object is dropped by player
2024-06-06 00:59:07 -04:00
Ty Conner
5c76577017
Remove Spell Words from Squelch (#4186)
http://acpedia.org/wiki/Announcements_-_2007/02_-_Rekindling_the_Light

Spell Words and Squelching
Players who have another player squelched will now be able to see that players spell words, even though they are squelched. If a player has filtered spellcasting, they will still not be able to see the spell words.
2024-05-26 13:49:37 -04:00
Ty Conner
73d9bed0fa
Add HasUst check to Salvaging (#4172)
* Add HasUst check to Salvaging

* Update GameActionCreateTinkeringTool.cs

* Update Player_Crafting.cs
2024-05-11 23:24:47 -04:00
Mag-nus
3e2b9f0e42
Fix Monster_Combat concurrency issue (#4163)
BPTableCache can be accessed by multiple threads at the same time.
2024-05-12 02:36:09 +00:00
OptimShi
90c7e9252c
Fix layering issues with armor/clothing (#4149) 2024-04-21 14:23:59 -04:00
OptimShi
aff4f79653
Foward Player object to Activation Target in Activate Emotes (#4147) 2024-04-09 00:00:01 -04:00
Ty Conner
ec5ecd62c4
Adjust AddSpellToBar (#4131)
* Adjust AddSpellToBar

Check for existing SpellId on same SpellBar before attempting to add

* Update Player_Character.cs
2024-03-20 00:33:00 -04:00
Ty Conner
e0d4c3a043
Wire up GameEventMagicPurgeBadEnchantments (#4127)
* Wire up GameEventMagicPurgeBadEnchantments

According to PCAPs GameEventMagicPurgeBadEnchantments was sent to clients for players with Enduring Enchantment augmentation.

Client has slightly different check in CEnchantmentRegistry::PurgeBadEnchantmentList versus CEnchantmentRegistry::PurgeEnchantmentList
```cpp
    if ( v4->data._smod.type & 0x2000000 || v4->data._duration == -1.0 )
```
vs
```cpp
    if ( v4->data._duration == -1.0 )
```

* Update EnchantmentManager.cs

A large number of spells that the DAT has marked beneficial do not also have their StatModType currently set with that same flag.

This changes makes them match.

* Update Enchantment.cs
2024-03-15 00:54:31 -04:00
Jonathan Clark
bc24380f33
Adds use_portal_max_level_requirement server property (#4122)
This is a minor change adding a server property to optionally disable
the maximum level restriction on portals. Other restrictions are
unaffected by this property.

Server owners can use this property to enable access to certain legacy
content that is otherwise practically inaccessible, such as dungeons and
quests associated with retired starter towns.
2024-03-13 13:50:58 -04:00
Mag-nus
b5215713f1
Improve WorldObject_Properties GetAllProperties* (#4109) 2024-03-13 02:39:21 +00:00
Mag-nus
9d70b48380
Improve logging overhead by fixing string interpolation (#4107)
* First batch

* Second batch

* another batch

* last batch hopefully

* fix
2024-03-13 02:38:39 +00:00
Mag-nus
bb8e6a9ac3
Improvements to help garbage collection (#4104)
* Enum ToSentence improvements

* Network.EnqueueSend improvements

* Improve SerializePhysicsData

* GameMessage improvements

* GameEventMessage updates

* more initial sizes

* Few more GameMessages

* few more
2024-03-13 02:37:40 +00:00
Mag-nus
63dcd84541
Improve Offline Player Saving (#4100)
PlayerManager saves offline players in bulk, once very hour. This is done in bulk to help avoid desync between offline player updates.

Player caching is typically set to 30 min.

What can happen now is that PlayerManager may save a bunch of offline players, that will then be loaded into the player biota cache (for 30 min)... then after 30 min, they all get unloaded because nothign touches those biotas, then 30 min later again the PlayerManager performs its hourly maint of bulk save, thus, re-caching all those biotas.

Caching is not necessary for these biotas.

Caching is designed for biotas that exist in an online state.
2024-02-03 20:43:13 +00:00
gmriggs
e4b1dd4e3d
add support for food killing player (#4093)
* add support for food killing player

* ensure generic death msg
2024-01-29 02:34:21 -05:00
Ty Conner
bbf0afdaa7
Wire up Core Plating for Gear Knights (#4080)
* Wire up Core Plating for Gear Knights

* Update CorePlating.cs

* Update CorePlating.cs
2024-01-20 14:58:29 -05:00
Ty Conner
e56390aabe
Adjust Barbershop handling (#4079)
* Adjust Barbershop handling

* Delete Player_Barber.cs

* Update Player_Character.cs

* Update Player_Use.cs

* Update Player_Character.cs
2023-12-31 15:18:13 -05:00