[SOLVED] CREATING HUNDREDS OF BOTS IN ONE INSTANCE OF UNITY APPLICATION

Post here your questions about SFS2X. Here we discuss all server-side matters. For client API questions see the dedicated forums.

Moderators: Lapo, Bax

User avatar
TryMyGames
Posts: 59
Joined: 19 Dec 2016, 22:20
Location: Moldova, Chisinau
Contact:

[SOLVED] CREATING HUNDREDS OF BOTS IN ONE INSTANCE OF UNITY APPLICATION

Postby TryMyGames » 06 Jan 2017, 17:45

Hello,
Is there a problem with connecting multiple users from one application instance?
If not then how can I run on server hundreds of bots in case I want their logic to be done in Unity, because I use physics which I can't simulate on server side. The problem is that if I run an application instance for every bot it takes a lot of CPU (1-3%) even if application doesn't do anything (so that means that an almost empty project can eat a lot of CPU if hundreds of instances are running simultaneously).
Thanks.
Last edited by TryMyGames on 08 Jan 2017, 09:32, edited 1 time in total.
User avatar
Lapo
Site Admin
Posts: 23026
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: CREATING HUNDREDS OF BOTS IN ONE INSTANCE OF UNITY APPLICATION

Postby Lapo » 07 Jan 2017, 08:17

Hi,
we just talked about this topic in the latest article on our blog:
http://smartfoxserver.com/blog/ways-of- ... -game-p-2/

cheers
Lapo
--
gotoAndPlay()
...addicted to flash games
User avatar
TryMyGames
Posts: 59
Joined: 19 Dec 2016, 22:20
Location: Moldova, Chisinau
Contact:

Re: CREATING HUNDREDS OF BOTS IN ONE INSTANCE OF UNITY APPLICATION

Postby TryMyGames » 08 Jan 2017, 09:31

Nice! I will check it.
Thanks.

Return to “SFS2X Questions”

Who is online

Users browsing this forum: Stevenor and 72 guests