Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Sep 21 17:54
  • Sep 21 14:07

    novabyte on cdm-gomodules113

    (compare)

  • Sep 21 12:00
  • Sep 21 11:14

    novabyte on master

    Set new development version. (compare)

  • Sep 21 11:08

    novabyte on master

    Nakama Unity 2.3.1 release. (compare)

  • Sep 21 11:08

    novabyte on v2.3.1

    Nakama Unity 2.3.1 release. (compare)

  • Sep 21 11:06

    novabyte on v2.3.1

    (compare)

  • Sep 21 11:02

    novabyte on v2.3.1

    (compare)

  • Sep 21 11:02

    novabyte on master

    Nakama Unity 2.3.1 release. (compare)

  • Sep 20 09:47
    sesposito review_requested #378
  • Sep 20 09:44
    sesposito opened #378
  • Sep 20 09:44

    sesposito on improve-sample-go-module-readme

    Improve sample go module README… (compare)

  • Sep 20 09:07

    sesposito on master

    Updated Windows instructions fo… (compare)

  • Sep 20 09:07
    sesposito closed #375
  • Sep 20 08:51
    mofirouz closed #111
  • Sep 20 08:51

    mofirouz on master

    Update Unreal client documentat… (compare)

  • Sep 20 08:21
    nathgilson starred heroiclabs/nakama-js
  • Sep 20 07:52
    MathiasGilson starred heroiclabs/nakama
  • Sep 19 16:56

    sesposito on fix-bleve-transitive-dependency

    (compare)

  • Sep 19 16:56

    sesposito on master

    Fix broken bleve transitive dep… (compare)

Chris Molozian
@novabyte
@jon_morley_gitlab Sorry I meant on the docs repo https://github.com/heroiclabs/nakama-docs
but leave it there for now
I'll just close it out when the docs are improved
Jon
@jon_morley_gitlab
ok cool
HashtagGo
@HashtagGo
Is this possible what i want to do with socket ? Thanks in advance
Chris Molozian
@novabyte
@HashtagGo What is it you want to do?
Also please don't post both in the community channel and on the forums when you don't get an immediate answer
we're all busy as I'm sure you are so give some time for the community to help :)
HashtagGo
@HashtagGo
Sure ! After post here i release that expected answer is “ this question is good kindly post in forum so i post there tooo “ 😊
So you answer here or in forum !
Chris Molozian
@novabyte
I'll answer here once I understand better what you're looking to achieve and then leave a note on the forums so the knowledge is saved
HashtagGo
@HashtagGo
i want server 60 sec for disconnect socket . Develop poker game when player minimize game it wait 60sec to disconect . currently it disconnect after 15 sec
Server wait* 60 sec
Chris Molozian
@novabyte
I see so the server will heartbeat the socket connection and expect a reply from the client within a specific window of time
The client sdk (especially with Unity) will also send heartbeats to detect socket disconnects quickly
If you want to adjust how long the server will give before the client is considered gone with a disconnect have a look at these settings:
HashtagGo
@HashtagGo
I tried , changed socket ping/pong time and wait time
Chris Molozian
@novabyte
  • socket.ping_period_ms
  • socket.pong_wait_ms
what values did you use?
HashtagGo
@HashtagGo
Ping 35000
Pong 55000
Ms
HashtagGo
@HashtagGo
set ping value to 5000 ms
and pong value to 50000 ms still they wait only 25 sec
Brad
@brad9mm

After reconnecting client
check on unity Update function if socket disconnect then connect

and call these functions
connect socket()
joinMatchAgain()
getMatch state()

Problem what i get

client didn't connect socket again send messges etc, until they get message/hit clientClosed listener
when they recived then its send message.

timdevil
@timdevil_twitter
Hi! Is there any way to get the latest github nakama via docker (not the 2.6.0 one)? Or when will the next nakama release be approx?
Mo Firouz
@mofirouz
@timdevil_twitter 2.7.0 will be released within the next 2-3 days
Probably check back on Monday/Tuesday next week

@brad9mm Please use the forums. I would also appreciate complete coherent sentences so I can be sure of the issue you are facing.

The issue you are facing is a logic bug in your own code. We don’t have those functions in the client library. Please use the debug outputs and step through your own code.

Brad
@brad9mm
@mofirouz done
we dont facing any bug !
how to disconnect socket manually in client side
timdevil
@timdevil_twitter
Great, thanks
PublicStm
@PublicStm
This message was deleted

Hi, I attempt to read storage collection during an authoritive match by calling a module which checks something and than read storage like: (lua)

    local object_ids = {
        {collection = "COLLECTION_NAME", key = "KEY_VALUE", user_id = user_id}
    }
    local objects = nk.storage_read(object_ids)

But 'objects' is empty. the exact same code works during a 'run_once' on a player register hook.
What's the issue? Thank you :)

Permissions of the collection are 2,0
Mo Firouz
@mofirouz

Hi - please use the forum to ask questions:

https://forum.heroiclabs.com

Andrei Apanasik
@Suvitruf
Hello there. What initialization vector are you using for aes128_encrypt?
Andrei Apanasik
@Suvitruf
I need to decrypt it on nodejs side.
Andrei Apanasik
@Suvitruf
Oh, boi. Got it.
First 16 bytes are iv.
Also, you are using aes-128-cfb, not aes-128-cbc.
Mohsen
@mohsenyz
@novabyte Thanks, I agree with you, It will cause performance issue
Mohsen
@mohsenyz
A question, is context canceled after updating user account in rpc code?
Chris Molozian
@novabyte
@mohsenyz I don’t fully understand your question but I’ll explain the “context cancelled” responses in RPC calls
The server has a way to stop any active work created at the start of an RPC request if the client that initiated it has gone
I.e. The client got disconnected mid request, etc
In that case any work in progress (database request, other http requests triggered at the start, etc, etc) will be cancelled because the context for the operation is gone
This is a fantastic optimisation we’ve implemented because it stops the server from work which doesn’t need to be done anymore as there’s no client to send the response back to
Hope that makes things clearer
Jumbo
@JumpWu
Hi @mofirouz I learn to use nakama as a game server , it 's a good framework as a single server, but when i want to make it distributed , I can't find any docs how to deploy it .