ExtensionRespose Error

Post here your questions about the Unity / .Net / Mono / Windows 8 / Windows Phone 8 API for SFS2X

Moderators: Lapo, Bax

Oleg_79
Posts: 161
Joined: 25 Feb 2011, 10:31
Location: Ukraine, Donetsk

ExtensionRespose Error

Postby Oleg_79 » 24 Nov 2016, 12:37

Hi!
I read doc http://docs2x.smartfoxserver.com/api-docs/csharp-doc/ but parameter room still not working.

Code: Select all

   Room room = evt.Params["room"] as Room;    // return null.


I'm send request from RoomExtension. But my sfs room was created dynamically.

What's wrong in my code?
User avatar
Lapo
Site Admin
Posts: 23008
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: ExtensionRespose Error

Postby Lapo » 24 Nov 2016, 15:43

Are you running with the latest SFS2X 2.12 and the Unity API 1.7?

Thanks
Lapo
--
gotoAndPlay()
...addicted to flash games
Oleg_79
Posts: 161
Joined: 25 Feb 2011, 10:31
Location: Ukraine, Donetsk

Re: ExtensionRespose Error

Postby Oleg_79 » 28 Nov 2016, 08:02

Lapo wrote:Are you running with the latest SFS2X 2.12 and the Unity API 1.7?

Thanks


Yes. But client was .Net API 1.7
User avatar
Bax
Site Admin
Posts: 4609
Joined: 29 Mar 2005, 09:50
Location: Italy
Contact:

Re: ExtensionRespose Error

Postby Bax » 28 Nov 2016, 16:24

Can you please send a simple test application? Because we are not able to reproduce this.
After sending a simple extension request to the Room, we send back a reply and the "room" parameter is not null.
Are you sure you are sending the request to the Room (and not the Zone)?
Paolo Bax
The SmartFoxServer Team

Return to “SFS2X C# API”

Who is online

Users browsing this forum: No registered users and 26 guests