Questions tagged [gamesparks]

27 questions
0
votes
1 answer

Gamesparks: Remove player from pending match

I'm using gamesparks and I need to disconnect player from pendingMatch, if the player is waiting for another player to connect very long time. Found this: match.removePlayersById(playerIdsToRemove) but I need to have matchID, to get match. but don't…
Tatev
  • 79
  • 1
  • 6
0
votes
1 answer

Datatables server side processing with mongodb and javascript

Hi I'm having some major issues trying to understand how to datatables to work with server side processing. For some background I'm using a service call Gamesparks to create the backend for a videogame and inside this service they have an…
user2737948
  • 329
  • 2
  • 10
  • 25
0
votes
1 answer

Is there a way to get Online status via PlayerId in Gamesparks

I have a saved list of my friends name and playerId via Gamesparks. I want to know if they are online/offline. Can I do that using their respective playerIds ?
Sameer Hussain
  • 2,421
  • 8
  • 23
  • 41
0
votes
1 answer

Understanding Data Types in Gamesparks

I'm having hard times trying to understand Data Types. Maybe I'm missing something because I feel totally off road in understanding them. Here are all the questions wandering in my mind: how can I delete a Data Type? Seems there's no button in the…
Mirko
  • 187
  • 12
0
votes
1 answer

GameSparks Manual Matchmaking

my team and I are building a game in Unity and are using GameSparks to implement networking into our game. We are trying to implement Manual Matching making so that when Matchmaking, GameSparks doesnt automatically match players for us. We want to…
fourthking
  • 321
  • 1
  • 4
  • 19
0
votes
1 answer

Algorithm to match players based on a seed

I'm currently working on an algorithm that will create a seed for a random generated board. The seed is created using a timestamp I have the following logic: If theres no current seed with the timestamp we create a new entry in the DB and we say…
user2737948
  • 329
  • 2
  • 10
  • 25
0
votes
1 answer

Saving the auth token and using it

Having trouble figuring out how to save the auth token from the authorization request response and use it for making an authorized request so that I can pull database information. Appreciate any advice! When I run $node index on the code below, I…
0
votes
1 answer

Gamesparks for Unity object reference not set to an instance of an object

I'm using GameSparks with unity and I'm trying to pull certain data from the database. I set up an event called "getItem" with an attribute "type" set to "used in script". I set up a cloud code event to to access that event via the using the "type"…
DasBeasto
  • 2,082
  • 5
  • 25
  • 65
0
votes
1 answer

how to send data from gamesparks cloud code?

I'm developing a turn-base game with GameSparks service.I want to wait 10 second then change turn,but i want to count down timer in cloud code not in client device. I tried to use theScheduler.inSeconds() but i don't know how to sent data from…
BehnamJef
  • 29
  • 6
0
votes
1 answer

OneSignal location filters+ GameSparks

http://hastebin.com/nekofuvono.cs https://documentation.onesignal.com/reference#create-notification 99% sure this is just a formatting issue because Im new to javascript. I need to get a gamesparks Event data of "lat" and "long", saved as strings…
-1
votes
1 answer

Serialize and skip if doesn't exist

I am using Unity with GameSparks and have a serializer script which makes a GameSparks data object into a c# model. The script looks like this: public static object GSDataToObject(GSData gsData) { //Debug.Log("GSSerializer Return:…
Mansa
  • 2,277
  • 10
  • 37
  • 67
-1
votes
1 answer

GameSparks Post High Score From GameSparks Event

I have a system in my game that saves the players progress locally when they are offline. However, once they reconnect I push a batch of saved level progress to the server for processing. One of the attributes I am trying to process server side is…
Travis Pettry
  • 1,220
  • 1
  • 14
  • 35
1
2