Posts by blub

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.

    Hey

    This will be hard to explain, especially because i'm not from an english speaking country.

    I have a list object with a list and want to add something to every 2nd line.

    Like this:

    Line1 - leave alone
    Line2 - Add something
    Line3 - leave alone
    Line4 - Add something

    I hope you understand what i mean.

    Any idea on how to work that out?

    Add xposition of Object as short
    Add yposition of Object as short
    Blast Stack on channel 14

    I tried doing both objects in the same event, i tried doing them in a different events, yesterday i remade everything so it's always send/blast to peer/channel instead of server etc. etc. I really tried everything i can think of.

    I tried different things.

    *Always

    *X or Y Velocity of object <> 0 (I'm using Box 2D)

    Tried using the x and y coordinates from Box 2D and then the normal x and y coordinates.

    I'm out of ideas.

    Hello

    I still haven't figured this out.

    The game is as follows: One is the host using Lacewing relay server and one is the client using Lacewing relay client (both v20). The host always blasts x and y coordinates of two objects to the client. Every now and then some other values get sent around.

    After some time the coordinates stop getting blasted or received. What could be the cause for this? I checked everything. There is nothing that could deactivate the event that blasts to the client.
    Weird thing is, the stuff that gets sent around still gets sent around.

    'On error' doesnt give any message.

    Surely someone must have encountered this problem.

    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.

    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....

    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?

    Level editor is definitely a route you could go.
    That would mean you only have to use one frame for all the levels.

    Basically you build a simple level editor where you can place the bricks and then save the brick x and y positions and what kind of bricks they are to an array or file.

    Then you can go for a value that determines the level and load said data accordingly at the frame start.

    Check out Nivrams page which is full of useful examples of all kind if you haven't already.


    Btw. what you are trying to do sounds more like arkanoid than pong ;)

    Did you raise the limit of actives in the frame properties?

    What exactly is disappearing? The new objects you created with the loop or older objects?

    Not sure if this is much of help but i had a problem where i generated a lot of box 2d bodies and shapes via loop and sometimes they were not being made. Using ForEach loops fixed that.

    Quote


    I know im a complete noob, but i cant figure out this lacewing server extension. When I host on port 6121, clients cannot connect.


    You have to open/forward the port on your router.

    And your attachment doesn't work.
    "Invalid Attachment specified. If you followed a valid link, please notify the administrator"

    Can you reupload it?

    Why use more than one file instead of groups?

    Set Item "Userpassword" in Group "Client_Name$( "Lacewing Relay Server" )" to received text.

    The Ini file will look like this:

    [peername]
    Userpassword=whatever
    [anotherpeername]
    Userpassword=whatever

    Or am i completely missing the point?