Posted: 06 Jan 2010, 16:57
No, sorry.laxersaz wrote:Is there any way for a client to get the calculated path for himself? That would be the easiest way to let map elements follow the player's avatar - which we want to achieve.
SmartFoxServer support forums
https://forums.smartfoxserver.com:443/
No, sorry.laxersaz wrote:Is there any way for a client to get the calculated path for himself? That would be the easiest way to let map elements follow the player's avatar - which we want to achieve.
First of all please notice that this post was referred to OpenSpace 1. There's no answer to your question, because there is no out-of-the-box feature. You have to crete your own server side code which loads a map, parses it, etc.ffourcad wrote:Hello,
you wrote in one of the first posts, that the server has to parse the map Xml, but I can't how to achieve this... Where is the XML Map, where you're on the server-side ?
From you other posts, I know you are working with OpenSpace 2, right?ffourcad wrote:okay, but how can we attach a map to a room, if we do it ourselves ? Can we have a doc on parsing a .map file ?
Is/should the final position be set:bax wrote:At the same time, the user variables storing the avatar position (see previous post) must be updated with the path's final coordinates, so that new users entering the same room will see the NPC in its final position.