I am trying to learn on how to use open space as a beginner.
But don't see any how-to, which can help me as a beginner to openspace.
Can anyone please help me, because the support + documentation of openspace engine is really of no help to me. I am unable to understand as in how to start using openaspace with flash or flex.
The provided example in and with openspace trial is a compiled jar file, which is not much of help either.
Regards-
Newbie
The source code of the server-side extension of OpenSpace is not available because you wouldn't need it. You can only extend the OpenSpace extension to add your own logic, following the tutorials on the OpenSpace support page (you will also find the source code of an extension).
About the Editor, the full manual is available here. What is not clear in how it works?
About the Editor, the full manual is available here. What is not clear in how it works?
Paolo Bax
The SmartFoxServer Team
The SmartFoxServer Team
Thank you for the help bax
but now I m stuck in a new problem
i load map on client side using command
and on the server side i have written to print all the request it is suppose to recieve
i dont see anything being executed, neither does it execute any of the following event listeners on client side
please guide me...
but now I m stuck in a new problem
i load map on client side using command
Code: Select all
openSpace.loadMap(room);
Code: Select all
String cmd = params.getUtfString(SFSExtension.MULTIHANDLER_REQUEST_ID);
Gates ext = (Gates) this.getParentExtension();
try{
trace(cmd + " = command sent by user");
trace(ext + " = extension sent made by class");
}catch(Exception e){
e.printStackTrace();
trace("error occured");
}Code: Select all
private function onMapFailure(evnt:OpenSpaceEvent):void{
this.main.txtTrace.text = "map failure";
}
private function onMapLoaded(evnt:OpenSpaceEvent):void{
this.main.txtTrace.text = "map loaded";
loadMapAssets(evnt.params.skinSwfFiles, evnt.params.backgroundSwfFiles);
//this.openSpace.renderMap();
}
private function onMapError(evnt:OpenSpaceEvent):void{
this.main.txtTrace.text = "not loaded";
}
private function onMapRendered(evnt:OpenSpaceEvent):void{
this.main.txtTrace.text = "rendered";
}
private function onMapCreationProgress(evnt:OpenSpaceEvent):void{
this.main.txtTrace.text = "creating";
}
OK!!
I tired this
1. i created a button to trigger load map extension after openspace was initialized.
2. when i click on the button... this is the error i get
this is my room schema
can you please help... why is the map not loading?
.map, .inv, .lib all files exists in the folder
I tired this
1. i created a button to trigger load map extension after openspace was initialized.
2. when i click on the button... this is the error i get
Code: Select all
0090 - OpenSpace Extension is unable to load the map: No map associated with Room 'RoomName' [1]
Code: Select all
<room>
<name>RoomName</name>
<groupId>default</groupId>
<password></password>
<maxUsers>100</maxUsers>
<maxSpectators>10</maxSpectators>
<isDynamic>false</isDynamic>
<isGame>false</isGame>
<isHidden>false</isHidden>
<autoRemoveMode>DEFAULT</autoRemoveMode>
<permissions>
<flags>PUBLIC_MESSAGES</flags>
<maxRoomVariablesAllowed>10</maxRoomVariablesAllowed>
</permissions>
<events>USER_ENTER_EVENT,USER_EXIT_EVENT,USER_COUNT_CHANGE_EVENT,USER_VARIABLES_UPDATE_EVENT</events>
<badWordsFilter isActive="false"/>
<roomVariables>
<variable>
<name>south_city_01</name>
<value>room_name#m0_South_city_01</value>
<type>STRING</type>
<isPrivate>false</isPrivate>
<isPersistent>false</isPersistent>
<isGlobal>false</isGlobal>
<isHidden>false</isHidden>
</variable>
</roomVariables>
<extension>
<name></name>
<type>JAVA</type>
<file></file>
<propertiesFile></propertiesFile>
<reloadMode>AUTO</reloadMode>
</extension>
</room>
.map, .inv, .lib all files exists in the folder