Commit Graph

105 Commits

Author SHA1 Message Date
Louis Hong
d6281c1754 removed unused code 2024-11-21 11:39:52 -08:00
Louis Hong
148ee94347 bugfix: sometimes perspective returns null, I assume because object culled? 2024-11-21 11:37:10 -08:00
Patrick Watts
29e3a7189d Merge pull request #42 from Toofifty/patch-gradle
Wrap 120 characters in gradle file
2024-11-20 18:48:27 +04:00
pww918
deb247d09a Wrap 120 characters in gradle file 2024-11-20 18:47:27 +04:00
Patrick Watts
5dc8e78f26 Merge pull request #41 from TheLouisHong/master
heat/cool prediction: continued important algorithm bug fix for prediction
2024-11-20 18:35:54 +04:00
pww918
13360bbcc3 Max heat padding ticks on user side set to 50 2024-11-20 18:29:57 +04:00
Louis Hong
ca6fcc2d06 follow-up on 0cda801: also clamp against negative paddings bringing goals below 0 2024-11-14 03:47:35 -08:00
Louis Hong
0cda801165 heat solver: Fixed index going out of bounds
When attempting solving impossible heat goals and ranges, algo runs out of prebaked DX1 values.
1. Fixed incorrect loop condition that caused the out of bounds.
2. Clamped the heat goal so they also never attempt to solve impossible heat goals.

Stacktrace
----------
java.lang.ArrayIndexOutOfBoundsException: Index 27 out of bounds for length 27
    at com.toofifty.easygiantsfoundry.HeatActionSolver.relativeSolve(HeatActionSolver.java:188)
    at com.toofifty.easygiantsfoundry.HeatActionSolver.heatingSolve(HeatActionSolver.java:136)
    at com.toofifty.easygiantsfoundry.HeatActionSolver.solve(HeatActionSolver.java:288)
    at com.toofifty.easygiantsfoundry.FoundryOverlay3D.drawHeatChangerPreviewOverlay(FoundryOverlay3D.java:244)
2024-11-14 03:41:44 -08:00
Louis Hong
40e3a15099 minor: fixed outdated javadoc 2024-11-09 11:30:34 -08:00
Louis Hong
703dd6ff97 mould helper: moved scrolling to tick end. mould helper bugging out when selecting best moul because race condition between game tick widget update and client thread scroll script. 2024-11-09 11:30:18 -08:00
Louis Hong
723ca31093 heat range: the stage ranges are inclusive. showing incorrect out of range when is in range.
additional note on previous commit f58e5ad (don't want to force push an ammend)
the race condition caused an invalid state which showing incorrect prediction when race condition occurs - when the menu click and the heat/cool ticks occurs simultaniously.
2024-11-09 11:27:27 -08:00
Louis Hong
f58e5ad868 ui/client thread race condition: moved lava/waterfall state machine logic into the client thread
so it's synced with the client thread.
2024-11-09 09:33:43 -08:00
Louis Hong
74d8f531d6 lava/waterfall: added one additional tick to default heat padding 2024-11-09 06:56:47 -08:00
Louis Hong
47842501b7 made config settings effective for hovering over lava/waterfall action info 2024-11-09 02:40:32 -08:00
Louis Hong
914113b1fb hovering lava/waterfall now shows prediction preview & added more menu actions that may inturpt state machine 2024-11-09 02:20:30 -08:00
Louis Hong
dd73d961c0 stored preform stage added & heat/cool prediction state machine filters only gameobject actions
previously, when preform is stored in storage, plugin assumes it's time to talk to kovac for new commision.

previously, any menu action will interupt and stop the heat/cooling statemachine state.
2024-11-09 01:28:17 -08:00
Louis Hong
547c2b40f0 Merge branch 'Toofifty:master' into master 2024-11-02 17:31:22 -07:00
Louis Hong
319f77af3c heat/cool prediction: continued important algorithm bug fix for prediction. Added configurable padding ticks for afk/inefficiency. 2024-11-02 17:28:55 -07:00
Louis Hong
9d7304a436 comments and renaming for easier to read code 2024-10-30 22:58:33 -07:00
Patrick Watts
ceca18a678 Merge pull request #40 from TheLouisHong/master
Heat/Cooling Off-by-1 Bug — Mould/Preform Score Calculation Overlay — Fixed Incorrect Crucible Score Calculation
2024-10-29 17:04:56 +04:00
Louis Hong
14130b3987 last known mould/crucible score now clear after picking up preform (stage == 0) 2024-10-29 06:02:49 -07:00
Louis Hong
f1edc659fa mould/preform score: unboxed Integer into int using -1 representing unset state (instead of null). 2024-10-29 03:27:56 -07:00
Louis Hong
c7317befa0 search-terms: Added "ez","easy","smith" to hub search terms. 2024-10-29 01:18:16 -07:00
Louis Hong
3c2075fc6e mould/preform overlay: toggling "Mould Info Overlay" will correctly turn off mould/preform score overlay. 2024-10-29 01:06:11 -07:00
Louis Hong
3d90c4cbb5 bumped version to 1.0.8 - updated build.gradle to match latest plugin-template build.gradle 2024-10-29 00:48:34 -07:00
Louis Hong
1e41e5733d heat/cool prediction: fixed embarassing off-by-1 bug! removed the "margin of error" config convering up this bug. 2024-10-29 00:47:36 -07:00
Louis Hong
475cb1c1f0 sword & mould score: sword score = mould score + crucible score - (mistake * 10)
This score is displayed over the title of mould, the mould panel title, and over the preform in stage == 2.

*mistakes are not tracked right now.
2024-10-28 01:32:24 -07:00
Louis Hong
2a821017f2 fix crucible: fixed incorrect metal score calculations 2024-10-26 12:19:16 -07:00
Patrick Watts
bb54c8fff7 Merge pull request #39 from Toofifty/v1.0.7
V1.0.7
2024-09-18 11:45:04 +04:00
pww918
5c61361cea Update README.md with contributions 2024-09-18 11:43:58 +04:00
pww918
52a2111bc0 Update version to 1.0.7 2024-09-18 11:39:14 +04:00
Patrick Watts
650b94f6af Merge pull request #33 from geeckon/master
Add bonus action tracker
2024-09-18 11:34:24 +04:00
pww918
a48d4e160b Fix style format 2024-09-18 11:32:17 +04:00
pww918
164aa72b06 Fix missing imports 2024-09-18 11:29:23 +04:00
Patrick Watts
23de7b31c7 Merge branch 'master' into master 2024-09-18 11:22:40 +04:00
Patrick Watts
4114402493 Merge pull request #35 from TalSk/master
Smith's Outfit pieces buff
2024-09-18 11:10:08 +04:00
Tal Skverer
30ef327abb Adds consideration to the number of Smith's Outfit pieces currently worn by the player. 2024-06-30 11:48:59 +03:00
Patrick Watts
42a7260b81 Merge pull request #34 from TheLouisHong/master
Added Crucible Overlay, Tools action/heat overlay, Lava/waterfall prediction overlay, Border highlighting
2024-03-02 19:59:36 +04:00
Louis Hong
00f8fc92d7 deleted unused code and renamed "border alpha"
https://github.com/Toofifty/easy-giantsfoundry/pull/34#issuecomment-1962937496
https://github.com/Toofifty/easy-giantsfoundry/pull/34#issuecomment-1962926300
2024-02-25 06:23:44 -08:00
Louis Hong
db62e7c655 Changed crucible quality to only display integers 2024-02-25 05:40:13 -08:00
Louis Hong
23752b2ef6 Crucible Overlay, Tools action overlay, Lava/waterfall prediction
Added crucible content and alloy quality calculation and overlay
Added tools action/heat status overlay
Added lava/waterfall action prediction and overlay
Added border highlighting
2024-02-23 04:56:59 -08:00
geeckon
64d3c5c121 Add bonus action tracker 2024-02-10 23:44:37 +02:00
Patrick Watts
b08dab0192 Merge pull request #27 from Toofifty/reputation-fix
Reputation fix and Color changes
2023-08-15 01:12:09 +04:00
Patrick
59b63cae33 Update reputation from more reliable varp 2023-08-15 01:07:46 +04:00
Patrick
2b12565cea Update README.md 2023-08-15 00:34:28 +04:00
Patrick
f7ab23f07c Add config options to customize colors 2023-08-15 00:34:20 +04:00
Patrick
63a3cb52b1 Fix color dependency for drawing heat changers 2023-08-15 00:33:13 +04:00
Patrick
82c2ae6085 Update build.gradle 2023-08-15 00:32:32 +04:00
Patrick Watts
590c5ec3bb Merge pull request #16 from Toofifty/dev
Dev
2022-07-14 15:30:19 +04:00
Patrick
cf2194422b Always display overlay for title and reputation 2022-07-14 15:29:24 +04:00