Greetings Earthlings: I come in frustration. I am trying to work through the 2nd FTS tutorial but upton loading the FPS package I get an error that the Player is not good, I remove the player then get , Machine gun code is invade , or Code (csharp): Assets/WeaponScripts/InstantDeathCollider.js(2) error BCE0018: The name 'FPSPlayer' does not denote a valid type. I don't think I should be removing all these items, but it won't let me go forward. I haven't altered them, just downloaded, then loaded into Unity. Anybody know a work around or fix? Digital D
Just hang on, the Unity crew are in the proccess of updating the examples that will alleviate these errors. AC
Im getting that same error when I try and use the Network.Connect function strings. Do you know why? Heres the script (I Don't know Javascript, so this is just improvised) Code (csharp): static var incomingPassword : string; static function InitializeServer (connections : int, listenPort : int) : NetworkConnectionError {} static function Connect (IP : string[], remotePort : int, password : string) : NetworkConnectionError{} function LaunchServer () { Network.incomingPassword = "Sam"; Network.InitializeServer(32, 25000); } LaunchServer(); Network.InitializeServer(); function OnServerInitialized() { Debug.Log("Server initialized and ready"); } OnServerInitialized(); function ConnectToServer () { Network.Connect("200.200.2.2", 25000, "Sam"); } ConnectToServer(); function OnGUI() { if (Network.isServer) GUILayout.Label("Running as a server"); else if (Network.isClient) GUILayout.Label("Running as a client"); } Do you know what wrong with it?