Commit graph

74 commits

Author SHA1 Message Date
OptimShi
2dd510ca05 Dat update (#1509)
* WIP

* Updated changelog

* Update changelog.md
2019-03-09 19:51:03 -06:00
gmriggs
4c7eceaea8
Adding house deeds, purchase requirements w/ config options (#1426)
* Adding house deeds, purchase requirements w/ config options

* Changing AllegianceMinLevel to optional config prop
2019-02-07 16:39:30 -05:00
gmriggs
d4f9368641
Improving per-animation attack frame timing for players and monsters (#1177)
* Improving per-animation attack frame timing for players and monsters

* Appending EnchantmentTypeFlags for item buffs, fixing /tell for admin players

* .

* Fixing /tell +Admin issue in PlayerManager
2018-12-23 17:32:21 -05:00
gmriggs
49bb0ff7e8
Improving /tele and minimap click teleporting (#1157)
* Improving /tele and minimap click teleporting

* Updating patch
2018-12-20 07:49:03 -05:00
gmriggs
14591666d8
Adding spell component burning (#1121)
* Adding spell component burning

* Some adjustments
2018-12-13 00:22:19 -05:00
Mag-nus
3e836a6cbb
Profiling based improvements (#1115)
* Use PortalDat skill table instead of reflection properties

* Update showstats comments

* remove attributes from Skill enum (Values now come from dat)

* Remove attributes from PropertyAttribute2nd (Values come from dat now)

* Landblock, worldObjects to private and adjacents->Adjacents

* Landblock remove PhysicsObj != null check. No need. 6% CPU savings

* showstats shows [Unusable] for untrained skills which are unusable

* Improve performance of GetWorldObjectsForPhysicsHandling

* Improve Skill IsUsable

* Updating showstats

* Fixing null pointer exception in IsUsable
2018-12-03 17:53:32 -06:00
gmriggs
7ab6311ac6
Some DatLoader updates (#1110)
* Some DatLoader updates

* commenting filetype

* Adding 0xE filetypes
2018-12-02 12:49:52 -05:00
OptimShi
e6937b3e68 Added three new dat FileTypes (#1106) 2018-11-28 23:52:14 -05:00
gmriggs
97cf4ec299
Updating audio export (#1105)
* Updating audio export

* .
2018-11-27 01:15:34 -05:00
gmriggs
b215a34ce7
Improving DatLoader for third-party apps (#1092)
* Improving DatLoader for third-party apps

* Adding some missing filetypes (thanks OptimShi!)

* Adding more enums, using SmartArray

* Re-adding loadCell

* Reverting to UInt32
2018-11-22 01:33:17 -05:00
gmriggs
811956ef55
Updating particle system (#1089)
* Updating particle system

* Updating GetRandomStartTrans

* Updating IsParentLocal

* Reset lifetime
2018-11-08 14:43:38 -05:00
gmriggs
1e6af06ef6 Adding particle emitters (#1082) 2018-11-01 02:55:11 -04:00
gmriggs
4619970f80
Refactoring LandblockManager, improving VitalTick performance (#1079)
* Physics Cache cleanup (Mostly cosmetic)

* Vertex/Polygon/BSP CacneEnabled flags added, default to false

Testing results:

Debug mode, loading 31,329 landblocks (x = 0x20-0xD0, y = 0x20-0xD0)

With Vertex, Polygon & BSP Cache:
2018-10-25 10:05:12,121 DEBUG: Loaded Landblocks in 120.39 seconds
2018-10-25 10:05:12,218 DEBUG: 13759 MB used

2018-10-25 10:08:00,330 DEBUG: Loaded Landblocks in 101.11 seconds
2018-10-25 10:08:00,427 DEBUG: 13667 MB used

2018-10-25 10:13:08,448 DEBUG: Loaded Landblocks in 104.36 seconds
2018-10-25 10:13:08,507 DEBUG: 13666 MB used

With Vertex, Polygon & BSP Cache Disabled:
2018-10-25 10:17:55,339 DEBUG: Loaded Landblocks in 100.63 seconds
2018-10-25 10:17:55,404 DEBUG: 14175 MB used

2018-10-25 10:21:11,596 DEBUG: Loaded Landblocks in 89.23 seconds
2018-10-25 10:21:11,666 DEBUG: 14220 MB used

2018-10-25 10:27:22,145 DEBUG: Loaded Landblocks in 93.74 seconds
2018-10-25 10:27:22,200 DEBUG: 14206 MB used

* PhysicsCaches, remove redundant null check

* Improved GfxObjCache model

* DBObj Boxing/Unboxing improvements

* Add thread safety to GfxObjCache

* Landblock phsyics loading async

* Adding setup "caching"

* Redirecting properties to DatLoader

* Refactoring LandblockManager, resolving Physics Landblock loading bug

* Tabs vs. spaces

* Improving VitalTick performance

* Adding refactored AttributeFormula to CreatureSkill

* Disabling BSP cache
2018-10-28 09:56:48 -04:00
gmriggs
0318370c93
Improved monster animations / timers for ranged attacks (xbow) (#991) 2018-09-03 03:27:48 -04:00
gmriggs
a23b03c510
Adding thrown weapons, atlatls, and monster wielded weapons (#980)
* Adding thrown weapons, monster wielded items WIP

* Adding atlatls

* Adding monster melee weapon damage

* Removing debug message

* Implemented monster inventory / weapon switching

* Removing debug lines

* Removing debug output

* .
2018-09-01 02:59:27 -04:00
OptimShi
b694a9991b AdjusSpell Words (#876)
* Tweaked Spell Words

* ChangeLog
2018-07-17 19:25:38 -05:00
OptimShi
6a9dd34596 Fixed Spell Formulas (#872) 2018-07-13 21:38:10 -07:00
gmriggs
e1ff1c8cc1 Fixing sliding along the edge of cliffs (#860)
* persistent tracking of item affectance
item affectance is restored at Player.EnterWorld

* Fixing sliding along the edge of cliffs

* Reverting item affectance PR
2018-07-10 06:44:42 -07:00
OptimShi
eebbe44309 Image Export (#852)
* 99% images, 50% image formats

* Image Export Functions
2018-07-09 08:56:32 -07:00
OptimShi
cad0e661d0 Dat updates (#847)
* Fix Replace Animation Hook

* SoundTable

* Numerous Dat Updates

* Added highres and language export commands
2018-07-05 07:50:42 -05:00
OptimShi
795633a2a3 Added Spell Sets to DatLoader.SpellTable (#841) 2018-07-03 06:59:56 -07:00
kdmxp256
8f8c2c4789
Add spells and a couple of other fixes (#836)
* Fix AddAllSpells

* Revert accidental change

* Add missing file
2018-07-01 20:47:38 -07:00
OptimShi
58020a3077 Text Encoding Updates (#838)
* Added CP1252 Text Encoding

* Changelog
2018-07-01 20:47:03 -07:00
gmriggs
a0bf5018d6
Adding projectile physics (#816)
* Projectile physics collisions

* Removing some debug messages, restoring monster RunSpeed

* Copying ACE physics state to PhysicsObj

* Fixing encounter cell IDs

* Re-implementing Player_Tracking the previous way again, to fix Dungeon monsters de-spawning

Note that outdoor landblocks still suffer from oversending, and client possibly crashes due to this

* Fixing indoor arrows, hotspot collisions

* Physics adjustments

* Removing debug messages

* Projectile physics collisions

* Removing some debug messages, restoring monster RunSpeed

* Copying ACE physics state to PhysicsObj

* Fixing encounter cell IDs

* Re-implementing Player_Tracking the previous way again, to fix Dungeon monsters de-spawning

Note that outdoor landblocks still suffer from oversending, and client possibly crashes due to this

* Fixing indoor arrows, hotspot collisions

* Physics adjustments

* Removing debug messages

* Updating SphereTest

* Merging missile combat fixes/additions

* Removing duplicate message from changelog

* Updating changelog

* Merging Hotspot PR
2018-06-08 04:08:53 -04:00
fartwhif
82e8bdb2a4 added SurfaceTexture parser (#802)
* added SurfaceTexture parser
added Texture file getter

* to-do: identify the 4 extra bytes (trailing crc?)

* Update Texture.cs

corrected bug causing Format to always be D3DFMT_UNKNOWN

* accounted for the trailing DWORD
cleaned up the code a bit
2018-05-23 22:50:08 -04:00
gmriggs
83e0aa7336 Sliding object fixes (#709)
* Sliding object fixes

* Fixing SlideSphere
2018-03-29 18:54:46 -04:00
kdmxp256
28da7c5817 Spellcasting Visuals (#708)
* Spellcasting Visuals

* Add notes for GetSpellWords method

* Adjust animation timings

* Remove duplicate else if
2018-03-29 18:54:30 -04:00
gmriggs
2f5f59a41b Fixing monsters despawning in dungeons (#696)
* Fixing monsters despawning in dungeons

* Adding null pointer check

* no message

* Update -> Create
2018-03-24 07:03:34 -05:00
Mag-nus
46eecb771f ACE.DatLoader TabooTable added 2018-03-19 08:10:21 -05:00
Ty Conner
00e0ff4abc
Smite + Corpse Spawning (#688)
* Smite + Corpse Spawning

* Changing GameEventSequence to 1

* Better corpse placement

* Pixel perfect corpse drop

* WIP: /smite all

* Creature Corpses with Clothing appear correctly

* Corpses are in fact Containers

* cleanup

* more cleanup

* even more cleanup
2018-03-16 04:29:35 -04:00
gmriggs
3a6982c560 Physics testing, player moving across landscape at correct speeds (#687) 2018-03-15 03:34:01 -04:00
Mag-nus
b249a59091 Inventory/Burden progress (WIP) + MotionTable fix 2018-03-11 13:01:11 -05:00
gmriggs
b781632800 Physics testing adjustments (#680) 2018-03-11 07:36:42 -05:00
gmriggs
a0b1f5c491 Fixing wave-export (#636) 2018-02-11 09:16:09 -06:00
Mag-nus
fa43f0db84
ACE.DatLoader improvements (#626)
* ACE.DatLoader DatDirectory reading cleaned up

* ACE.DatLoader: Removed the pointless cached list in DatDirectory

* MySql.Data upgraded from 6.10.4 to 6.10.6

This also fixes 3 build warnings regarding a security dll.

* ACE.DatLoader: All data loaded data objects now reside in ACE.DatLoader, not ACE.Entity.

* ACE.DatLoader performance improvements

* ACE.DatLoader improvements

* conflicts

* conflicts

* conflicts

* conflicts
2018-02-07 22:14:50 -06:00
Mag-nus
2326741c6a
ACE.DatLoader work (#625)
* ACE.DatLoader DatDirectory reading cleaned up

* ACE.DatLoader: Removed the pointless cached list in DatDirectory

* MySql.Data upgraded from 6.10.4 to 6.10.6

This also fixes 3 build warnings regarding a security dll.

* ACE.DatLoader: All data loaded data objects now reside in ACE.DatLoader, not ACE.Entity.

* ACE.DatLoader performance improvements
2018-02-07 09:02:24 -06:00
Mag-nus
1c14e76f5f
ACE.DatLoader bug fixes (#622)
* ACE.DatLoader LandblockInfo removed testing code

* ACE.DatLoader rename PackableExtensions to UnpackableExtensions

* ACE.DatLoader.Tests: Better testing to make sure full objects are being parsed

* ACE.DatLoader bug fixes

* ACE.DatLoader: Add missing file for build

* ACE.DatLoader Switch to native Vector3 object
2018-02-05 13:34:12 -06:00
Mag-nus
a51a566199
ACE.DatLoader IUnpackable work completed (#621)
* ACE.DatLoader: SpellTable converted to IUnpackable

* ACE.DatLoader CellLandblock converted

* ACE.DatLoader IUnpackable work completed
2018-02-05 11:17:57 -06:00
Mag-nus
3783d4b4d2
ACE.DatLoader IUnpackable progress (#620)
* ACE.DatLoader: SpellTable converted to IUnpackable

* ACE.DatLoader CellLandblock converted
2018-02-05 08:48:01 -06:00
Mag-nus
a24f7cbb17
ACE.DatLoader more IUnpackable refactoring (#616)
* ACE.DatLoader.Tests fix for Animation.

Also includes some ACE.Entity.Position replacements with ACE.DatLoader.Entity.Frame

* ACE.DatLoader Scene converted

Also made all the ReadFromDat code more generic/copyable

* ACE.DatLoader Palette converted

* ACE.DatLoader: PaletteSet converted

* ACE.DatLoader: CombatManeuverTable converted

* ACE.DatLoader PhysicsScriptTable converted

* ACE.DatLoader SpellComponentTable converted

* ACE.DatLoader misc cleanups

* ACE.DatLoader Surface converted

* ACE.DatLoader much more progress

* ACE.DatLoader/Tests Added cell.dat testing framework. First done EnvCell

* ACE.DatLoader ParticileEmitter converted. PositionExtensions removed (via conversion to Position/Frame/Vector3/Quaternion)

* ACE.DatLoader: ClothingTable converted and fixed

* ACE.DatLoader GeneratorTable converted

* ACE.DatLoader: GfxObjDegradeInfo converted

* ACE.DatLoader: MotionTable converted

* Merge conflicts

* Merge Conflicts

* More merge conflicts

* More conflicts resolved
2018-02-04 11:16:30 -06:00
Mag-nus
6f446c38fc
ACE.DatLoader More IUnpackable progress (#615)
* ACE.DatLoader.Tests fix for Animation.

Also includes some ACE.Entity.Position replacements with ACE.DatLoader.Entity.Frame

* ACE.DatLoader Scene converted

Also made all the ReadFromDat code more generic/copyable

* ACE.DatLoader Palette converted

* ACE.DatLoader: PaletteSet converted

* ACE.DatLoader: CombatManeuverTable converted

* ACE.DatLoader PhysicsScriptTable converted

* ACE.DatLoader SpellComponentTable converted

* ACE.DatLoader misc cleanups

* ACE.DatLoader Surface converted

* ACE.DatLoader much more progress
2018-02-03 20:41:21 -06:00
Mag-nus
3502e699b9
ACE.DatLoader and ACE.DatLoader.Tests improvements (#614)
* ACE.DatLoader: XpTable updated

* ACE.DatLoader physics and environment using new unpack pattern

* ACE.DatLoader ContractTable updated to IUnpackable

* ACE.DatLoader EnvCell refactored to new IUnpackable

* Update PackableExtensions.cs

* ACE.DatLoader This removes the loc object

Before I proceed with further refactoring, I want to add some datloader tests...

* Looks like it didn't catch all my changes...

* ACE.DatLoader and ACE.DatLoader.Tests improvements
2018-02-03 17:54:07 -06:00
Mag-nus
f44c86534c
ACE.DatLoader This removes the loc object (#613)
* ACE.DatLoader: XpTable updated

* ACE.DatLoader physics and environment using new unpack pattern

* ACE.DatLoader ContractTable updated to IUnpackable

* ACE.DatLoader EnvCell refactored to new IUnpackable

* Update PackableExtensions.cs

* ACE.DatLoader This removes the loc object

Before I proceed with further refactoring, I want to add some datloader tests...

* Looks like it didn't catch all my changes...
2018-02-03 14:18:42 -06:00
Mag-nus
652e076d1f
ACE.DatLoader IUnpackable progress (#612)
* ACE.DatLoader: XpTable updated

* ACE.DatLoader physics and environment using new unpack pattern

* ACE.DatLoader ContractTable updated to IUnpackable

* ACE.DatLoader EnvCell refactored to new IUnpackable

* Update PackableExtensions.cs
2018-02-03 13:56:28 -06:00
Mag-nus
bacd751d8a
ACE.DatLoader more IUnpackable work (#610)
* ACE.DatLoader: XpTable updated

* ACE.DatLoader physics and environment using new unpack pattern
2018-01-31 21:09:08 -06:00
Mag-nus
e5fb929f39
ACE.DatLoader RegionDesc updated to the new format w/bug fixes (#607)
* ACE.DatLoader RegionDesc updated to the new format w/bug fixes

* Missing file
2018-01-28 13:41:46 -06:00
Mag-nus
337ac517b2
More dat refactoring, this time based on SetupModel and Hooks. (#603) 2018-01-27 19:39:07 -06:00
Mag-nus
6fe177a600
ACE.DatLoader refactoring (#594)
* Change >> 1) & 1 to & 2

Cosmetic change pointed out by Rawaho.

* Better fix of the Portal Flags in the dat code

* ACE.DatLoader refactoring

This new code format uses extention methods to re-use code. It allows decouples object unpacking from DatReader and reduces the dependancy to a simple BinaryReader.

* Forgot to remove the temp StarterAreas code from the transition

* Some files were ignored, not sure why. This should fix
2018-01-23 04:02:39 -06:00
Mag-nus
5cefff9a5a
ACE.DatLoader flag fixes for Portals (#593)
* Change >> 1) & 1 to & 2

Cosmetic change pointed out by Rawaho.

* Better fix of the Portal Flags in the dat code
2018-01-21 07:19:12 -06:00
Ty Conner
ef62342eab
Convert PropertyInt properties from uint to int (#559)
* Update EmoteCategory, EmoteType and SpellType enums

* Add CombatStyle enum

* Rebase SQL scripts

* Change uint to int in SQL

* Adjust SpellType

* Changed all PropertyInt properties from uint to int

* Some CombatStance work + StyleCop clean up

* Update README

* Updated ACE-World requirement and appveyor
2017-11-01 13:53:08 -04:00