|
Can someone help me with this problem? I've followed the network tutorial ( http://www.youtube.com/watch?v=qp_rBK-ZD5g&feature=related ) about this network asset: http://unity3d.com/support/resources/example-projects/networking-example. But not everything is working well. I can connect but when I'm in-game, I'm controlling both players on both pc's. (tested on 2 different pc's). Someone knows what the problem is? Thank you
(comments are locked)
|
|
i also did this mistake a long time ago 8)....
local PC is the host? But that is not working, if I'm moving on the client, the host player is moving with me. I can't control the host and the client from the host anymore. I wanna create a masterserver, the masterserver doesn't have to play on the server.
Jul 24 '12 at 04:50 PM
geennaam
you have a player instance (char?), it has an input controller (component that takes inputs of user and applies some actions to char). this component i think attached to char and stored as prefab. so if user creates char, it has controller and user controls char using this controller. when other player creates char, this char also created on all remote PCs. so on your PC it's a second char that is ALSO has controller and takes YOURS inputs and controls char, who's owner is remote user. are you?
Jul 24 '12 at 06:59 PM
ScroodgeM
Yes, but the problem is that it's not working wenn I'm connecting the second client on the server. (So 1 pc with server, 1st pc with client, and second pc with client is not working). Sorry for my bad English :(, I hope you understand.
Jul 24 '12 at 07:20 PM
geennaam
i lost an issue 8) you have server, PC1, PC2 server running server PC1 and PC2 connected to server (PC1 connects first) so... who can control char1? who can control char2? other info?
Jul 24 '12 at 07:43 PM
ScroodgeM
I want that the server create automaticly new charachter, so if my connection and pc is good enough, I can have lots of players on my server without in need of slots, or isn't that possible?
Jul 24 '12 at 08:00 PM
geennaam
(comments are locked)
|
