Questions tagged [gamesparks]

27 questions
5
votes
1 answer

update MongoDB document sub object without replacing

So I have this document in my database like below { "_id": { "$oid": "59a8668f900bea0528b63fdc" }, "userId": "KingSlizzard", "credits": 15, "settings": { "music": 1, "sfx": 0 } } I have this method for updating just specific…
user5574012
3
votes
1 answer

Issues Integrating Gamesparks with iOS

Currently working on a game, and i've gotten to the point where i need to implement multiplayer functionality. I'm trying to load in the GameSparks SDK into my project but am unable to properly import the module and i'm not quite sure whats going…
Shan Robertson
  • 2,742
  • 3
  • 25
  • 43
2
votes
1 answer

Querying player data in GameSparks returns 0 results

I want to get all players in GameSparks data with an email field. I can Query in Data Explorer, but when I tried it in CloudCode it does not work. In GameSparks documentation I found this: var results =…
Tatev
  • 79
  • 1
  • 6
2
votes
0 answers

Packetsize in Gamepsparks Realtime

My packet in gamesparks contains: Two vector2: 8bytes x 2 = 16bytes key values with vector 2 = 8bytes peerid present in packet = 4bytes opCode present in packet = 4bytes Total = 32bytes. However my packet size is a little big bigger than this. Am…
Sameer Hussain
  • 2,421
  • 8
  • 23
  • 41
1
vote
1 answer

Facebook Connection Failed to GameSparks Server in Unity

I'm setting up the Facebook Connection to GameSparks server with FacebookConnectRequest using Facebook SDK for Unity. However, I'm getting an error response with key "accessToken" and value "NOTAUTHENTICATED". The details of the error is "The system…
TumayVarel
  • 11
  • 4
1
vote
0 answers

Gamesparks timestamp not working in android pie

Hi i am using gamesparks as backend for my realtime multiplayer game. Earlier i was getting packets on time and my clock sync worked properly,but from past few weeks i am not getting timestamp packets from gamesparks on devices which have android…
1
vote
0 answers

Hosting Box2D MMO: Photon vs Lidgren vs GameSparks vs PlayFab

I'm developing a game written in C# which utilizes a custom Box2D/Farseer implementation and is multiplayer based on the low-level Lidgren library. It has a few requirements: - Box2D must run on the server, along with other custom game logic. The…
Andrew Lundgren
  • 1,134
  • 1
  • 12
  • 18
1
vote
1 answer

If Google Play Games Services offer Real-time Multiplayer, what is the advantage of using gamesparks.com? What is the difference between these two?

I am new to Android Game development and searching for a suitable backend for a real-time multiplayer interaction. I found out that there is the Real-time Multiplayer offered by Google, then there are services like gamesparks and playfab (and google…
vfromate
  • 41
  • 7
1
vote
0 answers

Using gamesparks typescript/javascript libraries in flutter

I am planning to build a simple turn based multiplayer using gamesparks for the backend. I have considered flutter/dart and react native for the app development. There is a javascript gamesparks SDK which uses sockets for network IO. Can this…
1
vote
1 answer

Using gamesparks RTDataBuilder to send a string, IndexOutOfRange Exception occurs if the index is greater than 128

If the index is greater than 128 then we get "IndexOutOfRange Exception" in unity. using (RTData data = RTData.Get()) { data.SetVector3(129, v); // Exception here data.SetString(129, "Checking"); // Exception here …
Sameer Hussain
  • 2,421
  • 8
  • 23
  • 41
1
vote
0 answers

Twilio: How to get Access Token directly using REST API?

The Question: As the title, my question is how to get client Access Token directly using REST API (not using the Server-SDK). The Reason: I am trying to build a game which uses GameSparks as the back-end and Twilio as the Video Streaming service. In…
pthr
  • 41
  • 1
  • 4
0
votes
0 answers

Subtract days from a timestamp doesn't work with MongoDB

I still can't seem to do what I want to do. My Data Base: {lastSeen: { $date: {$numberLong: 1614618000000 }}} I want substract days to value and selects the documents where the value of the field is greater than or equal. I test this: {"lastSeen": {…
Cyrille Mouret
  • 75
  • 1
  • 1
  • 5
0
votes
1 answer

Gamesparks LogEventRequest ScriptData object always NULL

I try to get data from a Gamesparks LogEventRequest in Unity, but the ScriptData of the response object is always null... I can't see the problem because the cloud code works fine in the test harness. I get a correct response. Only in Unity I can't…
Funkberater
  • 775
  • 8
  • 16
0
votes
2 answers

how to remove JSON header from the object array

I have data in this format. This is gamesparks data that is BaaS using for game development. I am sending this data to the IOS person but he said he can not fetch this type of data so he told me to change the data This is my actual data { …
Uzii
  • 1
  • 1
0
votes
1 answer

What is the correct return method type?

I have a method that uses Gamespark Api to get leaderboard data. I want to return that data to another class to look over and update a Unity prefab. From my leaderboard class I can loop the data fine, but I am confused what return type I need to use…
Keith Power
  • 13,891
  • 22
  • 66
  • 135
1
2