Search found 77 matches

by corwin
05 Jul 2010, 08:15
Forum: Server Side Extension Development
Topic: Add buddy offline
Replies: 5
Views: 2137

Add buddy offline

Hi, I want our users to be able to add buddies with mutual permission, while the buddies are offline. Any advices for the best way to do that?
by corwin
22 Jun 2010, 09:22
Forum: Server Side Extension Development
Topic: UTF8 db encoding
Replies: 7
Views: 2468

Ok, thanks, when resolve the problem will post... =================== Edit: Ok, you were completely right. When I typed SHOW VARIABLES, I saw the following: character_set_client utf8 character_set_connection utf8 character_set_database utf8 character_set_filesystem binary character_set_results utf8 ...
by corwin
22 Jun 2010, 08:41
Forum: Server Side Extension Development
Topic: UTF8 db encoding
Replies: 7
Views: 2468

Yes, they work ok, problem is only when inserting into db using DbManager. Example from my code: this.sender = "123"; this.reciever = "123"; this.message = "блах"; this.dbManager.executeCommand("INSERT INTO offline_messages SET" + " sender = '" +...
by corwin
22 Jun 2010, 08:02
Forum: Server Side Extension Development
Topic: Sfs default heap size
Replies: 2
Views: 1155

Ok, I will add them directly to start.sh, but note that option wrapper.java.initmemory in wrapper.conf doesn't work (wrapper.java.maxmemory works ok).
by corwin
22 Jun 2010, 08:00
Forum: Server Side Extension Development
Topic: UTF8 db encoding
Replies: 7
Views: 2468

Believe me, I pentachecked them. :) Coalition is utf8_general_ci, and when I insert from phpmyadmin/console/php, cyrilic is ok.
by corwin
21 Jun 2010, 14:52
Forum: Server Side Extension Development
Topic: UTF8 db encoding
Replies: 7
Views: 2468

UTF8 db encoding

When I try to insert into mysql table using java DbManager and have cyrillic symbols in one of the vars I get ???? in the database. When I try "SET NAMES utf8" nothing changes - I guess it works just for the current connection, so how can I set it for the whole database manager?
by corwin
17 Jun 2010, 11:42
Forum: Server Side Extension Development
Topic: Sfs default heap size
Replies: 2
Views: 1155

Sfs default heap size

How sfs server decides how much memory to allocate for the VM when not specified in the wrapper config? Does it gets all the memory and get certain percent?

P.S.
wrapper.java.initmemory in wrapper.conf seems to do nothing. Is that a bug?
by corwin
08 Jun 2010, 08:46
Forum: Server Side Extension Development
Topic: Mysql connection pool
Replies: 1
Views: 953

Mysql connection pool

Hi, I have external package, to which I pass Connection from the DbManager connection pool. I am with default settings and of course after some time the connection pool start crying that it is depleted. I can of course pass the whole DbManager to the external package, but I want to eventually reuse ...
by corwin
04 Jun 2010, 14:56
Forum: Server Side Extension Development
Topic: [TUTORIAL] Debug Smartfox at runtime
Replies: 32
Views: 50139

I managed to connect and add breakpoints to my ext (mac os x machine), but can't get System.out.println messages at the console. Somebody with any hints? :)
by corwin
04 Jun 2010, 08:26
Forum: Server Side Extension Development
Topic: Server load problems
Replies: 1
Views: 1021

Server load problems

Hi, we had some complains that there is big lag with the sf server and responses are later (3-4 seconds lag): When I checked the server: 1. Usually the sfs stays at 1%, this time it was at 99%. 2. There were constantly 100 messages in the extension queue. 3. There were some users with "undefine...
by corwin
11 May 2010, 06:48
Forum: SmartFoxServer 1.x Discussions and Help
Topic: uCountUpdates
Replies: 5
Views: 1421

I was looking at 2.2 Advanced settings. :) 1) By setting uCountUpdates attribute in the <Zone> definition: by setting it to "false" you will completely disable this feature. The deafult is "true". 2) By setting uCountUpdates attribute in the <Room> definition: the default value i...
by corwin
10 May 2010, 20:26
Forum: SmartFoxServer 1.x Discussions and Help
Topic: uCountUpdates
Replies: 5
Views: 1421

Pff, saved my ass in the last moment. :)
But it would be great if you guys fix that in the docs. ;)
by corwin
10 May 2010, 14:51
Forum: SmartFoxServer 1.x Discussions and Help
Topic: uCountUpdates
Replies: 5
Views: 1421

uCountUpdates

Hi, I need to disable the uCountUpdates in our application, so i have the following line in my config file: <Zone name="artilleryZone" customLogin="true" maxRoomsPerUser="5" MaxRoomNamesLen="50" uCountUpdates="false" > The problem is that even after ...
by corwin
30 Apr 2010, 12:49
Forum: SmartFoxServer 1.x Discussions and Help
Topic: custom admin tool
Replies: 1
Views: 924

custom admin tool

Hi, I am trying to make custom admin tool for iphone, so it is easier to control and check the server status. My plan is to do everything server side, only sending ext requests from the iphone app. I need to know how can I take all available zones from the server - I see there is class ZoneManager, ...
by corwin
28 Apr 2010, 14:29
Forum: iPhone Objective-C API
Topic: Server stop event
Replies: 1
Views: 3389

Server stop event

Hi, how is possible to handle server halts and reboots?
Nothing comes onConnectionLost, there is just EventErrorOcurred debug message...

Go to advanced search