Hi, I just upgraded to 2016.08 and I can no longer run my projects - which run fine on 2016.04 and 2016.06 ( on this release I could test them on android player only because I had the openGL bug on my windows player):
The first project crashes at a shape:clear() method, stating that this method doesn't exist.
The other one crashes in GTween, here:
gtween.lua:229: attempt to call field 'ease' (a table value) |
I checked shape:clear() in the example project alone and it still works, and GTween never complained about
ease ![:) :)](https://forum.giderosmobile.com/resources/emoji/smile.png)
Maybe it has to do with some changed loading time of Gideros? Both crashes are just after the "uploading finished" message.
Do you have any suggestion to investigate/avoid the problem?
Thank you
Comments
Not `shape` but `shape.__index`, sorry.
I presume that it was trying to remove the shape before it was created (this means that gideros is faster than before because I was checking if self.balloon existed to call it - and in previous releases self.balloon was not existing, otherwise I would have had the same error).
Commenting it out lead me to an error similar to the other project: in GTween
thank you
One thing all my crashing projects have in common is GiderosCodingEasy by @ar2rsawseen: since it is changing a lot of parameters/overriding methods etc.. and I believe it's a bit outdated - could there be something that I should look for inside it that could cause issues?
I'm asking because I noticed that in one project where I was not doing an extensive use of gideroscodingeasy it was enough to extract a couple of helper functions I needed and exclude the file from execution to see my project running again.
Thank you
http://giderosmobile.com/forum/discussion/comment/49610#Comment_49610
every project that before was crashing is now working (with lua.dll provided by n1cke)! =D>
Thank you, that's really good news to me
Now, what should I do? I suppose that this is just a workaround.. maybe I can leave giderosCodingEasy if I extract the helper functions that I already use.. or is there something better to do to update it for everyone else?
Thanks
You can help to fix that error. I will try to remove some patches, recompile lua and you will test it.
Thank you
I'll try to reproduce the error in a smaller project, actually it happens on "big" projects but these are still work in progress and are plenty of garbage
> I am ashamed of their code structure..
Why? You said this is WIP anyway
Likes: pie
What feature are we missing exactly?
p.s. my code is my learning book - I don't have basics in coding, and everything I learned comes from this forum and some reading around.
I love gideros because my code works despite my lack of skills - but when I see arturs'libs or your textArea I am amazed by tidiness, and I feel like nobody should ever see my code..
We are missing almost nothing: table type metatable was just syntax sugar for usual tables (instead of table.insert(t, x) you could write t:insert(x)). And int64 library is mostly useful for plugins I think so plugin developers can easily add it to their plugins themselves.
Likes: pie
If I create an empty project now, would I build a 2016.08 patched android player?
thank you again
there are several liblua.so, I replaced
gideros/sdk/lib/android and the one under Android Template/libs
I'm sorry I used a wrong release to export, I'm a bit tired..
so int64 can go back into release?
http://giderosmobile.com/forum/discussion/comment/49635#Comment_49635
Likes: talis
https://github.com/gideros/gideros
https://www.youtube.com/c/JohnBlackburn1975
Likes: SinisterSoft, talis