Any word on bikes getting added?

This has been one of the biggest additions to vehicles of the year, any word if we're getting them added?

I added a bike to mine, but I also wrote the Dev, @ViolationHandler, to ask him the same thing.Β  He's the pro, I am a total novice.Β  He's come through for Attack Heli's and Tug Boats

@TheBear - I would love to see how you updated the code if you're willing to share it.

I submitted a Patch to add support for

  • MotorBikes
  • MotorBikes/w Sidecar
  • Bicycles
However, gotta wait for Violation to come back
DQ3mU7NAyKyJ6jc.png RocketMyrr

I submitted a Patch to add support for

  • MotorBikes
  • MotorBikes/w Sidecar
  • Bicycles
However, gotta wait for Violation to come back

Pro move, hopefully it gets accepted.πŸš€

U8ySWQv6FKHSr0w.png flintmonkey
@TheBear - I would love to see how you updated the code if you're willing to share it.

I used a json validator and since the tahomasnomobile was the last vehicle in the array, I used that and simply copy pasted two lines at a time, when I saw the code.Β  I did have to change the settings from Snowmobile for bicycle, because there is no fuel and settings is what generates that to a config file.Β  I had some trial and error issues, like not using a capitol letter here, or all caps there .. but I worked it out.Β 

Today, I did the same thing, figuring trike would be a cake walk, and coding wise, it was.Β  I did have a hic-up do to not making something all caps and it was error free on the complile, but it would not spawn a trike, no matter what?Β  Not sure why?

So, I was going to call it quits, but decided I would take the bike setting I made, and turn that to Snowmobile and then did a search/replace for Trike to Motorbike, going through once more to make sure the caps were correct where they should be and the spawn name I just made up to motorbike and mbike and it worked.

But, later a player reported that when they went to purchase the motorbike for 1500 economic coins (we call them Schrute Bucks), it didn't take the money from him.Β  So, apparently it's a "Free" motorbike.Β 

Don't know what the rules are for me posting that plugin here?Β  I don't want to something I shouldn't.Β  But, yeah, you're welcome to have it as broken as it may be.

PS I did a fourth try for motorbike_sidecar and that was just as big a mess as my attempt at doing the Trike.Β  So, I must be missing something.Β  I have absolutley no training.Β  The only thing I ever coded was HTML 4.0 back in the early nintys.Β  I'm 62, and not as sharp as most of these guys.

DQ3mU7NAyKyJ6jc.png RocketMyrr

I submitted a Patch to add support for

  • MotorBikes
  • MotorBikes/w Sidecar
  • Bicycles
However, gotta wait for Violation to come back

any way you can share the code till Violation and then we can run it temp and then update to his version when it comes out? Do we know how long Violation is going to be gone? I have people beating my door down to get this added also on my server.Β 

@ViolationHandler, Thank you forΒ  the update.Β  Something I noticed and to tell you the truth, it may have always been a thing, or something I never noticed.Β  But, when I bought the Trike, it charged me for it by just typing /trike and not /buy trike.Β  Now, this isn't a huge deal, unless someone types in /chinook, because on my server, that price is 1 million.Β  Having the /buy command in front, shows a sign of intent.Β  Again, since I own every vehicle and from day one, always typed /buy as a prefix, maybe this is something that is inherent to the original plugin.

Bottom line, Thanks for your work.Β  Much appreciated

2DbvPUdHKTWpr7Q.png TheBear

@ViolationHandler, Thank you forΒ  the update.Β  Something I noticed and to tell you the truth, it may have always been a thing, or something I never noticed.Β  But, when I bought the Trike, it charged me for it by just typing /trike and not /buy trike.Β  Now, this isn't a huge deal, unless someone types in /chinook, because on my server, that price is 1 million.Β  Having the /buy command in front, shows a sign of intent.Β  Again, since I own every vehicle and from day one, always typed /buy as a prefix, maybe this is something that is inherent to the original plugin.

Bottom line, Thanks for your work.Β  Much appreciated

It will buy the vehicle for you if you do /trike, same for any other vehicle to make it easier. It may not have been in the original plugin as I modified this plugin to prevent the need of giving the player every vehicle on connection to the server (which affected performance). In the process I changed how vehicles get bought and it will auto buy the vehicle if you have enough. (The vehicle is checked if you own, if not, it buys it and spawns it is basically the logic behind it since the goal was to spawn the vehicle, but when you don't own it yet, it can't be spawned, so it just buys it first then proceeds with spawn logic)

However, I may be able to change it to be just autobuy if you are given the all vehicle permission, but I think that issue would still occur to your players based on your message. The only way I can think of to prevent it for you specifically (and others) is add a bool config value that allows you to disable autobuy for /VEHICLE_NAME commands, and only allow buying for /buy.

Let me know if you think that'd be useful and I can look into it.

Sorry for the late reply.Β  So, apparently I overlooked the permissions.Β  On our server, we don't allow a player to purchase the Chinook until they hit 1000 hours played (as a Rank), so the Chinook shouldn't even show up on their list of vehicles to purchase, which means the plugin probably wouldn't recognize the /chinook command in the first place.

Wasn't in my right mind when I wrote this.Β  Too much Playtime, not enogh bedtime.