Flyffulator icon indicating copy to clipboard operation
Flyffulator copied to clipboard

Update build to use Vite 4, update to api v12, workarounds for jewelry

Open kirides opened this issue 2 years ago • 10 comments

This PR includes the following changes:

  • Updated deps
    • vite 4.0.0 -> 4.3.5
    • @vitejs/plugin-vue 4.0.0 -> 4.2.1
    • @vitejs/plugin-vue-jsx 3.0.0 -> 3.0.1
    • @vue/eslint-config-prettier 7.0.0 -> 7.1.0
    • eslint 8.22.0 -> 8.40.0
    • eslint-plugin-vue 9.3.0 -> 9.11.1
  • legacy jewelry is now excluded
  • upgradable jewelry is now supported (uses the same item ID but multiplied it by 100000, allows to re-use persistence code)
  • re-introduce PremiumItems
  • load build, stats, equipment

These changes are live and can be seen here: https://kirides.github.io/Flyffulator/

kirides avatar Nov 16 '22 12:11 kirides

@kirides change line 32 in utils.js to maxLevel 140 so this can be used for higher level players. Idk if this will ever get merge but that way atleast we can use your site.

MBrinks2239 avatar Apr 18 '23 19:04 MBrinks2239

I will update the game dataset and aswell as the max level once I get some time for it :)

kirides avatar Apr 18 '23 19:04 kirides

That would be great, let me know if there is anything I can do

MBrinks2239 avatar Apr 18 '23 19:04 MBrinks2239

i rebased the PR on the current main, now you can select levels up to 140. I also updated all the data to use the latest v12 data (previously v9)

Deployment might take a while, but will be at https://kirides.github.io/Flyffulator/ like before

kirides avatar Apr 19 '23 20:04 kirides

@Frostiae could you take a look at this PR?

MBrinks2239 avatar May 01 '23 10:05 MBrinks2239

@Frostiae could you take a look at this PR?

I will be trying to update to the damage-calc branch pretty soon which is also using vite and will look into this PR once that is done

Frostiae avatar May 05 '23 07:05 Frostiae

@kirides Do you wanna rebase or do you want to redo the changes on the new main branch?

MBrinks2239 avatar May 07 '23 05:05 MBrinks2239

I'll rebase the changes once I get to a computer.

kirides avatar May 07 '23 05:05 kirides

@Frostiae

are the premium items broken on main currenty? checking the mark doesn't show them, neither are they visible at all.

edit: i re-added rudimentary support for premium items back in. Persistence seems to be broken since the rework though.

level, checkboxes, etc. don't properly persist in builds.

kirides avatar May 09 '23 07:05 kirides

@Frostiae

are the premium items broken on main currenty? checking the mark doesn't show them, neither are they visible at all.

edit: i re-added rudimentary support for premium items back in. Persistence seems to be broken since the rework though.

level, checkboxes, etc. don't properly persist in builds.

Thanks, will take a look at the builds issue

Frostiae avatar May 09 '23 16:05 Frostiae