Search found 67 matches

by moccha
10 Aug 2015, 20:01
Forum: SFS2X ActionScript 3 API
Topic: Another Haxe question
Replies: 3
Views: 3368

Re: Another Haxe question

I've been using Sublime Text for IDE.

How long will you support the SWC build for (as3 client api)? I've been using AIR and I'm afraid that you'll drop support for it soon. I don't want to be stuck. :(
by moccha
09 Aug 2015, 19:11
Forum: SFS2X ActionScript 3 API
Topic: Another Haxe question
Replies: 3
Views: 3368

Another Haxe question

With the rise in popularity of Haxe and the slow decline of Flash, is there a possibility in the future that we might get a port of the AS3 source to Haxe? I've worked extremely hard to port my AS3 code to HaxeFlixel ( http://haxeflixel.com/ ). I can compile to swf using the SWC api provided on your...
by moccha
29 Jul 2015, 18:20
Forum: SFS2X Questions
Topic: Null user error
Replies: 14
Views: 5075

Re: Null user error

I believe I found the issue. As I stated earlier, my game was ending both a movement update and also a SetUserPos command every 200 ms.I only need to send one SetUserPos obviously as i join room, so this was incorrect. for whatever reason, the when sending both of the commands at the same time it ca...
by moccha
28 Jul 2015, 19:13
Forum: SFS2X Questions
Topic: Null user error
Replies: 14
Views: 5075

Re: Null user error

Version 1.2.0 has MMORoom functionality. You can confirm here: http://www.smartfoxserver.com/download/releaseNotes/SFS2X_API_AS3.txt I actually haven't tested with 1.2.5, if you know where I can obtain that SWC please let me know. It looks like a lot changed specifically with MMO rooms in that relea...
by moccha
28 Jul 2015, 17:10
Forum: SFS2X Questions
Topic: Null user error
Replies: 14
Views: 5075

Re: Null user error

I am running this instance on OSX 10.10.3. I do have a firewall (LittleSnitch), but even after turning it off I was able to reproduce the problem. Initially I was excited as I could not reproduce the error after about 10 tries, but shortly after a rapid test cycle I again received a bad packet. I am...
by moccha
27 Jul 2015, 20:11
Forum: SFS2X Questions
Topic: Null user error
Replies: 14
Views: 5075

Re: Null user error

I've triple checked that I'm using the latest version of the API, confirming the version 1.6.0 via a trace. I tried viewing a data dump of a time when the game broke and I noticed something. In this code there is a logged in user "q1q1q1" and a guest user. The game broke on "SetUserPo...
by moccha
27 Jul 2015, 17:36
Forum: SFS2X Questions
Topic: Null user error
Replies: 14
Views: 5075

Re: Null user error

I'm going to keep testing various things I may have changed to see if I can resolve this, but I was wondering: what happens in the SFS source at this line? com.smartfoxserver.v2.entities.managers::SFSUserManager/addUser()[/Users/Paolo/gotoAndPlay/gotoAndPlay/SmartFoxServer.2X/API/AS3/src/com/smartfo...
by moccha
27 Jul 2015, 02:23
Forum: SFS2X Questions
Topic: Null user error
Replies: 14
Views: 5075

Re: Null user error

Sure thing, Lapo. In this scenario there is player1 and player2. 1.) Player1 connects to server as Guest, is logged in to an MMO room. 2.) Player2 connects to server with Username, is logged in to an MMO room. 3.) Player2 sees the posted error message in debugger, Player1 doesn't appear. Player1 see...
by moccha
26 Jul 2015, 02:27
Forum: SFS2X Questions
Topic: Null user error
Replies: 14
Views: 5075

Null user error

Sorry to bother you again so soon, Lapo. After about one in every four tries, when I connect as a guest or user in one client, the other client freezes and gives this error: Cannot access a property or method of a null object reference. at com.smartfoxserver.v2.entities.managers::SFSUserManager/addU...
by moccha
25 Jul 2015, 16:43
Forum: SFS2X Questions
Topic: Restart server within SFS error
Replies: 12
Views: 4570

Re: Restart server within SFS error

Do you think there will a feature in the future to ban by both username and IP? I'd really like an option like this. The option is already there since the earliest version of SFS2X :) You can ban people by IP in three ways: 1 - from the AdminTool > ZoneMonitor : selecting the user and banning him (...
by moccha
24 Jul 2015, 18:16
Forum: SFS2X Questions
Topic: Restart server within SFS error
Replies: 12
Views: 4570

Re: Restart server within SFS error

Do you think there will a feature in the future to ban by both username and IP? I'd really like an option like this.

Thanks for your continued and excellent customer support, Lapo.
by moccha
24 Jul 2015, 15:38
Forum: SFS2X Questions
Topic: Restart server within SFS error
Replies: 12
Views: 4570

Re: Restart server within SFS error

Thanks. Keep in mind that disabling the web-server removes the possibility for clients to connect via HTTP-tunnel, which is pretty useful for people behind proxies and firewalls. cheers I was not aware of this. Thanks for the info, lapo. I guess I can just keep in enabled. Are there any cons of the...
by moccha
23 Jul 2015, 20:28
Forum: SFS2X Questions
Topic: Restart server within SFS error
Replies: 12
Views: 4570

Re: Restart server within SFS error

After additional testing I can confirm I am running into the same error that's reproducible. If i initiate the command "SmartFoxServer.getInstance().restart()" from the server with the following settings in server.xml, the server successfully reboots itself: <webServer> <isActive>true</isA...
by moccha
23 Jul 2015, 19:11
Forum: SFS2X Questions
Topic: Restart server within SFS error
Replies: 12
Views: 4570

Re: Restart server within SFS error

I definitely tried turning off the webserver itself before trying again, but when i did it again via your suggestion the restart command seems to be working without a null pointer exception. Do you have an idea why? I'm happy but still a bit worried that it might happen again :lol: Also, since the n...
by moccha
23 Jul 2015, 17:48
Forum: SFS2X Questions
Topic: Restart server within SFS error
Replies: 12
Views: 4570

Re: Restart server within SFS error

In my live environment I am unable to open the port for the webtool so it is disabled. Even though I can't test this, do you have any idea why it may be failing to restart the server or have any suggestions I may try?

Go to advanced search