Search found 86 matches

by creat326
12 Apr 2011, 20:29
Forum: SFS2X C# API
Topic: UDP and Disconnect
Replies: 14
Views: 6310

heh, great... i've spent a month trying to figure out what was causing my server to not accept more connections and today I find it and I see it was a known issue grrrr The problem is that doing this temporary fix would require to modify all my clients, which would take a couple weeks to propagate. ...
by creat326
12 Apr 2011, 20:20
Forum: SFS2X Questions
Topic: caugh the UDP failing bug
Replies: 4
Views: 1708

caugh the UDP failing bug

Hi This code on a LoginEventHandler: User userdouble = getApi().getUserByName(nick); if (userdouble != null) { trace("USER ALREADY EXISTING --> DISCONNECTING"); getApi().disconnectUser(userdouble); From that moment, all UDP connections on the client side will begin to fail. Meaning, the ca...
by creat326
04 Apr 2011, 09:31
Forum: SFS2X Questions
Topic: something messed up with custom params and passwords login
Replies: 14
Views: 5468

@ghrwood i think you missunderstood the problem. I already use checkSecurePassword to compare the encrypted password vs a clear password, which does what you are saying. The problem is that the line you posted, returns "false", and that's how this post came to life. Investigating as to why...
by creat326
03 Apr 2011, 20:19
Forum: SFS2X Questions
Topic: something messed up with custom params and passwords login
Replies: 14
Views: 5468

something messed up with custom params and passwords login

I have this simple code on the client: ISFSObject tr = new SFSObject(); tr.PutUtfString("version", SmartFoxManager.instance.Version); tr.PutUtfString("gamePlayer", SmartFoxManager.instance.gamePlayer); tr.PutUtfString("gameVersion", SmartFoxM...
by creat326
03 Apr 2011, 09:36
Forum: SFS2X Questions
Topic: better luck this time with disconnections
Replies: 3
Views: 1499

Ok it seems to begin happening on the server side when you throw a login exception. I went ahead and look at all the logs and check when it began happening. This is the cause: String registeredInDb="Name already registered, please pick a different one."; SFSErrorData errData = new SFSError...
by creat326
03 Apr 2011, 09:32
Forum: SFS2X Questions
Topic: better luck this time with disconnections
Replies: 3
Views: 1499

not related to that, i'm already using the latest version of the api. I also tried ignoring the error and continue like nothing... and it will just not let the UDP work. Basically, as the message says, UDP failed to initialize.
by creat326
03 Apr 2011, 02:08
Forum: SFS2X Questions
Topic: better luck this time with disconnections
Replies: 3
Views: 1499

better luck this time with disconnections

Hi I think I found the culpid of the random disconnections. On OnUdpInit I get this exception: UDP error: UnityEngine.Debug:Log(Object) SmartFoxManager:OnUdpInit(BaseEvent) (at Assets/Scripts/SmartFox.cs:503) Sfs2X.Core.EventDispatcher:DispatchEvent(BaseEvent) Sfs2X.SmartFox:ProcessEvents() NetworkA...
by creat326
30 Mar 2011, 23:59
Forum: SFS2X Questions
Topic: buggy 2.x connections, still
Replies: 5
Views: 2476

ok i got some more info. I was able to reproduce it again and this time instead of going to the server and rebooting, I went into logcat on the phone and printed out everything. This is what I could see (again, rebooting the server fixes it): I/Unity ( 5969): I/Unity ( 5969): UDP err...
by creat326
29 Mar 2011, 11:35
Forum: SFS2X Questions
Topic: buggy 2.x connections, still
Replies: 5
Views: 2476

Lapo, to what email should I send it? the regular support email? Also, about your comments: 1) Game is "dogfight lite" (free version) on itunes. 2) I always use the latest version before posting, to make sure I don't have an obsolete bug. It was happening on the previous RC and it's still ...
by creat326
28 Mar 2011, 21:18
Forum: SFS2X Questions
Topic: buggy 2.x connections, still
Replies: 5
Views: 2476

What I did notice is that when the server is working properly, this does not show up on the log file: 28 Mar 2011 16:25:05,006 INFO [SocketReader] Extensions - {dogfightEx}: Extension destroyed It does show up on every connection when the problem begins. So my extension is getting loaded and killed ...
by creat326
28 Mar 2011, 21:14
Forum: SFS2X Questions
Topic: buggy 2.x connections, still
Replies: 5
Views: 2476

buggy 2.x connections, still

Hi Ok, I really don't know what to do about this except going back to 1.x which gave me no connection problems. The latest update did not fix random disconnections. Please, if there is anything I can do, add some loggin parameters or whatever do let me know and I'll help get this bug fixed, otherwis...
by creat326
21 Mar 2011, 21:26
Forum: SFS2X Questions
Topic: reset password and send email
Replies: 1
Views: 1430

reset password and send email

Hi there I can't find a way to do this. I guess it has to do with cryptoutils but I haven't been able to figure it out. What I'm trying to do is let the user to reset his/her password and get it by email. Because people, sometimes forget their passwords. Since passwords are encrypted, I have no idea...
by creat326
19 Mar 2011, 19:51
Forum: SFS2X Questions
Topic: custom login parameters
Replies: 3
Views: 1796

custom login parameters

Hi I'm trying to send custom parameters into the server upon logging in, so I have this on the client: ISFSObject tr = new SFSObject(); tr.PutUtfString("version", SmartFoxManager.Version); smartFox.Send(new LoginRequest(SmartFoxManager.email, SmartFoxManager.password, SmartFoxManager.zone,...
by creat326
07 Mar 2011, 19:46
Forum: SFS2X Questions
Topic: users not getting disconnected
Replies: 4
Views: 1787

thanks bax, that would fix the 'user already connected' problem. but it still doesn't fix the lingering connections. Right now I have 2 players online and the server says I have 37 people. They all disconnected hours ago and the stats are not moving obviously (no data transfer). Time out is set to 9...
by creat326
03 Mar 2011, 21:24
Forum: SFS2X Questions
Topic: users not getting disconnected
Replies: 4
Views: 1787

no, it happens randomly even if the network was sucking... it would cause exactly want i expect: disconnections and they do get disconnected, go to bed, turn off the phone and wake up and the server still says: you cannot login because you are already connected so it doesn't time-out either. As I sa...

Go to advanced search