how to change zone in same server

Post here your questions about the Java client / Android API for SFS2X

Moderators: Lapo, Bax

grhwood
Posts: 116
Joined: 15 Mar 2011, 04:43

how to change zone in same server

Postby grhwood » 06 Apr 2013, 18:16

Hi,

I have for example 2 zones in same server. Currently, when I need to change a zone I have to destroy the current Smartfox object and create a new one then send the LoginRequest. I wonder if it is possible to reuse the same Smartfox object.

Thanks
User avatar
Lapo
Site Admin
Posts: 23025
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: how to change zone in same server

Postby Lapo » 09 Apr 2013, 08:18

Yes, send a LogoutRequest to the server, wait for the relative event and then login in another Zone.
Cheers
Lapo
--
gotoAndPlay()
...addicted to flash games

Return to “SFS2X Java / Android API”

Who is online

Users browsing this forum: No registered users and 16 guests