Jump to content

imthenewguy

Curator
  • Posts

    4,675
  • Joined

  • Last visited

  • Days Won

    58

Everything posted by imthenewguy

  1. My plugin should be having not be affecting velocity for any rockets fired, excluding ones fired by players with the Rocket_Velocity buff. void OnRocketLaunched(BasePlayer player, TimedExplosive entity) => HandleRocket(player, entity); void HandleRocket(BasePlayer player, TimedExplosive timedExplosive) { if (!GetBuffDetails(player.userID, out var bd)) return; if (bd.GetBuff(Buff.Rocket_Velocity, out var value)) { if (!timedExplosive.TryGetComponent<ServerProjectile>(out var projectile)) return; projectile.CurrentVelocity += (projectile.CurrentVelocity * value); } if (bd.GetBuff(Buff.Explosion_Radius, out value) && !config.buff_settings.raid_perk_settings.Explosion_Radius_settings.blacklist.Contains(timedExplosive.ShortPrefabName) && PassRaidableBasesCheck(timedExplosive, Buff.Explosion_Radius)) { timedExplosive.explosionRadius += timedExplosive.explosionRadius * value; if (config.buff_settings.raid_perk_settings.Explosion_Radius_settings.add_to_minimum) timedExplosive.minExplosionRadius += timedExplosive.minExplosionRadius * value; } }
  2. imthenewguy

    Cooking

    when there is enough content to justify the release. Maybe a couple of weeks.
  3. imthenewguy

    Cooking

    Will fix in the next release. IN the mean time, rename all instances of "bread.loaf" (except for the bread shortname), to "bread loaf"
  4. No plans to do that myself but there is a HookMethod that someone can use to get the player info. [HookMethod("GetSkillTreeData")] public object GetSkillTreeData() { var sTStats = new Dictionary<ulong, (string Name, double XP, int PrestigeLevel, int CurrentLevel, double XPDebt)>(); var dataFiles = Directory.GetFiles(NewDirectory, "*.json", SearchOption.TopDirectoryOnly); foreach (var file in dataFiles) { try { var playerId = Path.GetFileNameWithoutExtension(file); if (!ulong.TryParse(playerId, out ulong playerID)) { continue; } var playerInfo = LoadPlayerData(playerId); if (playerInfo != null) { sTStats[playerID] = ( playerInfo.name, playerInfo.xp, playerInfo.prestige_level, playerInfo.current_level, playerInfo.xp_debt ); } } catch (Exception ex) { PrintWarning($"Exception while processing file {file}: {ex.Message}"); } } return sTStats; }
  5. My plugin doesnt handle selling the recycler. Other plugins can sell the recycler and run the command to give it to the player using my plugin.
  6. That "Tracking 0 required nodes." is the last message that my plugin sends as part of the OnServerInitialized hook, which means my plugin finishes its initialization without issues. It seems like another plugin that is running the same hook after Skill Tree may be causing the issue.
  7. Plugin doesn't support that at the moment. Would require changing all messaging from the plugin to use a different method. May look at it when I have the time to work on it.
  8. How would you want that structured?
  9. Not sure if its possible to mount a 2 handed weapon with the shield but ill look into it. I do have a perk for the shield coming out that will allow damage to be reflected back at the attacker when hitting the shield. Ill take a peak at the speed.
  10. Watch the video. It covers all of this TL;DW: Players need to opt their vending machines in to use CIV. By default, the vending machine will work like a vanilla machine unless they press the "create" button when looting the vending machine from the back.
  11. A skill will be added to the next release which will set the minimum quality per level.
  12. It wont automatically setup a vending machine at monuments; you would need to place a deployed version with Rust edit, stock it up and manually opt the machine in and set up the listings.
  13. Not within the scope of my plugin. This plugin simply allows the purchase of tugboats from fishing village.
  14. Yeah it should support all custom items.
  15. Added a null check to the command for next release. It's not an issue; a player that had no data tried to run the command. There isn't any documentation on the page for integrating into a plugin, so probably not.
  16. imthenewguy

    Casinos

    It comes from the player themselves
  17. yeah it's not ideal. Will look at something more permanent down the track.
  18. There are a few plugins that can create items to run permissions. I use Cooking personally for this. It allows you to add the perms to a meal as a buff, and removes the perms once the meals timer is done.
  19. Monument Finder simply provides the bounds of the monument. It wouldn't be useful for automatically building a track unless I misunderstand what you mean?
  20. Hey mate, there are a few things. It's a ground up rebuild (entirely different code), so it's a lot more optimized and has less impact on your server. It also has admin tools to view users containers, allows for easy repositioning of containers at monuments and supports setting up containers for custom monuments (based on the monument marker location). It also supports armor slots and ownership tags when handling items and a more comprehensive whitelist/blacklist options. The old version is no longer being maintained either. The code is too old and bad to work with.

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.3m
Total downloads
Customers
10.7k
Customers served
Files Sold
155k
Marketplace sales
Payments
3.3m
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.