Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Paso a configuracion.ini valores de la pesca insegura #605

Merged
merged 1 commit into from
Jul 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions Codigo/Declares.bas
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,10 @@ Public MaximoSpeedHack As Integer
Public LastRecordUsuarios As Integer
Public GlobalFrameTime As Long

Public FISHING_REQUIRED_PERCENT As Integer
Public FISHING_TILES_ON_MAP As Integer
Public FISHING_POOL_ID As Integer

Type t_EstadisticasDiarias

segundos As Double
Expand Down
7 changes: 4 additions & 3 deletions Codigo/FileIO.bas
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,7 @@ Attribute VB_Name = "ES"
Option Explicit

Const MAX_RANDOM_TELEPORT_IN_MAP = 20
Const FISHING_REQUIRED_PERCENT = 90
Const FISHING_TILES_ON_MAP = 10
Public Const FISHING_POOL_ID = 3740

Private Type t_Position

x As Integer
Expand Down Expand Up @@ -2847,6 +2845,9 @@ Sub LoadConfiguraciones()

122 MaximoSpeedHack = val(Leer.GetValue("ANTICHEAT", "MaximoSpeedHack"))

123 FISHING_REQUIRED_PERCENT = val(Leer.GetValue("PESCA", "MinAgua"))
124 FISHING_TILES_ON_MAP = val(Leer.GetValue("PESCA", "MaxZonas"))
125 FISHING_POOL_ID = val(Leer.GetValue("PESCA", "FishingID"))

126 Set Leer = Nothing

Expand Down
6 changes: 6 additions & 0 deletions Configuracion.ini
Original file line number Diff line number Diff line change
Expand Up @@ -50,3 +50,9 @@ DropMult=1

[ANTICHEAT]
MaximoSpeedHack=4


[PESCA]
MinAgua=95
MaxZonas=3
FishingID=3740