How do you intergrate OpenSpace with SmartFoxServer?

Post here your questions about the OpenSpace 1.x or notify bugs and suggestions.

Moderators: Lapo, Bax

mrnothersan
Posts: 226
Joined: 24 Jan 2010, 18:38

How do you intergrate OpenSpace with SmartFoxServer?

Postby mrnothersan » 31 Mar 2010, 13:14

Hello,

Could someone tell me how to intergrate SmartFoxServer with OpenSpace please?

Thanks
mrnothersan
User avatar
Bax
Site Admin
Posts: 4609
Joined: 29 Mar 2005, 09:50
Location: Italy
Contact:

Postby Bax » 31 Mar 2010, 13:45

What does it means "integrate"?
OpenSpace is already integrated by itself... you just need to have a SmartFoxServer running, establish a connection to it in your application and pass a reference to the SmartFoxClient instance to OpenSpace.
I suggest you to follow one of the examples provided with the OpenSpace trial.
Paolo Bax
The SmartFoxServer Team
mrnothersan
Posts: 226
Joined: 24 Jan 2010, 18:38

Postby mrnothersan » 31 Mar 2010, 17:00

Hello bax,

I mean once I have downloaded OpenSpace how do I get it to work with SmartFoxServer? Are there any instructions for this?

~mrnothersan
User avatar
Bax
Site Admin
Posts: 4609
Joined: 29 Mar 2005, 09:50
Location: Italy
Contact:

Postby Bax » 01 Apr 2010, 06:48

As said above, simply install and run SmartFoxServer. Then check the provided OpenSpace examples, in fact it is just a matter of providing OpenSpace with a reference to the SmartFoxClient instance. That's all.
Of course you will need to handle connection/login/etc on your own, in your application embedding OpenSpace.
Last edited by Bax on 01 Apr 2010, 06:49, edited 1 time in total.
Paolo Bax
The SmartFoxServer Team
mrnothersan
Posts: 226
Joined: 24 Jan 2010, 18:38

Postby mrnothersan » 01 Apr 2010, 06:49

So, If I open the examples that are provided with OpenSpace, how does OpenSpace link with SmartFoxServer?

Thanks
mrnothersan
User avatar
Bax
Site Admin
Posts: 4609
Joined: 29 Mar 2005, 09:50
Location: Italy
Contact:

Postby Bax » 01 Apr 2010, 06:50

It is just a matter of providing OpenSpace with a reference to the SmartFoxClient instance (in the OpenSpace.init method). That's all.
Of course you will need to handle connection/login/etc on your own, in your application embedding OpenSpace.
Paolo Bax
The SmartFoxServer Team
mrnothersan
Posts: 226
Joined: 24 Jan 2010, 18:38

Postby mrnothersan » 01 Apr 2010, 06:52

How do I provide OpenSpace with a reference to the SmartFoxClient instance (in the OpenSpace.init method)?
And how do I embed OpenSpace?

Thanks
mrnothersan
User avatar
Bax
Site Admin
Posts: 4609
Joined: 29 Mar 2005, 09:50
Location: Italy
Contact:

Postby Bax » 01 Apr 2010, 07:12

Please read the API documentation. The description of the OpenSpace class contains all the answers to your questions.
Paolo Bax
The SmartFoxServer Team
mrnothersan
Posts: 226
Joined: 24 Jan 2010, 18:38

Postby mrnothersan » 01 Apr 2010, 07:43

Thanks for your help bax. So once I have made a room using OpenSpace, how do I upload it to my server?

Thanks
mrnothersan
User avatar
Bax
Site Admin
Posts: 4609
Joined: 29 Mar 2005, 09:50
Location: Italy
Contact:

Postby Bax » 01 Apr 2010, 07:49

Your map is just a file that you application loads from a webserver. Upload it to the webserver together with you application files.

AGAIN: PLEASE STUDY THE SMARTFOXSERVER DOCUMENTATION!!!
Paolo Bax
The SmartFoxServer Team
mrnothersan
Posts: 226
Joined: 24 Jan 2010, 18:38

Postby mrnothersan » 01 Apr 2010, 07:51

When I have finished my game, What are the exact files I need to upload to my game directory on my web server in order for my game to work? Is it the avatarChat.fla and what is the OpenSpace file?

And I am not really sure about the API documentation, I do not understand some of it.

Thanks
mrnothersan
User avatar
Bax
Site Admin
Posts: 4609
Joined: 29 Mar 2005, 09:50
Location: Italy
Contact:

Postby Bax » 01 Apr 2010, 08:00

mrnothersan wrote:And I am not really sure about the API documentation, I do not understand some of it.

I'm sorry: multiplayer games development is not trivial. You will need to study SmartFoxServer and OpenSpace documentation deeply, as you can't ask for a step-by-step assistance, as we don't offer this kind of service (neither paid, nor for free).
Paolo Bax
The SmartFoxServer Team
mrnothersan
Posts: 226
Joined: 24 Jan 2010, 18:38

Postby mrnothersan » 01 Apr 2010, 08:02

mrnothersan wrote:When I have finished my game, What are the exact files I need to upload to my game directory on my web server in order for my game to work? Is it the avatarChat.fla and what is the OpenSpace file?


Does it tell me what the files I need to upload are?

Thanks
mrnothersan

Return to “OpenSpace v1 discussions and help”

Who is online

Users browsing this forum: No registered users and 8 guests