new avatar example

Post here your questions about the OpenSpace 2.x or notify bugs and suggestions.

Moderators: Lapo, Bax

Post Reply
rut1630
Posts: 80
Joined: 29 Jun 2009, 10:27
Location: Israel

new avatar example

Post by rut1630 »

Hy, sorry by annoying, but as far as I have to give our sponsors a schedule on transfering our application to work with the new openspace2 (instead of 1 that is working right now), I have to know some evaluation about when your
planing to publish the new avatar operation example that you've talked about a week or so ago

Thanks a lot

S.Rutgaizer
User avatar
Bax
Site Admin
Posts: 4626
Joined: 29 Mar 2005, 09:50
Location: Italy
Contact:

Post by Bax »

Actually it has already been published 2 days ago, as part of OpenSpace 2.0.1 release (you will find a sticky post in this forum).
Paolo Bax
The SmartFoxServer Team
dna
Posts: 3
Joined: 09 Jun 2010, 07:34

error 0700

Post by dna »

Hi there,
Im trying to run the new flash example.
it compiles fine, and it loads all the assets(maps, inv, avatar, etc).
but once i click anywhere in the screen to make the avatar move, i ll get the following error:

[ERROR] An error occurred in the OpenSpace Extension while processing a pathfinding request; please check the server-side logs for details (0700)

but the logs are empty.
i've follow all the instructions, not sure what im missing.

im using sfs 1.6.8 and openspace 2.
running Flash CS5 on win7.

thanks
User avatar
Bax
Site Admin
Posts: 4626
Joined: 29 Mar 2005, 09:50
Location: Italy
Contact:

Post by Bax »

Unless you have turned off the messages in the server-side OpenSpace configuration, you should see a lot of debug informations from the OpenSpace extension. There you should find what is going on with that pathfinding request.
Paolo Bax
The SmartFoxServer Team
dna
Posts: 3
Joined: 09 Jun 2010, 07:34

error 0700

Post by dna »

Hi,
no, i havent turned off the messages in the server-side configuration file.

In the log folder theres a few files,
but the info inside looks like this:

127.0.0.1 - - [09/Jun/2010:07:51:59 +0000] "GET /Examples/ HTTP/1.1" 500 4123
127.0.0.1 - - [09/Jun/2010:07:52:11 +0000] "GET /Examples/FlashOS/ HTTP/1.1" 500 4139
127.0.0.1 - - [09/Jun/2010:07:52:18 +0000] "GET /Examples/FlashOS/Main.swf HTTP/1.1" 200 222399
127.0.0.1 - - [09/Jun/2010:07:52:18 +0000] "GET /Examples/FlashOS/libraries/AvatarsContainer.swf HTTP/1.1" 200 126659
127.0.0.1 - - [09/Jun/2010:07:52:18 +0000] "GET /favicon.ico HTTP/1.1" 404 1376
127.0.0.1 - - [09/Jun/2010:07:52:24 +0000] "GET /Examples/FlashOS/config/OpenSpace_client.xml HTTP/1.1" 200 7332
127.0.0.1 - - [09/Jun/2010:07:52:26 +0000] "GET /Examples/FlashOS/libraries/buildings.swf HTTP/1.1" 200 67424
127.0.0.1 - - [09/Jun/2010:07:52:26 +0000] "GET /Examples/FlashOS/libraries/backgrounds.swf HTTP/1.1" 200 829516



and in the flash out put:

Avatars external library loaded
Go button clicked; Connector will now load SmartFoxClient configuration and connect to SmartFoxServer
Connection successful, now performing login
Successfully logged in as asd
Roomlist received, now a map can be loaded
[INFO] Configuration loaded: config/OpenSpace_client.xml
[INFO] Requesting initialization data to OpenSpace Extension
[INFO] Initialization data received from OpenSpace Extension
[INFO] Initialization completed
OpenSpaceEvent.INITIALIZED event received
[INFO] Requesting map to OpenSpace Extension
[INFO] Map received from OpenSpace Extension
[INFO] Map parsing completed (10 ms)
Map loaded, now assets swf files can be loaded
External swf files to be loaded: items.swf,vegetation.swf,buildings.swf,furniture.swf,backgrounds.swf
External libraries loaded, now the loaded map can be rendered
[INFO] Tiles creation progress: 20%
Map generation progress: 20%
[INFO] Tiles creation progress: 41%
Map generation progress: 41%
[INFO] Tiles creation progress: 100%
Map generation progress: 100%
[INFO] Map generation completed (62 ms)
[INFO] Map rendering duration: 21 ms
[INFO] Map shifted
[INFO] Map rendering duration: 2 ms
[INFO] Map shifted
[INFO] Avatar '2' created in (8,11,0)
[INFO] Avatars creation completed
[INFO] Map rendering completed
OpenSpace.MAP_RENDERED event received


and after that,
i click a tile to make the avatar move, and i get this:

[ERROR] An error occurred in the OpenSpace Extension while processing a pathfinding request; please check the server-side logs for details (0700)

thanks
User avatar
Bax
Site Admin
Posts: 4626
Joined: 29 Mar 2005, 09:50
Location: Italy
Contact:

Post by Bax »

If you launch SFS in a terminal window, you can see the logged messages directly in the terminal. If you run SFS as a service, check the logs/wrapper*.* files instead.
There you will find the informations logged by the OpenSpace extension, among which you should find a reason for the pathfinding error reported by the client.
Paolo Bax
The SmartFoxServer Team
dna
Posts: 3
Joined: 09 Jun 2010, 07:34

error 0700

Post by dna »

Hello,

no, theres no message on my terminal as well.
and the logs in the admin console are also empty.

|::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::|
| |
| ...::: SmartFoxServer :::... |
| Multiplayer Socket Server |
| version 1.6.8 |
| --- |
| (c) 2004 - 2009 gotoAndPlay() |
| www.smartfoxserver.com |
| www.gotoandplay.it |
| |
|::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::|

::::::::::: { BlueBox INITED } ::::::::::::
: :
: Version 1.0.5 -- (c) 2008 gotoAndPlay() :
: :
:::::::::::::::::::::::::::::::::::::::::::


--- [ System Info ] ------------------------------------------

System CPU(s): 2
VM Max memory: 517 MB

os.name: Windows Vista
os.arch: x86
os.version: 6.1
java.version: 1.6.0_13
java.vendor: Sun Microsystems Inc.
java.vendor.url: http://java.sun.com/
java.vm.specification.version: 1.0
java.vm.version: 11.3-b02
java.vm.vendor: Sun Microsystems Inc.
java.vm.name: Java HotSpot(TM) Server VM


--- [ Network Cards ] -----------------------------------------

Card:Software Loopback Interface 1
-> 0:0:0:0:0:0:0:1
-> 127.0.0.1
Card:WAN Miniport (SSTP)
Card:WAN Miniport (IKEv2)
Card:WAN Miniport (L2TP)
Card:WAN Miniport (PPTP)
Card:WAN Miniport (PPPOE)
Card:WAN Miniport (IPv6)
Card:WAN Miniport (Network Monitor)
Card:WAN Miniport (IP)
Card:RAS Async Adapter
Card:Atheros AR8121/AR8113/AR8114 PCI-E Ethernet Controller(NDIS6.20)
-> fe80:0:0:0:6970:9d5b:9557:b6c%11
-> 192.168.0.8
Card:Microsoft ISATAP Adapter
-> fe80:0:0:0:0:5efe:c0a8:8%12
Card:Teredo Tunneling Pseudo-Interface
-> 2001:0:4137:9e76:207d:1c09:840c:faa2
-> fe80:0:0:0:207d:1c09:840c:faa2%13
Card:Atheros AR8121/AR8113/AR8114 PCI-E Ethernet Controller(NDIS6.20)-QoS Packet
Scheduler-0000
Card:Atheros AR8121/AR8113/AR8114 PCI-E Ethernet Controller(NDIS6.20)-WFP LightW
eight Filter-0000
Card:WAN Miniport (Network Monitor)-QoS Packet Scheduler-0000
Card:WAN Miniport (IP)-QoS Packet Scheduler-0000
Card:WAN Miniport (IPv6)-QoS Packet Scheduler-0000


--- [ Licence Loaded ] ------------------------------------

License Type -> PRO
License Owner -> --== Free Demo Licence ==--
Max. Clients -> 20
BlueBox Type -> Demo Version

--- [ Zones & Rooms ] -------------------------------------

Zone: osExample1

House1Inside (id: 1, max: 50, pass:N)
House1Outside (id: 2, max: 50, pass:N)
House2Inside (id: 3, max: 50, pass:N)
House2Outside (id: 4, max: 50, pass:N)

Zone: openspace

Ranch (inside) (id: 5, max: 50, pass:N)
Ranch (outside) (id: 6, max: 50, pass:N)
Slopes area (id: 7, max: 50, pass:N)



--- [ Server Starting ] ---------------------------------

Server address: All
Server port : 9339
User avatar
Bax
Site Admin
Posts: 4626
Joined: 29 Mar 2005, 09:50
Location: Italy
Contact:

Post by Bax »

Please run SmartFoxServer in the terminal window. Then launch client until you get that error. Then go to the terminal and check the logged messages.
You should see something like this:

Code: Select all

09:46:06.391 - [ INFO ] > [OpenSpace] Map load request received from user guest_0 [0]
09:46:06.392 - [ INFO ] > [OpenSpace] Joining user guest_0 [0] to Room 'House1Inside' [46]
09:46:06.399 - [ INFO ] > [OpenSpace] Room 'House1Inside' [46] joined; now loading associated map 'osExample1#m1_House1Inside
09:46:06.399 - [ INFO ] > [OpenSpace] Loading assets library for map 'osExample1#m1_House1Inside'
09:46:06.452 - [ INFO ] > [OpenSpace] 'openSpace/data/osExample1.lib' library file loaded
09:46:06.532 - [ INFO ] > [OpenSpace] 'openSpace/data/osExample1#m1_House1Inside.map' map file loaded
09:46:06.633 - [ INFO ] > [OpenSpace] Map 'osExample1#m1_House1Inside' sent to user guest_0 [0]
09:46:09.584 - [ INFO ] > [OpenSpace] User guest_0 [0] requested path from (6, 5, 0) to (3, 6, 0) on map 'osExample1#m1_House1Inside'
09:46:09.588 - [ INFO ] > [OpenSpace] Path to (3,6,0) target coordinates found and sent to all users in the same room
If not, you probably have turned off the logging in some way (or are you connecting to a different instance of SFS?).
Paolo Bax
The SmartFoxServer Team
Post Reply