@DBMHTECH No, but I'd be happy to work you through any problems you might have making it work yourself. It's my philosophy that people learn a lot more by doing rather than just seeing. If there's problems, all the better to learn how to deal with them.
i get this error: Spawner.js(13,27): BCE0023: No appropriate version of 'UnityEngine.Network.RemoveRPCs' for the argument list '(UnityEngine.NetworkDisconnection)' was found.
@trex220995 Look at the error and dissect it. It mentioned "appropriate version" and "argument list" as well as the call of the inbuilt function "RemoveRPCs", so I looked at what variable was going into the call. Or what type of variable was going in. It should be of the type "NetworkPlayer", but the error says that it's a "NetworkDisconnection". So have a look again at which function needs that kind of variable, make sure you haven't swapped them by accident. Look @ 4:25 and check the variables
@GameCreatorBoy No, you don't need SmartFox Server. All you need is Unity. I was just saying that there didn't seem to be any guides on how to do this in Unity, and many on how to do it with SmartFox Server, even though the functionality is in-built to Unity. Perhaps SmartFox Server can support more users, but I think using 3rd party software is a silly idea when you don't have to.
uhh, i did it but when i run it the clients control the opposite char to what its meant to xD, how do i fix it? im good at scripting normally and i have done exactly what you did and managed to get this error.
@jordannw2010 Then perhaps you are just looking at it wrong? The camera doesn't move. You should double-check by making 2 materials with different colours, then applying one colour to the host, and one colour to the client.
Because if you followed what I did exactly, you should get exactly what I did.
@Xortrox Yeah, I like to figure things out by myself, and this really threw me when I started trying to get it working from looking at tutorials. Apart from things saying you need things like SmartFox (which is optimised for Adobe Flash, so I still think I'll use it at some point), all I could find was people linking to the M2H tutorial "Zero to Hero networking guide" thing, but that's like... $80 now. I'm not paying $80 to know how to use core functionality in a free program!
can u send me the project?
DBMHTECH 1 month ago
@DBMHTECH No, but I'd be happy to work you through any problems you might have making it work yourself. It's my philosophy that people learn a lot more by doing rather than just seeing. If there's problems, all the better to learn how to deal with them.
Multihuntr0 1 month ago
Comment removed
DBMHTECH 1 month ago
i get this error: Spawner.js(13,27): BCE0023: No appropriate version of 'UnityEngine.Network.RemoveRPCs' for the argument list '(UnityEngine.NetworkDisconnection)' was found.
how i can solv it????
trex220995 3 months ago
@trex220995 Look at the error and dissect it. It mentioned "appropriate version" and "argument list" as well as the call of the inbuilt function "RemoveRPCs", so I looked at what variable was going into the call. Or what type of variable was going in. It should be of the type "NetworkPlayer", but the error says that it's a "NetworkDisconnection". So have a look again at which function needs that kind of variable, make sure you haven't swapped them by accident. Look @ 4:25 and check the variables
Multihuntr0 3 months ago
Oh god, this whole thing failed for me jesus, could you send me all the code?
So I can check it over and stuff, or just your whole scene, mine just fell to bits.
Thanks
-HippyMeal
HippyMeal 6 months ago
Do i need smartFoxserver ?, i did dowload smartFoxserver 2 X, there you can have 100 player and i dont get it hot to make it work with Unity!
can you help me please
GameCreatorBoy 6 months ago
@GameCreatorBoy No, you don't need SmartFox Server. All you need is Unity. I was just saying that there didn't seem to be any guides on how to do this in Unity, and many on how to do it with SmartFox Server, even though the functionality is in-built to Unity. Perhaps SmartFox Server can support more users, but I think using 3rd party software is a silly idea when you don't have to.
Multihuntr0 6 months ago
@GameCreatorBoy And I don't get how to make SmartFox Server to work with Unity, either.
Multihuntr0 6 months ago
uhh, i did it but when i run it the clients control the opposite char to what its meant to xD, how do i fix it? im good at scripting normally and i have done exactly what you did and managed to get this error.
jordannw2010 6 months ago
@jordannw2010 Then perhaps you are just looking at it wrong? The camera doesn't move. You should double-check by making 2 materials with different colours, then applying one colour to the host, and one colour to the client.
Because if you followed what I did exactly, you should get exactly what I did.
Multihuntr0 6 months ago
@Multihuntr0 well i didnt. i thought it was camera facing wrong way but it wasnt
jordannw2010 6 months ago
@jordannw2010 The only thing I can suggest is double-check that you're checking "NetworkView != mine", rather than "NetworkView == mine".
Multihuntr0 6 months ago
thank you so much
spinner678 7 months ago
thanks! I exactly feel you when you say other ones had extra stuff.
Roccsah 8 months ago 2
@Roccsah I Agree with you.
classiqueheart 5 months ago
@Roccsah I Agree with you.
classiqueheart 5 months ago
Thanks for this tutorial :) I just needed a little pointer on where to start with multiplayer.
Xortrox 8 months ago
@Xortrox Yeah, I like to figure things out by myself, and this really threw me when I started trying to get it working from looking at tutorials. Apart from things saying you need things like SmartFox (which is optimised for Adobe Flash, so I still think I'll use it at some point), all I could find was people linking to the M2H tutorial "Zero to Hero networking guide" thing, but that's like... $80 now. I'm not paying $80 to know how to use core functionality in a free program!
Multihuntr0 8 months ago