Jase00's Forum Posts

  • Ah wow, thanks for the reply! I missed a lot around here over the years.

  • Ashley , sorry, my reply was mostly emotionally driven, he seemed passionate but confused about how to present himself and I understand its not your responsibility to try and council someone either, that'd be absurd ofcourse.

    Is there a PM feature on the forum? I remember looking for this the other week but was unsure where to find this. Being able to talk one to one with forum members could be quite useful for examples like this.

  • Ah perfect, thank you! I didn't think to check open topic, I checked stickies in "Construct 3 General", stickies in "Website Issues and Feedback", then did quick Google - I was trying to be quick posting before going to work today so didn't look very thoroughly.

  • Hello!

    When writing a post to someone who seems to be unaware of the forum rules, it led me to find that, after a quick Google search and browsing some stickies topics, I cannot find the forum rules. I did find an old post from a user on this forum giving their ideas for rules but it received no replies!

    Could someone point me in the right direction?

    If this doesn't exist, it got me thinking - perhaps it's worth having a clear set of rules, some may start using a forum but have no idea how they operate, perhaps they're used to Facebook or reddit and just assume to post everything vaguely related to construct 3 under "Construct 3 - general".

    Just a quick thought!

  • You do not have permission to view this post

  • Unbelievably, this "Host not receiving peer messages" issue started happening on my project again just now, so I tried the test minimal c3p file that I prepared so that I can rule out my project, and it is reproducible!

    C3P file: https://drive.google.com/open?id=17R0tx-klxktMAUf2g8W_fHxfq35a0TC3

    I recorded the behaviour with OBS, please view here (0:38 long):

    Subscribe to Construct videos now

    In the video, I do the following (Bare in mind it's random and very lucky I caught it like this):

    1. Click preview.
    2. Click preview again with ALT (to create extra window).
    3. Join room on Left Preview.
    4. Join room on Right Preview.
    5. I click "Send Hello" on peer, several times, you see peer's log say "Sent" so button is functional.
    6. I click over to Host, and nothing appears on the log. Notice the "PeerCount" is 2 on both previews, so same room.
    7. I click Preview (didn't touch any events).
    8. Repeat steps 3, 4.
    9. I click "Send Hello" on peer, several times, and it sends through and the Host log see's the messages.

    Is this a Multiplayer Plugin bug, or a Signalling Server bug, or something else entirely?

    I will look into filing a bug report (Haven't done one on github before).

  • Hello!

    Had two things I wanted to ask/share:

    "PeerCount" doesn't decrease when a peer uses "Leave Room"?

    Was testing last night, and can reproduce today still. When keeping track of "PeerCount" on both host and peer, and then having a peer join the same room as host, then both host and peer will see "PeerCount: 2", which is good.

    However, when the peer uses "leave room", then the peer will successfully leave and the peer's "PeerCount" goes to 0, but the host doesn't get any indication that the peer left and still see "PeerCount: 2", even after many minutes passed.

    Is this by design?

    This is important as if a player wanted to leave a room without restarting the game, they cannot gracefully leave. "On Peer Disconnect" does not trigger either.

    Here is a c3p file reproducing this effect. If anyone is happy to test this too? (You may want to change "Instance" when connecting to the game, as if anyone else tests, the peer count might be higher!)

    https://drive.google.com/file/d/1B8wdWWb0QH3ZLm2xp9hwSvOFxdyywJ9D/view?usp=sharing

    Instructions:

    1. Preview the above C3P file, then hold ALT and click Preview to open a 2nd window.
    2. You will now have 2 preview windows. Reading the log, you will see one says "You are Host!" and "You are Peer!".
    3. Observe the "Peer Count" on both, it will be 2, which is correct.
    4. On the "Peer" window, click "Leave Room", you will see your PeerCount goes to 0, but then look over at Host, it still reports "2" and has no idea about the peer leaving the room. "On Peer Disconnect" doesn't trigger either.

    Scirra's Signalling Server Status

    Is there a way to see the status of the Scirra signalling server? Even things such as planned maintenance, just so we can know whether to debug our project extensively or not? I spent way too much time reviewing my events thinking I've messed something up.

    Below is my experience which I wanted to document as it was starting to get a bit tiresome troubleshooting the issue.

    Last night I was experiencing this very frequently, I left my project in this state as I couldn't resolve it, but testing this today without editing any events, I now cannot reproduce the issue anymore, it just works flawlessly... I had spend hours investigating this last night and still got the issue, but now it's ok and I'm not sure why.

    I've made a minimal c3p file that I will test if I find this issue happens again, and if it happens I will video record it as it may suddenly fix itself again in later hours.

    I was getting different results when doing the exact same motions of "Click preview, have two previews open, connected to signalling server, join same room on both preview windows", but once both windows have joined the room, either it would work fine, or the peer would simply be unable to send messages to the Host.

    I was definitely looking at the correct window, as I've plastered my project with debug info (which I've more than double-checked).

    The debug info logs any errors from the signalling server (none were appearing), and also logs all messages with "On Any Message Received", with no conditions other than to append text to a text object (that is onscreen at all times). All current room information is always displayed, the HostID is displayed, everything looks absolutely correct logically, but if the peer sends a "HelloHost" message (mapped to a key as a debug test, and I tap it multiple times), I can see the peer's log say that I've attempted to send the message to the host, but the host will either receive this or not (as in, I can send "HelloHost" multiple times, and the host will not receive ANY of these, or any other messages that I've programmed so far, even though debug info says we are in same room, peercount is 2, HostID is accurate when compared to the Host window, whether I change the message recepient to "" or muliplayer.hostID). But then, I could click preview again right after experiencing this, do the same exact steps, and it will just work, all accurate information, and the debug button is working and Host receives all messages. I did not pick "Unreliable" in any of my events, and had tested both "Reliable ordered" and "Reliable unordered".

    I left the project last night in this state as I was so bewildered as to what the issue is, and now I test today and it's working perfectly.

    EDIT3: Restructured whole post.

  • You don't need to do all of that. Just use the embed url of the video.

    On the youtube video page, click on the Share button. In the Embed option, look for the direct url of the src and use that.

    Or did you want separate sprites to use for the pause/play buttons? In that case, you'll have to use their API...

    https://css-tricks.com/play-button-youtube-and-vimeo-api/

    Hello, many thanks for replying!

    I would like to use their API and send commands to the Youtube player, so I could do something similar to your example of using separate sprites to act as play/pause (and seeking which is most important for me!), but I have no idea how to apply their API this within the Event Sheet View.

  • Hello!

    I did a bit of searching and experimenting but was unable to figure this out! I've never used the iframe plugin before and my javascript knowledge is low.

    With an iframe that has a YouTube video within, how would be best to communicate with this? Would it be preferable to use "browser > execute javascript", or use the built-in javascript feature in C3?

    I wanted to be able to pause, play, seekto, etc.

    Many thanks for reading!

  • Ashley , I reached out to haypers and have been working with them for a couple of hours today, and I have found how to reliably reproduce this bug on my login.

    I think there's a bug either in the field mapping either when creating a keystore, or when entering the key and keystore passwords, as I can get a consistent "Bad password" error now.

    With the same project, same details, but the ONLY difference being the failed build uses two different passwords, and the successful build using the same password for both the keystore and key.

    Screenshot below. Left is the successful keystore, the right is the failed one (including me typing the password to rule out me typing this incorrectly).

  • Heya,

    I ran through doing these steps and it was working for me - I made a blank project (gave it the basic details and such) and then made a signed release APK, new keystore and everything.

    Build completes fine.

    Very unusual that you are getting this.

  • Oh, amazing! Much appreciated, Ashley . Very motivating! I don't expect myself to always correctly estimate the workload behind a suggestion, but it'll educate me too if you do reject/move the suggestion. Lets see how this goes!

    dop2000 Thanks! I'm glad there's someone else that feels similarly!

    mOOnpunk, perhaps it depends on each individuals usage of C3.

    Personally for me, I like seeing editor improvements (especially for the Event Sheet View) and performance improvements.

    Plugins can be very case-by-case for me, like if a Facebook plugin was focused on for a stable build, this would probably never be used by myself as I simply don't care for FB games, but then for someone else using C3, it may be their main focus! But there will be times where I'd require something that is simply not possible unless a new plugin is made.

    With Javascript scripting: This feature is something you'd definitely want! Without scripting, we rely on Scirra (and third-party plugins) to fulfil requests, which may not be top priority with the many other requests. For third-party plugin creators, this could take a lot of time to create for them, rather than simply suggesting "Hey just paste this javascript code into your events and voila, done".

    But now, having scripting, some requests may arrive quicker if someone with Javascript knowledge sees your request.

    Also, if for whatever reason you have a request but it's too niche, you now have the ability to use Javascript yourself (teach yourself, or googling the thing you would like in Javascript). This gives us the option to try at least!

  • Many thanks for the replies Ashley, I really appreciate the work that has gone into implementing so many suggestions.

    I'm more and more active on C3 as of recently subscribing and I have questions that might turn into suggestions (Similar to my post today about debugger), but they're so trivial. It's making me unsure whether to post on Suggestions or ask on the forum. I have 2 more suggestions, one about bookmarks and one about the search, hopefully small but really would make my C3 experience even better.

    I really want to be part of making C3 grow, as I had done with C2 in the past (I remember making passing comments on the forum and you had added them in so quick; perhaps I'm spoilt! But I do understand Scirra has grown substantially).

    I've thought of an idea for suggestion platform:

    What about adding a new category called "Minor Adjustments"?

    This would be a category where people can post what they personally feel is a minor 5 to 10 minute "change" or "fix".

    With the above category existing, maybe someone at Scirra could spend a short amount of time to check out a couple of "Minor Adjustment" suggestions and mark their status. (Even if it's only 5 mins, but more regularly, maybe weekly, or more if it's doable. I mean no disrespect in suggesting how you use your time.)

    The idea being that you could be very strict with rejecting suggestions in this category. If users are posting very huge requests, or if users post something that genuinely seems trivial, but Scirra reads the suggestion and knows it will be a huge amount of work, then this can be rejected too.

    The user can then add their suggestion again in a different category as they now know it is more of a bigger request than they thought, and if they amass many votes, then Scirra will know it is a popular request.

    The benefits

    • A higher rate of acknowledging suggestions may make users more encouraged to suggest more (Makes us happy too!).
    • Very frequent users of C3 will have a great understanding of minor annoyances as they develop their projects, therefore they may suggest very useful ideas that others or even Scirra may not have thought of.
    • Encourages people that wouldn't have otherwise posted their suggestion, due to thinking it would be a waste of time and won't be seen
    • Less posts may appear on the General Discussion forum for those tiny passing suggestions.
    • Will not spend too much of Scirra's time due to strict process of rejection.
    • Many little changes really do add up.

    Hopefully this is a usable idea.

    Many thanks for reading!

  • You do not have permission to view this post

  • Yeah so right now with the trigger once its doing what I presumed. But at a meta level, do you agree that "repeat 20 times" indicates that it will end afterwards?

    That's just the intuitive takeaway from the wording.

    I understand where you are coming from, but keep in mind that the logic you are thinking will only occur with "Trigger" events, such as "On Collide" or "On Key Press", and as you have found, "Trigger Once Whilst True".

    All loops (Repeat, While, For, For Each) are not "Triggers", and will always be processed each tick.