Search found 86 matches

by creat326
02 Mar 2011, 23:04
Forum: SFS2X Questions
Topic: users not getting disconnected
Replies: 4
Views: 1787

users not getting disconnected

Hi I've had running the server for a couple hours. A user wrote to me saying that he couldn't log in because the server complained he was already playing. So I went in game... we were 2 people. I went to the zone monitor, there are 8 people connected. None are real, I mean, these additional users ar...
by creat326
24 Feb 2011, 09:06
Forum: SFS2X C# API
Topic: android device not connecting and not notified
Replies: 9
Views: 4093

Yeah, from my experience sales on android are about 1/10 to 2/10 of the iOS People don't seem to be used to hitting the market place icon, while on ios they are more used to purchasing from the itunes icon. That's my unofficial non-study-conclusive guess. It makes some money though, it pays for the ...
by creat326
24 Feb 2011, 08:55
Forum: SFS2X C# API
Topic: android device not connecting and not notified
Replies: 9
Views: 4093

I already managed to make it work for android. Already running on my game on market place, search for game Dogfight No change on code. The problem seems to be with the UDP or custom login behavior. I never get an error from udp or the login phase. I believe it happens when UDP port is taken (a previ...
by creat326
22 Feb 2011, 14:40
Forum: SFS2X Questions
Topic: exceptions on extensions
Replies: 6
Views: 2621

i tried with null and that didn't work. It seems that only the code I posted did the trick.
by creat326
22 Feb 2011, 14:01
Forum: SFS2X C# API
Topic: android device not connecting and not notified
Replies: 9
Views: 4093

what about iphone? is that supported?

btw, ive been using smartfoxserver 1.x with android for months :/
by creat326
22 Feb 2011, 11:19
Forum: SFS2X C# API
Topic: android device not connecting and not notified
Replies: 9
Views: 4093

android device not connecting and not notified

Hi I have a tcp+udp setup that seems to work perfectly fine on my pc. When I compile and run on my android device (nexus one), I begin the login process and the device stays there forever... "login in". No timeout, nothing. I went into the server and checked the logs: 22 Feb 2011 08:12:58,...
by creat326
22 Feb 2011, 10:01
Forum: SFS2X C# API
Topic: bug on reconnection
Replies: 3
Views: 2683

Hi It's tcp+udp and I see nothing outside the ordinary on the client side. I made a short video to show the problem. So here it's the steps: http://www.youtube.com/watch?v=njZpu06NWS0 1) Connect game. 2) Shut down server. 3) Wait for the game to try the reconnection process. It will fail obviously. ...
by creat326
21 Feb 2011, 23:45
Forum: SFS2X C# API
Topic: bug on reconnection
Replies: 3
Views: 2683

bug on reconnection

Hi I enabled the new automatic reconnection feature on the server to try to reconnect after 4 seconds. I found a bug though. I went into the server and shut it down. I got the messages on the client indicating the connection was lost and it was retrying to reconnect... after a while, it times out an...
by creat326
21 Feb 2011, 21:59
Forum: SFS2X Questions
Topic: custom login revisited
Replies: 13
Views: 4935

Ok I give an example of what I mean. On the server I have this code: SFSErrorData errData = new SFSErrorData(SFSErrorCode.LOGIN_BAD_ZONENAME); // we'll use this of all kind of errors errData.addParameter("UP"); // Fire a Login exception throw new SFSLoginException("UP", errData);...
by creat326
21 Feb 2011, 18:25
Forum: SFS2X C# API
Topic: bug on user variable updates
Replies: 5
Views: 3568

place it on the docs please :)
that's a big thing.

Actually, do you want that behaviour? if the variables are set to hidden that should be enough right?

--
Joaquin Grech
by creat326
21 Feb 2011, 15:44
Forum: SFS2X Questions
Topic: custom login revisited
Replies: 13
Views: 4935

Lapo, for 1) the problem I'm having is with the client side. On the website this is all I can find: public function onLoginError(evt:SFSEvent):void { trace("Login failed: " + evt.params.errorMessage); } But I need to know, of the different type of login errors that the server can throw out...
by creat326
21 Feb 2011, 15:40
Forum: SFS2X Questions
Topic: long exception
Replies: 2
Views: 1445

I fixed it. I had to go one request at a time to notice it. It's was a mistake on my part but I'm not sure how you guys can detect this problem, otherwise it will fill the log file with megas of junk. I did something like this by mistake: SFSObject first=new SFSObject(); first.putInt(number); SFSObj...
by creat326
21 Feb 2011, 15:33
Forum: SFS2X C# API
Topic: bug on user variable updates
Replies: 5
Views: 3568

btw, what's the difference between using getApi().setUserVariable and user.setVariable ?
by creat326
20 Feb 2011, 21:21
Forum: SFS2X Questions
Topic: long exception
Replies: 2
Views: 1445

long exception

hi Any way to pinpoint what was the server receiving when it got a exception? I begin getting this long exception all of the sudden and I don't know what it means or when it happens: 20 Feb 2011 18:21:41,561 WARN [com.smartfoxserver.v2.controllers.ExtensionController-1] v2.controllers.ExtensionContr...
by creat326
20 Feb 2011, 18:55
Forum: SFS2X C# API
Topic: bug on user variable updates
Replies: 5
Views: 3568

bug on user variable updates

Hi I have these lines on server side: List<UserVariable> vars = new LinkedList<UserVariable>(); vars.add(new SFSUserVariable("posx", receivedTransform.x, true)); getApi().setUserVariables(u, vars); In theory, since the variable is hidden (true), the client should get nothing. It's true, th...

Go to advanced search