Search found 464 matches

by appels
31 Oct 2011, 11:43
Forum: SFS2X C# API
Topic: [[ NEW ]] FPS Demo!
Replies: 128
Views: 261260

That's indeed the path a connection follows at start, the new player object is requested in the world class : public boolean addOrRespawnPlayer(User user) { CombatPlayer player = getPlayer(user); if (player == null) { player = new CombatPlayer(user); ---> HE...
by appels
31 Oct 2011, 01:38
Forum: SFS2X Questions
Topic: Fighting Game Online With 4 Players In One Room
Replies: 1
Views: 3898

lag compensation through inter- and extrapolation
by appels
28 Oct 2011, 10:41
Forum: SFS2X Questions
Topic: Registration
Replies: 1
Views: 3684

nope, you need to write the logon procedure yourself on the client side.
What i did was create a register zone, disconnect the client and then reconnect with login details to the game zone.
by appels
24 Oct 2011, 11:11
Forum: SFS2X C# API
Topic: External DB and Custom Login
Replies: 7
Views: 11224

client connects, zone extension sends to the logineventhandler, once allowed the connection becomes a client and gets sent to the joinzonehandler.
In the joinzone you can create rooms and send the connection to the room extension.
by appels
22 Oct 2011, 14:50
Forum: SFS2X C# API
Topic: External DB and Custom Login
Replies: 7
Views: 11224

Your not making the connection at all in the client.
In your start function your should call a connect and the addlisteners function.
by appels
21 Oct 2011, 22:19
Forum: SFS2X C# API
Topic: External DB and Custom Login
Replies: 7
Views: 11224

Can you post the part of the script where you make the connection and all the callbacks please.
Are you processing the events that come back from SFS ?
by appels
18 Oct 2011, 11:55
Forum: SFS2X C# API
Topic: Unable to connect to SFS from C# (noob quest).
Replies: 3
Views: 6642

You need to enable processing the events by doing :

Code: Select all

void FixedUpdate () {
    smartFox.ProcessEvents ();
}
by appels
15 Oct 2011, 00:07
Forum: SFS2X C# API
Topic: Unity 3.4 / SFS2x RC1 Tutorial Issues
Replies: 23
Views: 34825

It seems to work, i get back my chat message. Some free advice, since your learning how SFS2 works with Unity, start without any assets. Just use a floor and some cubes or the FPSController from Unity. Your just making the process to learn SFS harder by adding stuff thats not realy needed. Start wit...
by appels
14 Oct 2011, 01:42
Forum: SFS2X Questions
Topic: problems loading an extension
Replies: 5
Views: 7191

trace("MySFSExtension loaded");
Yes, you should see them in the console.
by appels
14 Oct 2011, 01:31
Forum: SFS2X C# API
Topic: Can someone show me the full sintax of a object message?
Replies: 8
Views: 9953

its seems complicated since its using class serialization Nope, it has a 'world model' that is used. There are 2 ways to attack it : 1. rip out all thats not needed, try and endup with only connecting and spawning. Thats already a big part of the model. 2. follow the path in the code that a client ...
by appels
13 Oct 2011, 16:37
Forum: SFS2X Questions
Topic: problems loading an extension
Replies: 5
Views: 7191

You can add traces to your extension and and check the logs for them.
by appels
13 Oct 2011, 03:37
Forum: SFS2X Questions
Topic: problems loading an extension
Replies: 5
Views: 7191

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 c...
by appels
12 Oct 2011, 13:03
Forum: SFS2X C# API
Topic: Unity 3.4 / SFS2x RC1 Tutorial Issues
Replies: 23
Views: 34825

To be able to connect from the webplayer to SFS you need to have policy validation. You can read more about it here :
http://www.smartfoxserver.com/forums/viewtopic.php?t=8878
Sort of the same system as in flash.
by appels
12 Oct 2011, 13:00
Forum: SFS2X Questions
Topic: SFSEventType.USER_VARIABLES_UPDATE not firing
Replies: 7
Views: 11429

yep, a very good suggestion. I don't think it's mentioned in the docs.
At least i didn't find it.

Go to advanced search