Important News

We have released Shinobi Life Online Pre-Alpha Version 1.1.0.0! This update features Earth Release: Earth Dome Jutsu, Aiming Mode and more! Try it out and tell us what you think.

User

Welcome, Guest.
Please login or register.
 
 
 
Forgot your password?

Statistics

Members
Total Members: 42634
Latest: DangerBomb
New This Month: 245
New This Week: 16
New Today: 16
Stats
Total Posts: 55169
Total Topics: 3251
Most Online Today: 283
Most Online Ever: 440
(June 02, 2016, 00:34:37)
Users Online
Members: 3
Guests: 259
Total: 269
Nova
C0573L
DangerBomb
Google (AdSense)
Google (5)
Baidu

Author Topic: Unity TryToAddPlayer() Not working  (Read 533 times)

0 Members and 1 Guest are viewing this topic.

Offline Kakashi Natsu

  • Chunin Poster
  • ***
  • Posts: 141
  • Reputation Power: 2
  • Kakashi Natsu has no influence.
  • Gender: Male
  • Give up trying to make me give up.
    • View Profile
  • Clan: Agni
Unity TryToAddPlayer() Not working
« on: February 05, 2018, 23:40:21 »

So the basic idea is to have the players be added into the game, not added to a lobby, everyone ready then the server closes and adds everyone in.


I'm trying to add players after the server, supposedly closes. I am using unity's lobby manager. When i make a game (Matchmaker), everything is working. But when everyone clicks ready, no one can join the room after that. so everyone who is in there, that's it. Even if i can hold 10 players in the room, i cant add players even when I'm not at 10 players.


Anyone know anything about adding players after lobby has started?



Offline DMKEric

  • Chunin Donator
  • Academy Student Poster
  • **
  • Posts: 35
  • Reputation Power: 2
  • DMKEric has no influence.
  • Gender: Male
  • Killin
    • View Profile
  • Organization: Clowns
Re: Unity TryToAddPlayer() Not working
« Reply #1 on: February 08, 2018, 21:45:26 »
I use lobby manager too for my game but I don't reaaly understand your problem

after everyone clicks ready, a cooldown will start and ofc no one can join bcs the game is starting and it's booting on all of the clients. if like 3 are ready and 1 isn't, it should work

Offline Kakashi Natsu

  • Chunin Poster
  • ***
  • Posts: 141
  • Reputation Power: 2
  • Kakashi Natsu has no influence.
  • Gender: Male
  • Give up trying to make me give up.
    • View Profile
  • Clan: Agni
Re: Unity TryToAddPlayer() Not working
« Reply #2 on: February 12, 2018, 19:17:06 »
the issue is, how do i keep the game open so people can join in while others are already in the game.

Offline DMKEric

  • Chunin Donator
  • Academy Student Poster
  • **
  • Posts: 35
  • Reputation Power: 2
  • DMKEric has no influence.
  • Gender: Male
  • Killin
    • View Profile
  • Organization: Clowns
Re: Unity TryToAddPlayer() Not working
« Reply #3 on: February 15, 2018, 08:24:02 »
Aaaaah, I get it.
Well, simply put, I have no idea. I was wondering that too myself, so if you ever find out, let me know.

 

Recent Topics

Batman Ninja (Bad name, I know) by NinjaMirage
July 12, 2018, 15:39:00

Retro Games by Jojoj0
July 11, 2018, 06:00:36

Mars' Ramen by Jojoj0
July 09, 2018, 20:17:51

Do you know when will SLO be done? or atleast beta? I really can't wait. SERIOUS by Jojoj0
July 09, 2018, 20:14:34

The Sabaku Kuchikomi by Jewjustice
July 09, 2018, 03:42:26

Hello! by Jojoj0
July 07, 2018, 22:44:49

I know about the forum on google, so I came to find out more. by Jojoj0
July 07, 2018, 20:29:27

Tremere Clan [TreM] by Jojoj0
July 04, 2018, 20:54:17

Tomomi Kenzaki by Jojoj0
July 03, 2018, 22:29:35

How will taijutsu work? by Dragon6624
July 02, 2018, 18:52:24

Top Posters

Reminance
Posts: 2239
Shivraj
Posts: 1609
m4r1us
Posts: 1298
Manuster
Posts: 1260
Nova
Posts: 1120
taigakun
Posts: 1098
NinjaMirage
Posts: 1096
Fraudulent
Posts: 1083
Konohuro
Posts: 1059
Vreg
Posts: 973