ok first of all yes i have read the docs, i'm using netbeans to make the extension and i do know that i don't need a class path so it's a java class library project. the sintax is correct to pretty much almost copied from the fps tutorial. now i'm trying to add the extension to a room. by using the admin tool of course. and yes by the way i navigated through the smartfox installation and the folder extension and copied the jar in there.
now when i go to the admin too and use the zone configurator in the extension tab i can see the fps tutorial extension there but it won't show up the extension that i added. and yes i did restarted my server and so on too.
now one question would be by using netbeans how to i find in my project the .properties file? i don't know how to use that and my extension won't show up why would be the reason? the fps extension and the smartfox tris show up.
i apreciate the help
problems loading an extension
problems loading an extension
get to work you slacker!!!
You don't need a properties file.
Your extension needs to be called something ending on Extension.
For ex. MyExtension, FPSExtension, mygameExtension.
Then the tool will pickup the extension and you will be able to select it.
Same goes for the Zone and Room extension java files in the jar.
You can call them ZoneExtension and RoomExtension.
Only when they end with ...Extension, they will get picked up.
Your extension needs to be called something ending on Extension.
For ex. MyExtension, FPSExtension, mygameExtension.
Then the tool will pickup the extension and you will be able to select it.
Same goes for the Zone and Room extension java files in the jar.
You can call them ZoneExtension and RoomExtension.
Only when they end with ...Extension, they will get picked up.
Thanks that works, the server reconizes my file now.
One question would how to debug extensions? I'm using unity to send a message to the server, the extension is uncataloged properly but I don't seem to get a callback.
I'm going to post my code when I'm able to get to my computer.
One question would how to debug extensions? I'm using unity to send a message to the server, the extension is uncataloged properly but I don't seem to get a callback.
I'm going to post my code when I'm able to get to my computer.
get to work you slacker!!!
Who is online
Users browsing this forum: Stevenor and 83 guests