Search found 58 matches

by JuliusBtesh
13 Oct 2014, 21:07
Forum: SFS2X Questions
Topic: How To Get SFS2X Working in Ubuntu Server?
Replies: 5
Views: 2915

Re: How To Get SFS2X Working in Ubuntu Server?

Ok I got it to sort of work... It doesn't give me that error anymore but now I get this log4j:ERROR setFile(null,true) call failed. java.io.FileNotFoundException: logs/smartfox.log (Permission denied) at java.io.FileOutputStream.open(Native Method) at java.io.FileOutputStream.<init>(FileOutputStream...
by JuliusBtesh
13 Oct 2014, 20:23
Forum: SFS2X Questions
Topic: How To Get SFS2X Working in Ubuntu Server?
Replies: 5
Views: 2915

How To Get SFS2X Working in Ubuntu Server?

I downloaded the correct files for the Smartfox Server and put it onto an Ubuntu Server. I have also downloaded the JRE and JDK but when I try running the patch installation (./install-linux.sh) or (./sfs2x.sh) I get this error: Error occurred during initialization of VM java/lang/NoClassDefFoundErr...
by JuliusBtesh
07 Oct 2014, 19:24
Forum: SFS2X C# API
Topic: Using Extensions to Create GameObjects
Replies: 6
Views: 3231

Re: Using Extensions to Create GameObjects

Alright! Thank you very much! I tried using MMOItem the other day but couldn't seem to get it set up properly... I will try and give it another shot.
by JuliusBtesh
07 Oct 2014, 17:27
Forum: SFS2X C# API
Topic: Using Extensions to Create GameObjects
Replies: 6
Views: 3231

Re: Using Extensions to Create GameObjects

Ok great! Thanks! This is helping a bit more! But regarding the last thing you said about why care if the enemy is too far. Well even though there will be no interaction, the clients are going to need to see the enemy running around the room. But if I spawn an object for each client to see and not a...
by JuliusBtesh
07 Oct 2014, 16:22
Forum: SFS2X C# API
Topic: Spawned 50 Networked Objects and already lagging.
Replies: 4
Views: 2542

Re: Spawned 50 Networked Objects and already lagging.

Ok so then I would assume its better off to just use a regular SFSRoom for this purpose? I mean, the people that I am working on this project with are wanting hundreds of thousands, or even millions, of players to be in each room at a time. So I may have to use the MMORoom and just limit each client...
by JuliusBtesh
07 Oct 2014, 14:29
Forum: SFS2X C# API
Topic: Using Extensions to Create GameObjects
Replies: 6
Views: 3231

Re: Using Extensions to Create GameObjects

Thanks for the reply. Regarding my first question. Well how will the server know when the game is starting? The game is not supposed to start until the entire room fills up. So once that last person joins the room, the server should be notified that the game room is ready to start (Does it make sens...
by JuliusBtesh
07 Oct 2014, 14:21
Forum: SFS2X C# API
Topic: Spawned 50 Networked Objects and already lagging.
Replies: 4
Views: 2542

Re: Spawned 50 Networked Objects and already lagging.

I am testing locally. I am using one client (The Unity Editor) and spawning 49 other "NPC"s with the server scripts. I am using the MMORoom but allowing a really large AoI in order to see everyone. I'm not sure on the CPU usage. I did not check that.
by JuliusBtesh
06 Oct 2014, 18:56
Forum: SFS2X C# API
Topic: Using Extensions to Create GameObjects
Replies: 6
Views: 3231

Using Extensions to Create GameObjects

How can I setup an extension so that when something happens on the client, (like the game starting), the server will get notified and then spawn an object (An enemy)? Also, I have tried asking before but didn't really get an answer (now that I have a bit more of my project setup), By using the MMO R...
by JuliusBtesh
06 Oct 2014, 14:04
Forum: SFS2X C# API
Topic: Spawned 50 Networked Objects and already lagging.
Replies: 4
Views: 2542

Spawned 50 Networked Objects and already lagging.

So I'm trying to set up the MMORoom for my game and I tested the server script with 49 simulated NPCs and my initial game object... The game is lagging pretty bad with just these 50 objects... How would I able to fix this so I can get many more players in the room?

Thanks!
by JuliusBtesh
03 Oct 2014, 15:42
Forum: SFS2X C# API
Topic: Spawning a networked object for all clients
Replies: 4
Views: 3025

Re: Spawning a networked object for all clients

Ok, So I just went ahead and switched over to the MMORoomSettings and I noticed that I no longer can find the room.UserCount information. Why is that?
by JuliusBtesh
03 Oct 2014, 14:17
Forum: SFS2X C# API
Topic: Spawning a networked object for all clients
Replies: 4
Views: 3025

Re: Spawning a networked object for all clients

Right now I am not using the MMORoom. I'm just using the SFSGame but will probably try switching to MMORoom. The reason why I didn't start with MMORoom was because I was having issues with the MMORoom Tutorial with the players not showing up properly. I basically just want to be able to spawn one 'E...
by JuliusBtesh
02 Oct 2014, 19:40
Forum: SFS2X C# API
Topic: Spawning a networked object for all clients
Replies: 4
Views: 3025

Spawning a networked object for all clients

So I've started to get the hang of SFS and have a basic setup for spawning remote players along with local players. I was wondering what would be a good way to spawn an object for all users in the current game room to see. This would be like an enemy object with no relation to any of the users. Than...
by JuliusBtesh
30 Sep 2014, 17:51
Forum: SFS2X C# API
Topic: How To Get Started using SFS (MMO)?
Replies: 1
Views: 2079

How To Get Started using SFS (MMO)?

Hey, I'm new here and trying to learn how to use SmartFox Server to work with a project I am working on. I have been looking through the site and examples and can't seem to figure out how the basic stuff works. I was able to get the Object Movement example working, but when trying the MMORoom exampl...

Go to advanced search