Hi!
I'm using all latest versions
I've found what was the problem, actually. And it's not totally caused by smartfox (only partially). The problem is that I'm using Mongo's BSON documents and their toJson() method
Here's the Java code sending the responce
// mongoUser is a bson document ...
Search found 6 matches
- 06 Oct 2018, 17:47
- Forum: SFS2X Questions
- Topic: SFSObject problem getting any numeric values in C#
- Replies: 3
- Views: 5919
- 30 Sep 2018, 15:10
- Forum: SFS2X Questions
- Topic: SFSObject problem getting any numeric values in C#
- Replies: 3
- Views: 5919
SFSObject problem getting any numeric values in C#
Hi!
I'm pretty sure it's a bug of a C# client but probably I'm missing out on something. Anyway
I'm sending an SFSObject containing some numeric values (long to be exact) from Java side to my C# client.
On the client side I want to get these values but I can't because I'm always getting this ...
I'm pretty sure it's a bug of a C# client but probably I'm missing out on something. Anyway
I'm sending an SFSObject containing some numeric values (long to be exact) from Java side to my C# client.
On the client side I want to get these values but I can't because I'm always getting this ...
- 21 Sep 2018, 08:00
- Forum: SFS2X Questions
- Topic: How to check validity of password hash on serverside
- Replies: 2
- Views: 13351
Re: How to check validity of password hash on serverside
Thanks!
I'm using mongodb, I've found no built-in way to use this db in smartfox, so I'm building a custom connector.
For now I've created CustomLoginRequest based on LoginRequest but without password hashing. I'm using TLS, so it's gonna be no problem
I'm using mongodb, I've found no built-in way to use this db in smartfox, so I'm building a custom connector.
For now I've created CustomLoginRequest based on LoginRequest but without password hashing. I'm using TLS, so it's gonna be no problem
- 20 Sep 2018, 16:30
- Forum: SFS2X Questions
- Topic: How to check validity of password hash on serverside
- Replies: 2
- Views: 13351
How to check validity of password hash on serverside
Hi!
After an hour or googling and many trials and errors I couldn't find a way to check passwords on serverside.
The problem is that C# client uses this method to hash passwords in LoginRequest
PasswordUtil.MD5Password(sfs.SessionToken + password)
And the session token is always different after ...
After an hour or googling and many trials and errors I couldn't find a way to check passwords on serverside.
The problem is that C# client uses this method to hash passwords in LoginRequest
PasswordUtil.MD5Password(sfs.SessionToken + password)
And the session token is always different after ...
- 19 Sep 2018, 17:33
- Forum: SFS2X C# API
- Topic: Problem with event handling in Unity
- Replies: 2
- Views: 6055
Re: Problem with event handling in Unity
Thanks! It works
By the way, this code is present in the examples, but I've missed out on it. My fault
By the way, this code is present in the examples, but I've missed out on it. My fault
- 19 Sep 2018, 12:51
- Forum: SFS2X C# API
- Topic: Problem with event handling in Unity
- Replies: 2
- Views: 6055
Problem with event handling in Unity
I've got a problem with unity client API.
If I set ThreadSafeMode to false, smartfox fires events normally but when I try to access any game objects from the event handler I get this error in unity
get_gameObject can only be called from the main thread.
Constructors and field initializers will be ...
If I set ThreadSafeMode to false, smartfox fires events normally but when I try to access any game objects from the event handler I get this error in unity
get_gameObject can only be called from the main thread.
Constructors and field initializers will be ...