Lacewing - android crash with certains characters

Welcome to our brand new Clickteam Community Hub! We hope you will enjoy using the new features, which we will be further expanding in the coming months.

A few features including Passport are unavailable initially whilst we monitor stability of the new platform, we hope to bring these online very soon. Small issues will crop up following the import from our old system, including some message formatting, translation accuracy and other things.

Thank you for your patience whilst we've worked on this and we look forward to more exciting community developments soon!

Clickteam.
  • Hello!

    I'm having a problem with the lacewing that's giving me a lot of headache on a project I'm doing.

    Apparently, the android version of the lacewing relay does not allow extra characters (á, ã, ',', ç and etc.) ..


    When I play my project on windows, everything works correctly, but when I play on android, it crashes every time I send some sentence with these characters, the application hangs and closes.

    Can anyone tell me if already pass from this or have a tip or solution for this?

    Thank you!

  • Lacewing doesn't support Unicode, technically. If it works with some Unicode text, it's a fluke, both misinterpreting when writing it and misinterpreting when reading it back.
    For Unicode text, your best bet is to put the string into Binary object, then add it using the "Add memory" function, and send as a binary message. When reading back, add into the Binary message as a block of binary (not as a text), then read as string.
    It's a little convoluted, but it should work.

    I'm working on Lacewing Blue for Android, which hopefully won't have this problem. At any rate, once I get Android working, I'm planning to add Unicode messages to Lacewing, so this might be a non-issue. It probably won't be for a few months, though, other projects have my attention.

    Darkwire Software Lead Programmer (C++ & C#)
    Please login to see this link. | Please login to see this link. | Please login to see this link. | Please login to see this link.

  • Ah, no, my bad. I just checked my ext list's compatibility for it, and it's Windows-only.

    I thought it was one of those ones that get ported everywhere, but no, it's not available on Android. Pity.
    I also looked around for any binary exts, but Android doesn't have any. Since Relay source is lost, your only choice is to use an encoding extension, maybe AESFusion, or a base64 encoder ext if Android has one...

    Darkwire Software Lead Programmer (C++ & C#)
    Please login to see this link. | Please login to see this link. | Please login to see this link. | Please login to see this link.

  • [MENTION=8026]_peixe_[/MENTION] One of my current projects is Lacewing for Unicode, which should support special characters. It'll be ported to Android too.

    Darkwire Software Lead Programmer (C++ & C#)
    Please login to see this link. | Please login to see this link. | Please login to see this link. | Please login to see this link.

  • [MENTION=9754]Phi[/MENTION], if you porting to android and html5 (or one of the two) I'll buy the extension. I gave up on a project that was already advanced due to the "abandonment" of the lacewing to the fusion.

    Thanks!

  • [MENTION=9754]Phi[/MENTION], if you porting to android and html5 (or one of the two) I'll buy the extension. I gave up on a project that was already advanced due to the "abandonment" of the lacewing to the fusion.

    At the moment, yes, I'm porting to Android, and also making it Unicode-compatible.
    It's going to be free and open-source, but donations will prioritise the project, so if you're interested in sponsoring it, drop me a PM.

    Darkwire Software Lead Programmer (C++ & C#)
    Please login to see this link. | Please login to see this link. | Please login to see this link. | Please login to see this link.

  • Ive never used lacewing, so I dont know what you mean when you say "send" text, like a chat app? I do have some experience with limiting player inputs though. Store all characters that are fine to use in a global string, and when the player wants to send a message, loop through the message and compare to the global string with OK characters, if it's not on the OK list - delete before sending. Like I said, dunno what youre trying to do, but this may work?

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!