Map bounds for mmo room

Post here your questions about SFS2X. Here we discuss all server-side matters. For client API questions see the dedicated forums.

Moderators: Lapo, Bax

andisopany
Posts: 33
Joined: 19 Sep 2015, 01:15

Map bounds for mmo room

Postby andisopany » 03 Oct 2017, 22:42

I'm getting a strange behavior from the mmo proximity update callback.

When players are at a certain position in the scene the callback will thrash back and forth between enter and exit messages for other players.

The scene locations that do this are at z 10,000

Scene locations at z 8,000 do not produce this behavior.

I have the map bounds for the mmo room set to -62000, 62000 for all axis

Is there a limit to the size of the map?

Server 2.12.5
User avatar
Lapo
Site Admin
Posts: 23008
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: Map bounds for mmo room

Postby Lapo » 04 Oct 2017, 07:21

Hi,
no there's no limit for the map size.

When players are at a certain position in the scene the callback will thrash back and forth between enter and exit messages for other players.

I am not sure what you mean by that.
Can you provide a more clear description of the issue, including errors or debug transcripts?

Is there a way to reproduce this, or is it intermittent?
Also what client technology and relative API version are you using?

Thanks
Lapo
--
gotoAndPlay()
...addicted to flash games
andisopany
Posts: 33
Joined: 19 Sep 2015, 01:15

Re: Map bounds for mmo room

Postby andisopany » 04 Oct 2017, 15:53

What's happening is at certain positions I'm seeing avatars which are positioned within the AOI come in and out of proximity every second or so, even though I have verified they are all transmitting the correct position.

If there is no map limit perhaps the issue is in my end.

I'm using the c# unity client with server 2.12.5

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

Re: Map bounds for mmo room

Postby Lapo » 04 Oct 2017, 16:36

Does that happen even when they're not moving?
Lapo

--

gotoAndPlay()

...addicted to flash games
andisopany
Posts: 33
Joined: 19 Sep 2015, 01:15

Re: Map bounds for mmo room

Postby andisopany » 04 Oct 2017, 17:16

Problem was on my end.

Thanks for your help.
User avatar
Lapo
Site Admin
Posts: 23008
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: Map bounds for mmo room

Postby Lapo » 05 Oct 2017, 08:59

No problem :)
Lapo

--

gotoAndPlay()

...addicted to flash games

Return to “SFS2X Questions”

Who is online

Users browsing this forum: Stevenor and 48 guests