Search found 191 matches

by tchen
14 Jan 2011, 11:07
Forum: SFS2X Questions
Topic: Login problem - Salted Password Hashes in Database
Replies: 10
Views: 14779

Lets say the original db password uses dbpass=sha1(plaintext) On the client, login.user = 'bubba'; login.password = sha1(txt.input); So on the server, we actually get encrypted = md5(session.salt + md5(login.password)) which if you use getApi().checkSecurePassword on dbpass, should return you true a...
by tchen
14 Jan 2011, 10:56
Forum: SFS2X Questions
Topic: Player Disconnect Null Pointer Exception
Replies: 9
Views: 11752

In Malkyne's defense, I don't think manually adding users was ever explicitly covered in the docs.

Just to help narrow it down a bit, use getApi().joinRoom(...) instead of Room.addUser

SFSApi is your friend.
by tchen
14 Jan 2011, 10:44
Forum: SFS2X Questions
Topic: Login problem - Salted Password Hashes in Database
Replies: 10
Views: 14779

I found this old thread on the 1.x forums from BigFish which might be a good idea to try http://www.smartfoxserver.com/forums/viewtopic.php?t=3695&start=0&postdays=0&postorder=asc&highlight= Quick summary: hash the password on the client to duplicate your db hash, then send and compa...
by tchen
14 Jan 2011, 10:36
Forum: SFS2X Questions
Topic: Login problem - Salted Password Hashes in Database
Replies: 10
Views: 14779

The weakest link is the open network here, so sending clear-text passwords (or reversible ones for that matter) over the wire is worse than having to store it on the database. If you already have another authentication system running, there's always the possibility of piggybacking on it and issuing ...
by tchen
13 Jan 2011, 18:21
Forum: SFS2X Questions
Topic: HELP! Can't get the server to connect with other computers
Replies: 6
Views: 8912

Okay, for the sake of clarity, let's assume the following concrete example: Server hosting SFS2X Internal IP: 192.168.0.35 SFS2X Socket Addresses: 127.0.0.1 SFS2X Socket Addresses: 192.168.0.35 config.xml: 24.56.133.10 My Girlfriend's computer Internal IP: 192.168.0.136 My Router External IP: 24.56....
by tchen
13 Jan 2011, 18:08
Forum: SFS2X Questions
Topic: Dedicated Server Hosting
Replies: 9
Views: 12886

cd to the directory that sfs2x.sh is located first before running the script.
by tchen
13 Jan 2011, 13:55
Forum: SFS2X Questions
Topic: How many players can SFS2X handle?
Replies: 5
Views: 9170

'Threshold check' would probably have been a better choice of words. Last submitted position and rotation are recorded on the client and are extrapolated and compared to the current values. A threshold is used to determine whether we should submit it to the server. On the server-side, we have a visi...
by tchen
13 Jan 2011, 12:55
Forum: SFS2X Questions
Topic: JavaDoc in Netbeans?
Replies: 3
Views: 6187

I want to second this request for a javadoc jar.
by tchen
13 Jan 2011, 12:47
Forum: SFS2X Questions
Topic: How many players can SFS2X handle?
Replies: 5
Views: 9170

Like all things dealing with SFS2X performance: It varies. The best thing to do is to build a representative level (network wise) and see what your average KBps per user is and how it scales as you add other players it needs to interact with. Your first limiter will likely be bandwidth capacity. For...
by tchen
13 Jan 2011, 12:29
Forum: SFS2X Questions
Topic: HELP! Can't get the server to connect with other computers
Replies: 6
Views: 8912

http://docs2x.smartfoxserver.com/GettingStarted/installation Make sure you follow the instructions for Post-Installation. Also, at the bottom, you'll notice it mentions that the examples are all configured to use 127.0.0.1 Edit the config.xml files to use the correct ip and then browse to the server...
by tchen
11 Jan 2011, 14:41
Forum: SFS2X Questions
Topic: Cannot connect to RemoteAdmin from remote laptop.
Replies: 1
Views: 3856

First, I recommend using ssh tunnels to log into the admin control panel and make changes there. Obviously, the troubleshooting section isn't going to cover bypassing the admin tool. If you're determined to make the changes manually, then with regards to the points 1) Don't change your port just yet...
by tchen
10 Jan 2011, 13:31
Forum: SFS2X Questions
Topic: Dedicated Server Hosting
Replies: 9
Views: 12886

wow their vps service lokks great!!! Are there any problems with this host? You get what you pay for. http://www.web-hosting-top.com/web-hosting/web-hosting-top.burst.net-reviews I have to ask, since you don't seem to be doing this as a commercial endeavor, have you considered just using DynDNS and...
by tchen
09 Jan 2011, 21:56
Forum: SFS2X Questions
Topic: SFS2X Console
Replies: 4
Views: 6610

Lapo wrote:The "standalone" mode is the one that shows the logs in the console.


Wanna throw that one in the docs for linux? It only covers the service script right now.

Cheers,
Ted
by tchen
08 Jan 2011, 23:05
Forum: SFS2X Questions
Topic: NPCs
Replies: 26
Views: 37561

Hi, I will talk with my colleagues and discuss this issue. It's actually not entirely clear to me if the NPC affect the license limits or not. Will give you an update as soon as it is sorted out. Just for giggles, I had tried creating 100+ NPCs on the community edition and got locked out of logging...
by tchen
08 Jan 2011, 23:03
Forum: SFS2X Questions
Topic: SFS2X Console
Replies: 4
Views: 6610

run the sfs2x.sh

Go to advanced search