Search found 88 matches

by ekrem5353
30 Sep 2016, 12:00
Forum: SFS2X Questions
Topic: Character problem
Replies: 2
Views: 615

Character problem

Hi, I am having character problem.Turkish characters üğişçö in mysql becomes question mark and when writing to log it becomes more weird. I am having this problem with my own computer. But there was no problem at the production server so I didnt care then. We moved smartfox to a more powerful server...
by ekrem5353
28 Sep 2016, 08:43
Forum: SFS2X Questions
Topic: Restarting smartfox
Replies: 2
Views: 704

Re: Restarting smartfox

Thanks

I found the problem in the smartfox.log. someone accidentally deleted http folder in the logs folder while deleting logs.
by ekrem5353
28 Sep 2016, 07:36
Forum: SFS2X Questions
Topic: Restarting smartfox
Replies: 2
Views: 704

Restarting smartfox

Hi, I have made new extension closed down smartfox with ./sfs2x-service stop and restarted it with ./sfs2x-service start but it didn't start. I restarted the server and again I tried to start smartfox by command ./sfs2x-service start but it didnt start. When I type ./sfs2x-service stop it says Shutt...
by ekrem5353
15 Jun 2016, 06:19
Forum: SFS2X Questions
Topic: Ghost User
Replies: 3
Views: 929

Re: Ghost User

Hi This is error in the logs. VERSION = "1.0.0" # # Removes a stuck user and the related Room # ZONE_NAME = "CanakOkey" ROOM_NAME = "SUZ16" def init(): trace("RoomUnlock Started: ", VERSION) theZone = _sfs.getZoneManager().getZoneByName(ZONE_NAME) if theZone !...
by ekrem5353
03 Jun 2016, 18:41
Forum: SFS2X Questions
Topic: Heap Problem
Replies: 9
Views: 2040

Re: Heap Problem

Somthing comes to my mind I wonder if this code might cause a thread problem robotTaskScheduler= sfs.getTaskScheduler().schedule(robot, 0, TimeUnit.SECONDS); And robot has run method @Override public void run() { while(isActive) { Player nextPlayer = table.getPlayerByIndex(table.getNextPlayer()); tr...
by ekrem5353
01 Jun 2016, 11:19
Forum: SFS2X Questions
Topic: Writing unity examples with new Smartfox client api
Replies: 1
Views: 824

Writing unity examples with new Smartfox client api

Hi, I am writing unity app. I put SFS2X_API_CSharp_v1.6.4 files in libraries folders /Unity , /Unity_WebGL, Windows_Universal bool success = (bool)evt.Params["success"]; there is red swiggly line under Params. Error says The type 'IDictionary' is defined in ana assembly that is not referen...
by ekrem5353
01 Jun 2016, 08:19
Forum: SFS2X Questions
Topic: Heap Problem
Replies: 9
Views: 2040

Re: Heap Problem

Thanks,

I will do that but it happens once in a week sometimes more than a week.. it happens usually at midnight I ll do that next day if it doesnt matter when to take thread dump.
by ekrem5353
01 Jun 2016, 07:27
Forum: SFS2X Questions
Topic: Heap Problem
Replies: 9
Views: 2040

Re: Heap Problem

Heap dump says something like this 313 instances of "com.smartfoxserver.v2.entities.SFSUser", loaded by "sun.misc.Launcher$AppClassLoader @ 0x80000048" occupy 4.959.728 (19,64%) bytes. These instances are referenced from one instance of "java.util.concurrent.ConcurrentHashMa...
by ekrem5353
31 May 2016, 14:52
Forum: SFS2X Questions
Topic: Extension Execution order problem
Replies: 3
Views: 811

Re: Extension Execution order problem

Hi , It is like card game. its played with four people. Player has cards he makes them pairs like yellow 5 , yellow 6 , yellow 7 or yellow 7 , blu7, red 7, if these add up to 101 he opens them on the table then he can throw one card that he doesnt need. or he can insert one to other players pairs if...
by ekrem5353
31 May 2016, 14:14
Forum: SFS2X Questions
Topic: Heap Problem
Replies: 9
Views: 2040

Re: Heap Problem

Hi, When I started smartfox server, used heap goes to 750 mb and drops to 45 mb I watch with jvisualvm goes up and down . one day later it goes to 1000 mb and drops to 250 mb like. one week later Size and Max becomes equal . now it flactuates between 2000mb and 1500 mb. in a weekly period users disc...
by ekrem5353
31 May 2016, 12:39
Forum: SFS2X Questions
Topic: Ghost User
Replies: 3
Views: 929

Ghost User

Hi, I have ghost user problem. User seems from client side and from smartfox's control panel. Room stucks and From control panel I can see the room and user but when I select it and clicked monitor selection it says something like user is not available. I use this code to delete it fileName : RoomRe...
by ekrem5353
31 May 2016, 12:31
Forum: SFS2X Questions
Topic: Heap Problem
Replies: 9
Views: 2040

Heap Problem

Hi This is not directly SmartFox related problem but When garbage collector starts working it works more than 30 seconds which is big, huge, enormous problem. Now I hate garbage collector what can i do. I tried lots of vm options . Code can be optimized but even when one or two seconds stops. it is ...
by ekrem5353
31 May 2016, 12:24
Forum: SFS2X Questions
Topic: Extension Execution order problem
Replies: 3
Views: 811

Extension Execution order problem

Hi I have a problem with ClientRequestHandler 's execution order. I have card game, player shoul make a move1 and move2 but move2 depends on move one. move1 should be executed first. When two moves too close to each other client sends first request then second request but at server side. second move...
by ekrem5353
31 Mar 2016, 15:37
Forum: SFS2X Questions
Topic: SmartFox Task Scheduler
Replies: 1
Views: 596

SmartFox Task Scheduler

Hi, I am trying to use Task scheduler inside of zone extension. MessageManager class has a run method. it goes to db gets new messages and updates todays messages at Zone Extensions instance variable which keeps messages. I use task scheduler at game room extensions without any problem so far but(I ...
by ekrem5353
17 Feb 2016, 16:11
Forum: SFS2X Questions
Topic: Logging to different files and folders
Replies: 1
Views: 709

Logging to different files and folders

Hi,

Can we configure smartfox to have it write every extension's logs to a different folders and files? We have a lot of table we want every table to write different places.

Thanks.

Go to advanced search