Commit graph

171 commits

Author SHA1 Message Date
gmriggs
f1cbf49516
deprecating legacy loot system (#4314) 2025-05-10 22:13:29 -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
e7fbdab3f1
Update DeveloperCommands.cs (#4152) 2024-04-21 14:24:07 -04: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
8c5d81a0a3
Enable LOH Compacting on forcegc (#4101)
* Enable LOH Compacting on forcegc

Maybe this will help recover long running servers that go into GC sawtooth pattern

* This should be good for master
2024-02-03 20:47:14 +00: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
Ftuoil Xelrash
b482936d9c
Update DeveloperCommands.cs (#4051)
fix string
2023-10-22 20:16:24 -04:00
Ty Conner
c09bea0358
Adjust connection flow (#3974)
* Adjust connection flow

Changed connection flow to better match retail PCAPs

* Update NetworkSession.cs

* endpoint split

* Update NetworkSession.cs

* Update NetworkSession.cs

* Update DeveloperCommands.cs

* Update DeveloperCommands.cs

* Update NetworkSession.cs

* Update NetworkSession.cs

* Update SessionConnectionData.cs

* Update NetworkSession.cs

* Update DeveloperCommands.cs

* Update NetworkSession.cs

* Update ConnectionListener.cs

* Update ConnectionListener.cs
2023-06-09 12:33:04 -04:00
gmriggs
4f8e838d97
- modify increased spell duration aug to not affect any server-side durations, in addition to dots (#3909)
- add support for untargeted spells to /castspell dev command
2022-10-15 11:26:37 -04:00
OptimShi
93e2f9f4b7
Wired up PortalStorm Events for potential future use (#3868)
* Wired up PortalStorm Events for potential future use

* Typo
2022-07-02 12:14:03 -04:00
Ty Conner
f51929ef62
Adjust UseWithTarget to support SourceContained spell casting (#3835)
* Adjust UseWithTarget to support SourceContained spell casting

* Update Player_Magic.cs

* Update RecipeManager.cs

* Update CastQueue.cs

* Update CastSpellParams.cs

* Update MagicState.cs

* Update WindupParams.cs

* Update Player_Magic.cs

* Update Player_Use.cs
2022-05-07 14:23:37 -04:00
Ty Conner
ae71c93890
Generator System Revision 4 - Profile Delays (#3650)
* Switch from Slot delay to profile only delay

* Update GeneratorProfile.cs

* Update Chest.cs

* Update WorldObject_Generators.cs

* Update WorldObject_Generators.cs

* Update WorldObject_Generators.cs

* Update WorldObject_Generators.cs

* Update WorldObject_Generators.cs

* Update DeveloperCommands.cs

* Update GeneratorProfile.cs

* Update Chest.cs

* Update WorldObject_Generators.cs

* Update WorldObject_Generators.cs

* Update GeneratorProfile.cs

* Update WorldObject_Generators.cs

* Handle GeneratorType.Relative Rotation offsets

* Update GeneratorProfile.cs

* Adjust RemoveQueue and CurrentCreate

* Update WorldObject_Generators.cs

* more gen adjustments

* apply recommended changed

Co-Authored-By: gmriggs <8909245+gmriggs@users.noreply.github.com>

* Update GeneratorProfile.cs

Co-Authored-By: gmriggs <8909245+gmriggs@users.noreply.github.com>

* Update GeneratorProfile.cs

* Update GeneratorProfile.cs

* Update GeneratorProfile.cs

* Update WorldObject_Generators.cs

* Update GeneratorProfile.cs

* Update WorldObject_Generators.cs

* revamp 2-22-22

* Add GenStopSelectProfileConditions

* some cleanup / notes

* Update GeneratorProfile.cs

* Update WorldObject_Generators.cs

* Update DeveloperCommands.cs

* Update GeneratorProfile.cs

* Update Chest.cs

* Update WorldObject_Generators.cs

* Update GeneratorProfile.cs

* Update WorldObject_Generators.cs

* Update WorldObject_Generators.cs

* Update WorldObject_Tick.cs

* Update WorldObject_Generators.cs

* Update WorldObject_Generators.cs

* Update WorldObject_Generators.cs

* more cleanup

* Update DeveloperCommands.cs

* Update GeneratorProfile.cs

* Update WorldObject_Generators.cs

Co-authored-by: gmriggs <8909245+gmriggs@users.noreply.github.com>
2022-03-26 22:44:13 -04:00
gmriggs
20ccf8e4d6
add support for shroud spells / multiplicative skill enchantments (#3711)
* add support for shroud spells / multiplicative skill enchantments

* v2

* fix vitae filter

* tested, added /castspell dev command
2021-10-24 17:28:43 -04:00
Ty Conner
aee8eee8a6
Update DeveloperCommands.cs 2021-09-29 12:39:21 -04:00
Ty Conner
fdb9cb2fca
Wire up proper support for Vendor CreateList Shop per transaction limiter (#3679)
* Wire up proper support for Vendor CreateList Shop per transaction limiter

* Add vendordump

* Update Vendor.cs

* Update vendordump

* .

* Update Vendor.cs

Disable dupe checking and generator profile copies in favor of data exact match
2021-09-26 14:48:37 -04:00
Ty Conner
379218799a
Switch ConfirmationManager over to contextId tracking (#3656)
* Switch ConfirmationManager over to contextId tracking

* match pcap response

* Update ConfirmationManager.cs

* Update Confirmation.cs

* Update ConfirmationManager.cs

* WeenieError.ConfirmationInProgress

* Update ConfirmationManager.cs

* Update confirmation handling

* Update Confirmation.cs

* Update Confirmation.cs

* Update SkillAlterationDevice.cs

* Update ConfirmationManager.cs

* Update Fellowship.cs
2021-08-22 19:41:26 -04:00
Ty Conner
cda1907072
Update DeveloperCommands.cs 2021-08-21 02:22:49 -04:00
Ty Conner
24972c2f35
Update forcelogoff command (#3643)
* Update forcelogoff command

* Update Player.cs

* Update DeveloperCommands.cs

* Update Player.cs
2021-08-08 19:01:55 -04:00
OptimShi
abddd9d9c0
Changed showstats command to output to game and to include any creature type, not just current player (#3608) 2021-07-11 19:49:19 -04:00
gmriggs
a899c87467
add support for hex numbers to /setproperty (#3606)
* add support for hex numbers to /setproperty

* clean up duplicate command names in usage text
2021-07-11 19:49:12 -04:00
gmriggs
de5019cdb1
adding /ciaetheria dev command (#3604) 2021-07-11 19:49:04 -04:00
gmriggs
42d2458298
extending /fellow-info debug command with xp sharing distance info (#3588) 2021-06-12 16:02:54 -04:00
gmriggs
b7680fe2e5
spell projectiles use weapon that launched the projectile for calculations, instead of current weapon (#3586) 2021-06-12 16:02:46 -04:00
gmriggs
47bb657869
cirand cleanup (#3550) 2021-05-22 01:57:50 -04:00
gmriggs
c21b65ed31
fix error with recently unsupported bitshift operator in dungeonname (#3529) 2021-04-22 23:25:49 -04:00
gmriggs
51586ba713
update ciloot (#3518) 2021-04-20 06:19:26 -04:00
Mag-nus
47bb9e9e82
Contract registry thread safety (#3458)
* Fix a couple of cases where character collections were accessed outside thread safe methods

* Contract Thread Safety
2021-02-13 08:24:56 -06:00
gmriggs
82062d99b6
update wielded treasure roll to be closer to retail (#3401)
* update wielded treasure roll to be closer to retail

* .

* rename command to show-wielded-treasure
2020-12-31 17:37:08 -05:00
Ty Conner
8207827e88
Update forcelogoff command (#3392)
* Update forcelogoff command

* Update DeveloperCommands.cs
2020-12-27 14:09:06 -05:00
Ty Conner
616d9ec4de
Wire up reportbug command (#3313)
* Wire up reportbug command

* Update PlayerCommands.cs

* Update PlayerCommands.cs
2020-11-24 13:17:04 -05:00
gmriggs
366e83baa1
quick fix for spellbook reordering (#3291) 2020-11-22 03:27:16 -05:00
gmriggs
0dc0742ebe
add more checks to prevent any possible overlap states when wielding items (#3339) 2020-10-29 18:31:53 -04:00
gmriggs
4591ec1b5b
add support for PropertyBool.NeverAttack (#3325)
* add support for PropertyBool.NeverAttack

* cleanup
2020-10-25 14:22:55 -04:00
gmriggs
988c38dbc7
updating lootgen item value mutation (#3206)
* add scaffolding

* adding chance tables for gem count

* update scaffolding

* update var names

* wip

* adding gem material chance tables

* adding workmanship chance tables

* updating lootgen item value mutation

* .

* moving treasure-gem-count.sql test file to WorldBase and 16PY-patches

* requested changes

* .

* updates

* keep old method for previous treasure system
2020-10-20 12:41:27 -04:00
gmriggs
94ab6317ad
faction mobs vs. mobs not belonging to same faction (#3242)
* wip

* add faction mobs aggroing regular mobs via projectiles, suppress warning message

* suppressing another msg after verification

* initial implementation for testing

* adding faction combat aggro from spell projectiles

* adding faction mob aggro for non-projectile spells

* .
2020-10-12 19:32:17 -04:00
gmriggs
08d53d428e
adding /delevel dev command (#3155) 2020-10-03 01:16:37 -04:00
gmriggs
b184431916
adding missing piece for /lootgen aetheria and pet devices (#3211) 2020-09-06 00:06:32 -04:00
gmriggs
9e895d6dd4
adding optional guid parameter for /animation (#3149) 2020-08-22 18:47:49 -04:00
gmriggs
31d54864bd
add support for faction monsters not attacking same-factioned players or their combat pets, unless provoked (#3109)
* add support for faction monsters not waking up from same-faction players running nearby

* prevent faction monsters from attacking same-factioned players after a non-factioned player wakes them up

* adding support for CombatPets not attacking mobs belonging to the same factions as their pet owner

* add support for RetaliateTargets -- see comment for this member var for full explanation

* reversing 1 check -- note that with the current logic, if Faction1Bits is set after the monster spawns in, RetaliateTargets will not be used, effectively reverting to the 'free for all' after a monster initially wakes up

* adding /setproperty PropertyInt.Faction1Bits extra logic for easier / more consistent testing after spawning

* adding RetaliateTargets logic for nearby faction monsters being alerted

* moving attack -> retaliate entry logic to not require sleeping mob

Co-authored-by: Ty Conner <tyconner@itcproductions.com>
2020-08-13 00:03:30 -04:00
Ty Conner
4adb2c7979
Add faction dev command (#3097)
* Add faction dev command

* .

* Update DeveloperCommands.cs

* Update DeveloperCommands.cs
2020-07-29 23:56:53 -04:00
harliq
c8b2f4b4f3
Added Guid to /getinfo (#3026) 2020-06-16 01:31:50 -04:00
Ty Conner
6ea7c19ea9
Revise Generator Init/Max spawn conditions (#2991)
* Revise Generator Init/Max spawn conditions

* Update WorldObject_Generators.cs

* Update WorldObject_Generators.cs

* Update AdminCommands.cs

* Update WorldObject.cs

* Update WorldObject_Generators.cs

* Update EmoteManager.cs

* Update WorldObject.cs

* Update GenericObject.cs

* Correct use of GeneratorDestructionType

* Update WorldObject_Generators.cs

* Update EmoteManager.cs

* Update Landblock.cs

* Update Landblock.cs

* Update Landblock.cs

* Update Landblock.cs

* Update Signal Emitting support to all WorldObjects

* Adjust [In/Dec]crement(My)Quest

* Update AdminCommands.cs

* Update DeveloperCommands.cs
2020-06-10 23:47:17 -04:00
gmriggs
122370c518
separating CreateItem from MutateItem in loot generator, wiring up full support for /lootgen (#2958)
* separating CreateItem from MutateItem in loot generator, wiring up full support for /lootgen

* adding support for PetDevice to /lootgen

* update lootsim

* .
2020-05-05 19:55:24 -04:00
gmriggs
fbdc68cb0e
use sphere radius when determining distance for mob aggro (#2962)
* use sphere radius when determining distance for mob aggro

* updating comment

* adding cylinder distance to /dist dev test command
2020-04-24 12:27:04 -04:00
gmriggs
bd74037d1f
more CMT fixes for players (#2946)
* more CMT fixes for players

* fix typo
2020-04-18 16:15:29 -04:00
gmriggs
75e8220237
adding server option for /pkl entry collision check, enabling door skipping glitch from retail (#2936)
* adding server option for /pkl entry collision check, enabling door skipping glitch from retail

* normalizing config option names / default retail values

* normalizing server config option for allow_jump_loot
2020-04-16 11:13:46 -04:00
Ty Conner
6261fe5518
Update boot command (#2897)
* Update boot command

* Update SentinelCommands.cs

* Update SentinelCommands.cs
2020-04-11 12:55:04 -04:00
gmriggs
624c53a8fc
adding support for lockpick mod, fixing lockpick sound broadcast (#2886) 2020-04-06 09:50:52 -04:00
Mag-nus
75fc1ce23c
Step 3. Convert ShardDatabase/WorldObjects biota from the ACE.Database model to the new ACE.Entity model (#2731)
* Step 1. Add new adapter classes and models

All classes and objects added are in new namespaces.

This add has 0 interraction on existing ACE code.

This sets the groundwork for Step 2. Moving World DB caching to the new models

* first part of the world entity usage

* almost there

* final part

* update WeenieExtensions

* fix

* merge fixes and improvements

* ACE.Database new code

* it compiles

* InitializePropertyDictionaries

* WOrldDatabaseWithEntityCache cleanup

* ShardDatabaseWithCaching

* ShardDatabase Cleanup

* todo

* cache counts reported in serverstatus

* House InitializePropertyDictionaries

* improve ServerStatus

* BiotaModel change HousePermissions to Dictionary<uint, bool>

* PropertiesAllegiance to dictionary

* BiotaUpdater improvements

* Shard Database Cache Reporting

* More code ported from Step 3

* Remove stub CharacterCache

* Update WorldDatabaseWithEntityCache.cs

* build fixes

* code audit

* Remove non-callback functions from SerializedShardDatabase

* BiotaUpdater progress.. only emote left

* Emotes done... now need to test

* fix

* Burden/Value fix for containers

* fat fingered EncumbranceVal

* add some safety

* Don't cache player biotas for initial PlayerManager load

* fix null spellbook

* Add another null check

This is redundant as the check is also upstream.

This is to prevent an exception in the future if this function is called from another source.
2020-04-02 22:40:27 -05:00
gmriggs
97bd5cbd67
improve consistency for npk falling damage (#2850)
* fix corpses spawning frozen in mid-air

* updating fields

* /movetome admin command

* adding /showvelocity dev command

* only applies to player killers

* ensure corpse items are saved correctly if server crashes

* improve consistency for npk falling damage

* updating corpse velocity persistence - can now be safely performed on npks

* adding 'bump velocity' bool -- similar to how floating Storage chests biotas were restored from db, now works for player corpses

* remove comment
2020-03-23 21:02:51 -04:00