Search found 15 matches

by Birch
19 Jul 2012, 14:46
Forum: SFS2X C# API
Topic: Can't send certain floats.
Replies: 13
Views: 5595

Re: Can't send certain floats.

And where do i find these packet dumps? :)
by Birch
14 Jul 2012, 17:30
Forum: SFS2X C# API
Topic: Can't send certain floats.
Replies: 13
Views: 5595

Re: Can't send certain floats.

Sorry! With bluebox i got the error.
by Birch
14 Jul 2012, 09:55
Forum: SFS2X C# API
Topic: Can't send certain floats.
Replies: 13
Views: 5595

Re: Can't send certain floats.

I downloaded the latest patch and C# api and turned off bluebox, and now it works, but without bluebox i still get the same error. I've also noticed (when using bluebox) that if i convert the floats to double, i can send them. But then there're other numbers that won't work. Can't send as float: 1.3...
by Birch
13 Jul 2012, 12:22
Forum: SFS2X C# API
Topic: Can't send certain floats.
Replies: 13
Views: 5595

Re: Can't send certain floats.

Same problem with Double as with Float :?
by Birch
13 Jul 2012, 11:52
Forum: SFS2X C# API
Topic: Can't send certain floats.
Replies: 13
Views: 5595

Re: Can't send certain floats.

I am using SFS2X 2.0.1, and setting useBluebox to false doesn't change anything.
by Birch
12 Jul 2012, 09:42
Forum: SFS2X C# API
Topic: Can't send certain floats.
Replies: 13
Views: 5595

Can't send certain floats.

Hello! I've got a really strange problem, i am trying to do a really simple thing, put a float in a SFSObject and sending it to the server. This code works: void test(){ SFSObject data = new SFSObject(); data.PutFloat("x", 2.305684f); smartfox.Send(new ExtensionRequest("moveRequest&qu...
by Birch
09 Jul 2012, 11:10
Forum: SFS2X C# API
Topic: Can't send request.
Replies: 1
Views: 2025

Can't send request.

Hello guys! I am trying to send a quite large object (approximately 229 KB) from unity to smartfox, but i can't get it to work. I want to send information about a unit to smartfox and then store this information on a mySQL database. The plan is that i later can access this information during runtime...
by Birch
23 Jun 2012, 08:22
Forum: SFS2X C# API
Topic: Extension not working
Replies: 10
Views: 7230

Re: Extension not working

Thanks for all your help guys! Finally got it working. The problem was that i used getPlayersList instead of getUserList. I guess it's related to the fact that my room wasn't a game room? But anyways. It's working now. Thanks for your support! :D
by Birch
22 Jun 2012, 12:43
Forum: SFS2X C# API
Topic: Extension not working
Replies: 10
Views: 7230

Re: Extension not working

I added this trace: trace(this.getParentExtension().getParentRoom().getPlayersList()); And it gives me this in the console: 14:30:35,349 INFO [com.smartfoxserver.v2.controllers.ExtensionController-1] Extensions - {testExtension}: [] I also added these traces to be sure that it is searching the right...
by Birch
22 Jun 2012, 11:50
Forum: SFS2X C# API
Topic: Extension not working
Replies: 10
Views: 7230

Re: Extension not working

I am attaching the extension to the room in the zone configurator -> room extension, to the room "The Lobby". And after adding a Trace both in the init() function and testHandler class it really seems as it is working. Every time i send a message to the server the trace in my testHandler g...
by Birch
22 Jun 2012, 10:08
Forum: SFS2X C# API
Topic: Extension not working
Replies: 10
Views: 7230

Re: Extension not working

Nope, i only get this when i login: [com.smartfoxserver.v2.controllers.SystemController-1] api.SFSApi - Login in, { Zone: test }, ( User Name: Birch, Id: 2, Priv: 0, Sess: 192.168.1.3 ) I've also confirmed that i am in the correct room and zone with the zone monitoring in the Admin Tools. And here i...
by Birch
21 Jun 2012, 17:31
Forum: SFS2X C# API
Topic: Extension not working
Replies: 10
Views: 7230

Re: Extension not working

I've attached it to the room. Thanks for all the replies. I guess i'll have to try and figure this one out on my own! :)
by Birch
16 Jun 2012, 11:59
Forum: SFS2X C# API
Topic: Extension not working
Replies: 10
Views: 7230

Extension not working

Hello! I have just started to learn SmartFoxServer 2x and i'm currently trying to create a working server side extension. It is a very simple one, all it does is to create a request handler to deal with messages sent from unity and then send it back. Obviously, i can't make it work. I manage to conn...
by Birch
06 Jun 2012, 15:39
Forum: SFS2X Questions
Topic: Eclipse Debugging Issue
Replies: 3
Views: 2163

Re: Eclipse Debugging Issue

Nope :?
by Birch
06 Jun 2012, 08:53
Forum: SFS2X Questions
Topic: Eclipse Debugging Issue
Replies: 3
Views: 2163

Eclipse Debugging Issue

Hello! I am having a quite strange problem when i'm trying to debug my server side extensions. I've added the three switches to JVM options and i can debug, sometimes. It seems like i can only debug after changing "suspend=n" to "suspend=y" or vice versa in the JVM options. When ...

Go to advanced search