1lann / Mimic

A fully featured emulator for the Minecraft mod ComputerCraft that runs straight in your browser.
gravlann.github.io
MIT License
45 stars 20 forks source link

iPhone incompatibility? #56

Open MudkipTheEpic opened 9 years ago

MudkipTheEpic commented 9 years ago

For some reason, when I use this on my iPhone 5S (Jailbroken 7.0.6), the computer starts out frozen with no blinking cursor. When I tap the screen, this error appears in the developer console:

[Log] Intialization Error:  Redirect object is missing method isColour. (computer.js, line 132)
[Log] Trace:  Redirect object is missing method isColour. (computer.js, line 133)
[Log] Thread closed (computer.js, line 134)
[Error] ReferenceError: Can't find variable: thread
launch (computer.js, line 135)
afterSetup (core.js, line 130)
onload (render.js, line 44)
[Log] Error:  cannot resume non-suspended coroutine (computer.js, line 185)

I'll try to examine the code and see what's up, but it would be nice to have some support from the people who made the application. :P

(cross posted on ComputerCraft forums)

1lann commented 9 years ago

Sorry for the late response, forgot to respond.

It seems like javascript libraries are loading in the wrong order? I can't tell the problem as I don't have it on my iPad, Nexus 5 or Computer. The main error is just "Redirect object is missing method isColour." it could also be due to an out of date cache, I'm not sure. You can try forking your own and tampering with the term API (under apis/term.js) and see if you can fix it, but since it doesn't affect me I can't do much to fix the problem.