And that's pretty much all code ive written to retriew a list for the client, sometimes it pretty much works, the client retriews a channel with id's and such, but mostly both keeps getting dced and i don't onestly know why, it ain't coming up and errorss in unity, But in tnServeri keep getting: "Timed out". Any help would be appriciated, don't really know what ive done wrong! :)
Title: Re: Trying to retriew channels, but crashes sometimes
Post by: ArenMook on November 09, 2013, 08:07:46 AM
But it dosn't log the "adding player" part doens't log... It's the same object with a TNobject script attached to it, and there's no other RFC function in that script
Edit: I also tried to make a new script here that would kick all users from the current channel:
tno.Send(11,Target.All);
[RFC(11)]
publicvoid kickPlayer(){
TNManager.LeaveChannel();
}
And that code doesn't work aswell... SOmething must be wrong here, no errors att all... It just wont work ^^
apparently i got this working by setting the "menu" objects id to something else than 0, why is that?
Title: Re: Trying to retriew channels, but crashes sometimes
Post by: ArenMook on November 10, 2013, 07:15:17 AM
Why are you doing that? All players already get notified when a player joins the channel -- OnNetworkPlayerJoin.