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 #99
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
Collin Smith
daaf6773c2
Disallows rendering of empty content within console (log4j messages were outputting extra blank lines)
2020-08-17 20:05:34 -07:00
Collin Smith
575ba39b2d
Updated API calls to not cast raw int types
2020-08-17 19:26:25 -07:00
Collin Smith
28fbed711b
Renamed Riiablo#MAX_ACTS to Riiablo#NUM_ACTS and Riiablo#MAX_CLASSES to Riiablo#NUM_CLASSES
2020-08-17 19:19:57 -07:00
Collin Smith
a5e83ede40
Renamed Riiablo#MAX_ACTS to Riiablo#NUM_ACTS
2020-08-17 19:19:10 -07:00
Collin Smith
6ccb2a5d02
Renamed Riiablo#MAX_DIFFS to Riiablo#NUM_DIFFS
2020-08-17 19:18:09 -07:00
Collin Smith
91f0971f79
Created const for num classes
2020-08-17 19:15:51 -07:00
Collin Smith
0e71f0b635
Created consts for act indexes
2020-08-17 19:15:11 -07:00
Collin Smith
6e01e4d11b
Changed WS to raw bytes
2020-08-16 20:33:02 -07:00
Collin Smith
938fea3375
Improved readability and added recovery for items list
2020-08-16 20:06:55 -07:00
Collin Smith
41d484217b
Created recover method
2020-08-16 19:27:12 -07:00
Collin Smith
3c53303d1b
Added support for reading corpse item list
2020-08-16 13:40:43 -07:00
Collin Smith
506773d25c
Added missing assertions
2020-08-16 02:33:47 -07:00
Collin Smith
2eb773633a
Added D2S#getTownsString() and implemented it into D2S Reader logging
2020-08-16 01:18:21 -07:00
Collin Smith
c85f1b9e44
Added comment
2020-08-16 01:14:50 -07:00
Collin Smith
97a3265e05
Changed D2SReader into a singleton
2020-08-16 01:04:52 -07:00