Buying Flash Game Mod

Discussion in 'Programming' started by mcmuney, Jan 8, 2012.

  1. #1
    I have a flash game, one of many, where when the game ends, the score is posted on my database. All of my other games are still working; however, this particular one is no longer posting the score. Basically, when the game ends, it's supposed to post the score:

    
    $score = $_POST['score'];
    
    Code (markup):
    When there's a score, it writes to my database. All I need is for above line to work, which just stopped and I don't know why. I don't have the original flash game file, it was modded by someone previously.

    If you have experience in this area, let me know how much to correct it.

    If you can fix this, I may have new projects for you with similar functionality.

    Thanks.
     
    mcmuney, Jan 8, 2012 IP
  2. amalantony

    amalantony Active Member

    Messages:
    200
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    60
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #2
    The problem is obviously with the flash code. Nobody can solve your problem with 1 line of PHP code ;) . Besides, why are you asking for help over here? I thought this was the place to hire programmers!
     
    amalantony, Jan 8, 2012 IP
  3. aqua97

    aqua97 Member

    Messages:
    28
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    31
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #3
    it was working, and then stopped? did you move you SWF files of the games, or did you made changes to .htaccess lately? Probably you need to change the path in SWF file, for POST call of your php script, if you moved files or changed URL structure in htaccess. The fix can be made without decompiling the game and changing its code. Use "Firebug" extension of firefox, to see where your SWF file calls the php file, it probably calls the wrong php location.

    Hope I helped you.

    You can send me URL of your game, I'll look through firebug to see the problem and show you.
     
    aqua97, Jan 12, 2012 IP