OpenSpace == AS3. Server Extensions == Java
Posted: 04 Feb 2009, 20:34
I have a question about how to use OpenSpace to setup an NPC.
Now it seems obvious to me that an NPC has to be created on the sever in a server side extension. I have a server side extension that creates an NPC via a call to createNPC. This seems to work fine and I am able to broadcast a public message and have it received by the client. It also seems obvious to me that the server should be the one responsible for issuing commands to the NPC to tell him to go somewhere and this information should be propogated to each client.
My extension is written in Java, and it looks like OpenSpace only supports AS3. How do I use OpenSpace from my server side extension? Is it wrong for me to want the server to move the NPC around? Is open space only set up to work with the client? Do I need to do something roundabout to get this to work?
If there is no easy way to do this, then the combination of the languages supported is frustrating. If the server only supports AS1 and java, and OpenSpace only supports AS3, then this seems to be incompatible. I have scanned the server side extension development forum, and their advice is to port any AS3 code to Java.
Any help would be appreciated.
Thanks
John Lawrie
Now it seems obvious to me that an NPC has to be created on the sever in a server side extension. I have a server side extension that creates an NPC via a call to createNPC. This seems to work fine and I am able to broadcast a public message and have it received by the client. It also seems obvious to me that the server should be the one responsible for issuing commands to the NPC to tell him to go somewhere and this information should be propogated to each client.
My extension is written in Java, and it looks like OpenSpace only supports AS3. How do I use OpenSpace from my server side extension? Is it wrong for me to want the server to move the NPC around? Is open space only set up to work with the client? Do I need to do something roundabout to get this to work?
If there is no easy way to do this, then the combination of the languages supported is frustrating. If the server only supports AS1 and java, and OpenSpace only supports AS3, then this seems to be incompatible. I have scanned the server side extension development forum, and their advice is to port any AS3 code to Java.
Any help would be appreciated.
Thanks
John Lawrie