jhjconstruct's Recent Forum Activity

  • So, I did follow the multiplayer tutorials and I can run an online game with three browsers: 2 are clients which use a similar .capx and 1 is the host lobby "game" which uses a separate .capx and passes info back and forth from the two clients.

    And this gets to the kernel of my earlier question: what software/process do I use to run the host lobby "game" capx without using my actual computer. Is there a plug-n-play app (which I can load on the server) which will virtually run the host lobby "game" app or do I need to code something on the serve-side?

  • So after completing additional research, I have found that HostGator (and plenty of others) have the required VPS or dedicated servers to support a "permanent" host for a multiplayer game.

    The question is setting up the virtual tab/browser/destop/host version on the actual server.

    Feedback/suggestions anyone?

  • I am now aware that I will need a game server to serve as the permanent host for our multiplayer game. I'm considering AWS, Vultr, OVH, because they have low-cost options which are adequate for the start-up phase of our project.

    Question: Do we need to know any coding knowledge to set-up the permanent host on the server? If yes (or no) is there a tutorial or guide which we can follow to set up the permanent host?

  • How do you directly email or pm a contributor on the forums? It appears the pm option was disconnected sometime ago, but what about the email option?

  • I appreciate the information and suggestion, oosyrag. Using my computer from home is not an option. The preferable option will be to ID a low cost provider, deploy the beta, and then scale up as necessary.

    Again, thank you. Your earlier insight bridged an information gap I wasn't even aware existed.

  • I appreciate the clarification. What gamer server would you recommend, oosyrag? Couple of other thoughts:

    1. Our app does not use a lot of bandwidth, in fact it's quite minimal.

    2. It would be good to keep initial costs down for the initial roll-out and then scale up as needed.

    3. I've heard about the use of virtual browsers - your thoughts?

    Is there anything I should ask you, that I am not?

  • I'm running through the multiplayer discussions and I keep reading the following statement:

    "open a tab on your server"

    How does one do that?

    Currently, I use Hostgator. I have my C2 app loaded to it and folks can access it through a website - it's not an app that folks download (for security purposes). I want the server to be the host and the players as the peer-client (obviously!). So using this "open a tab on your server" business is appealing - I would run the game's lobby from it. So I get that part...I think.

    But, how do you open the server "tab" and then how do I run my C2 lobby app from it? Or, is the game already running if I have the game app exported and loaded to the server?

  • Does anyone have a sample .capx which would demonstrate the following:

    1. Players would log in (via email and password or an email link) to the game which is running on a server.

    2. The player's emails serve as their Peer IDs and their avatar name (selected by them) serve as their Alias IDs.

    3. The server side game would assign the players to a game room where the two (2) players would be peers and the game server would serve as the host. This is important, most importantly for security/anti-cheating purposes. I'm moderately proficient in using the multiplayer object. Keep in mind that within the "game" itself there is not any movement issues, more like an advanced tic-tac-toe game than anything else.

    FYI - I am able to follow simple php script for POST/GETS/Emails. If any other scripting is required, I can learn a sample script, if necessary.

    If you have any questions or require additional insight/information, just let me know.

    Thanks much in advance for your help!

    Tagged:

  • I just figured it out from your earlier .capx...just save the array using a JSON "extension" to a text object. SMH why this didn't connect the first time I saw it. So frickin' simple.

    BTW the capx you just sent was what helped me earlier understand the use of php files for accessing server files, so thanks for that.

    I owe you a cup of coffee...need that link, man.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • First, thanks for the response, Dop. Your capx just pierced the forest, now I can see the trees. Thanks for that. Maybe I'm overthinking this or missing the forest for the trees, but a follow-up context and questions.

    FYI, I will be making adjustments to the data in the array which will migrated to a JSON file. But I'm comfortable with editing strings within an array, so no problem there. Check.

    I'm also familiar with POST/GET processes for loading/downloading txt files to a server. Check.

    So, how do I get the json file to the server? When I download the array to the JSON file it goes to my downloads folder on my computer. I'm presuming that when this app is running on the server it will save to a folder on my server, is that correct? Again, I'm familiar with the php POST/GET processes, but it seems the JSON download event automatically downloads the JSON file to a folder of its choice. How do I instruct it to download a folder of my choice?

    In the alternative can I just save the JSON folder and POST it (via php) to the server file/folder of my choice? If so, how would I do this?

    Thanks.

    PS. Send me that buy a cup of coffee link.

  • Can a JSON file of a 3D array be stored/retrieved on a dedicated server? If so, does anyone have a sample .capx which would show this process? If you also had the php script that would be cool, but not necessary. Thanks ahead of time!

    Tagged:

  • Figured it out. Just had to play with it and study up on php. Just my personal impatience with my learning curve.

jhjconstruct's avatar

jhjconstruct

Member since 19 Oct, 2016

Twitter
jhjconstruct has 1 followers

Trophy Case

  • 8-Year Club
  • Email Verified

Progress

9/44
How to earn trophies