Search found 20 matches
- 04 Jun 2011, 22:30
- Forum: SFS2X Questions
- Topic: smartfox stops accepting connections/requests
- Replies: 15
- Views: 50494
- 04 Jun 2011, 15:39
- Forum: SFS2X Questions
- Topic: smartfox stops accepting connections/requests
- Replies: 15
- Views: 50494
smartfox stops accepting connections/requests
Hey guys, I got a bit of trouble here. I have setup my smartfox on a CentOS machine and try to access it using unity webplayer / editor which works fine. However after a few hours of beeing idle or ~20 logins in a row, smartfox stops accepting any requests and the login will fail. After restarting t...
- 31 May 2011, 12:46
- Forum: SFS2X C# API
- Topic: SFSObject array
- Replies: 2
- Views: 6137
- 30 May 2011, 11:33
- Forum: SFS2X C# API
- Topic: SFSObject array
- Replies: 2
- Views: 6137
SFSObject array
hey guys, I would like to know if it is possible to create an SFSObject array on the unity client, like this: public SFSObject[] areas; I am trying to store different SFSObjects on the client for a later use - from the server I get: ISFSArray arr = dt.GetSFSArray("objects"); for ...
- 23 May 2011, 10:28
- Forum: SFS2X Questions
- Topic: get id after insert
- Replies: 3
- Views: 6959
- 20 May 2011, 17:05
- Forum: SFS2X Questions
- Topic: get id after insert
- Replies: 3
- Views: 6959
get id after insert
Hey guys, I am inserting something into a database table which works fine: stmt = con.prepareStatement("INSERT INTO `planet` (`user_id`, `main`, `size`, `type`, `seed`) VALUES (?, ?, ?, ?, ?);"); stmt.setInt(1, dbId); stmt.setInt(2, 1); stmt.setInt...
- 28 Apr 2011, 21:14
- Forum: SFS2X Questions
- Topic: sessions
- Replies: 5
- Views: 8643
- 28 Apr 2011, 09:37
- Forum: SFS2X Questions
- Topic: sessions
- Replies: 5
- Views: 8643
- 27 Apr 2011, 20:14
- Forum: SFS2X Questions
- Topic: sessions
- Replies: 5
- Views: 8643
sessions
Hey guys, i am wondering a bit about session objects and how they're handled on the server side. I run into trouble when i try to store the database id of the user to the session and read it later on, maybe someone has an idea whats wrong? I set the id using: // Store the client dbId in the session ...
- 21 Apr 2011, 23:25
- Forum: SFS2X C# API
- Topic: kick user - client code
- Replies: 7
- Views: 13147
- 21 Apr 2011, 05:28
- Forum: SFS2X C# API
- Topic: kick user - client code
- Replies: 7
- Views: 13147
how could the login error handler help me in that case? what i am trying to archive: 1. user foo logs in to the game and is in the lobby 2. user foo opens a new browser tab and login again with the same account 3. kickuser will be fired by my loginextension 4. display the message that someone has lo...
- 21 Apr 2011, 02:31
- Forum: SFS2X C# API
- Topic: kick user - client code
- Replies: 7
- Views: 13147
that is already working, the user will get kicked if someone else is logging in with the same account. I just don't know how can send the info to the client to provide the message why he has been kicked. In the admintool for example there is a message to user field, but how do i catch it on the clie...
- 20 Apr 2011, 22:44
- Forum: SFS2X C# API
- Topic: kick user - client code
- Replies: 7
- Views: 13147
- 18 Apr 2011, 19:14
- Forum: SFS2X C# API
- Topic: How to check if SFS can be reached
- Replies: 2
- Views: 5715
- 18 Apr 2011, 18:30
- Forum: SFS2X C# API
- Topic: kick user - client code
- Replies: 7
- Views: 13147
kick user - client code
Hey guys, on my sfsx2 server i have this code getApi().kickUser(u, null,"Someone else has logged into your account",1); running to kick a user - which works totally fine and the user is removed when desired. What i am wondering about is how to catch the message "Someon...