Search found 29 matches
- 16 Sep 2009, 22:31
- Forum: iPhone Objective-C API
- Topic: memleak when calling smartFoxClient:connect: twice
- Replies: 0
- Views: 5162
memleak when calling smartFoxClient:connect: twice
in my implementation I have reason to call connect twice (to reconnect to the server when the client disconnects). discovered a memleak on some objects. i release some objects before they're alloced to resolve the leak. - (void)connect:(NSString *)ipAdr port:(NSInteger)port &...
- 16 Sep 2009, 22:26
- Forum: iPhone Objective-C API
- Topic: loadConfig memleak
- Replies: 4
- Views: 15873
loadConfig memleak
found this is leaking some memory
need to release NSURL* url;
added the release after it was used. this seems to stop the leak.
need to release NSURL* url;
added the release after it was used. this seems to stop the leak.
Code: Select all
doc = [[CXMLDocument alloc] initWithContentsOfURL:url options:0 error:&error];
[url release];
- 14 Sep 2009, 14:12
- Forum: Server Side Extension Development
- Topic: Handling dropped messages?
- Replies: 5
- Views: 8020
ok - that's fair. it must have something to do with the way i'm doing things then. i'm creating room variables on the serverside via an extension message from the client. even with a stable connection sometimes: - my client msg doesnt get to the server - my client doesnt get notified of a roomvar ch...
- 11 Sep 2009, 22:36
- Forum: Server Side Extension Development
- Topic: Handling dropped messages?
- Replies: 5
- Views: 8020
TCP isnt foolproof. take wifi for example - dropped packets can occur all the time. I've noticed this while developing my iphone app to work with smartfoxserver. normally it works flawlessy, but sometimes my extension messages get lost. (i'm setting up room vars with a serverside script coming from ...
- 26 Aug 2009, 13:06
- Forum: SmartFoxServer 1.x Discussions and Help
- Topic: trace() in extension not appearing in admintool log
- Replies: 12
- Views: 19829
oh ok. thanks for the help - it's just my misunderstanding. i thought it was in the logs (the man tab of the adminTool). maybe the documentation on the trace() function could be explained a little better. Outputs the message to the SmartFoxServer console and to the Admininistrator Tool. It can be us...
- 26 Aug 2009, 11:46
- Forum: SmartFoxServer 1.x Discussions and Help
- Topic: trace() in extension not appearing in admintool log
- Replies: 12
- Views: 19829
- 25 Aug 2009, 21:38
- Forum: SmartFoxServer 1.x Discussions and Help
- Topic: Losing Room variables
- Replies: 6
- Views: 9102
- 25 Aug 2009, 21:17
- Forum: SmartFoxServer 1.x Discussions and Help
- Topic: persistent rooms ?
- Replies: 2
- Views: 5014
- 25 Aug 2009, 19:21
- Forum: SmartFoxServer 1.x Discussions and Help
- Topic: trace() in extension not appearing in admintool log
- Replies: 12
- Views: 19829
i already had these settings have <FileLoggingLevel>FINEST</FileLoggingLevel> <ConsoleLoggingLevel>INFO</ConsoleLoggingLevel> <ExtensionRemoteDebug>true</ExtensionRemoteDebug> should i try INFO ? does the trace statement show up in the adminTool somewhere else? I assumed the statement in the docs me...
- 25 Aug 2009, 18:50
- Forum: SmartFoxServer 1.x Discussions and Help
- Topic: persistent rooms ?
- Replies: 2
- Views: 5014
persistent rooms ?
i require my rooms to be persistent (even after all users leave) because I would like to provide a robust gaming service that can handle disconnects. here's what i'm thinking. - rather than have the client create the room, have it send an xt message to the server, the server will create the room and...
- 25 Aug 2009, 18:47
- Forum: SmartFoxServer 1.x Discussions and Help
- Topic: Losing Room variables
- Replies: 6
- Views: 9102
- 25 Aug 2009, 18:40
- Forum: SmartFoxServer 1.x Discussions and Help
- Topic: trace() in extension not appearing in admintool log
- Replies: 12
- Views: 19829
- 25 Aug 2009, 17:15
- Forum: SmartFoxServer 1.x Discussions and Help
- Topic: trace() in extension not appearing in admintool log
- Replies: 12
- Views: 19829
trace() in extension not appearing in admintool log
the user doc says
I get the trace log in the console, but not in the adminTool logs.
Is there something I have misconfigured ?
Outputs the message to the SmartFoxServer console and to the Admininistrator Tool.
It can be useful for remote debugging when developing Extensions.
I get the trace log in the console, but not in the adminTool logs.
Is there something I have misconfigured ?
- 25 Aug 2009, 16:01
- Forum: SmartFoxServer 1.x Discussions and Help
- Topic: Losing Room variables
- Replies: 6
- Views: 9102
- 25 Aug 2009, 13:45
- Forum: SmartFoxServer 1.x Discussions and Help
- Topic: persistent room vars
- Replies: 6
- Views: 8664
what i'm going to try to do is predefine a whole bunch of rooms and permanent variables in the config.xml file. when a user 'creates' a room, I'm just going to kinda fake it and have him join one of the pre-existing rooms. And then the user can modify the server-owned variables without taking ownser...