1
Resolved Questions / Need Help With FGL's GameTracker API [SOLVED]
« on: July 21, 2015, 08:26:57 pm »
I'm trying to install but having no luck. When trying to test the game it stops part way through, "Generating SWF". When trying to publish, the following message appears:
Here's what I've done so far:
I copy-pasted the .as files into separate Freeform behaviours. Wasn't sure what to use for the, "Classname" or if it was even important. Tried using their respective file names as well as, "GameTracker" for both. Didn't appear to make a difference.
From FGL's instructions:
My guess is that this is the same as
So, I placed, "new GameTracker();" into a code block and Create wrapper(see attachment)
If I remove this code block, it tests and publishes fine. I also tried copying the FGL folder into my game folder as per
But without the Freeform behaviours, I get this error message:
I'm still using v2.20, so my guess is either I missed something or FGL's GameTracker will not work with 2.2.0.
Here are the links to FGL's instructions
https://www.fgl.com/view_library.php?page=gametracker
https://www.fgl.com/GameTrackerAPI.php
Anyone have any thoughts?
Quote
Unable to export SWF to the requested location.(Check your logs. Usually, the cause is an incompatible sound file.)(I currently have no sound files in the game file I'm using)
Here's what I've done so far:
I copy-pasted the .as files into separate Freeform behaviours. Wasn't sure what to use for the, "Classname" or if it was even important. Tried using their respective file names as well as, "GameTracker" for both. Didn't appear to make a difference.
From FGL's instructions:
Quote
Once you have a list of the data that you would like to collect, the next step is to initialize the API to make it ready to use. Start by creating an instance of the GameTracker class somewhere in your code.
My guess is that this is the same as
Quote
You must call new GameTracker(); before it can be used!
So, I placed, "new GameTracker();" into a code block and Create wrapper(see attachment)
If I remove this code block, it tests and publishes fine. I also tried copying the FGL folder into my game folder as per
Quote
Copy the FGL directory into your game folder so that your code can access the FGL.GameTracker package.
But without the Freeform behaviours, I get this error message:
Quote
Behavior contains fields that are either empty or filled with bad data...Call to a possibly undefined method GameTracker.
I'm still using v2.20, so my guess is either I missed something or FGL's GameTracker will not work with 2.2.0.
Here are the links to FGL's instructions
https://www.fgl.com/view_library.php?page=gametracker
https://www.fgl.com/GameTrackerAPI.php
Anyone have any thoughts?