Search found 137 matches
- 02 Oct 2021, 16:12
- Forum: SFS2X Questions
- Topic: Why java ?
- Replies: 2
- Views: 3767
Re: Why java ?
Hi, debating language speed these days is kind of pointless given the hardware that is available :wink: Back in the days of early prototyping with SmartFoxServer (17-18 years ago) we could handle over a 1000 CCU with something like a Pentium III 600Mhz with ~64MB RAM available. :D I mean, in 2012 w...
- 11 Aug 2021, 20:15
- Forum: SFS2X Questions
- Topic: Send request and wait for response ?
- Replies: 3
- Views: 4226
Re: Send request and wait for response ?
To add a further comment to your coding proposal: sfs.Send( new ExtensionRequest("add", params)).then((reponse) => { // Update UI }) This is not possible because you need to tie one event handler to it's response type. To change this it would require a profound change in the whole archite...
- 10 Aug 2021, 11:42
- Forum: SFS2X Questions
- Topic: Send request and wait for response ?
- Replies: 3
- Views: 4226
Send request and wait for response ?
I have a strong web background and probably found something very important missing in smartfoxserver ( or i just havent found it yet ). Lets say our client opens up his fancy profile page. We need to fetch the profile data from the server to paste the informations into our client ui. In javascript f...
- 30 Mar 2021, 11:08
- Forum: SFS2X Questions
- Topic: MMOItemVariable/UserVariable floats and sfsobjects ?
- Replies: 3
- Views: 4137
Re: MMOItemVariable/UserVariable floats and sfsobjects ?
Hi, Is it somehow possible to just store a float inside the MMO/User-Variables ? No larger double ? No. And is it possible to store a ISFSObject inside of them and if so, is it recommended ? Yes it is possible. How does it perform? I don't know how to answer this question. It depends on the context...
- 30 Mar 2021, 10:55
- Forum: SFS2X Questions
- Topic: MMOItem updates too big in size ?
- Replies: 5
- Views: 5310
Re: MMOItem updates too big in size ?
From your description it sounded like it was 180 players because you said: I ran a test where 180 enemys were spawned next to the player. All in his AOI. If it's bullets, why do you have to update each bullet's position on every frame? Aren't bullets flying at a fixed or at least predictable speed?...
- 30 Mar 2021, 08:42
- Forum: SFS2X Questions
- Topic: MMOItem updates too big in size ?
- Replies: 5
- Views: 5310
Re: MMOItem updates too big in size ?
Theres one big issue im running into. Their update packet size and the garbage it creates. I ran a test where 180 enemys were spawned next to the player. All in his AOI. The first question I'd ask is ... is it realistic to run 180 enemies in the AoI for your game? That does sound like too much. Nor...
- 29 Mar 2021, 20:31
- Forum: SFS2X Questions
- Topic: MMOItem updates too big in size ?
- Replies: 5
- Views: 5310
MMOItem updates too big in size ?
Im currently running into an little issue with my MMOitem useage. Im using MMOitems to represent stuff like Bullets, Enemys and several other "Entities". They are easy to use and i like to work with them. Theres one big issue im running into. Their update packet size and the garbage it cre...
- 29 Mar 2021, 16:17
- Forum: SFS2X Questions
- Topic: MMOItemVariable/UserVariable floats and sfsobjects ?
- Replies: 3
- Views: 4137
MMOItemVariable/UserVariable floats and sfsobjects ?
I have some questions regarding the MMO/User Variables... Is it somehow possible to just store a float inside the MMO/User-Variables ? No larger double ? And is it possible to store a ISFSObject inside of them and if so, is it recommended ? How does it perform ? Creating new Variables each entity up...
- 25 Mar 2021, 12:14
- Forum: SFS2X Questions
- Topic: Why java ?
- Replies: 2
- Views: 3767
Why java ?
Just out of curiosity, what made you choose java for the serverside api ? What speaks against other serverside apis in more performant languages like c+/rust/c#/go ? Especially game servers require high performance and a low memory useage ^^ And do you plan to add other serverside apis later on, now...
- 16 Mar 2021, 19:58
- Forum: 2X Features Wish List
- Topic: Plugable serializers for ISFSObjects
- Replies: 5
- Views: 15272
Re: Plugable serializers for ISFSObjects
Hi, it's an interesting concept and we have thought about it before, but there are also several issues to take in consideration. One is compatibility with all client platforms which can limit what can be done, or exclude some of the client platforms (such as JS) which is to be expected. Another pro...
- 12 Mar 2021, 23:49
- Forum: 2X Features Wish List
- Topic: Plugable serializers for ISFSObjects
- Replies: 5
- Views: 15272
Plugable serializers for ISFSObjects
So it would be really, really great if there would be any mechanic to convert Pojos and complex game-classes to ISFSObjects via reflection and CUSTOM serializers. Especially the custom serializers are very important here. Almost every single network library that i know has some sort of serializer in...
- 12 Mar 2021, 14:19
- Forum: SFS2X Questions
- Topic: What exactly is SFSArrayLite/SFSObjectLite for ?
- Replies: 1
- Views: 2681
What exactly is SFSArrayLite/SFSObjectLite for ?
I saw that theres an SFSArrayLite and an SFSObjectLite... what are those for ? When should we use them ?
- 10 Mar 2021, 12:41
- Forum: 2X Features Wish List
- Topic: UDP for MMOItems and User Variables ?
- Replies: 2
- Views: 7166
Re: UDP for MMOItems and User Variables ?
Server Variables (User/Room/MMOItem etc...) are supposed to be reliable because they represent the state of a specific entity. If Variables are transmitted via UDP some players will receive the update and others won't, loosing state synchronization across Users/Rooms etc. I don't think it's a good ...
- 10 Mar 2021, 12:36
- Forum: SFS2X Questions
- Topic: Cant update my extension
- Replies: 3
- Views: 4031
Re: Cant update my extension
Hi, your Extension packs a ton of dependencies in the jar file, including the smartfox jars themselves. That's a problem, because it's going to create class conflicts. The best way to deploy Extensions is to separate your code from the dependencies: 1- put all dependency jars under extensions/__lib...
- 09 Mar 2021, 23:00
- Forum: 2X Features Wish List
- Topic: UDP for MMOItems and User Variables ?
- Replies: 2
- Views: 7166
UDP for MMOItems and User Variables ?
What about a possible way to send MMOItem attributes and User Variables as UDP instead of TCP ?