Jump to content

#lostbike Player Minibike Recovery Mod. Dedicated Servers Only.


Muratus

Recommended Posts

Here is a quick little mod that gives players the ability to recover their lost minibikes. If your cruising down the road and bam your bike gets stuck in the ground, you type #lostbike and the bike will be moved to you.

 

No more digging giant pits to find the bikes, or running around listening close for the engine clunking sound.

 

This has been one of my biggest peeves of playing online. It's actually so simple I can't believe it's not been done before.

 

This has been tested out for the last few days on one of the busiest (and best) servers, 7 Days to Shides. Massive thanks to MrShides for going along with this. If you want to see a demo jump in to that server and find me, I'll show you it in action.

 

A couple rules to this of course. The minibike has to have a pad lock, you don't really own the bike till it does, and you have to be in the general area (chunk) that the bike went missing in. No it won't teleport your bike back to you from the other side of the world. You can go back to area's that you lost a bike in the past and try it. On our server some guys have recovered 5 to 8 of their lost bikes. Sometimes the bike is dead so you won't get anything, most of the time it will get your bike back.

 

The 2nd benefit of this mod is for the server owner/operators, it really helps keeping the server cleaned up of bikes stuck in the ground or air. Which means less load on the server.

 

The mod is attached to this post, just unzip it and put it in your mods folder. It works right along with Alloc's, Coppi, and BCManager. Huge credit to those guys for leading the way and showing how modding is done!

 

If you have any questions post them here

 

 

UPDATED:

 

Added Server command. Usage for the server command is lostbike <steam id/player name/entity id>.

MuratusMinibike_v1.2.zip

Link to comment
Share on other sites

Headsup: this will break as soon as chatmsg suppressing mods are in effect. For example chatplayercolouring from coppis or admin colouring from servertools etc.

 

Cheers

 

I saw that, they break each other also.

 

Kinda the problem with how mods are done in general. This is a pretty simple mod that like I said surprised no one had done it. It was mostly done for our server, where we really like riding bikes but hate loosing them.

Link to comment
Share on other sites

Thanks it works perfect :-)

could you please add the posibilty to use a console command instead of the chat?

 

Yea, I thought about doing that. It would allow server manager programs to handle the request from players. I was also debating a option for a Admin to be able to override the owner and do a bike clean up.

Link to comment
Share on other sites

Yea, I thought about doing that. It would allow server manager programs to handle the request from players. I was also debating a option for a Admin to be able to override the owner and do a bike clean up.

 

For optimal usage do look at the visitmap code from the pimps. You can make void to load up a predefined area of chunks and check for bikes as they are only found by your code when the chunk the bike is on is loaded.

 

Cheers

Link to comment
Share on other sites

Thanks it works perfect :-)

could you please add the posibilty to use a console command instead of the chat?

 

Ask and you shall receive.

 

Here is the updated with the server command added. Usage for the server command is lostbike <steam id/player name/entity id>.

 

Now the server manager programs can activate it. Everything works the same. Hadn't decided on a admin bike clean up option yet, kinda debate that one.

 

It's attached here and I'll update the OP.

 

For optimal usage do look at the visitmap code from the pimps. You can make void to load up a predefined area of chunks and check for bikes as they are only found by your code when the chunk the bike is on is loaded.

 

Cheers

 

I thought about that also, I like that they have to be there in the general area the bike was lost. I could see someone dying then doing lost bike to get their bike back from the other side of the world. They should have to walk. lol

MuratusMinibike_v1.1.zip

Link to comment
Share on other sites

Ask and you shall receive.

 

Here is the updated with the server command added. Usage for the server command is lostbike <steam id/player name/entity id>.

 

Now the server manager programs can activate it. Everything works the same. Hadn't decided on a admin bike clean up option yet, kinda debate that one.

 

It's attached here and I'll update the OP.

 

 

 

I thought about that also, I like that they have to be there in the general area the bike was lost. I could see someone dying then doing lost bike to get their bike back from the other side of the world. They should have to walk. lol

 

Of course the players would have to walk!! :) I was talking about your idea to make an admin override for ownership and clean map up (if needed). When you build in chunkloading the admin doesnt have to be ingame to do cleanups ^^

 

Cheers

Link to comment
Share on other sites

Nice mod!!! But....

 

Very effective in pve servers, but in server pvp is little malicious.

In pvp you do not give the possibility of stealing the minibike and items.

I would put a delay of 5 min so that the loser of the pvp does not teleport his minibike.

 

Good work!

 

Soz, bad eng ;-)

Link to comment
Share on other sites

Nice mod!!! But....

 

Very effective in pve servers, but in server pvp is little malicious.

In pvp you do not give the possibility of stealing the minibike and items.

I would put a delay of 5 min so that the loser of the pvp does not teleport his minibike.

 

Good work!

 

Soz, bad eng ;-)

 

Interesting. I had not really thought about PVE or PVP when I did this. Now they can't get on the bike and teleport away. It's not a teleport function (on purpose), it's just a basic set position. And it moves the bike to where the owner is. It shouldn't move if the owner is on it. Now if the owner was in the same chunk and he just got his butt whipped in a PVP battle, he could move the bike away from the other party.

Link to comment
Share on other sites

Thanks for the update :-)

but the console command has one bug..

i can use the command to move the bike of an other player to his location :-D

i stand behind the bike from a player named guty, i typed in "lostbike guty" and the bike moved to him.

Can you please fix it? So that only you can move your bike? like in the chat command?

Link to comment
Share on other sites

Thanks for the update :-)

but the console command has one bug..

i can use the command to move the bike of an other player to his location :-D

i stand behind the bike from a player named guty, i typed in "lostbike guty" and the bike moved to him.

Can you please fix it? So that only you can move your bike? like in the chat command?

 

lol, that's kinda funny. I'll take a look at it and put in the owner check on the console command issuer.

Link to comment
Share on other sites

Here is a quick little mod that gives players the ability to recover their lost minibikes. If your cruising down the road and bam your bike gets stuck in the ground, you type #lostbike and the bike will be moved to you.

 

No more digging giant pits to find the bikes, or running around listening close for the engine clunking sound.

 

This has been one of my biggest peeves of playing online. It's actually so simple I can't believe it's not been done before.

 

This has been tested out for the last few days on one of the busiest (and best) servers, 7 Days to Shides. Massive thanks to MrShides for going along with this. If you want to see a demo jump in to that server and find me, I'll show you it in action.

 

A couple rules to this of course. The minibike has to have a pad lock, you don't really own the bike till it does, and you have to be in the general area (chunk) that the bike went missing in. No it won't teleport your bike back to you from the other side of the world. You can go back to area's that you lost a bike in the past and try it. On our server some guys have recovered 5 to 8 of their lost bikes. Sometimes the bike is dead so you won't get anything, most of the time it will get your bike back.

 

The 2nd benefit of this mod is for the server owner/operators, it really helps keeping the server cleaned up of bikes stuck in the ground or air. Which means less load on the server.

 

The mod is attached to this post, just unzip it and put it in your mods folder. It works right along with Alloc's, Coppi, and BCManager. Huge credit to those guys for leading the way and showing how modding is done!

 

If you have any questions post them here

 

 

UPDATED:

 

Added Server command. Usage for the server command is lostbike <steam id/player name/entity id>.

 

Thanks! I'll be installing this when I get home.

Link to comment
Share on other sites

  • 2 weeks later...

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...