jadebenn
0786986345
partially address comments
2024-12-14 19:52:03 -06:00
jadebenn
efc2cb6409
Merge branch 'main' into PetFixes
2024-12-14 17:30:21 -06:00
Tiernan
d8b86072d4
Fixed Misspelling of Tresure variable for petcomponent ( #1617 )
2024-11-17 18:48:48 -08:00
David Markowitz
0d218fc5c7
fix: PetComponent crashing due to nullptr access
...
Resolves an issue where item is null but is accessed but not doing that code and instead consulting the EntityManager for a valid Entity, alongside nullifying the m_Owner objectID should the pet be destroyed and timer still exist.
Update PetComponent.cpp
Add nullptr check
Add back timer
Update PetComponent.cpp
speculative fix for a different crash
Why are we accessing something before checking if its null
2024-10-26 21:44:19 -07:00
jadebenn
fdd981c582
Merge remote-tracking branch 'upstream/main' into PetFixes
2024-04-24 21:24:17 -05:00
jadebenn
0367c67c85
chore: move the pet minigame table loading logic out of petcomponent ( #1551 )
...
* move the pet minigame table loading logic out of petcomponent
* misc fixes
* actually, using paths is dumb here when they're already char strings. why bother? silly me.
* removed unga bunga reference-casting
* add back in puzzle not found error message
* pre-allocate unordered map and make getter const-correct
* Update dDatabase/CDClientDatabase/CDClientTables/CDTamingBuildPuzzleTable.cpp
Co-authored-by: David Markowitz <39972741+EmosewaMC@users.noreply.github.com>
---------
Co-authored-by: David Markowitz <39972741+EmosewaMC@users.noreply.github.com>
2024-04-24 10:09:15 -05:00
jadebenn
8fdc212cda
chore: Convert heap allocation to optional ( #1553 )
...
* chore: Convert heap allocation to optional
* Update dGame/dComponents/PetComponent.h
Default-initialize
2024-04-24 10:09:04 -05:00
jadebenn
68bb51f408
move the pet taming minigame start logic into a separate function
2024-04-20 17:44:18 -05:00
jadebenn
7b223d1cc2
Revert "this commit may be kinda broke but I'm gonna push it to check something"
...
This reverts commit 071c022058
.
2024-04-20 17:32:19 -05:00
jadebenn
071c022058
this commit may be kinda broke but I'm gonna push it to check something
2024-04-20 17:28:13 -05:00
jadebenn
f41321eb7b
Use compile-time flag setting
2024-04-20 14:17:34 -05:00
jadebenn
5ddf4ce28b
fix unused expression
2024-04-20 11:23:35 -05:00
jadebenn
6ddf5b3e92
remove unneeded tests
2024-04-20 00:07:08 -05:00
jadebenn
0b2453241b
clean up PetComponent
2024-04-19 21:53:52 -05:00
jadebenn
e832dfbf71
add most pet messages
2024-03-08 18:43:40 -06:00
jadebenn
3a6313a3ba
chore: Table Loading Improvements ( #1492 )
...
* Assorted pet improvements
* remove unecessary include
* updates to address some feedback
* fixed database code for testing
* messinng around with tables
* updated to address feedback
* fix world hang
* Remove at() in CDLootTableTable.cpp
* Uncapitalize LOT variable
* Uncapitalize LOT variable
2024-03-06 23:45:24 -06:00
jadebenn
4791b31dc2
use class enums
2024-03-05 23:37:42 -06:00
jadebenn
c36bc8389a
fix pet taming minigame countdown
2024-03-03 19:50:13 -06:00
jadebenn
1c1b7337b1
Merge remote-tracking branch 'upstream/main' into PetFixes
2024-03-03 19:10:33 -06:00
jadebenn
a449e5323b
delete unused functions and update documentation
2024-03-03 19:02:11 -06:00
jadebenn
b261e63233
chore: Change entity and component logic to use bitstream references ( #1468 )
...
* chore: Change entity and component logic to use bitstream references
* merge
2024-02-27 01:25:44 -06:00
jadebenn
d6321a63d9
Merge remote-tracking branch 'upstream/main' into PetFixes
2024-02-13 20:59:27 -06:00
jadebenn
5225c86d65
chore: Misc. component cleanup ( #1433 )
...
* Misc component cleanup
* Update InventoryComponent.h
* Update MissionComponent.h
* Update PropertyManagementComponent.h
* Update PropertyVendorComponent.h
* Update SkillComponent.h
maximum pedantry B)
* SoundTriggerComponent.h braces gone
* Rename SoundTriggerComponent.h braces gone to SoundTriggerComponent.h
I was tired
2024-01-23 23:13:23 -06:00
jadebenn
4a50c60559
chore: Assorted pet improvements ( #1402 )
...
* Assorted pet improvements
* remove unecessary include
* updates to address some feedback
* fixed database code for testing
* Removed reference member (for now)
* Removed cmake flag
2024-01-08 15:32:09 -08:00
jadebenn
6c3c08cd2a
Added fallback to default values if CDClient data cannot be loaded
2024-01-05 16:36:02 -06:00
jadebenn
384083ea18
use reference instead of pointer for cdclient data
2024-01-05 14:50:49 -06:00
jadebenn
17753c56e4
Update PetComponent.h
2024-01-01 12:21:49 -06:00
jadebenn
1ee5b64acc
Update PetComponent.h
2024-01-01 03:24:00 -06:00
jadebenn
5f8f200bfc
pet bouncers now bounce player upon pressing shift
2023-12-28 17:49:37 -06:00
jadebenn
ef6f2f133e
chore: Eradicate C-style casts and further clean up some code ( #1361 )
...
* cast and code cleanup
* cast cleanup
* bug fixes and improvements
* no getBoolField method exists
* fixes
* unbroke sg cannon scoring
* removing comments
* Remove the c-style cast warning I added from CMakeLists now that they're gone (it triggers on 3rd party dependencies and slows down compilation)
* (Hopefully) fix MacOS compilation error
* partially-implemented feedback
* more updates to account for feedback
* change bool default
---------
Co-authored-by: jadebenn <jonahebenn@yahoo.com>
2023-12-27 22:18:20 -06:00
jadebenn
6edd42d37c
pet bouncer minimum functionality
2023-12-27 19:39:07 -06:00
jadebenn
2d3e03a2a8
pet following and flag behavior improvements
2023-12-16 20:51:06 -06:00
jadebenn
8c97271108
Update treasure behavior
2023-12-16 19:55:43 -06:00
jadebenn
cecf0653c7
Changed how pet data is loaded
2023-12-15 21:47:16 -06:00
jadebenn
1c7ce6eac3
updated CDClient pet data handling
2023-12-15 18:38:52 -06:00
jadebenn
9add2c944e
PetFlag system now functioning correctly
2023-12-15 14:36:27 -06:00
jadebenn
054371dd01
added new pet bitflag system
2023-12-15 05:34:38 -06:00
jadebenn
668bebf68c
adding new pet flags
2023-12-14 23:43:08 -06:00
jadebenn
f5ca142eb9
Update PetStatus enum to prep for bitset use
2023-12-14 09:21:17 -06:00
jadebenn
1b8f10fcfb
added treasure dig menu prompts and help messages
2023-12-14 01:33:49 -06:00
jadebenn
2a4cfe3447
function rename
2023-12-13 01:06:58 -06:00
jadebenn
68df8af784
capitalization
2023-12-13 00:17:53 -06:00
jadebenn
a99f7a7fc1
Re-implemented treasure dig handling
2023-12-13 00:14:53 -06:00
jadebenn
5b738dfc58
Further redid pet update loop
2023-12-11 21:10:29 -06:00
jadebenn
200d679dd8
redone pet update loop
2023-12-10 19:55:36 -06:00
jadebenn
1c01219ae9
added some pet debug commands
2023-12-09 22:24:35 -06:00
jadebenn
e4b3e22570
update loop cleanup
2023-11-24 23:56:33 -06:00
jadebenn
1a74ed676b
Fixed pet emotes not playing
2023-11-24 23:56:33 -06:00
jadebenn
b3762dac05
added imagination cost to digs
2023-11-24 23:56:33 -06:00
jadebenn
119968a90c
initial dig functionality; need to clean up kruft
2023-11-24 23:56:33 -06:00