Се вчитува...
0 фајлови допаднати
1 коментар
0 видеа
0 прикачувања
0 следбеници
  • BusinessV 2.1 [Enhanced] — Vanilla Pitchers Property Becomes Unpurchasable (Possible VanillaPropertyController Suppression Issue)

    Hi Wilson,

    First of all, thank you for creating BusinessV! I've been enjoying the idea of expanding GTA V's business ownership system.

    While testing version 2.1 on GTA V Enhanced (Steam), I discovered a reproducible issue affecting the vanilla property **Pitchers** in Downtown Vinewood.

    I've done several tests, including inspecting the business database, reviewing the logs, and testing a modified DLL. I hope the findings below will help narrow down the cause.

    ### 1. The problem

    With the original BusinessV 2.1 DLL enabled:

    - The vanilla Dynasty 8 "For Sale" sign outside Pitchers disappears.
    - The original purchase interaction is unavailable.
    - No replacement BusinessV purchase prompt appears anywhere around the property.
    - Pitchers does not appear among the 50 businesses in `businesses.json`.
    - Pitchers also does not appear in the registered vanilla property override list.

    This happens while playing as Michael, who can normally purchase Pitchers for $750,000.

    The problem is not caused by insufficient money. Without BusinessV, the original purchase prompt appears normally and displays the message asking the player to earn more money.

    ### 2. Tests performed

    **Test A — BusinessV disabled**

    I temporarily removed the `scripts` folder and restarted the game.

    Result:
    - The original Dynasty 8 sign returned.
    - The original $750,000 purchase interaction worked normally.

    **Test B — Original BusinessV 2.1 enabled**

    I restored the original BusinessV files.

    Result:
    - The Pitchers sign disappeared again.
    - No BusinessV purchase interaction was available.
    - Other BusinessV businesses worked normally.

    **Test C — Increased interaction distance**

    I changed `InteractionDistance` from `1.75` to `4.0`.

    Result:
    - No improvement at Pitchers.
    - The log revealed that BusinessV only accepts values between `1.5` and `2.0`, so it reverted to `1.75`.

    **Test D — Other vanilla properties**

    I checked several other original properties:

    - Smoke on the Water: BusinessV purchase prompt works.
    - The Hen House: BusinessV purchase prompt works.
    - Los Santos Customs — Harmony: BusinessV purchase prompt works, although its interaction point is somewhat difficult to locate.
    - McKenzie Field Hangar: the vanilla purchase interaction remains functional.

    Some properties also show overlapping vanilla and BusinessV map icons, even with the unmodified official DLL.

    So far, Pitchers is the only property I've confirmed to be completely unpurchasable.

    **Test E — Modified DLL diagnostic**

    I performed an additional diagnostic test using a locally modified copy of BusinessV 2.1.

    The modification bypasses `VanillaPropertyController.Tick()` by making the method return immediately. No other BusinessV functionality was intentionally modified.

    Results:
    - The original Pitchers "For Sale" sign returned.
    - Its original purchase interaction worked again.
    - A nearby BusinessV 24/7 supermarket still displayed its normal purchase prompt, price, and expected daily income.
    - BusinessV reported loading all 50 businesses.

    This strongly suggests the issue is related to the vanilla property controller's periodic processing.

    **Important:** This modified DLL was used for diagnosis only. I understand that disabling the controller may interfere with vanilla property ownership integration, so I have restored the official DLL for normal gameplay.

    ### 3. Findings from the files and logs

    The BusinessV log confirms:

    ```text
    Version 2.1.0
    GTA V Enhanced / SHVDNE runtime detected; API 3.9.0.0.

    Targeted Enhanced vanilla-property integration enabled.

    Loaded 50 businesses
    Validated purchase interaction points: 50/50

    Resolved Enhanced vanilla property state at global 139900 (hint delta 0).

    Enhanced property script-global layout validated; targeted suppression active.
    ```

    The log also registers 11 vanilla property overrides:

    - Downtown Cab Co.
    - Los Santos Customs — Harmony
    - Cinema Doppler
    - Ten Cent Theater
    - Tivoli Cinema
    - Los Santos Golf Club
    - Car Scrapyard
    - Smoke on the Water
    - Tequi-la-la
    - The Hen House
    - Hookies

    **Pitchers is absent from both the override registrations and the 50-business database.**

    During static inspection of the .NET assembly, I found the following potentially relevant methods in `BusinessV.Core.VanillaPropertyController`:

    - `Tick()`
    - `ApplySuppression()`
    - `TryValidateLayout()`
    - `ResolvePropertyStateBase()`
    - `CaptureSnapshots()`
    - `DeleteForSaleSign()`
    - `RestoreVanillaState()`

    The controller appears to manipulate vanilla property state and remove certain vanilla sale signs as part of the integration mechanism.

    ### 4. Possible cause (hypothesis, not confirmed)

    Since Pitchers is not included in the BusinessV override list, I suspect the targeted vanilla-property suppression may be affecting a property outside its intended scope.

    One possibility is an incorrect property index, state offset, or another interaction with the Enhanced script-global property layout.

    Alternatively, the controller might be indirectly affecting the vanilla property script responsible for spawning Pitchers' sale sign.

    The fact that bypassing `VanillaPropertyController.Tick()` restores the Pitchers sign makes this method a useful starting point, although it doesn't prove which specific operation inside the controller causes the issue.

    ### 5. Suggested fix / question

    Would it be possible to ensure that vanilla-property suppression only affects properties explicitly registered for BusinessV integration?

    For properties not included in the override list, such as Pitchers, it would be ideal to leave the original purchase and ownership systems untouched.

    Alternatively, an optional setting to disable vanilla-property integration while retaining the additional businesses would be useful.

    This is not a major problem for my current playthrough, since the other businesses I've tested are working. I'm happy to keep using the official version and wait for a future update.

    I can provide the original `BusinessV.log`, `businesses.json`, comparison screenshots, and additional diagnostic details if they would help.

    Thanks again for your work on BusinessV!

    Прошири да го видиш цел коментар
    пред 5 дена