Search found 86 matches

by creat326
20 Feb 2011, 18:31
Forum: SFS2X Questions
Topic: exceptions on extensions
Replies: 6
Views: 2621

solved it and since i googled it and i found people with the same problem here that did all kind of crazy stuff to fix it... here is the solution: if you create the room for the server you need to set the extension to the zone extension CreateRoomSettings crs = new CreateRoomSettings(); crs.setName(...
by creat326
20 Feb 2011, 17:40
Forum: SFS2X Questions
Topic: custom login revisited
Replies: 13
Views: 4935

Ok by points... 1) I saw the documentation but there is no example except for the "you can send custom data!" ok... how? On the client side... no example. On the server side... I see a LOGIN_OUT_DATA that would send out custom data, but that it's send after a positive login. Meaning, it's ...
by creat326
20 Feb 2011, 17:31
Forum: SFS2X Questions
Topic: exceptions on extensions
Replies: 6
Views: 2621

exceptions on extensions

Hi Using Unity3D... I managed to create the custom login and everything and now i'm going for calling some methods on the server. But I get this exception: 20 Feb 2011 14:27:13,211 INFO [com.smartfoxserver.v2.controllers.ExtensionController-1] v2.api.SFSApi - Room created: [ Room: AutoRoom_2, Id: 5,...
by creat326
20 Feb 2011, 13:45
Forum: SFS2X Questions
Topic: custom login revisited
Replies: 13
Views: 4935

custom login revisited

Hi I have 2 problems that I have no clue how to solve on the new format for custom login: 1) My clients need to send additional information when logging in and the server should act upon it. So my client will send the game version for instance, and the server will check that version and reply with a...
by creat326
19 Feb 2011, 23:04
Forum: SFS2X Questions
Topic: bug in floats and long, they don't get enough love
Replies: 1
Views: 1142

bug in floats and long, they don't get enough love

Hi All transforms, vector3, etc positions on Unity are float, not double. So my surprise is that UserVariable and RoomVariable have a getDoubleValue and setDoubleValue but they don't have the corresponding setFloatValue and getFloatValue neither the setLongValue or getLongValue any reason for it?
by creat326
15 Sep 2010, 07:23
Forum: .Net / Unity3D API
Topic: any way to not lock while sending?
Replies: 1
Views: 1812

any way to not lock while sending?

Hi I'm having an issue with the unity package that i'm using in an iphone game. When I send a message to the server, the thread will lock until is done sending. Since iphone is not multitasking, it will lock the whole game for that period of time. Is there a way to send information out without locki...
by creat326
10 Sep 2010, 10:21
Forum: .Net / Unity3D API
Topic: slowlessness
Replies: 0
Views: 1620

slowlessness

Hi there Maybe some expert can help me with this. I'm using unity+iphone and I have a sendmessage into a FixedUpdate method. The method sends the player location to the server. The problem is when the connection goes slow, it doesn't get out of the method until is done sending... so suddently my pla...
by creat326
10 Sep 2010, 10:06
Forum: .Net / Unity3D API
Topic: about 2x?
Replies: 3
Views: 2583

who do we have to poke to get into beta testing? I'm doing unity+iphone+smarfoxserver and right now the latency is not good

http://snipr.com/dogfight to check it, there is a free light version
by creat326
21 Jun 2010, 13:32
Forum: Server Side Extension Development
Topic: Room asignment
Replies: 1
Views: 1281

Room asignment

Hi everyone, New to sfs and writing an extension. I want to achieve the following: A player hits "play" on the game and the server gets the requests. 1) it looks at its current rooms and see if any has less than 8 players. a) if one has less than 8 players, puts him into one of them and be...
by creat326
21 Jun 2010, 05:59
Forum: .Net / Unity3D API
Topic: room asignment
Replies: 1
Views: 1757

room asignment

Hi everyone, New to sfs and writing an extension. I want to achieve the following: A player hits "play" on the game and the server gets the requests. 1) it looks at its current rooms and see if any has less than 8 players. a) if one has less than 8 players, puts him into one of them and be...
by creat326
13 Jun 2010, 09:58
Forum: Server Side Extension Development
Topic: any way to register new users without using web?
Replies: 1
Views: 1530

any way to register new users without using web?

Hi there! I'm doing a game where I have the simple option of registering new users with their desired passwords. My first intention was to do this: connect to smartfox, sendXtmessage with the "register" command, handle it on the server... return ok and log the person in. Now, the problem i...

Go to advanced search