+Ah! Posted February 10, 2019 Share Posted February 10, 2019 I am attempting to write my first cartridge using Earwigo. I am now getting a message when I try to start the cartridge in the emulator. I do not know what this means. ERROR cartridge.lua:1473: '=' expected near 'Wherigo' Any help would be greatly appreciated. Cheers Ah! Quote Link to comment
+Tungstène Posted February 10, 2019 Share Posted February 10, 2019 I just tried with one of my cartridges and there was no error message. By "the emulator" , you meant Webwigo, didn't you? It's not easy to guess what could be wrong with your cartridge. Did you write some "author code"? What is your cartridge made of? (Zones, characters, etc.) Did you try to get advantage of some Earwigo's features? (Strings obfuscation, etc.) Maybe you could try to locate the bug by narrowing the code. Perhaps by creating a smaller cartridge used to test only one thing at a time. Quote Link to comment
+Ah! Posted February 10, 2019 Author Share Posted February 10, 2019 Thank you for your reply. Yes, Webwigo. I have found what is causing the problem, however I do not know what is wrong. I had introduced a Lua statement - which I had used before without any error message. I'm not at all well versed with Lua. My cartridge consists of Zones, Variables, Media, Items, Inputs, Functions, Expressions and Messages. Here is the bits of code causing the problem - I think Author code: function tom() var_vMax = var_vy - var_vx end One of my functions: Statements Lua statement tom Display dialog or message Message:mcorrect Set value Zone:x:Active => true While writing this reply I have spotted my error - no () after tom. Sorry to waste your time with my stupidity. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.