Search found 7 matches

by jiaxintang
06 Aug 2009, 14:49
Forum: Java2SE / Android Client API
Topic: Is there any api to write an admin tool with java
Replies: 5
Views: 6295

Is there any api to write an admin tool with java

I am going to write a program that can do the administration with java, as the Flash admintool. Is there any api to do this?

Thank you.
by jiaxintang
18 Jun 2009, 00:23
Forum: Server Side Extension Development
Topic: The same singleton between different zone
Replies: 4
Views: 2906

It works. Thank you.
by jiaxintang
17 Jun 2009, 13:26
Forum: Server Side Extension Development
Topic: The same singleton between different zone
Replies: 4
Views: 2906

The same singleton between different zone

I use a singleton to keep some config data I load when server start up. But I found that the different zones on the same server will share the singleton. For example: Class ConfigData is a singleton class Class ZoneExt is the zone extension. I put the ConfigData.getInstance() in ZoneExt.init(). I ha...
by jiaxintang
17 Dec 2008, 00:41
Forum: Server Side Extension Development
Topic: number of total users is not correct when userLost
Replies: 2
Views: 1524

Thank you. I found that there is an exception in roomLost function of zone extension. Now the user can be deleted from the server.
by jiaxintang
15 Dec 2008, 05:43
Forum: Server Side Extension Development
Topic: number of total users is not correct when userLost
Replies: 2
Views: 1524

number of total users is not correct when userLost

I've found something really strange. Here are the steps my program do: 1. User login into the zone and join the default room(room1) 2. The zone extension create a new room(room2) and join this user into the new room 3. User do not leave the old room, so he is in two rooms(room1 and room2) 4. User cl...
by jiaxintang
03 Dec 2008, 00:56
Forum: Server Side Extension Development
Topic: Can room extension get 'joinRoom' event?
Replies: 3
Views: 1660

I use different ext names for zone and room, they are 'zoneExt' and 'roomExt' . The zoneExt gets all the events 'joinRoom', and the evt.room parameter is the correct room name. How can I let the room extension get the joinRoom event?
by jiaxintang
29 Nov 2008, 17:15
Forum: Server Side Extension Development
Topic: Can room extension get 'joinRoom' event?
Replies: 3
Views: 1660

Can room extension get 'joinRoom' event?

I've written a zone extension zoneExt and room extension roomExt. I create a room with roomExt by '_server.createRoom': var rObj = {}; rObj.name = rName; rObj.pwd = ""; rObj.maxU = 3; rObj.maxS = 0; rObj.isGame = true; rObj.xtName = "roomExt"; rObj.xtClass = "roomExt.as"...

Go to advanced search