Search found 128 matches

by Ardito
21 Apr 2022, 15:57
Forum: SFS2X Questions
Topic: Disconnection [SFS - ERROR] [TCPSocketLayer]
Replies: 15
Views: 7595

Re: Disconnection [SFS - ERROR] [TCPSocketLayer]

Yes the code is very redundant, it is quite old code, I will try to improve it ..

Greetings
by Ardito
19 Apr 2022, 13:08
Forum: SFS2X Questions
Topic: Disconnection [SFS - ERROR] [TCPSocketLayer]
Replies: 15
Views: 7595

Re: Disconnection [SFS - ERROR] [TCPSocketLayer]

Yes, he sends it, I receive it My test: Code: private static void OnVersionConnection(BaseEvent evt) { if ((bool)evt.Params["success"]) { Debug.Log("OnVersionConnection " + evt.Params["success"]); if (useEncryption) sfsConnection.InitCrypto(); else DoLogin(); } else { R...
by Ardito
19 Apr 2022, 02:06
Forum: SFS2X Questions
Topic: Disconnection [SFS - ERROR] [TCPSocketLayer]
Replies: 15
Views: 7595

Re: Disconnection [SFS - ERROR] [TCPSocketLayer]

This is quite complex, but I'll try. I have a static class called "Networking", inside I have various classes for all requests. When opening the app I do the version check as #Guest_N to # Extension_1, and after the response from the server I disconnect it. The user finds himself in a scre...
by Ardito
19 Apr 2022, 01:25
Forum: SFS2X Questions
Topic: Exception: java.lang.IllegalArgumentException
Replies: 2
Views: 1890

Re: Exception: java.lang.IllegalArgumentException

Hi Lapo,
so it's always the same story.

In any case, thanks for the reply,
Greetings
by Ardito
16 Apr 2022, 13:17
Forum: SFS2X Questions
Topic: Disconnection [SFS - ERROR] [TCPSocketLayer]
Replies: 15
Views: 7595

Re: Disconnection [SFS - ERROR] [TCPSocketLayer]

The problem persists
by Ardito
15 Apr 2022, 11:46
Forum: SFS2X Questions
Topic: Exception: java.lang.IllegalArgumentException
Replies: 2
Views: 1890

Exception: java.lang.IllegalArgumentException

Hi, I occasionally get this error, how can I see the details of the requests? 14 apr 2022 | 06:58:06,234 | INFO | SocketReader | bitswarm.sessions.DefaultSessionManager | | Session created: { Id: 34, Type: DEFAULT, Logged: No, IP: 62.233.50.179:61484 } on Server port: 9933 <---> 61484 14 apr 2022 | ...
by Ardito
13 Apr 2022, 13:44
Forum: SFS2X Questions
Topic: Disconnection [SFS - ERROR] [TCPSocketLayer]
Replies: 15
Views: 7595

Re: Disconnection [SFS - ERROR] [TCPSocketLayer]

When I try to call "Destroy(sfsConnection);" I on Visual Studio get an error: Code example: public static SmartFox sfsConnection; public static void Disconnect() { if (sfsConnection != null && sfsConnection.IsConnected) sfsConnection.Disconnect(); Destroy(Networking.sfsConnection);...
by Ardito
13 Apr 2022, 12:00
Forum: SFS2X Questions
Topic: Error parsing HTTP request header
Replies: 7
Views: 3608

Re: Error parsing HTTP request header

I figured out how to play "Session Reconnection failure", if user is online with device (A), and puts the game in the background without logging out, or accesses from another device (B), successfully enters from device (B), but the device (A) is kicked by the server, but the client tries t...
by Ardito
09 Apr 2022, 14:28
Forum: SFS2X Questions
Topic: Error parsing HTTP request header
Replies: 7
Views: 3608

Re: Error parsing HTTP request header

The first error keeps recurring, what can I do to stop it? Should you make the settings in this guide?
https://yf9968.com/language/java/164/

Thanks Lapo for your support
by Ardito
08 Apr 2022, 20:11
Forum: SFS2X Questions
Topic: Disconnection [SFS - ERROR] [TCPSocketLayer]
Replies: 15
Views: 7595

Disconnection [SFS - ERROR] [TCPSocketLayer]

Hi, When the user is disconnected from the server for any reason (Inactivity or Logout), and then decides to log in again, at the first request that the client makes to the server I get this error: [SFS - ERROR] [TCPSocketLayer] General error reading data from socket: Unable to read data from the tr...
by Ardito
06 Apr 2022, 10:01
Forum: SFS2X Questions
Topic: Error parsing HTTP request header
Replies: 7
Views: 3608

Re: Error parsing HTTP request header

What can the first mistake depend on? All my requests should be valid.

In the second error the user told me that he had the reconnect symbol, but the current game kept running.
by Ardito
05 Apr 2022, 22:11
Forum: SFS2X Questions
Topic: Error parsing HTTP request header
Replies: 7
Views: 3608

Error parsing HTTP request header

I found this error on the server, what can it depend on? 23:14:52,492 INFO [SFSWorker:Ext:3] api.SFSApi - Room joined: [ Room: 5, Id: 33, Group: clan, isGame: false ], { Zone: Login }, ( User Name: 112, Id: 37, Priv: 0, Sess: 93.45.174.66:49282 ) , asSpect: false 23:14:52,494 INFO [SFSWorker:Ext:3] ...
by Ardito
05 Apr 2022, 21:59
Forum: SFS2X Questions
Topic: Questions regarding Multithreading
Replies: 2
Views: 1923

Re: Questions regarding Multithreading

Thanks, you have clarified all my doubts !!
by Ardito
05 Apr 2022, 11:15
Forum: SFS2X Questions
Topic: Questions regarding Multithreading
Replies: 2
Views: 1923

Questions regarding Multithreading

Hi, I have some questions regarding Multithreading: I have some code like this: public class ScriptHandler extends BaseClientRequestHandler { @Override public void handleClientRequest(User user, ISFSObject params) { String test = params.getUtfString("test"); ... ... (Many, many, many instr...
by Ardito
16 Mar 2022, 17:02
Forum: SFS2X Questions
Topic: Session Reconnection failure
Replies: 5
Views: 3044

Re: Session Reconnection failure

No, I can't replicate it

Go to advanced search