Search found 21 matches

by qazokmijn01
22 May 2020, 10:09
Forum: SFS2X Questions
Topic: How can i get admin user in admin tool ?
Replies: 1
Views: 3703

How can i get admin user in admin tool ?

How can i get admin user in admin tool ?
i want send response to custom admin module
by qazokmijn01
14 May 2020, 08:41
Forum: SFS2X Questions
Topic: Remove room will remove all session !
Replies: 29
Views: 41813

Re: Remove room will remove all session !

i think it dont have problem but i can working with Thread
The problem occurred with WebGL
I also removed the webgl from my project because it didn't work well for allocating memory on browsers.
by qazokmijn01
01 May 2020, 12:27
Forum: SFS2X Questions
Topic: Remove room will remove all session !
Replies: 29
Views: 41813

Re: Remove room will remove all session !

it is the same ScheduledFuture it will call function CheckProgress(); every 1000 milisecond with Thread.sleep(1000); and stop if i call function thread.stop(); public void CheckProgress() { System.out.println(count); count--; if(count<=0) { getApi().leaveRoom(getParentRoom().getUserList().get(0), ge...
by qazokmijn01
30 Apr 2020, 18:48
Forum: SFS2X Questions
Topic: Remove room will remove all session !
Replies: 29
Views: 41813

Re: Remove room will remove all session !

Lapo wrote:
qazokmijn01 wrote:What's the point of this code? :shock:
Thanks


sorry point of what ? I dont understand.
by qazokmijn01
30 Apr 2020, 18:34
Forum: SFS2X Questions
Topic: Remove room will remove all session !
Replies: 29
Views: 41813

Re: Remove room will remove all session !

I have a new questsion : OnConnectionLost on WEBGL can't call when i close server sfs2x ? What you are saying is that if you close the server, the client does not trigger the disconnection event? Thanks yes but it not work in editor unity flatform WEBGL when i runing in web browser it work Thanks
by qazokmijn01
30 Apr 2020, 17:30
Forum: SFS2X Questions
Topic: Remove room will remove all session !
Replies: 29
Views: 41813

Re: Remove room will remove all session !

The error occurred when i call leaveRoom in ScheduledFuture SmartFoxServer.getInstance().getTaskScheduler().scheduleAtFixedRate(new TestRunner(), 0, 1, TimeUnit.SECONDS); public void CheckProgress() { System.out.println(count); count--; if(count<=0) { getApi().leaveRoom(getParentRoom().getUserList()...
by qazokmijn01
30 Apr 2020, 14:17
Forum: SFS2X Questions
Topic: Remove room will remove all session !
Replies: 29
Views: 41813

Re: Remove room will remove all session !

yes it is alway
i'm use window 10
by qazokmijn01
30 Apr 2020, 10:53
Forum: SFS2X Questions
Topic: Remove room will remove all session !
Replies: 29
Views: 41813

Re: Remove room will remove all session !

can you export your script client side & server side for me ?
I will try it and try to check the cause of that situation
by qazokmijn01
29 Apr 2020, 17:52
Forum: SFS2X Questions
Topic: Remove room will remove all session !
Replies: 29
Views: 41813

Re: Remove room will remove all session !

you can try with my script Create a handler public class TestRoomHandler extends BaseClientRequestHandler{ @Override public void handleClientRequest(User u, ISFSObject dt) { CreateRoomSettings roomSetting = new CreateRoomSettings(); roomSetting.setName("TestRoom"); roomSetting.setMaxUsers(...
by qazokmijn01
29 Apr 2020, 16:42
Forum: SFS2X Questions
Topic: Remove room will remove all session !
Replies: 29
Views: 41813

Re: Remove room will remove all session !

you has remove inside Runable ?
by qazokmijn01
29 Apr 2020, 13:44
Forum: SFS2X Questions
Topic: Remove room will remove all session !
Replies: 29
Views: 41813

Re: Remove room will remove all session !

It's two ways both of them have the same error
by qazokmijn01
29 Apr 2020, 11:39
Forum: SFS2X Questions
Topic: Remove room will remove all session !
Replies: 29
Views: 41813

Re: Remove room will remove all session !

oh sorry I has join all user to other room before remove room in Runable List<User> users =ext.getParentRoom().getPlayersList(); for (User u : users) { try { //MainExtension.Instance().getApi().leaveRoom(u, u.getLastJoinedRoom()); MainExtension.Instance().getApi().joinRoom(u,MainExtension.Instance()...
by qazokmijn01
29 Apr 2020, 08:42
Forum: SFS2X Questions
Topic: Remove room will remove all session !
Replies: 29
Views: 41813

Re: Remove room will remove all session !

My setting create room then join player in to room if you set auto remove WHEN_EMPTY just join other room error will occurs but you disconnect it will remove room and working normal not have error or error will occurs if you keep player in room and remove with ext.getApi().removeRoom(ext.getParentRo...

Go to advanced search