Search found 464 matches

by appels
12 Jul 2011, 14:58
Forum: SFS2X Questions
Topic: Simple Extension doesn't show up in the admin
Replies: 18
Views: 22464

the extension won't show in the admin tool if the name doesn't end in ...Extension.jar.
Thats a fault i had at start, as soon as i changed the filename it popped up in the tool.
Thats all i can think off.
by appels
12 Jul 2011, 01:17
Forum: SFS2X Questions
Topic: Simple Extension doesn't show up in the admin
Replies: 18
Views: 22464

I'm no expert but yes i think you need to have the SDK, if i recall right. Also check this topic on extensions, might have more info on it : http://www.smartfoxserver.com/forums/viewtopic.php?t=8107 It's the JDK 6.0 http://www.oracle.com/technetwork/java/javase/downloads/index.html
by appels
12 Jul 2011, 00:25
Forum: SFS2X Questions
Topic: Simple Extension doesn't show up in the admin
Replies: 18
Views: 22464

just stumbled upon this : Start Eclipse and make sure the JRE is pointing to the JAVA 6 JRE. (Window->Preferences->Java->Installed JRE's) In Eclipse preferences (Window->Preferences->Java->Compiler), set the compliance level to '6.0'. It's from another site but it should apply for SFS
by appels
12 Jul 2011, 00:21
Forum: SFS2X Questions
Topic: Simple Extension doesn't show up in the admin
Replies: 18
Views: 22464

yes, you can open it and extract the files but i think it will be garbled text in the files
by appels
12 Jul 2011, 00:10
Forum: SFS2X Questions
Topic: Simple Extension doesn't show up in the admin
Replies: 18
Views: 22464

hard to tell but i just checked on my smallest jar and it's 12K and has 2 files in it
by appels
11 Jul 2011, 23:45
Forum: SFS2X Questions
Topic: Simple Extension doesn't show up in the admin
Replies: 18
Views: 22464

Did you compile the jar with Source binary format JDK 6 ?
I use Netbeans and thats the only thing i had to modify.
by appels
11 Jul 2011, 21:36
Forum: SFS2X Questions
Topic: Simple Extension doesn't show up in the admin
Replies: 18
Views: 22464

Hi, this is my zone extension file : package net.edje.projects.SFS2xBase; import com.smartfoxserver.v2.core.SFSEventType; import com.smartfoxserver.v2.extensions.SFSExtension; public class ZoneExtension extends SFSExtension { @Override public void init() { addEventHandler(SFSEv...
by appels
08 Jul 2011, 06:13
Forum: SFS2X C# API
Topic: Unity and SFS2X socket connection problem.
Replies: 14
Views: 17555

Sounds like a local issue on the windows 7 box, i don't think it would be client API.

Have you got the latest update from SFS installed ? RC3 ?
And also the most recent API ?
by appels
07 Jul 2011, 21:30
Forum: SFS2X C# API
Topic: Unity and SFS2X socket connection problem.
Replies: 14
Views: 17555

"I/O error: An attempt was made to access a socket in a way forbidden by its access permissions" Maybe Thomas or one of the SFS guys can chime in for this error as i don't know if it's the dll that would throw this error or Unity3d. Also a ping to an SFS server will tell you if it's alive...
by appels
07 Jul 2011, 14:42
Forum: SFS2X C# API
Topic: Unity and SFS2X socket connection problem.
Replies: 14
Views: 17555

are you getting that error in the Unity3d editor or the webplayer ?
by appels
06 Jul 2011, 16:00
Forum: SFS2X C# API
Topic: unity client doesnt get uservar of type sfsobject
Replies: 23
Views: 29105

I just tested it out on RC3 and it works fine : Server side: User user = (User) event.getParameter(SFSEventParam.USER); UserVariable uID = new SFSUserVariable("id", 1); uID.setHidden(false); List<UserVariable> vars = Arrays.asList(uID); getApi().setUserVariables(user, vars); client side: D...
by appels
06 Jul 2011, 15:00
Forum: SFS2X C# API
Topic: unity client doesnt get uservar of type sfsobject
Replies: 23
Views: 29105

when you have set the var, can you see it in the SFS2x webtool ?
by appels
06 Jul 2011, 10:53
Forum: SFS2X C# API
Topic: unity client doesnt get uservar of type sfsobject
Replies: 23
Views: 29105

it's been a while since i used vars but your setting the var on the user object, if i remember right you should push it in the api :

getApi().setUserVariables(user, vars);
the server will send updates to the clients
by appels
05 Jul 2011, 14:50
Forum: SFS2X Questions
Topic: How to create multi room for mmorpg from server side(Java)?
Replies: 1
Views: 3736

you have to look at 'CreateRoomSettings' and 'createRoom' in the server docs.
Create the roomsettings and then create the room using the roomsettings
by appels
05 Jul 2011, 14:44
Forum: SFS2X C# API
Topic: unity client doesnt get uservar of type sfsobject
Replies: 23
Views: 29105

1. how do you set the var on the server side ?
2. what error are you getting on the client ?
3. what happens if you debug the var :
Debug.Log(smartFox.MySelf.GetVariable("inv"));

Go to advanced search