jhjconstruct's Recent Forum Activity

  • I think I'm gonna owe you a couple of cups of coffee, eh?

    I'm almost there...

    I was able to save the dictionary file to the external server via php (See code below)

    Now I'm having a problem retrieving the file and loading it into a dictionary. IS it because the php language above is only for saving and not retrieving? Or am I using the improper load-in language in the event sheet - see below

    AJAX>Request URL>"http://www.myserver URL address/text.txt"

    On completed>Dictionary>Load from JSON string AJAX.LastData

    Is this making sense?

  • Actually this has gotten a bit more complicated. Instead of a string I'm using a dictionary (it's easier to modify during the game itself). I also found this tutorial using the AJAX POST process, again my results were not positive. I really don't care which process I use - I'm ranting a bit here - just need to get a file "saved" to my server and not the player's local machine.

  • I was using "Invoke download of string".

  • Dop,

    I found a previous post (https://www.construct.net/en/forum/construct-3/how-do-i-8/save-everything-butunique-146447?kws=save%2bjson%2bto%2bserver) to saving a file. I incorporated the code, but instead of the file saving to the server (where the HTML export of the game is located) it is downloading to my local computer.

    What am I doing wrong?

    Jefferson

  • Thanks Dop, I'll try those solutions.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I have a bunch of textboxes on a sheet and as the player completes one textbox, it will move to the next one in order. However, two problems have surfaced:

    First, if I use the "on text changed" command, the cursor will move before the player has finished typing.

    Second, the cursor jumps from the textbox to another textbox further down the page, skipping the textboxes before it, even if I use the "Set Focused" command for the next textbox.

    Any help would be appreciated. Thanks.

    Tagged:

  • Here's our goal:

    via AJAX we retrieve a .txt. file, append an additional string/record to the .txt file and then save the updated .txt file.

    We know how to retrieve and search the .txt file using AJAX. We're having the problem in appending the .txt file and resaving it.

    Thanks in advance!

    Tagged:

  • We are developing a tournament bracket game where players have to be assigned to games. Does anyone have instructions or a capx (definitely preferred) of pairing players for a game? The idea is instead of players showing up on a list and choosing one another, we assign them and notify them of their pairing and then assigning them a room to compete.

    All feedback is welcome, including concerns, hints, trouble spots, limitations, etc.

    Thank you!

    Tagged:

  • Thank you, InDWrekt. This has been incredibly helpful!

  • I would like to incorporate a date function into our project which sets a future date and time for a certain activity to be completed. Suggestions are much appreciated and thanks in advance.

    Tagged:

  • Anyone familiar with a capx or plugin for incorporating tournament brackets into a game? I would like to incorporate tournament brackets into our project and was wondering if anyone has created one?

  • Thanks Faqro.

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