kentbakk's Recent Forum Activity

  • This would be fairly easy to do, id be happy to give out a few ideas better suited but a fairly general way to do it would be to setup a PHP API

    so in construct you would do a GET request to "www.MyWebsite.com/MinecraftInteraction?Action=RunCommand&Command=say hello there!"

    The php script would then save the command to a mysql database

    Your script would then (using skUtilities) do a get request to "http://www.MyWebsite.com/MinecraftInteraction?Action=GetLatestCommand" (This would output "say hello there!") and return it to your skript where you would simply run whatever you got back as an command or do error checking

    This would make it possible for you to do commands directly or interact in other ways (You could use this for any data transfer between your server, website and construct 2 programs)

    Now there are other ways to do this but no matter how you do this you need to include some sort of authentication to ensure only your application can send commands to the server!

    Id be happy to talk more on this and possibly help you code it in if you are unfamiliar with php

    Contact info:

    steam: kentbakk

    skype:

    email:

  • Hello i am working on a few programs using construct 2 and Nw.js and would really like to minimize the program to the traybar to get it away from the users screen when it is just running.

    Is this possible in construct 2 as of right now?

    I have understood that NW.js have the functionality but have it ever been included into construct?

    Thank you for your help!

  • Hello ben, I really like the idea behind 20 time. I would love to help you out with this. If you would like to talk closer to me my skype is kentbakk or you can shoot me an email at

  • [quote:1wqfc3bq]ok pm me your email, and i will send it.

    Thanks again

    You can send it to

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • > I am a bit stumbled on what exactly your issue is, is it to get the Post value "email_to" be an mail address when posting from Construct 2?

    >

    > Or is it to read the output of the php in construct 2?

    >

    > If the issue is to get construct 2 to send out an mail address we will need to see the construct 2 part.

    >

    > But yeah a bit stumbled on what exactly is the issue, hopefully you can clear that up for me and il be more than happy to help you out! <img src="{SMILIES_PATH}/icon_e_smile.gif" alt=":)" title="Smile">

    >

    kentbakk

    Its getting the $_POST['email_to'] variable from c2, it does not seem to appear when I run the php script, I am using the same method that I used in the tutorial I posted, the capx is here, https://www.scirra.com/tutorials/4897/s ... construct2,

    I can send an email without attachment with the method in my tutorial, and send an email with attachment with this script above, if I change the POST value to, for instance "sizcoz@somewhere.com";, but the POST variable from c2 does not show?

    Many thanks in advance for your reply

    Okay i see, il do some testing and come back to you <img src="{SMILIES_PATH}/icon_e_smile.gif" alt=":)" title="Smile">

    Could you send me the php code in text format tough?

  • Your global Score variable is exactly that, global.

    Example:

    When you are on page 1 and add 1 to score

    On page 2 you add 1 to score

    Now on page 11 you can display score directly and it would show 2

    Hope that makes sence

  • I am a bit stumbled on what exactly your issue is, is it to get the Post value "email_to" be an mail address when posting from Construct 2?

    Or is it to read the output of the php in construct 2?

    If the issue is to get construct 2 to send out an mail address we will need to see the construct 2 part.

    But yeah a bit stumbled on what exactly is the issue, hopefully you can clear that up for me and il be more than happy to help you out!

  • To do something like this you will need to create a php API to handle login and database storage. I beleive i have this at my work if you would like a copy premade with an example on using it.

    If you would like to make it yourself you are going to need to use the _POST["Value"] to get input from the ajax plugin in construct 2 that will in return send anything you print our in php back to construct 2

    Want more info or help?

    Send me an email:

  • I do have one question regarding this, How come you are not simply using the builtin multiplayer object eliminating the need for an external server all together?

  • Hello Proxymity,

    If you still have the need for a login and registration system + a variable system i am available to do this.

    I have made quite a few login systems before the largest of these would be the one for "Rust Building Planner 2.0" a while back. This system uses a custom api to store and request info to a mysql database. All verification is done by the server and all passwords are hashed to ensure security.

    The variable system i can do pretty much how you need it. If i am not mistaken you want to be able to set and get variables from the database, This is done fairly simply if you would like i can also include some more functions to group variables to an username and also secure the system with the need to verify the read/write request to come from the right user and that the user is logged in

    As you know security is a huge concern when dealing with user information and to make sure only the people that are supposed to can access features that are locked down.

    Feel free to contact me on if you are interested or have any questions!

    Have a good day on.

    • Kent-Are Bakken
  • Thanks guys, looked over it all and it seems i made a classic typo last night!

    The calculations was never being run therefor it went to the backup system xD

    Sorry to bug you all with my own typo tough.

    And again thanks!

  • Hello!

    I seem to be having a hard time getting construct to evaluate a line of math that goes like this: "10 - (100/60)"

    From that i would expect anything in ( ) to be calculated first but it seems i am mistaken on how i can get that effect in construct and i hope someone here might have done this before

    Thank you for your help!

kentbakk's avatar

kentbakk

Member since 14 Oct, 2013

None one is following kentbakk yet!

Trophy Case

  • 11-Year Club
  • RTFM Read the fabulous manual
  • Email Verified

Progress

13/44
How to earn trophies