Search found 41 matches

by BattleSpace
28 Jan 2009, 12:38
Forum: SmartFoxServer 1.x Discussions and Help
Topic: Game Data - on Server or in SWF?
Replies: 1
Views: 4688

Game Data - on Server or in SWF?

Hello,

I've been away from SFS for a while but I'm now getting back into developing my games using SFS.

When I started my latest project (a turn-based game) I had all of the data such as unit information/stats in MySQL tables. I also had information about each scenario such as map layout (tiles ...
by BattleSpace
03 Feb 2008, 20:59
Forum: SmartFoxServer 1.x Discussions and Help
Topic: GoDaddy.com's Virtual Dedicated Server?
Replies: 8
Views: 16047

Hi,

I'm currently using a goDaddy.com virtual dedicated server for my SFS development environment. I haven't had any problems with it so I can confirm it will work. I added the Windows Server option and kept everything else basic. I pay less than $40 a month.

Before I rollout my site I will also ...
by BattleSpace
18 Oct 2007, 11:44
Forum: SmartFoxServer 1.x Discussions and Help
Topic: maximum room name length 20 characters?
Replies: 4
Views: 9151

Hi,

At the time this was happening I had 1.5.5. I have recently upgraded to 1.5.9 but have not tried it again.

Regards,
Brent
by BattleSpace
16 Oct 2007, 00:03
Forum: Server Side Extension Development
Topic: DatabaseManager Object Server to Client?
Replies: 7
Views: 13111

I finally got around to revisit this issue and try the "toArray" on the results of the executeQuery on the server.

When I send the array back to the client and trace it I get:

[Ljava.lang.Object;@a53de4

With the portion beyond the ";" changing each time.

It isn't an array... but just a string ...
by BattleSpace
15 Oct 2007, 22:08
Forum: SmartFoxServer 1.x Discussions and Help
Topic: [Help] onPublicMessage Null Sender Issue
Replies: 6
Views: 11000

Lapo,

I have resolved this issue through trial and error....

I read in a thread by you on the forum that said you were suppose to update the room list on the client prior to joining a room otherwise it could cause problems. Perhaps I misread the statement... that was when I had the server ...
by BattleSpace
15 Oct 2007, 21:16
Forum: SmartFoxServer 1.x Discussions and Help
Topic: [Help] onPublicMessage Null Sender Issue
Replies: 6
Views: 11000

Hi Lapo...

Any hint on what is happening?

I have also noticed the following:

I have two browser sessions open each logged in with different IDs. If I create and join a game room in one of the two sessions... then close the browser in that same session... the other browser session that is still ...
by BattleSpace
13 Oct 2007, 22:51
Forum: SmartFoxServer 1.x Discussions and Help
Topic: maximum room name length 20 characters?
Replies: 4
Views: 9151

I should mention that I did shorten the ID to 20 characters and now my code works.

I couldn't find any maximum length for room names mentioned anywhere in the documentation...

Out of curiosity... why is there a limit?

Brent
by BattleSpace
13 Oct 2007, 22:41
Forum: SmartFoxServer 1.x Discussions and Help
Topic: maximum room name length 20 characters?
Replies: 4
Views: 9151

maximum room name length 20 characters?

Hi Lapo... or anyone else that may know.

I generate a rather long room name. I store this value as the game room ID in mySQL. The ID is composed of the game ID: (0003) + the Date (09162007) and Time Stamp (163757) + some random number... in this case "873".

So the complete room name in this ...
by BattleSpace
13 Oct 2007, 21:00
Forum: SmartFoxServer 1.x Discussions and Help
Topic: [Help] onPublicMessage Null Sender Issue
Replies: 6
Views: 11000

Hello,

It is AS3 API.

Thanks for any help,
Brent
by BattleSpace
13 Oct 2007, 12:47
Forum: SmartFoxServer 1.x Discussions and Help
Topic: [Help] onPublicMessage Null Sender Issue
Replies: 6
Views: 11000

Some clarification...

If the user that is in both rooms types a chat message in the main lobby... the message is seen by other users and the sender is NOT null (to everyone else...)... the user that sent the message does not see it because it errors out on null sender.

It is the user that is in ...
by BattleSpace
13 Oct 2007, 01:58
Forum: SmartFoxServer 1.x Discussions and Help
Topic: [Help] onPublicMessage Null Sender Issue
Replies: 6
Views: 11000

[Help] onPublicMessage Null Sender Issue

Hello,

I'm trying to setup a multi-chat. I have reviewed the example in the docs. I have a main lobby with a chat that works fine until after you join another room (a game room). The user does remain in the main lobby... The creation and joining of the game room is performed on the server.

The ...
by BattleSpace
18 Sep 2007, 01:43
Forum: Server Side Extension Development
Topic: DatabaseManager Object Server to Client?
Replies: 7
Views: 13111

Thanks for the response.

I'll look into that "toArray" method later this week and follow up here.

Thanks again,
Brent
by BattleSpace
16 Sep 2007, 15:27
Forum: Server Side Extension Development
Topic: DatabaseManager Object Server to Client?
Replies: 7
Views: 13111

Thanks for the response...

Yes, that thread is using the "populate array" solution that is working for me as well. I'm using XML and have no problem with the protocol.

My utltimate goal was to eliminate the "array" step and either go straight to a dataprovider (which doesn't seem possible in AS1 ...
by BattleSpace
15 Sep 2007, 17:02
Forum: Server Side Extension Development
Topic: DatabaseManager Object Server to Client?
Replies: 7
Views: 13111

Re: DatabaseManager Object Server to Client?

BattleSpace wrote: ... or do I need to step through the DatabaseManager object on the server and build an array of the values... passing the array back down to the client?
I should add that building an array of query results works but I'm just not sure it is the best solution.... or is it?

Any opinions?
Brent
by BattleSpace
15 Sep 2007, 16:43
Forum: Server Side Extension Development
Topic: DatabaseManager Object Server to Client?
Replies: 7
Views: 13111

DatabaseManager Object Server to Client?

Hello,

I'm using server-side script (actionscript) and executeQuery and return the results in the DatabaseManager object from mysql What I would like to do is build a dataProvider from these results and send it back down to the client to populate a datagrid but I don't think this can be done in AS1 ...