lennaert's Recent Forum Activity

  • Yeah the whole DB idea would seem relatively easier.

    You could use it for friends lists too.

    1&2 a bit easier

    1) Host sets room name: NewGame-HostLevel10

    The peer could see in the lobby:

    Available games: NewGame (required level 10)

    2) You need a method to let the peers know there is a request for them.

    For example:

    an entry in the database containing a request to play, could contain the room name for the peer to join.

    or

    An email send to a peer as a request, could have a link to the game containing the room name: ie http://yoursite/yourgame/index.html?room=SomeGameRoom (could work for a facebook wall post too)

  • 1) in Some sort of lobby, it will likely be the host setting the standard for levels of participation.

    The host could set some sort of name for the room containing an indication of the level of play by the host.

    Peers can then select to join or not.

    2) Peers/opponents can only join rooms once they are connected to the signalling server.

    You could however, create a special/private room name, and convey the room name to other potential participants, which after connecting to the signal server, they join. When you use a mysql DB you have a lot more freedom, but users would still need to be logged in to to the signal server to join a room.

    To fetch info from the database, they should know there is a request for them, not the easiest thing, you could do something with email requests. Or have the users poll the database at an interval looking for requests.

    There are some options for construct 2 to get info from the URL calling the application/game, you could process the room name in there, and use that to join a room once connected to the signaling server.

    3) chrome, firefox and nodejs support webRTC connections. I am not sure about the cordova webRTC plugin, I have not tested this.

  • .....

    If you under no circumstances can recreate the problem

    .....

    Closed bugs 4,055 Topics .....

    If each would take just an half hour to do ... it would already take 253 8 hour work days to make them all ...

    ... and I was pleading for Ashley to get more dev time

    Aside from all this ... I think a closed bug reporting environment, like Juryiel mentions, might be a good thing.

    The whole recreating capx thing takes time ... and I am guessing quite a few people are reluctant to post their capx files as they ponder content might get stolen.

    If people could use their own 'trimmed down' versions of their capx, I would think that the user would require far less time to make the files needed for a decent report, without fearing someone might steal images/audio/idea etc.

    Trimming down is one thing, but creating a whole new capx can be very time consuming ....

    Plus, trimming down could have the benefit of the user suddenly ending up with a working variant of his game, realizing its his or her own logic causing problems. But I think users would only post this if only Support are able to see their files, as they would definitely not take their material for personal use.

    As an alternative, Scirra could set the resulting Capx upload in the bug section to be only viewable/downloadable by mods/admins

    to give the users some privacy.

  • Scirra has been growing slowly for a while. We're just not making public announcements about it as we go along, but maybe we should. We have people helping with support, software development, business development, and more. There's also a whole raft of stuff you never see from your side like figuring out how the tax arrangements work for the third party sales in the Store, or managing the increasing number of education subscriptions, or optimising the database caching so the site can scale with the increasing number of visitors, much of which I have little involvement in so I can focus on the technical stuff. But none of that changes what a reasonable bug report is!

    FWIW Tom is actively working on the new Arcade now - a ton of stuff has meant it's been put off way longer than we originally hoped (ranging from prioritising the new Store with third-party content, to customer-invisible things like adapting to the new EU tax laws). But I think he's full-steam-ahead on that now and I'm hopeful we can have the new Arcade running within a month or two.

    We're not coding in our bedrooms any more! Things have come a long way

    Haha, I would imagine you actually started out that way ;P

    I have heard 'the Arcade is coming' for a while now, so I'll believe it when I see it

    In any case. More information through the forum/facebook/etc regarding growth and participants in Scirra's path to a business success would definitely improve transparency of Scirra's going on's.

    You mention you have people helping with support, I am guessing none of these handle bugs reports or perform case studies / test cases with potential problems and workings ?

    Seeing as I generally see you replying to things hinting at performance/bug/engine problems.

    Take some of the replies in this thread for instance, at one point you ask/point out lack of for material with possible performance related issues; then someone sends you some as a reply, and you mention that it will take a few weeks before you would have time to look sorry, I lol-ed

    I meant with these kinds of things. One of the things you would do is start checking the capx ...

    You could have passed those files the same day to someone who knows what he or she is doing, and if they conclude the same as the complaint (not logic issue), I bet you would instantly want to know what the actual cause was/is, so you can work on it in your code.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Ashley

    I see you mention "we" here and there on occasion in reference in work needing to be done on Scirra's behalf ... but not to nag or anything, isn't it just you atm ?

    I mean, we hardly ever see Tom .. which is supposedly busy with the new arcade/site for over a year.

    That is taking some serious time, perhaps have him develop some fully deploy-able games for all platforms instead and outsource the web development.

    Because you, Ashley, read/post, write blogs, bug check, develop, give email/forum support, and keep your tech knowledge up to date ....

    You seem to be running the show alone. (not meant negatively)

    How is 'getting the new help' coming along ?

    You have a couple very capable moderators here, would it not it be an idea to look at them for some paid assistance on professional level ?

    Even if it was for official forum support, capx file checking etc ... some of these things can take up enormous amounts of time.

    Things like, primarily bug checking, case studies with games with lag/jank/overall performance issues, etc, all the things the developer really should not be doing. They (hired moderators/new function) could be the front line, (first line) for most of these problems, and if they filtered through it, recognizing a problem being more then a users mistaken logic ... then they could pass it to you ... I am guessing that could free up at least 1 day a week on your development time.

  • I am guessing you could use a for each, sorted by IID.

    When object.IID = 0 reset a counter to 1 which increments with 1 each time its assigned to tail piece.

    counter = 1

    event

    for each tail order by tail.IID ascending

    sub

    tail.IID = 0

    action

    set counter to 1

    sub

    blank event

    action

    tail set variable tail.number = counter

    add 1 to counter

  • On a location where it always runs if the game runs I'd say

  • If you are sure you are using the correct password

    You could try

    $conn = new mysqli($servername, $username, $password, $dbname);
    // Check connection
    if ($conn->connect_error) {
        die("Connection failed: " . $conn->connect_error);
    } 
    [/code:27b1ol1a]
    
    change to 
    
    [code:27b1ol1a]
    	$conn = mysql_connect($servername, $username, $password);            
    	if (!$conn) { 
    		die('Could not connect to MySQL: ' . mysql_error()); 
    	}
       
         $result = mysql_select_db($dbname); 
         if(!$result){
            echo mysql_error();
            exit;
       }
    
    [/code:27b1ol1a]
    
    EDIT:   user  "3ixteam"  , is not what your php file shows
  • You can request here to have it removed.

    There is a new arcade in the making, if I am not mistaken the option to export for Scirra Arcade was also disabled.

    Tom Any ETA on the new Arcade ?

  • There is an error here

    "uid="&UserID&"&score="&score

    You missed an & there

  • mysql_query("UPDATE members   SET score = '".$score."'  WHERE id = '".$uid."' ");
    
    [/code:2t41ttil]
    
    change to
    
    [code:2t41ttil]
    	$sql = "UPDATE members   SET score = $score  WHERE id = $uid ";
    		$result = mysql_query($sql);
    		if (!$result) {
    		echo mysql_error();
    		exit;
    		}
    [/code:2t41ttil]
    
    Now, if you get an error with your php, it shows in the Ajax.LastData
  • And is one of the Scorekeepers for the peer increasing ?

    If so, its something in your logic or setup causing there to be 2 scorekeepers.

    If you have a scorekeeper on the layout by default, make sure to destroy that one for the peer on start of layout, the hosts Scorekeeper should get synched and created on the peer side.

lennaert's avatar

lennaert

Early Adopter

Member since 8 Oct, 2013

Twitter
lennaert has 13 followers

Connect with lennaert

Trophy Case

  • 11-Year Club
  • Forum Contributor Made 100 posts in the forums
  • Forum Patron Made 500 posts in the forums
  • Forum Hero Made 1,000 posts in the forums
  • x5
    Popular Game One of your games has over 1,000 players
  • Famous Game One of your games has over 10,000 players
  • x2
    Coach One of your tutorials has over 1,000 readers
  • Educator One of your tutorials has over 10,000 readers
  • Regular Visitor Visited Construct.net 7 days in a row
  • Steady Visitor Visited Construct.net 30 days in a row
  • Enduring Visitor Visited Construct.net 90 days in a row
  • RTFM Read the fabulous manual
  • x2
    Great Comment One of your comments gets 3 upvotes
  • Delicious Comment One of your comments gets 10 upvotes
  • Email Verified

Progress

25/44
How to earn trophies