Search found 70 matches

by levancho
06 Mar 2012, 22:02
Forum: SFS2X ActionScript 3 API
Topic: Multiple/Single Instance(es) of Smartfox Object ?
Replies: 3
Views: 2142

Multiple/Single Instance(es) of Smartfox Object ?

Hi, I have a more of, please advice, kind of a question in regards what would be the best practices of using smartfox Object on the Client side. I went through he Samples and in SpaceRaces I see that it is spawning new smartfox Object for each window, so I was wondering what is the benefit of having...
by levancho
23 Feb 2012, 11:52
Forum: SFS2X ActionScript 3 API
Topic: logout is broken in Latest Flas client API?
Replies: 5
Views: 2845

[RESOLVED]Re: logout is broken in Latest Flas client API?

thanks guys for such a quick response.
I have downloaded the updated API and I confirm that it works now.
by levancho
23 Feb 2012, 04:48
Forum: SFS2X ActionScript 3 API
Topic: logout is broken in Latest Flas client API?
Replies: 5
Views: 2845

Re: logout is broken in Latest Flas client API?

UPDATE: I am also getting exeptions in server log as soon as I terminate the UI debugger and as soon as my AIR client terminates: here is the error: 23:46:48,122 WARN [SocketReader] core.SocketReader - com.smartfoxserver.v2.exceptions.SFSRuntimeException: -Unexpected- Cannot find any User for Sessio...
by levancho
23 Feb 2012, 04:26
Forum: SFS2X ActionScript 3 API
Topic: logout is broken in Latest Flas client API?
Replies: 5
Views: 2845

logout is broken in Latest Flas client API?

I am performing logout following way var lr:LogoutRequest =new LogoutRequest(); this._smartFox.send(lr); and I am gettig following error: TypeError: Error #1009: Cannot access a property or method of a null object reference. at com.smartfoxserver.v2::SmartFox/handleLogout()[/Users/Lapo/Documents/Fle...
by levancho
22 Feb 2012, 14:48
Forum: SFS2X Questions
Topic: determine room user is in when USER_VARIABLES_UPDATE fires
Replies: 4
Views: 1565

Re: determine room user is in when USER_VARIABLES_UPDATE fir

HI ,

ahaaa, that opened up a different direction for me and I think i can easy adjust logic to follow your suggestion,
thanks for your prompt reply
Kind Regards
Levancho.
by levancho
22 Feb 2012, 12:21
Forum: SFS2X Questions
Topic: determine room user is in when USER_VARIABLES_UPDATE fires
Replies: 4
Views: 1565

Re: determine room user is in when USER_VARIABLES_UPDATE fir

yeah, I was afraid that would be the option too,

can I make this as a feature request ? I think it is a reasonable to have a room identification as a parameter in Event object.
by levancho
22 Feb 2012, 11:54
Forum: SFS2X Questions
Topic: Guide: How to compile a .jar file for your extension
Replies: 34
Views: 30692

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

just want to contribute my approach. I use executable instead of bat file so in that case editing : sfs2x-standalone.vmoptions was sufficient for me to get debugger working. I added : -Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=n and just to make sure debugger is wo...
by levancho
22 Feb 2012, 11:44
Forum: SFS2X Questions
Topic: determine room user is in when USER_VARIABLES_UPDATE fires
Replies: 4
Views: 1565

determine room user is in when USER_VARIABLES_UPDATE fires

Hi, I have case where user can be in more than one room at the same time, so whenever USER_VARIABLES_UPDATE is fired in my listener I need to obtain the room that is relative to that event, problem is that if I use User player = (User) event.getParameter(SFSEventParam.USER); curRoom = player.getLast...
by levancho
17 Jan 2012, 13:39
Forum: SFS2X Questions
Topic: [SOLVED]running smartfox service as non root user
Replies: 6
Views: 2554

now the only thing worries me a little is the how bluebox will work since smartfox is run as non root uer so we cat bind port 80 to jetty, but I thnk I have a solution, please advice if that will work, I will front jetty port 9090 (ii changed it ) by apaches mo_proxy so all request for bluebox will ...
by levancho
15 Jan 2012, 20:50
Forum: SFS2X Questions
Topic: [SOLVED]running smartfox service as non root user
Replies: 6
Views: 2554

[SOLVED]running smartfox service as non root user

hi, I tried to search the forum for this issue but it seems there is no talink about it. I have a glassfish server currently runing as a regular user, I am ussing chkconfig and glassfis is working just file. I have reused my file for smartfox as well, this way: #! /bin/sh # chkconfig: 2345 99 01 # d...
by levancho
25 Dec 2011, 23:48
Forum: SFS2X Questions
Topic: Smartfox exception with parameters, or custom error code
Replies: 1
Views: 908

Smartfox exception with parameters, or custom error code

Hi, I was trying to figure the way to pass parameters via exception to my client, well after research and based on this: http://www.smartfoxserver.com/forums/viewtopic.php?t=12521&highlight=sfserrordata I created my error codes enum with numbers starting from 1000 USER_NOT_VERIFIED(1000) it impl...
by levancho
19 Sep 2011, 17:17
Forum: SFS2X Questions
Topic: Unsupported Major.Minor Version? :(
Replies: 10
Views: 7247

SIDENOTE: http://javatester.org/version.html will only test version of JRE, its not guaranteed to be the same as one you used for compilation, you might have two ore more java distributions in your machine :) most of the times browser plugin uses separate JRE only distribution while IDE's need whole...
by levancho
18 Sep 2011, 03:47
Forum: SFS2X Questions
Topic: SmartFoxServer support for licensed users
Replies: 3
Views: 1459

tx for reply, for my situation I am stuck on one issue and I have been pushed by company management to find an answer for it,it relates to bluebox IP address issue. , although we are not licensed smartfoxserver users yet, and I am forced to write everything with adapter approach in order to be able ...
by levancho
15 Sep 2011, 09:51
Forum: SFS2X Questions
Topic: SmartFoxServer support for licensed users
Replies: 3
Views: 1459

SmartFoxServer support for licensed users

Hi, Before We purchase smartfoxServer unlimited license, I would like to clarify what kind of support will it include? currently what I see is that maybe due to time limitations or some other aspects, forum is not the best place to ask support questions,sometimes questions get unanswered for more th...
by levancho
14 Sep 2011, 14:42
Forum: SFS2X Questions
Topic: [bluebox] getting user IP upon user login in Java ext
Replies: 4
Views: 2019

Smartfox Team, can you shed light on this issue?

no response means bluebox still does not support ways to get user IP address?

Go to advanced search