RadDevVan101's Recent Forum Activity

  • I've been trying to fix this for hours, and I still cannot figure out why it isn't working.

    What i'm doing is I have 2 Text objects and AJAX

    One of the Text Objects is being given a value from a web address ("1.0.0" is the value)

    The other one is being sent the ProjectVersion ("1.0.0" and I change it to test the system)

    I'm comparing the ProjectVersion (InstalledVersion.text) to the AJAXValue (CurrentVersion.text)

    (yes, I've also tried CompareText on InstalledVersion and tested for CurrentVersion.text, same outcome)

    If those are the same, two objects go invisible

    If those are different, the same to objects go visible

    However... they never go invisible, even if I change the game's versions, it doesn't change and I don't understand why.

    Can someone explain why this isn't working?

  • You should be able to load the php file as a string with an AJAX request, then parse out your version number with either regex or tokenat.

    ...what?

    I'm pretty new to this software so I don't really understand what any of this means

    Edit: Oh... thanks

    Edit 2: Wait... Parse... I'm sorry, i'm still so very confused... can you please guide me through how to parse, because I have no idea what that means

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I'm using AJAX to create a game updater/launcher, i'm trying to detect the number on this page

    raddevvan_comuv_com/game_updates/nsad2/status.php (replace the "_" with ".")

    I'm doing this so I can check the version number to allow the player to get the latest version without constantly checking a website so they can get the latest version

    Can someone explain how to achieve this?

RadDevVan101's avatar

RadDevVan101

Member since 14 Jan, 2015

None one is following RadDevVan101 yet!

Connect with RadDevVan101

Trophy Case

  • 9-Year Club
  • Email Verified

Progress

10/44
How to earn trophies