i'm trying to create a farm with a selectable size
Unity
if (Cords == ""){ Cords += Postions.x + " , " + Postions.y;}else { Cords += ";" + Postions.x + " , " + Postions.y;}passing it through this code
handlers.BuildPumpkinCrop = function(args,IslandID,Stack) { var inventory = server.GetUserInventory({ PlayFabId: currentPlayerId}); var FirstitemInstance = null; for (var i = 0; i < inventory.Inventory.length; i++) { if (inventory.Inventory[i].ItemId == 100 ){ FirstitemInstance = inventory.Inventory[i].ItemInstanceId; } } server.ConsumeItem({ PlayFabId: currentPlayerId, ItemInstanceId: FirstitemInstance , ConsumeCount: args.Stack }); var result = server.GrantItemsToUser({ // In your game, this should just be a constant CatalogVersion : "CustomData", PlayFabId : args.IslandID, ItemIds : [ 1005 ] }); var inventory1 = server.GetUserInventory({ PlayFabId: args.IslandID}); var FirstitemInstance1 = null; FirstitemInstance1 = inventory1.Inventory[0].ItemInstanceId; server.UpdateUserInventoryItemCustomData({ItemInstanceId : FirstitemInstance1 , PlayFabId: args.IslandID, Data: { "Cords": args.Cords} }); }this code works with 100 kilobytes
but if it's more then that it doesn't anymore
anywork around ?