Vertex-Client / Vertex-Client-PE

Vertex Client PE - A Hacked Client for MCPE
https://vertexclient.net
Other
95 stars 54 forks source link

Vertex 3.1 not loading correctly on the latest version of Minecraft and BlockLauncher (Pro) #75

Closed SWPlaysMC closed 4 years ago

SWPlaysMC commented 4 years ago

@Vertex-Client @DaMatrix @Astro36 @peacestorm @xLPMG Every time I start a world with "Vertex Client PE.modpkg" enabled, I get this error. I have downloaded it from the official source, so it is supported.

org.mozilla.javascript.EcmaError: SyntaxError: Empty JSON string (Vertex_Client_PE.modpkg#207) at org.mozilla.javascript.ScriptRuntime.constructError(Unknown Source) at org.mozilla.javascript.ScriptRuntime.constructError(Unknown Source) at org.mozilla.javascript.NativeJSON.parse(Unknown Source) at org.mozilla.javascript.NativeJSON.execIdCall(Unknown Source) at org.mozilla.javascript.IdFunctionObject.call(Unknown Source) at org.mozilla.javascript.Interpreter.interpretLoop(Unknown Source) at script(Vertex_Client_PE.modpkg:207) at script(Vertex_Client_PE.modpkg:199) at org.mozilla.javascript.Interpreter.interpret(Unknown Source) at org.mozilla.javascript.InterpretedFunction.call(Unknown Source) at org.mozilla.javascript.ContextFactory.doTopCall(Unknown Source) at org.mozilla.javascript.ScriptRuntime.doTopCall(Unknown Source) at org.mozilla.javascript.InterpretedFunction.exec(Unknown Source) at net.zhuoweizhang.mcpelauncher.ScriptManager.initJustLoadedScript(ScriptManager.java:289) at net.zhuoweizhang.mcpelauncher.ScriptManager$ParseThread.run(ScriptManager.java:201) at java.lang.Thread.run(Thread.java:818) -BlockLauncher

Does anyone know what is wrong and how to fix it? I also have the "[More] MODS" addon, but I am not using it. ii. How to reproduce:

  1. Get from any official link.
  2. Wrench>Manage ModPE Scripts>Add the Vertex modpkg file.
  3. Verify it is enabled.
  4. Now close and restart BlockLauncher
  5. Make or start a world and wait.
  6. You should see the "Oh noes everything broke" error. iii. Info. Device: Amazon Fire 7 running Android version 5.0 MCBE Version: Latest BlockLauncher (Pro) version: Latest Vertex Version: Latest (3.1)
Vertex-Client commented 4 years ago

Could you try the latest dev version to confirm if the issue is fixed, or if it's not report it here? To get it, please follow these instructions:

1. Go to the Vertex Info screen (long tap VX > Dashboard > Information). 2. Scroll down and search the text that says 'Status: normal user'. 3. Tap the text, you should now be in developer mode. 4. Go back to the dashboard. 5. Go to Update Center. 6. You should now see a 'Latest dev version' panel, tap on the download button next to it. _7. If the file ('Vertex_Client_PEDev.js') was downloaded correctly, you should be able to import it into BlockLauncher. Make sure to disable the old version (v3.1) first.

SWPlaysMC commented 4 years ago

Thank you! It has worked. Also, it still says that 3.1 is the latest version, even if I have those features + more mods + dev. options.

SWPlaysMC commented 4 years ago

Edit: Reopened to make it easier to find.

Vertex-Client commented 4 years ago

Yes, you should ignore the update notifications in dev builds, as we never changed that to include dev versions. It shows v3.1 because that is the latest release. While changing it is not a priority, I will definitely take it into account for the v3.2 release.

Vertex-Client commented 4 years ago

I will now close this issue, as the main bug should be fixed. If you have any further questions, feel free to ask.

SWPlaysMC commented 4 years ago

Ok. (Off-Topic)

Vertex-Client commented 4 years ago

Yes, you should ignore the update notifications in dev builds, as we never changed that to include dev versions. It shows v3.1 because that is the latest release. While changing it is not a priority, I will definitely take it into account for the v3.2 release.

@SWPlaysMC I decided to add this functionality. Feel free to test the latest dev version, you know how to get it. (Off-topic)