Jump to content

Recommended Posts

Video: https://www.youtube.com/watch?v=nC3NjUqIiWY&feature=emb_title

Download: https://bit.ly/forseti-fishing

--------------------------------------

 

Hello! This is a fishing script that was originally used in our own server and it was beloved by our players, quickly becoming the most popular way of gaining money.

It was inspired by Stardew Valley and Don't Starve, as it works in a very similar way.

Steps are simple: You need to find a fisherman on the map. They are very common and they can be found pretty much anywhere that has water nearby.- If you have a fishing rod you can go near water and the game will give you a prompt. If you click or press 'B', you will throw your hook into the water. You will wait a little until a fish bites the bait, then you click again to reel. While you are reeling in the fish you need to complete a minigame. The green rectangle must be on top of the fish for a few seconds and if you can manage that by clicking and releasing, you will catch it.

 

spacer.png

 

Every fish has it's own price per pound, minimum weight, maximum weight and rarity. Less common fish are usually worth far more than common ones. The pearl is the ultimate treasure, as it's very rare and can be worth up to $80.000. Your inventory is saved and you will not lose your loot upon logout. (as long as you configured the script for your own saving system. See below)

 

You can press 'I' to open your fishing inventory to see what you currently have and how much they are worth. This screen also includes credits.

spacer.png

 

After you are satisfied with what you have, you can always go back to fishermen around the map and sell your loot. Fishermen can be found pretty much anywhere on the map near the sea. You can add, change and remove fisherman locations.

 

spacer.png

 

------------------------------------------------------------------------------------------------------------------

Here is a list of changes that can be made:

 

You can add more fish

You can remove fish

You can change fish names

You can change fish prices

You can change weight ratio for fish

You can change their rarity

You can change their icons

You can change inventory color

You can change what buttons to press for fishing

You can change how much you need to wait for fishing

You can disable the minigame at the end, which results in instant catching

You can add/remove fishermen or change their locations

 

For server owners looking to add this script, please read:

 

s.lua has a few functions you need to change, which should be quick.

isPlayerLoggedIn, setPlayerData, getPlayerData, getMoney, takeMoney, giveMoney

These functions must be changed and edited to suit your own server. It's quick work and shouldn't cause issues. Lastly, you need to find line 129 and line 136 so you can change onPlayerLogin and onPlayerLogout events if needed.

Line 98 also includes a line where you get exp every time you get a catch, depending on what you caught. You can enable this if you have a level system.

Lastly, how the price is calculated and most other settings can be found in fishlist.lua. You can change fish attributes there.

 

 spacer.png

 

Download link can be found at the top, as well as a video illustrating how the script works. Enjoy!

Edited by EnemyChad
Link to post
On 14/10/2020 at 13:02, iPrestege said:

Nice work it's a great script keep up!

Thanks!

9 hours ago, mono1 said:

This script is amazing and really well done, thank you for making it a public release! 

That's a big compliment, thanks a lot! My server is no longer online so it's only fair others enjoy some of it's parts.

Link to post
1 hour ago, EnemyChad said:

Thanks!

That's a big compliment, thanks a lot! My server is no longer online so it's only fair others enjoy some of it's parts.

I remember playing on Forseti a couple of times, hope the NPC peds resource also makes it to the public, it really made the world feel alive and was much better than any other NPC system I've seen!

Link to post
30 minutes ago, mono1 said:

I remember playing on Forseti a couple of times, hope the NPC peds resource also makes it to the public, it really made the world feel alive and was much better than any other NPC system I've seen!

Definitely a possibility! Despite it's near-zero minimal performance impact, the script is absolutely huge and it took a long time to make. I'll have to see if my buddies agree to release it in the future. They helped me a lot during it's development. 🙂 It never seemed to get much attention so we aren't really sure if releasing it is a good idea.

Edited by EnemyChad
Link to post
18 hours ago, EnemyChad said:

Definitely a possibility! Despite it's near-zero minimal performance impact, the script is absolutely huge and it took a long time to make. I'll have to see if my buddies agree to release it in the future. They helped me a lot during it's development. 🙂 It never seemed to get much attention so we aren't really sure if releasing it is a good idea.

Oh man, I really hope the other coders agree to release it, MTA lacks a good performance friendly NPC peds system and Forseti's was the closest thing to the single player mode traffic. After playing with it, it's really hard to come back to the standard empty world MTA!

Link to post
9 hours ago, mono1 said:

Oh man, I really hope the other coders agree to release it, MTA lacks a good performance friendly NPC peds system and Forseti's was the closest thing to the single player mode traffic. After playing with it, it's really hard to come back to the standard empty world MTA!

I second this notion as well, a public release of it would be a game-changer because we have no optimized ped system. Stuff like peds generally get put on the backburner in favor of working on the server's core gameplay elements/bugfixing since they're not a necessity. It'd be great to have a pre-existing core to work on rather than needing to make one from the ground up, you could probably make a github page or something for it too.

Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...