Jump to content

Koshara

Member
  • Posts

    15
  • Joined

  • Last visited

Everything posted by Koshara

  1. Koshara

    Real PvE

    You can send this to the plugin author: In `RealPVE`, the setting in `data/RealPVE/RaidableBasesConfig.json`: ```json "Is RaidableBases enabled?": false ``` does not fully disable the `RaidableBases` integration. Currently, if the `RaidableBases` plugin is loaded, `ToggleRaidableBases(true)` still subscribes to hooks like `OnPlayerEnteredRaidableBase`, `OnRaidableBaseStarted`, etc., creates `_rbList`, and RealPVE still shows the purchase UI when a player enters a raid base. Expected behavior: when `_rbsConfig.IsEnabled == false`, RealPVE should not show the raid base purchase UI, should not assign ownership through its own UI, and should not track raid bases in `_rbList`. Suggested fix: ```csharp private void ToggleRaidableBases(bool isLoaded) { if (!isLoaded || !_rbsConfig.IsEnabled) { Unsubscribe(nameof(OnPlayerEnteredRaidableBase)); Unsubscribe(nameof(OnPlayerExitedRaidableBase)); Unsubscribe(nameof(OnRaidableLootDestroyed)); Unsubscribe(nameof(OnRaidableDespawnUpdate)); Unsubscribe(nameof(OnRaidableBasePurchased)); Unsubscribe(nameof(OnRaidableBaseStarted)); Unsubscribe(nameof(OnRaidableBaseEnded)); foreach (var rbData in _rbList.Values.ToList()) rbData.Destroy(); return; } // existing enabled logic... } ``` Also, it would be safer to guard the hooks directly: ```csharp void OnPlayerEnteredRaidableBase(BasePlayer player, Vector3 pos) { if (!_rbsConfig.IsEnabled) return; // existing logic... } void OnRaidableBaseStarted(...) { if (!_rbsConfig.IsEnabled) return; // existing logic... } ```
  2. Koshara

    Event Supermarket

    for me, when the supermarket event from crystal takes place on the server and there is pvemod, sometimes the damage is returned to the player after restarting the plugin, everything starts working normally.
  3. Koshara

    ArenaTournament

    I understand about the extra load, but as a temporary solution, it's also not a bad option. I'm waiting for an update.
  4. Koshara

    ArenaTournament

    and what is the problem in the OnEntityTakeDamage method line 6957 and line 6974 add the condition && !IsOnTournament(attacker.userID). I added it at my place and everything works
  5. Koshara

    ArenaTournament

    add support for the ArenaTournament plugin, damage does not occur in the arena
  6. да я имею ввиду чинуки чтоб можно было на том же карго или нефтянке сброситЬ по времени ибо 15 минут на пве всервере такое себе ждатЬ открытие чинука
  7. and there are also suggestions to do something so that you can reduce the opening time of blocked boxes
  8. I'm sorry, I didn't know I deleted the file.
  9. in general, I have finalized the plugin. Now turrets can shoot at the player if they do not have a master. that is, any turrets placed by a non-player will attack other players. If anything, I made changes to the CanBeTargeted methods
  10. well, at home I made the plugin support and the work of the anthropic turrets, if they do not have owners, I can throw off the code if necessary

About Us

Codefling is the largest marketplace for plugins, maps, tools, and more, making it easy for customers to discover new content and for creators to monetize their work.

Downloads
2.7m
Total downloads
Customers
11.5k
Customers served
Files Sold
164.6k
Total sales
Payments
3.6m
Processed total
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.