Search found 67 matches
- 23 Sep 2020, 17:39
- Forum: SFS2X Questions
- Topic: Manually editing Zone XML file?
- Replies: 2
- Views: 564
Re: Manually editing Zone XML file?
I think I found it. Sorry for the problems. [pool-1-thread-2] Extensions - {game}: Error running global timer.null This was thrown because I tried referencing a room var that didn't exist. The server was checking a certain room ID and changing the room order caused the room var to be incorrect. Than...
- 22 Sep 2020, 20:33
- Forum: SFS2X Questions
- Topic: Manually editing Zone XML file?
- Replies: 2
- Views: 564
Manually editing Zone XML file?
I would like to copy and paste a few rooms with complex settings. I used to be able to just open up the x.zone.xml file and then copy and paste the <room>...</room> xml as much as I like. However, after updating a few versions this no longer works. I have tried several editors and checked the encodi...
- 20 Jul 2020, 18:06
- Forum: SFS2X Questions
- Topic: Cannot connect to new AdminTool
- Replies: 18
- Views: 1534
Re: Cannot connect to new AdminTool
The tcpPort set to -1 fixed it! You guys should add it here since I think it could help others: http://docs2x.smartfoxserver.com/Gettin ... /migration
Have a good week, Lapo.
Have a good week, Lapo.
- 19 Jul 2020, 17:04
- Forum: SFS2X Questions
- Topic: Cannot connect to new AdminTool
- Replies: 18
- Views: 1534
Re: Cannot connect to new AdminTool
Yes, I installed 2.14 to a new folder, patched to 2.16 and then only copied over the config files listed in the manual update section. I do not see any boot errors either in the SFS2X console. I don't think I was using a custom port for the tool either, because when I connect to the old Flash consol...
- 15 Jul 2020, 19:10
- Forum: SFS2X Questions
- Topic: Cannot connect to new AdminTool
- Replies: 18
- Views: 1534
Cannot connect to new AdminTool
I cannot connect to the new HTML5 tomcat AdminTool after upgrading from 2.13.x to the latest version (2.16). I have tried every port configuration possible and none of them appear to work. Per the instructions( https://smartfoxserver.com/blog/the-new-admintool-beta-is-available/ ), I need to possibl...
- 19 Jun 2019, 13:06
- Forum: SFS2X Questions
- Topic: Persistent server variable with static room
- Replies: 2
- Views: 1127
Re: Persistent server variable with static room
Thanks, that helps. I'd really appreciate that feature and will use it as soon as it's available.
- 18 Jun 2019, 21:29
- Forum: SFS2X Questions
- Topic: Persistent server variable with static room
- Replies: 2
- Views: 1127
Persistent server variable with static room
Hello, I have a large list of static Rooms that are created whent he server boots. Each room has some room variables that are specific to that group. I want to save one of those room variables in permanent storage, however. The idea is that each room has one specific room var that should be kept eve...
- 23 Apr 2019, 18:23
- Forum: SFS2X Questions
- Topic: Room variable resource usage
- Replies: 1
- Views: 836
Room variable resource usage
A question regarding use of resources. I was looking into a resource efficient way to tell users a room is no longer joinable, i.e. the game started. I thought maybe to set the room to isHidden, but I see that the client's wont see updates when the room is set back to isHidden(false) again. I have a...
- 08 Aug 2018, 12:11
- Forum: SFS2X ActionScript 3 API
- Topic: USER_DISCONNECT fired twice issue
- Replies: 2
- Views: 2183
Re: USER_DISCONNECT fired twice issue
I made sure I didn't register the handler twice, so what should I look for to make sure I don't have the extension running twice? Should I be running the eventHandler somewhere other than init()? EDIT : I found out that I had called the init function in a way that caused it to be added to the main z...
- 07 Aug 2018, 20:21
- Forum: SFS2X ActionScript 3 API
- Topic: USER_DISCONNECT fired twice issue
- Replies: 2
- Views: 2183
USER_DISCONNECT fired twice issue
I have setup my AS3 client to fire a single "disconnect" event via the disconnect() command. I've added an event listener server side for the disconnect command, and for some reason it always fires twice server side. Even if I manually close the app, it still runs twice. I added a trace (&...
- 07 Aug 2018, 20:08
- Forum: SFS2X ActionScript 3 API
- Topic: Flash being phased out by 2020.
- Replies: 5
- Views: 7318
Re: Flash being phased out by 2020.
Also keep in mind that it appears they are still supporting Adobe AIR, so the use of AS3 will still be practical. I have a couple of large projects that use Adobe AIR, and it's something I plan to continue support for even after Flash is retired..
- 06 Mar 2018, 14:27
- Forum: SFS2X Questions
- Topic: Prevent user from overwriting their data?
- Replies: 7
- Views: 2588
Re: Prevent user from overwriting their data?
Lapo wrote:I am not sure why you would deny a connection.
Sorry, i think I didn't explain it well enough. the "force logout" option was on as you said, which was all I needed to toggle to not allow connection (deny, as I wrote).
Thanks for your help and have a great day.
- 01 Mar 2018, 20:47
- Forum: SFS2X Questions
- Topic: Prevent user from overwriting their data?
- Replies: 7
- Views: 2588
Re: Prevent user from overwriting their data?
This sounds like a good plan! But for the denying a connection, I'm not sure if there's a setting within SmartFox, but when I login to SmartFox on one computer and then login from another computer, it actually kicks the first computer off and lets the 2nd computer login. Is there something that woul...
- 01 Mar 2018, 13:32
- Forum: SFS2X Questions
- Topic: Prevent user from overwriting their data?
- Replies: 7
- Views: 2588
Re: Prevent user from overwriting their data?
Another team works on a separate network for the database, so it's difficult to try and set something up within the same network. I also want to support my database provider as well, so I have some natural inefficiency. As for the PHP middleman issue, even hundred http requests tend to complete very...
- 01 Mar 2018, 01:00
- Forum: SFS2X Questions
- Topic: Prevent user from overwriting their data?
- Replies: 7
- Views: 2588
Prevent user from overwriting their data?
Hello, I have a server that needs to interact with an external database. It writes data to the database via PHP scripts accessed from the Java server via URLConnection. When the user logs in, their data is grabbed by SmartFox from the remote server and saved into a UserVar. When they quit, all of th...