Page 1 of 1

extension not loading properly?

Posted: 10 Apr 2011, 06:03
by foxter888
i'm using smartfox2x, i been using the fps tutorial as a base server side extension in order to get my game networked. i'm talking using the unity engine too.

i got two questions:
1) do i need a main class for the extension? because it won't let me set it.

2) my error i get on the console is, com.smarffoxserver.bitswarm.AbstractController.run in wich is related to using the main public class with the words extends sfsextension. once i comment out the extends part it lets me make a main class.

i didn't really code into the fps tutorial from unity (server side extension) all i did was just to change my position of where i'm trying to spawn.

i just installed netbeans, and eclipse are giving me problems not letting me set a main class.

and yes i did put the extension into the server and all that.

Posted: 10 Apr 2011, 09:34
by appels
No, you don't need 'Main" class in the application, you can call the class whatever you want as long as you use the name in the extension config in the admin tool.
Also, this is the SFS1 forum, you would get faster answers if you posted in the SFS2x one.
Cheers.

Posted: 11 Apr 2011, 05:13
by BigFIsh
Moved to a more appropriate section.