Commit Graph

1174 Commits

Author SHA1 Message Date
Collin Smith
42378cf3be Removed comments 2020-08-23 20:08:06 -07:00
Collin Smith
b56eec0dda Fixed barbarian stomp sound playing for nova
Implemented client-side callbacks for srvstfunc and srvdofunc
Changed stomp sound to play for client-side srvdofunc callback
2020-08-23 19:23:24 -07:00
Collin Smith
25885b46fe Added additional trace logging 2020-08-23 19:16:21 -07:00
Collin Smith
a0fbf52690 Disabled pathing when casting 2020-08-23 19:12:24 -07:00
Collin Smith
97f5707100 Added comment for playing stsoundclass when implementing becomes possible 2020-08-23 17:22:54 -07:00
Collin Smith
d30593cc9b Implemented skill dosound and added stsoundclass 2020-08-23 17:18:48 -07:00
Collin Smith
92ac85ee8f Created event dispatching for skill stfunc and dofunc
Implemented cltstfunc and cltdofunc into client SkillCastHandler
Added shout skill sound trigger
2020-08-23 17:03:14 -07:00
Collin Smith
3a8d49534f Key mappings now clear when skills changed 2020-08-23 17:00:31 -07:00
Collin Smith
8032b65077 Casting a spell will make caster look at target 2020-08-23 13:13:35 -07:00
Collin Smith
55cae9cc8b Added teleport spell code
Spells may require encapsulation to allow easier management
2020-08-23 02:27:03 -07:00
Collin Smith
7a1c32105e Appended target Vector2 to cast function parameters and Casting component 2020-08-23 02:21:57 -07:00
Collin Smith
f93b44fb9c Created constants for invalid component and mode
These values will never be set internally and are used as return checks
2020-08-22 16:55:01 -07:00
Collin Smith
6a904f7131 Renamed event callback functions closer to their event data types 2020-08-22 16:44:18 -07:00
Collin Smith
f91fd2d4ac Created Casting component
Created Casting component to track casted spell and events
Actioneer manages Casting component
Implemented AnimDataFinishedEvent handler into Actioneer
2020-08-22 16:42:58 -07:00
Collin Smith
a51e4f0b47 Created AnimDataKeyframeEvent
AnimStepper will generate Keyframe events for non-zero keyframes
Created constants for keyframe values and debug toString method
Added logging to AnimStepper
2020-08-22 14:54:04 -07:00
Collin Smith
37a4df94d9 Assigned class type to variable 2020-08-22 14:43:43 -07:00
Collin Smith
66d1427a9e Added stubs for srvstfunc and srvdofunc 2020-08-21 18:33:51 -07:00
Collin Smith
ee62188c91 Added additional fields to Skills excel 2020-08-21 18:33:06 -07:00
Collin Smith
28dffc917f Removed resolved comment 2020-08-21 15:07:31 -07:00
Collin Smith
9b874036b8 Made clicking a button in quickpanel assign it to the correct action id 2020-08-21 14:59:47 -07:00
Collin Smith
46bdd1f94a Created CharData#setAction(int,int) which passes current alternate id
Created CharData#setAction(int,int) which passes current alternate id
Created SpellsQuickPanel#buttonId field to store Input.Buttons.LEFT or Input.Buttons.RIGHT
2020-08-21 14:58:20 -07:00
Collin Smith
5061c10b69 Move skill consts to com.riiablo.skill.SkillCodes 2020-08-21 12:43:42 -07:00
Collin Smith
c155b7bacb Renamed Spellcast to SkillCast to be consistent 2020-08-21 12:37:16 -07:00
Collin Smith
a1bc6c48fb Decoupled client-side code from Actioneer
Created SpellcastEvent and SpellcastHandler to handle client-side effects
2020-08-21 01:42:08 -07:00
Collin Smith
e42288f8f6 Added rudimentary support for animation overlays 2020-08-21 01:14:17 -07:00
Collin Smith
cf410fc64d Added audio playback of spell cast 2020-08-20 22:48:10 -07:00
Collin Smith
0159615dba Added workaround for invalid spell cast modes
SQ defaults to SC when encountered until implemented
SpellsQuickPanel changes CharData actions for the time being
2020-08-20 22:47:26 -07:00
Collin Smith
8a820effc8 Created Actioneer system to manage entity actions such as spell casting 2020-08-20 22:39:02 -07:00
Collin Smith
885df8f4e2 Updated comment to clarify what I think I meant when I wrote it 2020-08-20 22:05:10 -07:00
Collin Smith
8d7677cf50 Replaced ControlPanel specific code with an observer copy 2020-08-20 22:03:34 -07:00
Collin Smith
392889b030 Replace ControlPanel specific code with an observer copy 2020-08-20 22:02:57 -07:00
Collin Smith
dee6066306 Switching weapons will now change control panel skills to active skills 2020-08-20 21:54:50 -07:00
Collin Smith
57107ea0d1 Moved command suggesters into com.riiablo.suggesters package 2020-08-20 12:25:26 -07:00
Collin Smith
320ea8d28f Implemented structured logging into gem props 2020-08-19 22:23:24 -07:00
Collin Smith
e0da8aaa02 Improved logging of stat values 2020-08-19 22:19:43 -07:00
Collin Smith
3b6c1f81dc Fixed bug where reqdex was indexed as reqstr id 2020-08-19 22:19:01 -07:00
Collin Smith
6c5269c61e Greatly improved logging of property lists and attributes for items 2020-08-19 22:00:02 -07:00
Collin Smith
0c883a9bc8 Created synthetic stats for reqstr and reqdex 2020-08-19 21:48:53 -07:00
Collin Smith
ddb4351fb7 Deprecated serialized item data fields until they are refactored 2020-08-19 21:20:06 -07:00
Collin Smith
2beecb35a8 Implemented ItemReader and ItemWriter into Item component serializer 2020-08-19 21:16:52 -07:00
Collin Smith
1bd32e777d Created ByteInput#wrap(ByteBuf) 2020-08-19 21:15:45 -07:00
Collin Smith
c7123a63f4 Workaround for 2020-08-19 21:14:58 -07:00
Collin Smith
56e6eb4802 Replaced com.riiablo.save.D2S with com.riiablo.save.d2s package contents
Removed dangling byte[] data refs within CharData for serialization
Removed dangling FileHandle file refs within CharData and D2S
Removed some methods within D2S which should not be required anymore
Reduced visibility of D2SReader96#readD2S -- should be package-private
Created D2SWriter with D2SWriterStub to temp hold D2S data refs until serialization is finished
D2SWriter will eventually contain code to serialize CharData to byte[]
Changed D2S.MercData int xp to long experience (is really a uint32)
Created some public accessor fields within D2S to grab basic version agnostic info
Created some deprecated public accessor fields within D2S until CharacterPreview is fixed
2020-08-19 20:43:14 -07:00
Collin Smith
8c3c304dcd Created ByteOutput#writeString(CharSequence,int)
writeString writes a string and either truncates or pads it with zeros to len
2020-08-19 20:27:05 -07:00
Collin Smith
8506cc4324 Fixed bug specific to socketed misc items
Custom Tome of TP I have that has socket flag set and game still works
This fix allows socketing of non armor or weapon items (as in original game)
2020-08-19 18:13:04 -07:00
Collin Smith
3c56558e9c Fixed bug reading string where null characters were included within content 2020-08-18 01:57:18 -07:00
Collin Smith
7667cfdff2 Fixed bug where readSafe64u was reading 32u 2020-08-18 01:41:46 -07:00
Collin Smith
00caad594c Added log message for deserialized item object 2020-08-17 20:39:51 -07:00
Collin Smith
d4a4c87b38 Added assertion to validate item list includes expected number of entries (even if some errored) 2020-08-17 20:38:24 -07:00
Collin Smith
447fc70ad2 Stubbed out D2SReader#copyTo(D2S,CharData) 2020-08-17 20:31:28 -07:00