Hi,
I'd like to monitor a game status. The game extends AbstractExtension.
For this mission, the application needs an "access point" into the extension and "asks" for the status.
Each room has only one extension which is responsible for all events.
Thanks,
Eyal.
Search found 35 matches
- 19 Apr 2010, 08:28
- Forum: Server Side Extension Development
- Topic: Calling extension fro a Room
- Replies: 1
- Views: 4000
- 09 Apr 2010, 11:31
- Forum: Server Side Extension Development
- Topic: Customed Room
- Replies: 1
- Views: 3917
Customed Room
Hi,
I'd like to replace the existing Room with my own Room which will be created when ever sfs's Room created.
How it can be done?
I'd like to add some more events that should be fired by a Room.
Thanks,
Eyal.
I'd like to replace the existing Room with my own Room which will be created when ever sfs's Room created.
How it can be done?
I'd like to add some more events that should be fired by a Room.
Thanks,
Eyal.
- 24 Feb 2010, 15:35
- Forum: Server Side Extension Development
- Topic: DB query return with DataRow of nulls
- Replies: 1
- Views: 4365
DB query return with DataRow of nulls
Hi, I'm using MySql with my SFS for login check through internal event. I'm using the following code for the query: String sql = "SELECT " + " * " + " FROM " + DB_TBL_NAME + " WHERE " + DB_USER_ID + "='" + name + "'" + "AND " + DB...
- 24 Feb 2010, 08:17
- Forum: Server Side Extension Development
- Topic: CPU overloading when using Java Extension
- Replies: 2
- Views: 4945
- 23 Feb 2010, 09:26
- Forum: Server Side Extension Development
- Topic: CPU overloading when using Java Extension
- Replies: 2
- Views: 4945
CPU overloading when using Java Extension
Hi, We are using extension for monitoring and controlling our games. All extension are written with Java. Recentlly, we have notice that when client calling handleRequest(String cmd, JSONObject jso, User u, int fromRoom) the server CPU usage have ben reached to highter loading levels. someti...
- 19 Feb 2010, 07:36
- Forum: Server Side Extension Development
- Topic: Recomended AS 2.0 Tutorial
- Replies: 2
- Views: 4851
- 18 Feb 2010, 14:05
- Forum: Server Side Extension Development
- Topic: Recomended AS 2.0 Tutorial
- Replies: 2
- Views: 4851
Recomended AS 2.0 Tutorial
Hi,
Can you recomend a good AS 2.0 tutorial.
I ned it urgently. I have a vast backgroung in Java C++ and more.
Thanks,
Eyal.
Can you recomend a good AS 2.0 tutorial.
I ned it urgently. I have a vast backgroung in Java C++ and more.
Thanks,
Eyal.
- 16 Feb 2010, 14:05
- Forum: Server Side Extension Development
- Topic: How many extensions can be loaded?
- Replies: 1
- Views: 3835
How many extensions can be loaded?
Hi,
How many extensions can be loaded dynamicaly with the creation of a dynamic room?
Thanks,
Eyal.
How many extensions can be loaded dynamicaly with the creation of a dynamic room?
Thanks,
Eyal.
- 26 Jan 2010, 14:27
- Forum: Server Side Extension Development
- Topic: Extension can not be sen in the admin tool
- Replies: 1
- Views: 3949
Extension can not be sen in the admin tool
Hi, In my application, I'm creating a dynamic room and loading an extension by using: map.put("xtName", "gameExt"); map.put("xtClass", "com.smartfoxserver.games.MineField"); after the creation, I can see the new room in the admin tool, but can ...
- 26 Jan 2010, 07:44
- Forum: Server Side Extension Development
- Topic: Room and extensions
- Replies: 1
- Views: 3951
Room and extensions
Hi, I wonder how a room knows which extesion conducts the activities within it. For example: How the following code(mazeGame) <Zone name="mazeGame"> <Rooms> <Room name="The Entrance" maxUsers="50" isPrivate="false" isTemp="false" autoJoin="true&...
- 20 Jan 2010, 10:19
- Forum: SmartFoxServer 1.x Discussions and Help
- Topic: Monitoring games' action
- Replies: 1
- Views: 3628
Monitoring games' action
Hi,
I have to build a system which monitoring the game's actions and results as well as start game and game over.
Also, I have to monitor whether an action is legal for the game or not.
How it can be done?
Thanks,
Eyal.
I have to build a system which monitoring the game's actions and results as well as start game and game over.
Also, I have to monitor whether an action is legal for the game or not.
How it can be done?
Thanks,
Eyal.
- 18 Jan 2010, 11:46
- Forum: Server Side Extension Development
- Topic: Saving temporary data to be sharted by all extensions
- Replies: 5
- Views: 7200
- 18 Jan 2010, 11:16
- Forum: Server Side Extension Development
- Topic: Saving temporary data to be sharted by all extensions
- Replies: 5
- Views: 7200
- 18 Jan 2010, 09:07
- Forum: Server Side Extension Development
- Topic: Saving temporary data to be sharted by all extensions
- Replies: 5
- Views: 7200
Saving temporary data to be sharted by all extensions
Hi.
How can SFS hold a temporary data which must be shared by all of the extensions of the same zone without using a database?
Thanks,
Eyal.
How can SFS hold a temporary data which must be shared by all of the extensions of the same zone without using a database?
Thanks,
Eyal.
- 06 Jan 2010, 13:34
- Forum: Server Side Extension Development
- Topic: Create a User instance by a Java Extesion
- Replies: 1
- Views: 4106
Create a User instance by a Java Extesion
Hi, In my application, a java extension is responsible for create a room and add a new User immediately after the craetion. the Java extension recieves roomName, userId, userIp, userPort and zoneName. while in room's creation, the extion try to create SocketChannel, using the following: socketChanne...