Bl4ckSh33p's Forum Posts

  • Thanks. It sometimes takes a while to get used how to use a new plugin like Multiplayer.

  • I just removed the "On key pressed" and tried "Trigger Once" but now no data arrives at the host (the debug message is shown once). Is Send Message only working with single triggered events and not with "Trigger Once"?

    /Update:

    It seems I found it! You need another pause (Wait) before sending the data as peer. If you do it immediately it seems to be "too fast" for the host to recognize the sent message. After adding a System.Wait(1.0sec) (adding 0.1 was not working/still too fast?) to the TriggerOnce actions the Host got the data.

    After adding "Multiplayer is ready for Input" + Trigger Once it seems to work without the pause.

  • I enabled autosave and backup (local and one on a onedrive folder) but it did not happen again, so far.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • It just worked with beta r175 and I could open the preview IP multiple times in a new tab or new browser window. Now I was AFK for about 30 min and its broken again. I cant open it in the same or another browser, only one instance is possible. Does anyone know why?

  • I just tried it again and its working now! o.O

    Maybe it was a bug in the last beta build, with the latest r175 I can receive the message (number variables need a str(VARNAME) to be a string).

    But the second player (Peer) sometimes has to try to join the new room 2-3 times before he gets into it. I hope I can find the reason for this.

  • Hi! I used a multiline input object to display debug info in a scrollable textbox. But I noticed that it disappears almost everytime when I first put the mouse over it/click it and when I click again and scroll with the mouse wheel it becomes visible again. Did anyone else notice this - is it a bug? It happend with the last 2-3 versions (final+betas).

  • Thank you for your suggestion. I could already sync values with "Set Client Input State" and syncinc Instance Variables and it should work with CharID and LevelID since its only a number.

    But shouldn't "Send Message" work as well? Does it have any prerequisites or can it only be used after specific triggers?

  • I also plan to use nodewebkit for my new game and I am writing a launcher for it to update it automatically on startup.

    If someone needs a custom launcher I may be able to help.

  • Any ideas? I tried to convert the sent data to a string with str() because the manual says it must be a string and I tried to send numbers first. But that did not change anyhting.

  • Hi. I tried it for almost 2 hours now but it does not work and I hope someone can give me a hint how to fix this.

    I joined a room and then I send a message to the host. First I tried it without groups but I added them to make it easier. When you are the Peer you should send 2 values to the host so he can determine which level should be loaded and to know what char the peer is playing. The Debug window shows the "Sending Data to Host" message but the Host does not seem to get any message because nothing shows up there.

    I tried it with and without trigger once, with "on key press" and some other things but the message never appears on the host. But when I open the Chat example it works. But I cant find the difference and why it is not working for me. Can anyone see the error?

  • I had a similar issue not long ago. I am 1000% sure I saved but the next day the last edits were undone. But it only happened once so far and I could not reproduce it.

    (but no replies so far)

  • Thanks!

    My head almost exploded because I could not find an error.

    I am looking forward to the next beta build. I love new updates and reading changelogs.

  • I dont want to pay for app and play store fees right now/for my first "real" project so I decided to publish it for PC/MAC/Linux first.

    The advantages are:

    • No fees for selling it in your store (or others like Humble)
    • PC has much more Power than mobiles and you you can use more effects/objects and/or don't need to manage every byte and pixel to get it as small as possible (but its good to do this on PC as well!)

    So for beginners its a bit easier and cheaper to get a working game out on desktops, right?

    (as long as your game does not require touch or rotating your device as main gameplay element)

  • Does anyone else have this problem or know how to fix this? Most times I want to test something via the LAN preview a second connection is not possible. But sometimes it works. Could not find what's causing it, yet.

  • Thank you very much!

    I looked through your code and some parts were confusing for me (leaving room after a left room triggers) but I will try to figure it out and read all of it again.

    After seeing your code with the groups I was curious and just tried to add a System>Wait action and it seems this fixes the whole thing, too!

    In the "On signalling left room" part I just added System>Wait 2 Sek (seems 1 works too) and then I execute the new Join Room command and it finally worked. So it seems you just need a small extra pause after the "Left room" trigger before you can join a new room. But this almost seems like a bug for me since the trigger should only run when you completely left the room, right Ashley?