TentaRJ / GameJolt-FNF-Integration

Add trophies, track player's play time and sessions, and connect to GameJolt with this project!

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

source/GameJolt.hx:134: User login failure!

MadGuyXD opened this issue · comments

Hey TentaRJ, i have seen the instructions and followed the instructions but why is it not working?

commented

Line 134 gets activated when the user isn't signed in.

You first need to authenticate your game with GameJoltAPI.connect(); before you can do GameJoltAPI.authDaUser(FlxG.save.data.gjUser, FlxG.save.data.gjToken);.

Inside of the file is a template of the file you will need to make, that file being GJKeys.hx. Make sure you put your GameJolt Game's ID and API key in their respective variables.

Huh I did exactly what you said and it still did not sign in.
image

mabey just delete the line of coding that has the line problem