how to change zone in same server

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

Moderators: Lapo, Bax

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

how to change zone in same server

Postby grhwood » 06 Apr 2013, 18:16


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.

User avatar
Site Admin
Posts: 21700
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.
...addicted to flash games

Return to “SFS2X Java / Android API”

Who is online

Users browsing this forum: No registered users and 4 guests