scidave's Recent Forum Activity

  • Hi,

    I'm going to need lots more details to troubleshoot this. The bind-network option simply sets which interface your server will listen on (for example if your system had two NICs). So I think the problem is something else. Are you behind a router? Do you have port forwarding enabled? Can he telnet to your server and pull a banner?

    You would run WIreshark and have him connect and see if you even see him connecting to your server.

    My guess is you are behind a router and he can't connect to your server, but maybe it is a firewall or config issue. Need more detailed error messages as well.

    Thanks!

  • I just stumbled upon this wonderful work of brilliance!

  • Wooo...that was really cool. I'd really like to see a full construct game that takes advantage of all these awesome features.

  • I use Visual Studio 2010 and the current pluging SDK works great with it. There is already a tutorial off of the developer's page which is about as simple as it can get. Check it out, try it out, and shoot us any questions/problems you have!

    http://www.scirra.com/developers/

  • construct engine's downloads are from people posting it that time ago.

    oops..then sorry....it sure appeared to be from your page. Since the link you posted was just an error and when I clicked on downloads (off of your page) it brought me to the old versions of Construct.

    Have you ever heard of anti-malware? Security? Software that can scan files?

    Yes, which is exactly why I don't trust .exe's from non-official sites. A well crafted virus/malware will almost always be undetectable to most security software.

  • indiedb.com/engines/construc ... t-the-demo

    What's up with hosting old versions of Construct on your website? That's usually considered bad form, plus I wouldn't trust downloading an .exe from an unofficial page.

  • Got it! I installed everything and experimented with the database and found this portion of the user guide helpful:

    http://mysql-python.sourceforge.net/MyS ... on-objects

    firstname = 'sci'
    lastname = 'dave'
    age = 20
    sex = "M"
    income = 2000
    
    sql = """INSERT INTO test(FIRST_NAME, LAST_NAME,
           AGE, SEX, INCOME) VALUES (%s, %s, %s, %s, %s)"""
    
    try:
    
        cursor.execute(sql , (firstname,lastname,age,sex,income))
        db.commit()
    except:
        db.rollback()
    
    [/code:2pt4equn]
    
    You could also hardcode values you want as well.  Also, notice that whether you are placing a string or int you always use a "%s" for them as the placeholder.
  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Did you also try setting the EditBox.Text to python variables with the new way?

    name1 = EditBox.Text

    name2 = EditBox2.Text

    Then replace those names in the execute call.

    Then if that fails, try it without the single quotes around the %s....

    If none of those work, I'll download/install the library and see what's up.

  • Will it be easier in CC eventually?

    Yes, eventually it will be easier in CC. I always give longer lead times on stuff, but you can expect networking in plugin form in CC within the next 4-6 months...maybe sooner.

    p.s. If you have questions about the PodSixNet stuff let me know. What kind of game are you trying to make?

  • Try this:

    sql = """INSERT INTO TEST(FIRST_NAME,
             LAST_NAME, AGE, SEX, INCOME)
             VALUES ('%s', '%s', 20, 'M', 2000)"""
    
    try:
    
    cursor.execute(sql,EditBox.Text,EditBox2.Text)
    db.commit()
    except:
    db.rollback()
    
    [/code:3c66z9fl]
    
    If that doesn't work you can try changing the cursor execute line to this (notice the commas):
    cursor.execute(sql,(EditBox.Text,),(EditBox2.Text,))
  • Or someone is using his graphics with or without permission.

    I looks like they are using it without properly giving him credit (but maybe in the credits they list him). or perhaps it is him....doesn't look like it though. Danc, at least for those graphics, gave a liberal license for anybody to use his graphics for free, as long as they site where they came from.

    That's funny about the Construct user asking if dave made it.

  • I like the "one layout" rule..for the reasons you mention. For example, instead of allowing people to create all of these layouts for a big game appearance they can learn how to use layers more effectively or unlimited scrolling. It broadens people's horizons..

    I can see having a contest where we require .caps when it makes sense (for example a "best documented game" contest) or something along those lines. Although the prize might have to be a lot higher since documentation is rather boring.

    I'm looking forward to trying something out for this!

scidave's avatar

scidave

Member since 4 Jul, 2009

Twitter
scidave has 1 followers

Trophy Case

  • 15-Year Club
  • Email Verified

Progress

16/44
How to earn trophies