Search found 5 matches

by belltzaser
17 Jan 2011, 06:57
Forum: SFS2X C# API
Topic: NPC's
Replies: 4
Views: 8945

It states in the documents that the createNPC function have a small bug that doesnt release it as soon as its created. This mean it will be instantiated for the lifetime of the server object. I wonder if that was fixed.
by belltzaser
17 Jan 2011, 06:53
Forum: SFS2X C# API
Topic: Networking Physics???
Replies: 4
Views: 9911

To avoid cheating, you can easily implement boundery checks on the server, but try to limit that. Keep physics for cosmetic purposes (raggdoll, shocks on wheels etc) on the clients. The server should only be concerned on boundery checks and collission (eg. Dont drive through walls, collission with ...
by belltzaser
19 Dec 2010, 15:09
Forum: SFS2X C# API
Topic: DB access
Replies: 1
Views: 5280

DB access

I dont have the example source in front of me now, but just a general question. Is there code in the Java client/server I can use to connect and write to MySQL for example using the JDBC connector on this point? If not, is there an overview of the connector I can reference to add this on by myself ...
by belltzaser
03 Dec 2010, 07:35
Forum: SFS2X C# API
Topic: [[ NEW ]] FPS Demo!
Replies: 128
Views: 314718

Hi mate,

I feel like an idiot. I didnt restart the SFS server after copying the jar file to the extension folder as per your document. Its working now!

As per your new DLL, works so far. I can run multiple times and quit Unity, even from my Netbook.

@Pax, make sure you copy the extensions JAR ...
by belltzaser
03 Dec 2010, 06:45
Forum: SFS2X C# API
Topic: [[ NEW ]] FPS Demo!
Replies: 128
Views: 314718

This code exists in SmartFoxConnection.cs in game scene.
Then I try to start new game, I see next screen:
http://gyazo.com/e8f6416a33983a86a08624f1e6f975c7.png
And console show error:
[SFS DEBUG] TCPSocketLayer: General error reading data from socket: Read failure at System.Net.Sockets ...