Overview
The fishing loop and which page covers which part.
The player walks into a spot, presses E and picks a rod. The cast runs, something bites or it does not, and the catch goes into the inventory. With AFK fishing on, the next cast starts by itself until the player stops.
The client never decides a catch. It says when it wants one, and the server checks the position, the rod and the pacing before it rolls.
Where to go next
| Spots | the four that ship, and adding your own |
| Rods | the three rods and what their numbers do |
| Market | the ped that buys the catch, and the two bonuses |
| Items | the items your inventory needs, and their pictures |
Install, framework and database are under Setup.
The pace
Config.Fishing = {
afkFishing = true,
baseCastTime = 8000,
maxCastTime = 15000,
pauseBetweenCatches = 2000,
baseSuccessChance = 60,
maxSuccessChance = 95,
}How long a cast lies in the water is rolled per cast, between baseCastTime and maxCastTime in milliseconds, both divided by the rod's time multiplier. baseSuccessChance is the hit rate before the rod, maxSuccessChance the ceiling after it.
With afkFishing = false the casting stops after every result. The client asks for the menu again by itself, so the rod has to be picked once per cast, but E does not have to be pressed again.