Search found 70 matches

by levancho
11 Sep 2011, 04:20
Forum: SFS2X Questions
Topic: [bluebox] getting user IP upon user login in Java ext
Replies: 4
Views: 2011

thanks for reply, that worked,

does anyone has an answer regarding blueBox?

there must be a way to get user IP address this way too.
by levancho
09 Sep 2011, 16:41
Forum: SFS2X Questions
Topic: [bluebox] getting user IP upon user login in Java ext
Replies: 4
Views: 2011

[bluebox] getting user IP upon user login in Java ext

Hi, I would like to get a IP of the user and log it into my DB a an audit record, I found several threads that state how to get IP from SocketChannel but how do I get a SocketChannel reference? I need this info inside login event handler method, so I have event parameter, but API docs does not state...
by levancho
31 Aug 2011, 16:02
Forum: SFS2X Questions
Topic: getting list of rooms to client (need suggestion)
Replies: 2
Views: 1225

I opted for second option using custom request, plus I can send response from server without a request anytime so that helps too, anyways I am building predefined tables at server startup and then caching it on model object of my extension so I do not have to regenerate tables list unless there are ...
by levancho
31 Aug 2011, 15:57
Forum: SFS2X Questions
Topic: Spring + 2X
Replies: 12
Views: 5374

small improvement suggestion, if you change getService method with generics, you do not have to cast returned object for example: public <T> T getService(Class<T> serviceClass){ return context.getBean(serviceClass); } or public <T> T getService(String serviceName,Class<...
by levancho
30 Aug 2011, 16:00
Forum: SmartFoxServer 1.x Discussions and Help
Topic: [ARTICLE] ActiveObjects, an interesting ORM!
Replies: 8
Views: 4362

Little late reply,but still worth mentioning :) latest version of Ibatis (3.x) is pretty simple, they have finally managed to make it simple, you can annotate interface method with SQL and then everything gets done "automagically" of course this implies of using spring to do rest of the ma...
by levancho
30 Aug 2011, 15:48
Forum: SFS2X Questions
Topic: Securing SF2 and best practices
Replies: 2
Views: 1234

Securing SF2 and best practices

Hi, We are dealing with a game that requires user to deposite money from their CC or bank account. and further us it in a game, so user balance has to become a part of the game- user state. now all none SF2 related tasks are taken care of proper way,like deposit, etc .. which go through secured blaz...
by levancho
26 Aug 2011, 05:50
Forum: SFS2X Questions
Topic: getting list of rooms to client (need suggestion)
Replies: 2
Views: 1225

getting list of rooms to client (need suggestion)

Hi, I have a following problem that I am trying to handling it two different ways: I have 5 room categories. 1 lobby and 4 different game types. when User joins the lobby I am subscribing that user only to lobby category group so list of other rooms is not getting to the user (lobby category is the ...
by levancho
24 Aug 2011, 07:44
Forum: SFS2X Questions
Topic: SFSEvent.USER_COUNT_CHANGE is not firing
Replies: 4
Views: 1853

[Solved] might be a bug. apparently problem is with group subscriptions vs joined room here is what happened. I modified (under zone config) default groups list and removed group that lobby belonged to from that list, now even if I joined lobby group I was no longer receiving USER_COUNT_CHANGE event...
by levancho
24 Aug 2011, 07:28
Forum: SFS2X Questions
Topic: SFSEvent.USER_COUNT_CHANGE is not firing
Replies: 4
Views: 1853

SFSEvent.USER_COUNT_CHANGE is not firing

Hi, I am trying to figure out why SFSEvent.USER_COUNT_CHANGE is not firing when I join the room from Serverside, I have not tried to rewrite the code to join the room from client side yet but its definately not working when I join the room from server side. I have Lobby room (non game type room) tha...
by levancho
14 Aug 2011, 05:12
Forum: SFS2X ActionScript 3 API
Topic: One of the reason I like SmartFoxServer over ElectroServer
Replies: 2
Views: 1720

I have nothing agains smartfox and actually I also do prefer it over electroServer but what you are referring as "bullshit" var room:Room = _es.managerHelper.zoneManager.zoneById(e.zoneId).roomById(e.roomId); is actually called http://en.wikipedia.org/wiki/Fluent_interface ...
by levancho
14 Aug 2011, 05:06
Forum: SFS2X Questions
Topic: Amazon's SimpleDB for custom login?
Replies: 19
Views: 6491

issue might be classLoader related,
by levancho
31 Jul 2011, 04:06
Forum: SFS2X ActionScript 3 API
Topic: OverWriting
Replies: 2
Views: 1401

have you tried to clear browser cache?
by levancho
30 Jul 2011, 08:47
Forum: SFS2X Questions
Topic: unable to set list of group names in admin
Replies: 1
Views: 1013

unable to set list of group names in admin

I was trying to enter groupeNames in zone configuration, under field "Public Room Groups" so I changed from value of : "default" to value: "mygroup1,mygrop2,mygroup3" and as soon as I saved, admin console froze and got following exception : :::::::::::::::::::::::::::::...
by levancho
30 Jul 2011, 06:02
Forum: Features Wish List
Topic: Configurabale connection pooling impls
Replies: 0
Views: 3178

Configurabale connection pooling impls

Hi, I think overall performance of the pooling, directly impacts game performance, especially with massive users, concurrently requesting operations. so it would be nice feature to choose connection pooling impls instead of just one: commons dbcp for example boneCP appears to be better than dbcp may...
by levancho
30 Jul 2011, 05:43
Forum: SFS2X Questions
Topic: small typo in documentation?
Replies: 2
Views: 1125

small typo in documentation?

Hi ,

in this url: http://docs2x.smartfoxserver.com/Advanc ... ge-manager

it says :
Internally the API will actually check that profileId == 3


should not it say :

Internally the API will actually check that profileId == 2

Go to advanced search