Search found 21108 matches

by Lapo
05 Jun 2020, 06:51
Forum: SFS2X Questions
Topic: Timer for each room created
Replies: 3
Views: 15

Re: Timer for each room created

Isn't 100K Rooms a bit exaggerated? Considering that every Room should have at least 1 player are you planning to run 100-200K players on the same instance? I think you're trying to predict scalability too far away in the future. Sure you may end up with 100 of 1000s of Rooms one day but that's a &q...
by Lapo
05 Jun 2020, 06:45
Forum: SFS2X Questions
Topic: [NEW] SFS2X 2.16.0 is available!
Replies: 8
Views: 543

Re: [NEW] SFS2X 2.16.0 is available!

No,
nothing changed in that regards. The error is simply telling you that you cannot remote a Room with users still joined inside. This is always been the default behavior in SFS2X.

Cheers
by Lapo
04 Jun 2020, 15:15
Forum: SFS2X Questions
Topic: Timer for each room created
Replies: 3
Views: 15

Re: Timer for each room created

Hi, you don't need to create Scheduler for each Task, it would be a big waste. Instead you can just run one Scheduler (which already exists) and add all the Tasks there. A single Scheduler can handle 100s or even 1000s of tasks, especially if the code in these task is not particularly CPU intensive ...
by Lapo
03 Jun 2020, 09:52
Forum: SFS2X Questions
Topic: Best practice for Smartfox extension
Replies: 1
Views: 21

Re: Best practice for Smartfox extension

Hi, I would recommend reading this: https://smartfoxserver.com/blog/top-10-common-pitfalls-to-avoid-like-the-plague/ - Using multiple different smartfox events for each activity type or reusing same events for different type of activity. Which is better in terms of performance? Reusing the same hand...
by Lapo
02 Jun 2020, 16:06
Forum: SFS2X Questions
Topic: Autoscaling on EC2 Instances
Replies: 4
Views: 144

Re: Autoscaling on EC2 Instances

The apache web server and SFS2X scale very differently. Where Apache may struggle with a couple hundreds active connections, SFS2X will be able to handle thousands of player without issues, so they need to be decoupled and scaled with different strategies. I would recommend the http load balancing s...
by Lapo
01 Jun 2020, 15:57
Forum: SFS2X Questions
Topic: Updating MMOItem variables causes Bitswarm Engine to crash
Replies: 1
Views: 53

Re: Updating MMOItem variables causes Bitswarm Engine to crash

Sorry for the delay in responding. For some reason this post did not have a notification in my list. Is it possible that you're trying to update variables before the server has finished booting up. I see the thread comes from a Scheduled Task, are you launching the task in the init() method of your ...
by Lapo
01 Jun 2020, 13:48
Forum: SFS2X Questions
Topic: Room creation
Replies: 3
Views: 16

Re: Room creation

As I said the Room.getId() property is not under the developer control, that's an auto-increment value, managed by the server. However this isn't a problem as you can tag Rooms with your own custom Ids. I mentioned that the Room name could be used to attach a custom Id, imagine calling every Room wi...
by Lapo
01 Jun 2020, 10:50
Forum: SFS2X Questions
Topic: Room creation
Replies: 3
Views: 16

Re: Room creation

Hi, the numeric ID of a Room is auto-increment, so it's generated by the server. However you don't necessarily need to base your logic on that numeric ID, you could use the Room's name which you can customize as you want. Rooms can be created at runtime. So you can search for a Room with an empty pl...
by Lapo
30 May 2020, 14:03
Forum: SmartFoxServer 1.x Discussions and Help
Topic: Start.bat is not working
Replies: 1
Views: 126

Re: Start.bat is not working

Hi,
this is because under Windows you don't have write permissions in the "Program Files" folder.
You need to install the server under your own User folder so that write permissions are granted.

Hope it helps
by Lapo
29 May 2020, 08:51
Forum: SmartFoxServer 1.x Discussions and Help
Topic: [Solved]Strange SFS problem
Replies: 22
Views: 6349

Re: [Solved]Strange SFS problem

Probably not a bad idea. The thread is now locked.
Thanks
by Lapo
29 May 2020, 07:13
Forum: SmartFoxServer 1.x Discussions and Help
Topic: [Solved]Strange SFS problem
Replies: 22
Views: 6349

Re: [Solved]Strange SFS problem

i need to configure setting on my smartfoxserver so that i trace runtime error via visualvm please guide me step by step how to configure and connect my smartfoxserver via visualvm i have have add these line jvm option -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=5000 -Dcom.su...
by Lapo
28 May 2020, 14:31
Forum: SFS2X Questions
Topic: Task Scheduler/Concurrency Question
Replies: 4
Views: 137

Re: Task Scheduler/Concurrency Question

Hi, I might have misunderstood the task scheduler completly , but the task scheduler will run the task again even if the first one is not finished right ? Yes, if the task is scheduled as a "repeated task" then it will run at the configured interval regardless of a previous task still runn...
by Lapo
28 May 2020, 14:09
Forum: SFS2X Questions
Topic: Make HTTP Request from Java extensiom
Replies: 6
Views: 313

Re: Make HTTP Request from Java extensiom

Ok, no problem. I've moved the post in the right section. Did you check the examples from the article I've linked? HttpClient client = new DefaultHttpClient(); HttpGet request = new HttpGet("http://www.vogella.com"); HttpResponse response = client.execute(request); // Get the response Buff...
by Lapo
28 May 2020, 13:35
Forum: SFS2X Questions
Topic: Make HTTP Request from Java extensiom
Replies: 6
Views: 313

Re: Make HTTP Request from Java extensiom

Just to be clear... we're talking about SFS2X, correct?
Because this was posted under SFS PRO 1.x

Thanks
by Lapo
28 May 2020, 10:39
Forum: SmartFoxServer 1.x Discussions and Help
Topic: Setting server memory
Replies: 6
Views: 2732

Re: Setting server memory

Hello Sir I want to increase my default memory usages to -Xms450M -Xmx900M in Jvm option but failed to set this value in server .when i add this value and rebbot the server my server crases (failed to restart ). here is my server configuration detail 2GB ram centos operating system with 60 Gb stora...

Go to advanced search