Search found 37 matches

by hng
22 Mar 2024, 07:22
Forum: SFS2X Java / Android API
Topic: Thread keep increasing and Sudden Jump in heap memory
Replies: 5
Views: 231

Re: Thread keep increasing and Sudden Jump in heap memory

ok just found the culprit, got some bugs not shutdown the executor after finish the task :)
by hng
21 Mar 2024, 12:14
Forum: SFS2X Java / Android API
Topic: Thread keep increasing and Sudden Jump in heap memory
Replies: 5
Views: 231

Re: Thread keep increasing and Sudden Jump in heap memory

Thank you for your reply Lapo

is there any possible reason

Code: Select all

sfs.RemoveAllListener
failed?

In a very rare event I got error sfs not found when trying to remove the listener.
by hng
21 Mar 2024, 11:40
Forum: SFS2X Questions
Topic: Same machine spec but got different initial max mem heap usage
Replies: 3
Views: 87

Re: Same machine spec but got different initial max mem heap usage

Thank you for the fast response Lapo. Both are using the same extension JAR, I will study the link you share thanks again.





Best regards
Hng
by hng
21 Mar 2024, 09:22
Forum: SFS2X Questions
Topic: Same machine spec but got different initial max mem heap usage
Replies: 3
Views: 87

Same machine spec but got different initial max mem heap usage

Dear Lapo, I have another issue, we have 2 machine with same spec OS Win 64Bit 2.5GHz 4Core 16GB, same application, same version sfs, both no user activity only startup and both start the app using batch file : @..\jre\bin\java.exe -cp "./;lib/*;lib/apache-tomcat/bin/*;extensions/__lib__/*;exte...
by hng
21 Mar 2024, 02:43
Forum: SFS2X Java / Android API
Topic: Thread keep increasing and Sudden Jump in heap memory
Replies: 5
Views: 231

Thread keep increasing and Sudden Jump in heap memory

Dear Lapo, I am building an NPC application based on https://smartfoxserver.com/blog/ways-of-working-with-npcs-in-a-multiplayer-game-p-2/ But i got an issue the thread keep increasing and sudden jump in heap memory.. Total have around 10-30 NPC active all the time, I had remove all new thread/listen...
by hng
11 Oct 2022, 01:48
Forum: SFS2X Questions
Topic: Unexplained disconnect
Replies: 9
Views: 3378

Re: Unexplained disconnect

ok found the culprit, in room_exit events have sfs.disconnect, so if any player exit the room all bot command got disconnect

thanks Lapo
by hng
10 Oct 2022, 09:59
Forum: SFS2X Questions
Topic: Unexplained disconnect
Replies: 9
Views: 3378

Re: Unexplained disconnect

"There is only one way to get a disconnection reason==MANUAL, and that is if your client actually initiates the disconnection."
thank you Lapo for you clarification narrowing the possible bugs. We will check the code in bot client side.
by hng
10 Oct 2022, 06:10
Forum: SFS2X Questions
Topic: Unexplained disconnect
Replies: 9
Views: 3378

Re: Unexplained disconnect

we found another disconnect issue, in 1 room have 3 bot player and 1 real player. if the real player leave room or F5 (refresh browser), all others 3 bot player got session remove and disconnect, the reason in bot client is MANUAL we try if all 4 real player using browser client this issue do not oc...
by hng
28 Sep 2022, 10:16
Forum: SFS2X Questions
Topic: Unexplained disconnect
Replies: 9
Views: 3378

Re: Unexplained disconnect

wireshark, ok we'll do that


thanks
by hng
28 Sep 2022, 02:51
Forum: SFS2X Questions
Topic: Unexplained disconnect
Replies: 9
Views: 3378

Re: Unexplained disconnect

Random disconnect after around 20 NPC become more often after 50 NPC but its not always In Clients - CONNECTION_LOST event we got UNKNOWN reason All NPC program in try-catch block so if whatever error did occur we should know Both the NPC Manager process and the Server process in the same machine+wi...
by hng
27 Sep 2022, 03:21
Forum: SFS2X Questions
Topic: Unexplained disconnect
Replies: 9
Views: 3378

Unexplained disconnect

Hi, I have an issue "Unexplained" disconnect , after client login & active play in the game, some instance/NPC still got random disconnect - not frequent but it happened occasionally. If I check the log both in client & server the reason is UNKNOW I'm implementing NPC using this li...
by hng
27 Sep 2022, 03:13
Forum: SFS2X Questions
Topic: Login failed - session is already expired
Replies: 2
Views: 2221

Re: Login failed - session is already expired

after client connect you must immediately login, you could check the time the client successfully connect and the time you get the session expire.
by hng
20 Sep 2022, 07:29
Forum: SFS2X Questions
Topic: how to setup logger in client
Replies: 5
Views: 2294

Re: how to setup logger in client

Thank you very much Lapo

Go to advanced search