ThatRozebudDude / FPS-Plus-Public

Other
107 stars 104 forks source link

Cannot access static field SKIP_STEP_LIMIT from a class instance #5

Closed Slyshii closed 3 years ago

Slyshii commented 3 years ago

After the update that no longer uses rozebud's fork of the webm extension, I get an issue with compiling the game even after reinstalling the correct extension and doing "lime rebuild extension-webm windows".

Building the game with "lime test windows" is immediately halted with the following error:

source/VideoState.hx:48: characters 31-46 : Cannot access static field SKIP_STEP_LIMIT from a class instance

ThatRozebudDude commented 3 years ago

Did you rebuild the extension after switching to GWebDev's version?

XaraKuma commented 3 years ago

I'm having the same problem as well, after I switched the extension to gwebdev's version I got:

"You already have extension-webm version git installed. Updating extension-webm version git ... extension-webm was updated Library extension-webm current version is now git"

and when using "lime rebuild extension-webm windows" I didn't get sent back any kind of message or error. when using "lime test windows" it still gives me the error message "source/VideoState.hx:48: characters 31-46 : Cannot access static field SKIP_STEP_LIMIT from a class instance"

ThatRozebudDude commented 3 years ago

I'm not sure what's happening then, because SKIP_STEP_LIMIT is only static in older versions of extension-webm. Maybe try manually deleting it from haxelib and re-installing it?

YoshiPL23 commented 3 years ago

actually, if you still have this SKIP_STEP_LIMIT then there are 2 ways to avoid this error 1.install the kade engine extension-webm fork 2.delete GlobalVideo.getWebm().webm.SKIP_STEP_LIMIT = frameSkipLimit; text (its in 48 line) and will problably work!

well for me it did

ghost commented 3 years ago

i made a video about it and how to fix it this is not a self promo