Search found 22 matches

by Georgie
21 Dec 2010, 15:29
Forum: SFS2X Questions
Topic: Server Side Questions
Replies: 5
Views: 8099

Hi Lapo.

I've managed to get the extension working from the docs, but once past that point I've found it difficult to get information.

The javadoc url is a little in disarray with no direction, the non api documentation is good tho, just need more of it!
by Georgie
21 Dec 2010, 08:07
Forum: SFS2X Questions
Topic: Server Side Questions
Replies: 5
Views: 8099

Anyone?
by Georgie
20 Dec 2010, 14:43
Forum: SFS2X Questions
Topic: Server Side Questions
Replies: 5
Views: 8099

Server Side Questions

Is there a way to do send to all users in room? Is there a list of users currently in the room accessible from the extension? What method is the best way to send constant data, I'm currently doing it with an SFSObject that contains position and rotation, but is this the best way of doing it, or is t...
by Georgie
20 Dec 2010, 14:40
Forum: SFS2X Questions
Topic: [Suggestion] Searchable Documentation
Replies: 2
Views: 5210

[Suggestion] Searchable Documentation

Please!
by Georgie
20 Dec 2010, 08:30
Forum: SFS2X C# API
Topic: Where does the object go to?
Replies: 11
Views: 15585

Yeah sorry I had missed that. Is there a way to send different events from the server to different functions? Like one for "add" one for "subtract"? or do they all have to go to 1 function and use logic? -- Also server side, is there a short hand way to do SEND to all users in ro...
by Georgie
19 Dec 2010, 21:21
Forum: SFS2X C# API
Topic: Where does the object go to?
Replies: 11
Views: 15585

Is there anything else I need to do? this codes not being executed public void OnExtensionResponse(BaseEvent evt) { string cmd = (string)evt.Params["cmd"]; SFSObject dataObject = (SFSObject)evt.Params["params"]; Debug.Log(cmd); } I'm managing to send to the server and do a trace,...
by Georgie
19 Dec 2010, 21:00
Forum: SFS2X C# API
Topic: Where does the object go to?
Replies: 11
Views: 15585

ThomasLund wrote:Argh - very true. I should slow down when reading. You said from server->client and not client->server. Sorry.

OnExtensionResponse is the right answer yes. Dont forget to subscribe to the callback.

/Thomas


he he, yes I got it from the docs :D
by Georgie
19 Dec 2010, 14:52
Forum: SFS2X C# API
Topic: Where does the object go to?
Replies: 11
Views: 15585

Where does the object go to?

If i send this from the server

send("add", resObj, sender);

How do i then get the resObj in unity?
by Georgie
17 Dec 2010, 13:09
Forum: SFS2X C# API
Topic: External tutorials and resources
Replies: 3
Views: 29297

Thanks Dragagon!
by Georgie
15 Dec 2010, 13:00
Forum: SFS2X C# API
Topic: Sending and Receiving?
Replies: 14
Views: 18208

I'm not disagreeing with that Thomas, a showcase is great. But surely it would also be very good to just have very barebones, Unity -> Smartfox -> Unity examples. Without all the filler Just simple Object goes from Unity to one class of Java, back to Unity just two files. I also do understand this i...
by Georgie
15 Dec 2010, 09:28
Forum: SFS2X C# API
Topic: Sending and Receiving?
Replies: 14
Views: 18208

I'm not that new to programming, and I don't want to use their code. I just want the most raw examples of how to actually send and receive data, so I can just do my own thing. I don't care how they solved problem x or y in the FPS tutorial. That's my issue with the example. I don't want to learn C# ...
by Georgie
15 Dec 2010, 08:48
Forum: SFS2X C# API
Topic: Sending and Receiving?
Replies: 14
Views: 18208

I agree, But you go from all client side code, to then needed server side and the first real example available is a full FPS. I would just love a tutorial or example, that just contains the absolute bare minimum. Blank Scene, 1 cube floor, and instantiates cubes for each player and allows movement b...
by Georgie
15 Dec 2010, 08:45
Forum: SFS2X C# API
Topic: Tutorials?
Replies: 5
Views: 9449

Sounds fantastic!
by Georgie
14 Dec 2010, 20:54
Forum: SFS2X C# API
Topic: Sending and Receiving?
Replies: 14
Views: 18208

Thank you, got it.

Really hope someone makes a basic tutorial for Smartfox 2x soon.
by Georgie
14 Dec 2010, 15:49
Forum: SFS2X C# API
Topic: Sending and Receiving?
Replies: 14
Views: 18208

What file(s) in those projects contain the server side code?

Go to advanced search