Search found 28 matches

by huhailong
22 Mar 2013, 03:37
Forum: SFS2X HTML5 / JavaScript API
Topic: Connection Error
Replies: 7
Views: 16336

Re: Connection Error

you should change main.js config.host = "192.168.1.102"; then it will be ok.
by huhailong
16 Jan 2013, 02:51
Forum: SFS2X Questions
Topic: how to reload java class but don't restart sfs ?
Replies: 3
Views: 7841

Re: how to reload java class but don't restart sfs ?

i upgraded my project from sfs1.6.6 to sfs2.5.0,
for sfs1.6.6, one zone can has a few Extension class, for example: 1, class MainExtension extends AbstractExtension; 2,class MyOS extends OpenSpaceExtension
but for sfs2.5.0, one zone only can set one SFSExtension class, so i must create a class ...
by huhailong
15 Jan 2013, 06:33
Forum: SFS2X Questions
Topic: how to reload java class but don't restart sfs ?
Replies: 3
Views: 7841

how to reload java class but don't restart sfs ?

i create a class MyOSExtension extends OpenSpaceExtension, this class will create all room and other data when sfs2x start. only this one class extends AbstractExtension in my whole project.
i put this class to fox2Extension.jar, this jar also has some other class to handle the client request,
right ...
by huhailong
14 Jan 2013, 03:45
Forum: SFS2X Questions
Topic: Guide: How to compile a .jar file for your extension
Replies: 35
Views: 83821

Re: Guide: How to compile a .jar file for your extension

does all java class for a zone need to put to one xxxExtension.jar ?
because i have a problem: i create a class MyOSExtension extends OpenSpaceExtension, this class will create all room and other data when sfs2x start,
i put this class to fox2Extension.jar, this jar also has some other class to ...
by huhailong
10 Nov 2012, 02:14
Forum: SFS2X Questions
Topic: NoSuchMethodError when i click Zone Configurator...
Replies: 3
Views: 6710

Re: NoSuchMethodError when i click Zone Configurator...

my sfs2 version is 2.3.0, but i running sfs in eclipse.
by huhailong
10 Nov 2012, 01:01
Forum: SFS2X Questions
Topic: NoSuchMethodError when i click Zone Configurator...
Replies: 3
Views: 6710

NoSuchMethodError when i click Zone Configurator...

when i click Zone Configurator , occur following error :
53229238 [pool-1-thread-3] INFO com.smartfoxserver.v2.api.SFSApi - User login: { Zone: --=={{{ AdminZone }}}==-- }, ( User Name: sfsadmin, Id: 7, Priv: 0, Sess: 192.168.1.164:55522 ) , Type: FlashPlayer:PlugIn:WIN 11,3,300,262
53246346 [com ...
by huhailong
10 Nov 2012, 00:57
Forum: RedBox 2X
Topic: NoSuchMethodError on calling getClipList()...please help
Replies: 7
Views: 33478

Re: NoSuchMethodError on calling getClipList()...please help

when i click Zone Configurator , occur following error :
53229238 [pool-1-thread-3] INFO com.smartfoxserver.v2.api.SFSApi - User login: { Zone: --=={{{ AdminZone }}}==-- }, ( User Name: sfsadmin, Id: 7, Priv: 0, Sess: 192.168.1.164:55522 ) , Type: FlashPlayer:PlugIn:WIN 11,3,300,262
53246346 [com ...
by huhailong
24 Apr 2012, 05:40
Forum: SmartFoxServer 1.x Discussions and Help
Topic: auto reload non extension class files
Replies: 1
Views: 5034

auto reload non extension class files

This seems to be a pretty trivial problem that I *hope* has an answer not involving "please upgrade to 2X" since that option would require a huge amount of rewriting.

We are currently using 1X and we've noticed that the autoreload functionality only applies to Extension classes, however since our ...
by huhailong
16 Jul 2010, 00:49
Forum: OpenSpace v2 discussions and help
Topic: Layered Access Points
Replies: 1
Views: 5042

Layered Access Points

If I have a map with say 5 layers, which layer should contain access point = true? The first layer? Top layer? Any of the 5 layers? Or all 5 layers?
by huhailong
29 Jun 2010, 08:21
Forum: OpenSpace v2 discussions and help
Topic: Sending a map update notification
Replies: 9
Views: 14864

bax wrote:No you can't. You have to reload the whole map.
but reload the whole map, will need send map all data to client from server,
it is very waste bandwidth, is correct ?
by huhailong
29 Jun 2010, 03:18
Forum: OpenSpace v2 discussions and help
Topic: Sending a map update notification
Replies: 9
Views: 14864

Yes, those parameters are enough (the "cmd" can be whatever you want of course).
if i only send the modify 's data (use "map" parameter) to client, client whether can auto update this modify 's data on client ?
because i see OpenSpaceController.as 's onExtensionResponse function, and ...
by huhailong
28 Jun 2010, 05:05
Forum: OpenSpace v2 discussions and help
Topic: Sending a map update notification
Replies: 9
Views: 14864

bax wrote:Well, why don't you simply send an extension message to the client, and reload the map when you receive it?
if send an extension message, whether only need following two parameters ?
params.put("_cmd", "_os_map");
params.put("rId", mapRoomID);
by huhailong
26 Jun 2010, 10:51
Forum: OpenSpace v2 discussions and help
Topic: Sending a map update notification
Replies: 9
Views: 14864

the second way, our design is : a map will have many user 's house, when a user first login, we copy a map 's file to build the user 's house.
for placed The House on the map, we use sfs extension update the map 's file data when user first login. at the moment, we want to only send this modify 's ...
by huhailong
26 Jun 2010, 08:41
Forum: OpenSpace v2 discussions and help
Topic: Sending a map update notification
Replies: 9
Views: 14864

if a map file updated, i think have following two way to notify corresponding client to update:
1, send a simple extension message to client, message only have the modify 's file name. but at last, need send whole map 's data to client, waste bandwidth.
2, send the modify 's data to client, client ...
by huhailong
24 Jun 2010, 06:53
Forum: OpenSpace v2 discussions and help
Topic: how to display the avatar 's location of whole map?
Replies: 3
Views: 7545

can i make a java applet to do the screenshot of the map ?