Hi,
For some reason I can't find the latest client API for Unity (or for any other platform either for that matter). The installer for Windows does not contain the files. Or I'm I blind?
It seems the latest API on the updates page is out-of-date, as there is no PasswordUtil class in it. So there must be an API for 2.7.0, right?
Thanks.
Where is the latest client API?
Re: Where is the latest client API?
We don't distribute the client API with the server anymore, to make the installers as light as possible.
From our updates page you can download all the latest API versions:
www.smartfoxserver.com/download/sfs2x#p=updates
cheers
From our updates page you can download all the latest API versions:
www.smartfoxserver.com/download/sfs2x#p=updates
cheers
Re: Where is the latest client API?
I tried using that API and it does not include the PasswordUtil. Are the API's out-of-sync with each other?
By the way, if you are not including the client API's, you might consider changing the release text on your downloads page which clearly states the opposite
By the way, if you are not including the client API's, you might consider changing the release text on your downloads page which clearly states the opposite
Re: Where is the latest client API?
Yes, the PasswordUtil class was released with the latest Flash API but we're finishing the other releases, so they aren't out yet.
Anyways the PasswordUtil class can be easily "emulated" like this:
Right-o. Thanks for spotting
Anyways the PasswordUtil class can be easily "emulated" like this:
Code: Select all
using System.Security.Cryptography;
...
private string MD5Hash(string instr)
{
StringBuilder strHash = new StringBuilder(string.Empty);
foreach (byte b in new MD5CryptoServiceProvider().ComputeHash(Encoding.Default.GetBytes(instr)))
{
strHash.Append(b.ToString("x2"));
}
return strHash.ToString();
}
By the way, if you are not including the client API's, you might consider changing the release text on your downloads page which clearly states the opposite
Right-o. Thanks for spotting
Re: Where is the latest client API?
Ok, thanks for the code snippet, worked as a charm.
If there are any other features lacking in the current Unity API it might be a good idea posting somewhere in which state each API is?
If there are any other features lacking in the current Unity API it might be a good idea posting somewhere in which state each API is?
Re: Where is the latest client API?
No, there isn't anything else.
Who is online
Users browsing this forum: No registered users and 84 guests