Jump to content

ZarZar

Member
  • Posts

    6
  • Joined

  • Last visited

Everything posted by ZarZar

  1. ZarZar

    TurretsOnBoats

    Hey, there are issue with the plugin. When an AutoTurret is placed on a boat and the boat hits sea junk piles or other map objects while driving, the turret gets instantly destroyed. It seems like the turret receives collision/impact damage from the vehicle physics while parented to the boat. Normal damage from bullets/explosives works fine, the issue only happens during boat collisions with world objects. Could you please check if collision damage or parented vehicle physics damage can be ignored for mounted turrets?
  2. ZarZar

    OreEcology

    Hey Quen, great plugin! Just a heads up — FindValidPos doesn't check road/monument/building topology, so nodes can spawn on roads and inside monuments. A quick TerrainMeta.TopologyMap.GetTopology() check + Physics.CheckSphere for constructions fixes it. Keep up the good work!
  3. It was just an idea if it doesn't work there seems to be a reason for that.. I suggest adding the description of the plugin that only one perm should be given if possible.
  4. Well, it was done successfully after adding Vip2-5 in the configuration file only and revoke perms and giving only one perm for each VIP level. In fact, I had no idea, despite reading the plugin description, that only one permission should be given. I thought that the higher perm overrides the lower perm, and this is what I look forward to in the upcoming code updates. thank you again.
  5. Hello Nikedemos, I’m running into an issue with the WaterBases plugin after extending it to support additional VIP levels. Issue Summary - VIP1 permissions work perfectly for upgrades. - I added custom VIP levels (vip2, vip3, vip4, vip5) in both the config and the main plugin code. - Despite this, the OnStructureUpgrade hook only recognizes: default, waterbases.vip1, and waterbases.admin. - My custom permissions (waterbases.vip2, waterbases.vip3, etc.) are being ignored, preventing upgrades for those users. What I’ve Modified - Added full permission profile handling for VIP2–VIP5 in the C# plugin code. private void ProcessConfigData(string versionFromConfig) { /// //// { ///// { /// /// /// [PERM_VIP2] = VIP2PermissionProfile(), [PERM_VIP3] = VIP3PermissionProfile(), [PERM_VIP4] = VIP4PermissionProfile(), [PERM_VIP5] = VIP5PermissionProfile(), }; /// } /// /// /// private PermissionProfile VIP3PermissionProfile() { return new PermissionProfile { PermissionRequired = PERM_VIP3, ///// }; } - Extended the permission checking system to account for the new levels. - Updated all relevant functions to recognize these extra VIP levels. - Created JSON config profiles for each VIP level with correct permission names. What I’ve Verified / Tried - All code changes compile correctly (no syntax errors). - JSON syntax is valid (checked commas/brackets). - Reloaded the plugin. - Confirmed permissions exist and are properly granted (oxide.grant shows them assigned). - VIP1 and admin permissions work fine; VIP2–VIP5 remain unrecognized. Suspected Problem The issue may lie in the GetPermissionProfile method (or related permission iteration logic). It looks like the plugin may not properly handle dynamically added permission profiles beyond the original set, even when the code has been extended. There may be a hardcoded limitation or a specific naming/pattern requirement that prevents VIP2–VIP5 from being registered. Environment - WaterBases Version: 1.0.21 (with custom modifications for VIP2–VIP5) - Rust Server Version: Protocol 2594.270.1 (Build Date: 08/28/2025 22:22:54, Unity 2022.3.41f1, Changeset 129647, Branch: release) - Oxide Version: 2.0.6553 , Oxide.Rust Branch: master Could you please review this and advise why the system isn’t recognizing custom-added VIP levels? Thank you for your excellent work on this plugin!

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.5m
Total downloads
Customers
11.2k
Customers served
Files Sold
160.4k
Total sales
Payments
3.5m
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.