Open JohnyCoolHD opened 4 months ago
are you sure you entered the private key into the extension correctly
Yes, I did. I also checked my Gamejolt page.
I also changed the private key, but it still doesnt work.
What should I do next?
I'll have a look at the session functions they might have broken somehow idk
Did you find anything?
were you using the functions or the constructor? I checked both and didn't find anything glaringly out of place but this library needs updating to the latest version of GameMaker anyways I just haven't had time lately
I used the functions.
Could you try logging into your own game with this API? Maybe I'm using this completly wrong and don't know it
Could you post the contents of the event that this function is called in? u can omit anything that's private or whatever I just need to get a general idea of the execution order
Also I can't get on right now since I'm an hour away from home but I'll try to reproduce this when I get home
I tried multiple ways to do this. I used the Left Pressed Event and inside that event I put gj_user_authorize and gj_session_open (Not both at once) and I filled them in with my username and token for testing. I think I did something very stupid and don't know it. And yes, the obj_gjhandler is in the room.
Hmm very odd, I'll try to reproduce this when I get home which won't be until the late evening probably
ok so somehow my root project file has become corrupted, will try to fix it but i wont be able to do anything about this in the meantime so i will clean up the labels and then mark this appropriately
apparently it was just gm being weird, i'll finish up the labels and then take a look at this
alright i'm not entirely sure where the problem lies but I realized that I had a large space before the Game ID in the extension options, try checking to see if there are any accidental spaces or characters in the private key/game ID as that can mess up the signature a lot, i'll mark this as a bug for now until I can confirm whether it's an actual bug in the code or just mere happenstance
The issue wasn't there. Nothing has changed...
i got a problem with the server response: ----- The following text is the response from an external server. ----- Response ID: 1 The request was successful. See full server response below. Client Request: https://api.gamejolt.com/api/game/v1_2/sessions/check/?game_id=.... (I deleted this part for Github) HTTP Status Code: 200 Server Response: {"response":{"success":"false","message":"The signature you entered for the request is invalid."}} The server response has been parsed and is stored in global.response and the global.backlog DS Map.