Difference is it’s not broken. You don’t see any ghost trains, missing carriages or intertwined trains. Which was the whole point when I started this script. I’m trying to create an experience similar to single player.
Because I know this method doesn’t work on Onesync, as it spawns a train for every client.
From my limited info on the topic, nopixels trains are a custom map/addon which provides city wide splines/paths for the trains to follow once spawned on server (network entity).
Actually I do use those natives but it’s not like put to code and forget about it, server knows when to ask for trains.
Targeted tracks are 0 and 3 since they are completed tracks and cover the whole map. You can edit trains.xml and traintracks.xml to change default models with custom ones or change their variations.
Controls are done by the server to make sure spawned trains are valid or not. Don’t worry it’s optimized, doesn’t even contain endless threads.
Can you provide a showcase with a server with players on it? It’s hard to believe this is the first person to make this work, but I’d happily buy this if there’s proof/evidence of this working without leaving orphaned trains all over the map.
I don’t know how can I show that even if 10 players stand next to train it doesn’t prove anything, this bug could happened after 2 hours.
Like I said in the post 4 different servers join the beta (old customers and subscribers) they found bugs I fixed them. They used final version for 3 straight days without any errors reported. Finally I asked them do you think it’s ready for release, is there any bugs? They said everything is good and they had no issues and that’s when I decided to release it.
I know this doesn’t prove anything to you I’m just writing just so people can understand the process. You can check my other works as a reference. If you’ve any problems with script you can contact me I can even give a refund.
Since there is a open issue with a open PR linked to it to allow server side creation of train and carriage, i doubt that you are the first who can achieve working trains with onesync.
If you’ll stand by offering a refund, I’ll gladly test it out with my community. We’re relatively small, but we’ve been looking for something like this.
The only reason I ask is that many other scripts claim to have found a new way to fix this without any proof, and I did not mean to antagonize.
You were not. I know why people are hesitant about trains, FiveM had enough of them. If there are errors in the future, I will work on it but we couldn’t find any errors in the final version.
The server I dev for currently uses TheIndra55’sFiveM-trams modified to use Walter’sOverhauled Trains that uses a replaced gta5.meta (level meta), trains.xml, trains1.dat, and traintracks.xml. I have had none of the previous issues with FiveM and trains. I have no idea why it works, but it is possible.
Tl;dr you can make trains work properly somehow.
If I had to hazard a guess, something about streaming trains.xml, trains1.dat, or traintracks.xml is shat is responsible for fixing the sync issues.
Hello, I was a beta tester from this script and I can say everything was fixed. It was more tester then me. Tester with a lower server 40 - 50 player also tester with a big server 250+ players. U don’t see ghost train u have no sync problems or any other problems. Everything works fine.
I myself was a beta tester and I pushed this script limit to the max, every time we found a issue was fixed within hours, would 100% recommend this for your server, I’m currently building a train heist to go with it