For anyone that wants an update to how things are going. Firstly sorry progress is slow-ish but I mainly work weekends and I only just started this a few days ago so yeah. Also there have been plenty of walls and hurdles in the way and have had to be worked around and what not but our first break through! This might not seem like much to some of you but to me it is great as this means that the main principle of how i want this to work will be possible. It also means that network capabilities are there and at least some form of multiplayer will be possible! If your interested in seeing the progress so far you can check it out here: https://www.youtube.com/watch?v=hT-2hsy06CE I would also like to take a moment to say thank you to those of you who are at least in support of this project even though some of you don't share the same view. Brief run down of what has been completed so far: User interface has been created You can host multiplayer sessions You can join multiplayer sessions You can set your nickname You can chat with other players
I knew you said it would only work on LAN as of now, but in theory with a client that emulates LAN, wouldn't it work, just with slightly higher latency?
Technically yes it could work like that but my aim right now is to work locally. I do have a dedicated server that could work but there would be many issues relating to synchronisation with a dedicated server but it could be done yes.
Wow! This is amazing to see coming together so quickly! I understand your focus now but just wanted to think a bit out loud on Internet connections. Right now, as I understand it, people would be easily able to connect into one's network with this through port forwards, so in my eyes we're already capable of doing Internet multiplayer. I acknowledge synchronization will probably be garbage at current state; we're only what 5 days into the project? Anyway, regarding synchronization, is how you're accomplishing the network done via TCP connections or UDP? I would think in this situation UDP should be used since it is connection-less and works on best effort. At least, synchronization should work on this best effort principle rather than expecting "good" synchronization. People lived with RoR's shoddy synchronization and I think they could here too, at least at the start. Another thought is to force all multiplayer users to run BeamNG with no vehicle collisions to improve performance and reduce latency. Having the expectation of user's being able to crash into each other, I personally think is a pipe dream. My thoughts and two cents with the best intentions You are doing stellar work!
Thank you for your input, Currently the connections are done via web sockets which is done over TCP. This for me felt the easiest way to create at least a simple multiplayer environment. But only time will tell as to how effective it will be. I do think you are right about the no collisions though however i will leave this down to the clients choice simply because if you have a beefy computer then you will probably be fine in a small game session. As for opening ports and forwarding them, yes you are correct i just did not want to make it seem like i was making this my aim or anything like that as this can be for something later on, not to mention any potential security risks associated with it. But technically it is possible
I am surprised by the amount of work that has already been put into this, so I´ll definetly keep an eye on this thread in the future. Yes, you can "only" chat with someone right now, but the entire Internet started with a simple message aswell. As a proof of concpet this is definetly going in the correct direction.
Hey guys, just thought I would update you and let you know that this is not a dead project i just had some things come up. Today I ran the first test run with my brother. We can now successfully see each others vehicles. See the images from each of our screens here:
I'm not quite that far just yet. but should be able to update to that question over the next few days. Looking promising so far.
wish u best of luck...I have read a lot of threads of people ranting that it cant be done and I hope u can prove ALL of them WRONG.
It's impressive how a new player just come here in the forums and just say "hey, im making multiplayer" and it actually seems to work ! You are making something that I thought would be impossible to make, or would be unplayable. The speed at which you update your mod is incredible, in addition to the fact that you are doing something that has never been done before ! I don't know anything about programmaming but i just wanted to say that you have all my support about this mod
Exactly, this guy just comes along and says 'I want to make multiplayer' and does it. Its amazing how there are people on this community for years that dont know how to do any of this and suddenly one dude just can make multiplayer!
I really hope the best for you @chris_lucas and I tried making a multiplayer mod a few years back, but development stopped. The one we were making was client/server, not peer-to-peer (it was originally though). Hopefully you can figure everything out and have fun in the process of doing it!