Jump to content
Leadwerks Community

Recommended Posts

Posted
Analytics:SetKeys("GAMEKEYxxxxxxxx","PRIVATEKEYxxxxxxxx")--Create a gameanalytics.com project to get these
Analytics:Enable()
Analytics:SendGenericEvent("Kill a mutant")

My job is to make tools you love, with the features you want, and performance you can't live without.

Posted

It presently could lock up the game. I am changing it to create a queue of events that are recorded and sent when the game shuts down.

My job is to make tools you love, with the features you want, and performance you can't live without.

Posted

Might be easier and more reliable to store them in a queue, then use an std::thread which checks the queue for events to be sent off. That way if the game crashes, (which in C++ land happens a lot), you can still have the data.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...