Search found 16 matches

by LEAn
26 May 2009, 10:08
Forum: OpenSpace v1 discussions and help
Topic: moveMyAvatar while moving
Replies: 6
Views: 11492

But for this we would need to know next tile of movement and check if it is walkable. As in general it can fail to go to the next nearest tile in some cases.
by LEAn
22 May 2009, 13:37
Forum: OpenSpace v1 discussions and help
Topic: moveMyAvatar while moving
Replies: 6
Views: 11492

Shure, here is my steps: 1) User selects menu item 2) I'm calling moveMyAvatar with the target tile 3) in handler of ENTER_TILE event I'm checking if current tile is 3 or less tiles to the target. If so - call moveMyAvatar with current tile. This is to cancel previous movement and stop on current ti...
by LEAn
22 May 2009, 10:21
Forum: OpenSpace v1 discussions and help
Topic: moveMyAvatar while moving
Replies: 6
Views: 11492

Yes, moveMyAvatar does not think current tile is invalid. [INFO] Avatar 38 movement requested; selected position: (3,8,-1) [INFO] Starting movement of avatar 38 towards position: (3,8,1) [INFO] Tile selected: (3,8,1) [INFO] Pathfinding completed (total time: 0ms) [INFO] Avatar 38 movement requested;...
by LEAn
21 May 2009, 05:40
Forum: OpenSpace v1 discussions and help
Topic: moveMyAvatar while moving
Replies: 6
Views: 11492

moveMyAvatar while moving

I need user avatar to stop 3 tiles before paticular tile (target). To do this I 1) send moveMyAvatar with the target tile. 2) on EnterTile event I'm checking if avatar is 3 tiles or less to the target tile 3) if so - I perform some actions and send moveMyAvatar/teleportMyAvatar with current tile to ...
by LEAn
26 Feb 2009, 07:36
Forum: OpenSpace v1 discussions and help
Topic: how do Avatar act with anything that not avatar?
Replies: 10
Views: 16517

I can specify tiles to go in params, I think.
But is it any chance to get all objects? Or I need to manage list of this objects separatly?
by LEAn
26 Feb 2009, 06:46
Forum: OpenSpace v1 discussions and help
Topic: how do Avatar act with anything that not avatar?
Replies: 10
Views: 16517

I need to make such thing, as when user clicks on object with which it can interact, than avatar will move to the nearest tile and than object will be activated. So I need to get all such objects and be able to direct user's avatar to assigned tile. Getting tile on whcih object located is not the hi...
by LEAn
25 Feb 2009, 15:38
Forum: OpenSpace v1 discussions and help
Topic: how do Avatar act with anything that not avatar?
Replies: 10
Views: 16517

Is there any ability to get all such map objects and to get tile on which object resides?
Or, may be, just get all tiles and then inspect skin of each one?
by LEAn
18 Feb 2009, 10:01
Forum: Server Side Extension Development
Topic: Hints on JSON Object use in java
Replies: 12
Views: 16595

Seems I've found source of the problem. It was another lib with org.json used in another component and copied to SFS.
Thanks for help!
by LEAn
17 Feb 2009, 04:14
Forum: Server Side Extension Development
Topic: Hints on JSON Object use in java
Replies: 12
Views: 16595

Which server version is used? Could you show the client side debug of the request that causes this exception? Thanks Server is 1.6.5. Here is message to server, which causes exception. {"t":"xt","b":{"x":"RouletteExtension","r":5...
by LEAn
04 Feb 2009, 13:17
Forum: Server Side Extension Development
Topic: Hints on JSON Object use in java
Replies: 12
Views: 16595

We are getting the same Generic Exception: java.lang.NoSuchMethodError: org.json.JSONObject.getData()Ljava/util/HashMap; java.lang.NoSuchMethodError: org.json.JSONObject.getData()Ljava/util/HashMap; at it.gotoandplay.smartfoxserver.SmartFoxServer.dispatchEvent(SmartFoxServer.java...
by LEAn
23 Sep 2008, 08:10
Forum: OpenSpace v1 discussions and help
Topic: Movement in Zoomed state
Replies: 3
Views: 8534

Movement in Zoomed state

When I zoom in on map, it works. But when avatar reachs borders, map is not scrolled, as in not-zoomed state.
Yes, it is possible to make big scrolling borders, but it will be not good at lower zoom factor. Will it be fixed?
by LEAn
23 Sep 2008, 08:08
Forum: OpenSpace v1 discussions and help
Topic: Open Space + Flex Builder
Replies: 7
Views: 13849

Thanks, now it works.

But now when I resize container map just scales. It seems to be default behaviour for flash components.
Will you provide ability in your custom Flex component not to scale map on resize, but just show more/less map in this case?
by LEAn
23 Sep 2008, 05:03
Forum: OpenSpace v1 discussions and help
Topic: Open Space + Flex Builder
Replies: 7
Views: 13849

Does anyone succeeded in using Flash component of OpenSpace in Flex? I'm getting TypeError: Error #1034: Type Coercion failed: cannot convert com.smartfoxserver.openspace::OpenSpace@2d03c741 to mx.core.IUIComponent. at mx.core::Container/http://www.adobe.com/2006/flex/mx/internal::addingChild()[E:\d...
by LEAn
03 Sep 2008, 08:43
Forum: OpenSpace v1 discussions and help
Topic: OpenSpace in The AIR
Replies: 3
Views: 7304

Thats log from Ranch demo From OpenSpace logger events textbox: [INFO] Loading map: map_ranch.xml [INFO] Map xml file loaded and parsed successfully [INFO] Backgrounds creation process completed (total time: 0ms) [INFO] Foregrounds creation process completed (total time: 2ms) [INFO] Tiles creation p...
by LEAn
03 Sep 2008, 06:41
Forum: OpenSpace v1 discussions and help
Topic: Avatar configuration
Replies: 9
Views: 27898

AnimTime run-time change

Is it possible to change animTime at run-time separately for each avatar?
We want to give some boost pills that would speedup avatars for some time, so need to know is it possible.

Go to advanced search