-
Posts
5,999 -
Joined
-
Last visited
-
Days Won
201
Content Type
Profiles
Warranty Claims
Downloads
Forums
Store
Services
Downloads Plus Support
DOWNLOADS EXTRA
Everything posted by nivex
-
heya, sure, I can look once I finish implementing player-made boats in NTeleportation and TruePVE.
-
hi, this is in the profiles, oxide/data/RaidableBases/Profiles/ "Create Dome Around Event Using Spheres (0 = disabled, recommended = 5)": 5, and you can change the color "Sphere Colors (0 None, 1 Blue, 2 Cyan, 3 Green, 4 Magenta, 5 Purple, 6 Red, 7 Yellow)"
-
Changed Status from Pending to Closed
-
hi, reupload or reload the plugin again. that's an issue with the compiler trying to load the file before it was uploaded. otherwise you need to download and upload it again.
-
Heya, regarding purchases... RealPVE's flow is enter -> purchase, but RaidableBases is purchase -> enter. Buyable Cooldowns block buying, not entry to a base (hence "cooldown"), so using Maintained or Scheduled Events for purchases can bypass the cooldown when those bases have already spawned. RealPVE uses the setowner command from RaidableBases when purchasing, which effectively purchases the event at no additional cost and applies a Buyable Cooldown. When the event finishes, players end up with buyable cooldowns instead of player lockouts (which block entry, hence "lockout"). So when they go to another event and enter it, they are not ejected, because Buyable Cooldowns do not block entry. This is why the restrictions get bypassed in this flow. First, this functionality should be optional (line 8111). Second, I will add a new command in the next update that RealPVE can use: rbe setowner <ID> lockout - purchases event at no additional cost, converts to a public event, applies a player lockout This command currently exists (and is what RealPVE uses): rbe setowner <ID> - purchases event at no additional cost, converts to a purchased event, applies a buyable cooldown And some more API: HasBuyableCooldown(BasePlayer player, string mode) (and an overload that takes int level instead of string mode) RemovePlayer(BasePlayer player, bool justEntered = true, float tolerance = 1f) to forcefully remove a player from any event. If they just entered, pass justEntered = true. tolerance controls how much extra radius is used when checking for the player. To be clear, neither plugin is broken. They are both behaving correctly given the options that currently exist. I respect the developer's kind words (and the community), so I will pay it forward by adding the new command. Unless there's some serious bug that requires patching, this will not be implemented until the next Rust update in March.
- 120 comments
-
- #rust
- #real
-
(and 56 more)
Tagged with:
- #rust
- #real
- #pve
- #pvp
- #solo
- #build
- #friendly
- #raid
- #npc
- #monument
- #monuments
- #loot
- #looting
- #farm
- #newbie
- #custom
- #bar
- #ui
- #cui
- #panel
- #vehicle
- #claim
- #limit
- #limits
- #sleeping
- #bag
- #sleeping bag
- #bed
- #shelter
- #permission
- #permissions
- #vip
- #economy
- #economics
- #rad
- #town
- #radtown
- #queue
- #bypass
- #vehicles
- #raidable
- #base
- #bases
- #raidablebases
- #raider
- #raiders
- #humannpc
- #event
- #events
- #copy
- #paste
- #copypaste
- #plugin
- #plugins
- #umod
- #oxide
- #carbon
- #iiiaka
-
Changed Status from Pending to Closed
-
ah, I did not miss this thread, I actually responded here instead. https://codefling.com/files/sc/23387-does-this-plugin-work-with-abandoned-bases/?tab=comments#comment-126000 closing
-
@laodu ok, this exists too. this is what RaidableBases uses when it blocks you from purchasing multiple raids. add it to your plugin and call it. private bool IsEventOwner(BasePlayer player) => Convert.ToBoolean(RaidableBases?.Call("IsEventOwner", player, true)); example private bool CanPurchase(BasePlayer player) { if (IsEventOwner(player)) { player.ChatMessage("You cannot buy multiple raids."); return false; } return true; }
-
@StrongWolves ah yeah, that's not a cooldown. that's a player lockout. cooldowns are for buyable events via Buyable Cooldowns. lockouts are for public events (maintained/scheduled/manually spawned) via Player Lockouts your nightmare events have no player lockout. I thought it did, I assume that's intended? so, in short, you need this option added to RealPVE then it will behave as expected using Player Lockouts.
-
@StrongWolves I understand the issue just fine you still need an option to disable that functionality in RealPVE and your players must use /buyraid command. it's not optional. buyable cooldowns will only function when you buy the raid in raidablebases, not from some other plugin. unless that plugin issues the same command and RealPVE does not do that, it bypasses it.
-
@StrongWolves I'm not on discord until later tonight. I'm actually stepping out now but I wanted to answer you first. yes, he has this functionality inside of his OnPlayerEnteredRaidableBase hook which is provided by my plugin. all that's need is an option added to line 8111 that can skip that purchase. and your players will need to purchase with the /buyraid command.
-
@laoduwith what arguments for this API? this exists already for all events, but its not specific to buyable. [HookMethod("GetAllEvents")] public List<(Vector3 pos, string mode, int level, bool allowPVP, string a, float b, float c, float loadTime, ulong ownerId, BasePlayer owner, List<BasePlayer> raiders, List<BasePlayer> intruders, HashSet<BaseEntity> entities, string baseName, DateTime spawnDateTime, DateTime despawnDateTime, float radius, int lootRemaining)> GetAllEvents(Vector3 position, float x = 0f) { return new(Raids.Select(raid => (raid.Location, raid.Options.Mode, raid.Options.Level, raid.AllowPVP, raid.ID, 0f, 0f, raid.loadTime, raid.ownerId, raid.GetOwner(), raid.GetRaiders(), raid.GetIntruders(), raid.Entities, raid.BaseName, raid.spawnDateTime, raid.despawnDateTime, raid.ProtectionRadius, raid.GetLootAmountRemaining()))); }
-
@StrongWolves heya, nightmare is only set to a 60 second cooldown for buyable events. "Nightmare": { "VIP Permission: raidablebases.vipcooldown": 60.0, "Admin Permission: raidablebases.allow": 60.0, "Server Admins": 60.0, "Normal Users": 60.0 } you're blocked from purchasing with /buyraid when you have a buyable cooldown unless you have the bypass permission, raidablebases.buyable.bypass.cooldown. you don't enter raids to purchase them though. you buy them with /buyraid, let them spawn, walk to them, then enter. the cooldown only prevents you from purchasing a raid, not from entering a raid. player lockouts is not the same, that option is for public events and you have each set to 1 hour but remember your buyable cooldown for nightmare is only set to 60 seconds. buyable cooldowns = private events (/buyraid) player lockouts = public events (maintained/scheduled/manual) RealPVE plugin has its own behavior for this which bypasses mine so that plugin handles all of it. meaning it has an option where you enter an existing raid in order to purchase it.
-
hi, that option is in the profiles, oxide/data/RaidableBases/Profiles/ set to false, Block Plugins Which Prevent Item Durability Loss no one can repair with it enabled, that's how it should work. it's going to put the condition right back to what it was before you repaired it.
-
Changed Status from Pending to Closed
-
hi, i answered Cooldown Between Events. set to 600 for 10 minutes max between events. those values are not default. 36000 and 360000 are not realistic so you should change all of them. 3600 is the default for 1 hour. or set to 600 for 10 minutes.