Search found 24 matches

by Gaurav
02 Nov 2010, 03:47
Forum: SmartFoxServer 1.x Discussions and Help
Topic: ShutDown error
Replies: 3
Views: 6869

I had already seen that and my issue is that I am not able to restart my server using admin panel. Please let me know how to solve that. When I click on server restart button the server stops but never start. Please let me know about this...


Thanks,
Gaurav :D
by Gaurav
01 Nov 2010, 11:07
Forum: SmartFoxServer 1.x Discussions and Help
Topic: ShutDown error
Replies: 3
Views: 6869

ShutDown error


3:13:03.645 - [ INFO ] > -- Stopped!
03:13:03.651 - [ WARNING ] > Generic Exception in acceptNewConnections():java.nio.channels.ClosedSelectorException
03:13:03.653 - [ WARNING ] > Generic exception while shutting down: java.lang.NullPointerException
java.nio.channels.ClosedSelectorException
at ...
by Gaurav
13 Oct 2010, 03:26
Forum: SmartFoxServer 1.x Discussions and Help
Topic: sfs.joinRoom error
Replies: 2
Views: 5222

Hello BigFish,

Thanks a lot. It really helps me a lot and my problem is now solved.

Thnaks
Gaurav :D
by Gaurav
12 Oct 2010, 12:42
Forum: SmartFoxServer 1.x Discussions and Help
Topic: sfs.joinRoom error
Replies: 2
Views: 5222

sfs.joinRoom error

Hello all,

I am having a problem in the functionality of sfs.joinRoom. I am using Java client side api. I am doing as follows:

1) connect to server
2) login in one zone
3) join the room in zone
4) specific operations
5) leave room
5) logout
6) login into another zone
7) join room for another ...
by Gaurav
24 Aug 2010, 19:22
Forum: Server Side Extension Development
Topic: Server Out of Synch
Replies: 21
Views: 29973

Thanks Lapo. 8)
by Gaurav
24 Aug 2010, 14:20
Forum: Server Side Extension Development
Topic: Server Out of Synch
Replies: 21
Views: 29973

Hello Lapo


I am encountering this issue many time. I have already done the way alex is doing. But for this I have to start a thread which may consume server JVM memory. I just want a way that if any user unplug or his network connection breaks the server will be notified about by any of the ...
by Gaurav
23 Aug 2010, 11:32
Forum: SmartFoxServer 1.x Discussions and Help
Topic: client disconnections via SFS
Replies: 11
Views: 17769

Hello,


In the java we do it like mentioned below

Code: Select all

//here u is the object of the user

u.updateMessageTime();

To make the connection opened we send the message from client to server and server execute the above code and make the connection alive..
Hope it helps.. :roll:
by Gaurav
23 Aug 2010, 10:42
Forum: Server Side Extension Development
Topic: Server Out of Synch
Replies: 21
Views: 29973

Yes thats the same way I am handling the InternalEvent.


public void handleInternalEvent(InternalEventObject ieo) {
SmartFoxServer.log.log(Level.INFO, "Internal Event: "
+ ieo.getEventName()
+ " recieved in our UserManagementExtension.");
}


The Server I am using is 1.6.8 and I have tried ...
by Gaurav
23 Aug 2010, 06:47
Forum: Server Side Extension Development
Topic: Server Out of Synch
Replies: 21
Views: 29973

NO I am not getting any of the internal event. the server is not getting notified about the userLost. The server says that person is online. And it made the server goes out of synch.
I have made a trace for the InternalEvent. Whenever any internalevent fire it shows that. But in this no internal ...
by Gaurav
23 Aug 2010, 05:01
Forum: Server Side Extension Development
Topic: Server Out of Synch
Replies: 21
Views: 29973

Hi BigFish

This is happening with the logged users. While testing what we do is

While the game is in progress the and one of the user goes to network Connection and disable the network connection or he simply unplug the network cable or his internet connection breaks. In this case the server is ...
by Gaurav
19 Aug 2010, 20:56
Forum: Server Side Extension Development
Topic: Server Out of Synch
Replies: 21
Views: 29973

Hi BigFish

I am doing the same that is handling that in handle InternalEvent. Please clarify when net connection gets disconnected then y it doesnot make any request to the server
by Gaurav
19 Aug 2010, 16:32
Forum: Server Side Extension Development
Topic: Server Out of Synch
Replies: 21
Views: 29973

@Fun Bobby

I have applied the trace at the top but its showing nothing at that time. The way I applied the trace is:


//ieo is the object of InternalEventObject

SmartFoxServer.log.log(Level.INFO, "Internal Event: "+ ieo.getEventName()
+ " recieved in our UserManagementExtension.");



Its not ...
by Gaurav
19 Aug 2010, 11:04
Forum: Server Side Extension Development
Topic: Server Out of Synch
Replies: 21
Views: 29973

try to catch the "userLost" event from a zone-extension in the handleInternalEvent

I have an extension written in java and in that extension there is handleInternalEvent which is having a case for userLost. But there is no call to handleInternalEvent. Then how can I handle userLost in between..
by Gaurav
19 Aug 2010, 08:33
Forum: Server Side Extension Development
Topic: Server Out of Synch
Replies: 21
Views: 29973

I have been using at the server handle event for userLost. But the server is not getting notified. Hence my handler is not working
by Gaurav
19 Aug 2010, 08:01
Forum: Server Side Extension Development
Topic: Server Out of Synch
Replies: 21
Views: 29973

Server Out of Synch

Hello,

I am having a problem in the SmartFoxServer Pro 1.6.8. The issue is that when server is running and the clients are connected with it. In the meanwhile if any of the clients internet connection get closed or connection breaks for sometime. The server didn't get notified about that and that ...