Search found 83 matches

by TiagoR
29 Jun 2010, 10:46
Forum: OpenSpace v2 discussions and help
Topic: Question about Map Editing
Replies: 52
Views: 33916

Thanks for all the help. The problem previously posted it seems to be, when we run the code for the 1st time we create the user Room and the roomlist update event is dispached, so when we try to run the code a 2nd time the Room is already in the roomlist so it throws the error that the Room already ...
by TiagoR
29 Jun 2010, 09:33
Forum: Server Side Extension Development
Topic: java roomID
Replies: 4
Views: 3107

java roomID

Hi, I got a question, on a java extension when I only have a map filename how do I get the mapId so i can send a user to that map? What im doing rigth now takes some lines of code, and i wanted to to avoid that if possible Zone currZone = ExtensionHelper.instance().getZone(getOwnerZone&#...
by TiagoR
29 Jun 2010, 08:17
Forum: OpenSpace v2 discussions and help
Topic: Question about Map Editing
Replies: 52
Views: 33916

Yes, but this is in 'your' code example, if the room doesnt exist the extension duplicates the template room for the user, if exists (this case) the user is sent to the existing room. Whats happening is that the code only works fine 1 time, is it creating a new room or is it sending the user to his ...
by TiagoR
28 Jun 2010, 10:13
Forum: OpenSpace v2 discussions and help
Topic: Question about Map Editing
Replies: 52
Views: 33916

Thanks for the reply. I really thought json was the default! About the fromUser.. yeah it wasnt making much sense to me, the problem was that i tried 1st smartFox.sendXtMessage(openSpace.xtName, "goToHome", { }); and since i didnt got any response i tried adding the user,...
by TiagoR
25 Jun 2010, 09:54
Forum: OpenSpace v2 discussions and help
Topic: Question about Map Editing
Replies: 52
Views: 33916

Thanks for the reply. Like you said I changed the package structure, since this is only test code i was using same package structure. Again you were right, why add the OpenSpace extension if im extending it next. And yes, i defined the server side extension, i set it on initializeOpenSpace() functio...
by TiagoR
24 Jun 2010, 08:37
Forum: OpenSpace v2 discussions and help
Topic: Question about Map Editing
Replies: 52
Views: 33916

For starters sorry for this 'noob' questions, but im new with Java and Java extensions, and the support ive read didnt helped. Ok from start to see if i can explain it all. Ive followed the work flow described previously and downloaded your example of custom Java class extending the OpenSpace Extens...
by TiagoR
23 Jun 2010, 14:26
Forum: OpenSpace v2 discussions and help
Topic: Question about Map Editing
Replies: 52
Views: 33916

You have to add the extension to the zone configuration, giving it a name to be used in your extension calls. Please read the SmartFoxServer documentation about extensions! I had! its the last point in the workflow i described ! my question is how i comunicate with it. I know that on server.sendXtM...
by TiagoR
23 Jun 2010, 10:52
Forum: OpenSpace v2 discussions and help
Topic: Question about Map Editing
Replies: 52
Views: 33916

Got a question now if i understood correctly the workflow, using the example of a custom Java class extending the OpenSpace Extension provided, I - create a java project; - add that as the main project file; - add jysfs.jar and json.jar as project libraries; - compile the custom extension; - copy th...
by TiagoR
22 Jun 2010, 15:51
Forum: OpenSpace v2 discussions and help
Topic: Question about Map Editing
Replies: 52
Views: 33916

Hi, im reviving this old thread cause i just got to the same problem, well not the exacly the same. I've read the sendAvatarToMap workflow and im trying follow it, but i got stuck at the very beginning, exacly at, "... a custom request is sent to our server-side extension (which in turn extends...
by TiagoR
19 May 2010, 17:03
Forum: OpenSpace v2 discussions and help
Topic: Keyboard bug
Replies: 2
Views: 1949

Ive tested this bug again, and it seems that in some areas all direction keys work fine, and on some they randomly dont work, giving the error output i posted early.
by TiagoR
17 May 2010, 14:49
Forum: OpenSpace v2 discussions and help
Topic: Keyboard bug
Replies: 2
Views: 1949

Hi again. I dunno if this is a problem on my end or yours, but when i enabled the keyboard control and press the right, left or down buttons the avatar doesnt move and i get the following errors: TypeError: Error #1009: Cannot access a property or method of a null object reference. at com.smartfoxse...
by TiagoR
10 May 2010, 16:35
Forum: OpenSpace v2 discussions and help
Topic: Openspace 2 'bug'
Replies: 4
Views: 3833

Hi again. Found another bug! And again related with the log view, this time as i exported a map and i had a warning to check the logs, after i checked them i returned to the 'Export data' screen, thru the 'Back to Editor' button, and on the 'Export data' screen the 'Back to Editor' button didnt work...
by TiagoR
10 May 2010, 09:29
Forum: OpenSpace v2 discussions and help
Topic: Avatar Creation in Flash
Replies: 43
Views: 22622

Thnks for que quick reply, i am using the 1st aproach, but in the meanwhile i reviewed the code and found that i missed something :oops: after ive loaded the swf file at runtime in my application i was forgetting to set the Openspace avatarAppDomain property :oops: Now its working :roll: Thnks for t...
by TiagoR
10 May 2010, 08:40
Forum: OpenSpace v2 discussions and help
Topic: Avatar Creation in Flash
Replies: 43
Views: 22622

Hi, the example you provided is the same as before, and unfortunally i get the same results from it :? The only thing i get from the avatar is this output: "AVATAR CREATION ERROR: Missing 'DemoAvatar' class definition in avatars application domain for 'demo' avatar type " although i think ...
by TiagoR
07 May 2010, 11:39
Forum: OpenSpace v2 discussions and help
Topic: Avatar Creation in Flash
Replies: 43
Views: 22622

Yes ive read the Avatar class API reference and tried to follow but im getting to luck to spawn my avatar, lathough im getting no compiling errors.
The work flow from one version to another changed alot and im completly lost here now :?

Go to advanced search