SmartFoxServer Pro Unlimited license at 900€.
Contact: badurash@hotmail.com
Search found 74 matches
- 21 Sep 2013, 12:23
- Forum: Job offers and requests
- Topic: Selling SmartFoxServer Pro Unlimited license (900€)
- Replies: 0
- Views: 11004
- 27 Jul 2012, 10:12
- Forum: Job offers and requests
- Topic: Selling SmartFoxServer Pro Unlimited license (1200€)
- Replies: 0
- Views: 10071
- 31 Oct 2011, 07:51
- Forum: SFS2X Questions
- Topic: Multi-threaded but Dedicated Task Schedulers
- Replies: 15
- Views: 24395
Move the finally block outside the for loop. You don't want to put task on queue for every exception that is thrown. Remember that you only want one task to be scheduled per scan/update execution, and you want to schedule it only at the very end of the scan/update. So you need something like this: t...
- 30 Oct 2011, 21:44
- Forum: SFS2X Questions
- Topic: Multi-threaded but Dedicated Task Schedulers
- Replies: 15
- Views: 24395
- 30 Oct 2011, 21:08
- Forum: SFS2X Questions
- Topic: Multi-threaded but Dedicated Task Schedulers
- Replies: 15
- Views: 24395
- 30 Oct 2011, 21:00
- Forum: SFS2X Questions
- Topic: Multi-threaded but Dedicated Task Schedulers
- Replies: 15
- Views: 24395
You will not need it any more because you practically have serialized task now. They go one after another. Also, there is only one task scheduler there, but there are multiple tasks (runnables). Seems like you are mixing these terms. :) I will use your code from first post: // Schedule the task to r...
- 30 Oct 2011, 20:01
- Forum: SFS2X Questions
- Topic: Multi-threaded but Dedicated Task Schedulers
- Replies: 15
- Views: 24395
- 30 Oct 2011, 19:18
- Forum: SFS2X Questions
- Topic: Multi-threaded but Dedicated Task Schedulers
- Replies: 15
- Views: 24395
Can you please show me the code where you are adding the tasks to be executed in future? As for option B) I never said you should not use task scheduler in that option :) I said you will use sfs task scheduler to add task at the end of scanning/updating method, and that will be the only place where ...
- 30 Oct 2011, 18:19
- Forum: SFS2X Questions
- Topic: Multi-threaded but Dedicated Task Schedulers
- Replies: 15
- Views: 24395
Huh, I am not sure I completely understand your situation, but let me check if I understood you correctly: 1) You have different game groups 2) You need to scan and update states in rooms of some game group at fixed time intervals. 3) Your have different logic for scanning and updating different gam...
- 30 Oct 2011, 13:39
- Forum: SFS2X Questions
- Topic: Multi-threaded but Dedicated Task Schedulers
- Replies: 15
- Views: 24395
- 28 Oct 2011, 22:58
- Forum: SFS2X Questions
- Topic: Controlling NPCs with a host client
- Replies: 18
- Views: 23488
You don't even have to send complete path to clients, but you could if you want. You know how standard game loop looks like: at certain time intervals (lets say 30 miliseconds, but it depends on your needs) you loop through all your game objects, and update them according to their current actions, s...
- 28 Oct 2011, 18:18
- Forum: SFS2X Questions
- Topic: Controlling NPCs with a host client
- Replies: 18
- Views: 23488
Well, I think that approach will hardly work. Someone must know the info about NPC and coordinate others accordingly. You can do it all on server (when server updates all NPC states in some time intervals and notify others - I explained this approach in previous post), or you can do it all on client...
- 28 Oct 2011, 01:28
- Forum: SFS2X Questions
- Topic: Controlling NPCs with a host client
- Replies: 18
- Views: 23488
Oh I think I understand what is giving you a problem. :) You think that server calculates path and send it to clients, and then just waits? Nope, server will simulate NPC movement internally. It will move NPC from point A to point B using its current velocity vector to update its coordinates at defi...
- 28 Oct 2011, 01:18
- Forum: SFS2X Questions
- Topic: Controlling NPCs with a host client
- Replies: 18
- Views: 23488
I understand you perfectly but it seems that you don't understand me :) I really don't know how to explain it any more. Let me try this way: a) Does server know where NPC currently is (point A)? Yes it knows. b) Does server know where NPC wants to go (Point B)? Yes it does. c) Does server know at an...
- 27 Oct 2011, 19:34
- Forum: SFS2X Questions
- Topic: Warning With DefaultPlayerIDGenerator
- Replies: 2
- Views: 5272