Lacewing problem.

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 made a small game where one is the server and the other the client.

    Most of the stuff is the one hosting sending around.

    I have two always events that always send binary x and y coordinates around. And every now and then there are some events that send a single numbers from client to host and vice versa. Is this too much?
    What data is too much to handle?

    And should i use blast or send?

  • You should blast x,y coordinates.

    The amount of data that can be handled is based on the hardware and the bandwidth... Nobody can really give you a solid answer for this. It's just trial and error testing to see what your server can handle.

    Please login to see this link.

    My examples:
    Please login to see this link.
    Please login to see this link.
    Please login to see this link.

  • Blast is faster, but may be received slightly out of order. It prevents the game from having the player's positions showing up in the wrong place. Send is for stuff like chat, since it's much more likely to be received in the right order.

    My Please login to see this link. (which I actually use), my Please login to see this link. (which I mostly don't use), and my Please login to see this link. (which I don't use anymore pretty much at all really). If there are awards for "'highest number of long forum posts", then I'd have probably won at least 1 by now. XD

  • Okay this is not working.

    After some time the x and y coordinates stop being sent/received.
    What could be the reason for that?

    Host uses Lacewing relay server, client uses lacewing relay client.

    Always add x and y position of object1, add x and y position of object2, blast stack to client on channel 0.

    It just stops doing the always event after some time....

  • Stacks are for sending files, if I remember correctly...

    Blast anything other than stack, if blasting stacks is even possible. Also, do you have the latest version of Lacewing? I might not understand what you said correctly, but you said

    Quote

    Always add x and y position of object1, add x and y position of object2, blast stack to client on channel 0.


    So I think you mean that you are blasting a stack.

    My Please login to see this link. (which I actually use), my Please login to see this link. (which I mostly don't use), and my Please login to see this link. (which I don't use anymore pretty much at all really). If there are awards for "'highest number of long forum posts", then I'd have probably won at least 1 by now. XD

    Edited once, last by happygreenfrog (July 6, 2012 at 6:47 PM).

  • No no, you definitely want to blast stacks... I think both of you should watch DizzyDoo's video tutorial:

    Please login to see this link.

    Please login to see this link.

    My examples:
    Please login to see this link.
    Please login to see this link.
    Please login to see this link.

  • I watched the tutorial. Doesn't help me figuring out why it just stops blasting the stack after a certain amount of time.
    There is no possible action happening that deactivates the event.

    Quote


    So I think you mean that you are blasting a stack.


    Yes. As i understood it blasting is faster but not as secure, sending is slower but makes sure the data arrives on the other end.
    So for coordinates of moving objects you use blast. For something like 'add one to counter' you use send.

    Edited once, last by blub (July 6, 2012 at 7:22 PM).

Participate now!

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