extension not loading properly?

Post here your questions about SFS2X. Here we discuss all server-side matters. For client API questions see the dedicated forums.

Moderators: Lapo, Bax

Post Reply
foxter888
Posts: 78
Joined: 10 Apr 2011, 05:52
Location: united states

extension not loading properly?

Post 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.
get to work you slacker!!!
appels
Posts: 464
Joined: 28 Jul 2010, 02:12
Contact:

Post 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.
BigFIsh
Posts: 1698
Joined: 25 Feb 2008, 19:26
Location: New Zealand

Post by BigFIsh »

Moved to a more appropriate section.
Smartfox's forum is my daily newspaper.
Post Reply