Search found 35 matches

by eyal
19 Apr 2010, 08:28
Forum: Server Side Extension Development
Topic: Calling extension fro a Room
Replies: 1
Views: 3987

Calling extension fro a Room

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.
by eyal
09 Apr 2010, 11:31
Forum: Server Side Extension Development
Topic: Customed Room
Replies: 1
Views: 3903

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.
by eyal
24 Feb 2010, 15:35
Forum: Server Side Extension Development
Topic: DB query return with DataRow of nulls
Replies: 1
Views: 4343

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...
by eyal
24 Feb 2010, 08:17
Forum: Server Side Extension Development
Topic: CPU overloading when using Java Extension
Replies: 2
Views: 4924

Hi,
I have removed all the traces and now it is running perfect.
Thanks,
Eyal.
by eyal
23 Feb 2010, 09:26
Forum: Server Side Extension Development
Topic: CPU overloading when using Java Extension
Replies: 2
Views: 4924

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...
by eyal
19 Feb 2010, 07:36
Forum: Server Side Extension Development
Topic: Recomended AS 2.0 Tutorial
Replies: 2
Views: 4822

I'm loooking for a tutorial which would take me form the begining to expertie.
I want to start programing games with AS 2.0.
by eyal
18 Feb 2010, 14:05
Forum: Server Side Extension Development
Topic: Recomended AS 2.0 Tutorial
Replies: 2
Views: 4822

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.
by eyal
16 Feb 2010, 14:05
Forum: Server Side Extension Development
Topic: How many extensions can be loaded?
Replies: 1
Views: 3815

How many extensions can be loaded?

Hi,
How many extensions can be loaded dynamicaly with the creation of a dynamic room?
Thanks,
Eyal.
by eyal
26 Jan 2010, 14:27
Forum: Server Side Extension Development
Topic: Extension can not be sen in the admin tool
Replies: 1
Views: 3932

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 ...
by eyal
26 Jan 2010, 07:44
Forum: Server Side Extension Development
Topic: Room and extensions
Replies: 1
Views: 3932

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&...
by eyal
20 Jan 2010, 10:19
Forum: SmartFoxServer 1.x Discussions and Help
Topic: Monitoring games' action
Replies: 1
Views: 3611

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.
by eyal
18 Jan 2010, 11:46
Forum: Server Side Extension Development
Topic: Saving temporary data to be sharted by all extensions
Replies: 5
Views: 7167

I'm using Java
by eyal
18 Jan 2010, 11:16
Forum: Server Side Extension Development
Topic: Saving temporary data to be sharted by all extensions
Replies: 5
Views: 7167

How can I share object that lives in the memory? Can ii use static variables?
by eyal
18 Jan 2010, 09:07
Forum: Server Side Extension Development
Topic: Saving temporary data to be sharted by all extensions
Replies: 5
Views: 7167

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.
by eyal
06 Jan 2010, 13:34
Forum: Server Side Extension Development
Topic: Create a User instance by a Java Extesion
Replies: 1
Views: 4084

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...

Go to advanced search