Jump to content

imthenewguy

Curator
  • Posts

    4,084
  • Joined

  • Last visited

  • Days Won

    51

Everything posted by imthenewguy

  1. Score works directly from the total xp/prestige rank of the player. The only way to reset it would be to reset the players stats.
  2. Just tested on my server and its working. I had a 75% reduction. The raw damage from the rocket was 235.79, and after the modifier took hold, It was reduced to 58.947 damage.
  3. imthenewguy

    Buy buttons

    Changed Status from Pending to Closed
  4. Hook Methods // Temporarily disable all buffs for the target public void DisableBuffs(ulong id) // Enable disabled buffs for the target public void EnableBuffs(ulong id) // Temporarily disable xp gain for the target public void DisableXP(ulong id) // Enable xp gain for the target public void EnableXP(ulong id) // Returns if xp gain is disabled for the target public bool IsXPDisabled(ulong id) // Allows external plugins to roll loot using the Loot_Pickup buff. Returns true if successful. public bool RolledLootPickup(BasePlayer player) // Give skill points to the target public void GiveSkillPoints(BasePlayer player, int amount) // Add a global xp modifier. Only the highest value is used. public void AddGlobalXPModifier(string pluginName, float modifier) // Removes a global xp modifier. public void RemoveGlobalXPModifier(string pluginName) // Give the player xp. noMod is whether the xp amount should be modified by permissions, nighttime xp bonuses, rested xp etc. public void AwardXP(BasePlayer player, double value, string plugin, bool noMod = false) // Returns a double representing the total respec cost. public double GetTotalRespecCost(BasePlayer player) // Respecs the player void RespecPlayer(BasePlayer player, PlayerInfo playerData = null) // Returns a list<object[]> of items inside of the players pouch_items. object[] is made from the itemInfo class. /* public class ItemInfo { public string shortname; public ulong skin; public int amount; public float condition; public float maxCondition; public int ammo; public string ammotype; public int position; public int frequency; public Item.Flag flags; public KeyInfo instanceData; public class KeyInfo { public int dataInt; public int blueprintTarget; public int blueprintAmount; } public int contentsSlots; public List<ItemInfo> item_contents; public string text; public string name; public List<ItemOwnershipShare> ownershipShares; public int armorSlots; public object[] ToObject() { return new object[] { shortname, skin, amount, condition, maxCondition, ammo, ammotype, position, frequency, flags, instanceData, instanceData?.dataInt, instanceData?.blueprintTarget, instanceData?.blueprintAmount, contentsSlots, text, name, ownershipShares, armorSlots }; } } */ List<object[]> STGetExtraPocketsItems(ulong id) // Returns the max level. public int STGetMaxLevel() // Returns name, xp, prestige level, current level and xpdebt as a Dictionary<ulong, (string Name, double XP, int PrestigeLevel, int CurrentLevel, double XPDebt)> public object GetSkillTreeData() // Remotely updates player stats. public void RemoteUpdatePlayerStats(string userid, string json) // Returns a float with the buff value of the specified buff. float GetBuffValue(BasePlayer player, string skill) /* Returns: - Current level (int) - Current total xp (double) - XP value that the currently level started at (double) - XP value that the next level will start at (double) - XP Debt - PrestigeLevel */ object[] GetXPStats(ulong id) // Returns the current prestige level of the player object GetPrestigeLevel(ulong id) // Returns the xp amount for the specified level. public double GetLevelExp(int level) // Returns the player level public int GetPlayerLevel(BasePlayer player) // Forces the players pouch to be dropped. public void ForceDropPouch(BasePlayer player, bool bypassPerm) // Remotely set the yields for skill tree's yield system public void SetSkillTreeYields(Dictionary<int, float> dict) // Remote set the yield for the specified yield type. public void SetSkillTreeYield(int type, float multiplier) // Returns a string[] with the players levle and xp. public string[] ST_GetPlayerLevel(BasePlayer player) // Returns xp over and above the players current level. private double GetExcessXP(BasePlayer player) // Removes xp from a player (cannot go below level xp). private void RemoveXP(BasePlayer player, double value) // Returns the horse stats as a float or null if the horse isnt modified. private object STGetHorseStats(BasePlayer player, ulong id) // Returns if the container uid is an extra pockets container. public object IsExtraPocketsContainer(ulong uid) // Adds a skill from a plugin. public void AddNode(string tree, string node, bool enabled, int max_Level, int tier, float value_Per_Buff, string _buff, string _buffType, string icon_url, object[] _perms = null, ulong skin = 0, bool overwrite = false) Hook Calls // Returning non-null prevents yield from the Harvest_Grown_Yield skill. object STCanReceiveYield(BasePlayer player, GrowableEntity entity) object STCanReceiveYield(BasePlayer player, GrowableEntity entity, Item item) // Returning non-null prevents SkillTree from increasing the yield for dispensers (trees/rocks/animals). object STCanReceiveYield(BasePlayer player, BaseEntity entity, Item item) // Prevents skill tree from increasing the gather yield for collectible entities. object STCanReceiveYield(BasePlayer player, CollectibleEntity entity) // Returning non-null prevents the Lock_Picker skill from running. object STOnLockpickAttempt(BasePlayer player, BaseLock baseLock) // Returning non-null prevents SkillTree from handling dispenser gather skills. object OnSkillTreeHandleDispenser(BasePlayer player, BaseEntity entity, Item item) // Returning non-null prevents instant gather from triggering. object OnInstantGatherTrigger(BasePlayer player, ResourceDispenser dispenser, string pluginName) // Triggered when an instant gather skill creates a new item (before it is given to the player). void OnInstantGatherTriggered(BasePlayer player, ResourceDispenser dispenser, Item newItem, string pluginName) // Returning non-null prevents the item repair from happening. object STOnItemRepairWithMaxRepair(Item item) // Returning non-null prevents the Rationer from running. object STOnRationTrigger(BasePlayer player, Item item) // Returning non-null prevents the horses stats from being modified by the Riding_Speed skill. object STCanModifyHorse(BasePlayer player, RidableHorse horse, float value) // Returning non-null prevents the pouch from dropping. object STOnPouchDrop(BasePlayer player) // Returning non-null prevents the player from losing xp. object STOnLoseXP(BasePlayer player) // Returning non-null prevents the boats speed from being modified by the Boat_Speed skill. object STOnModifyBoatSpeed(BasePlayer player, MotorRowboat boat) // Returning non-null prevents bonus loot from being added to the container. object STCanReceiveBonusLootFromContainer(BasePlayer player, LootContainer container) // Triggered when the player levels up. void STOnPlayerLevel(BasePlayer player, int currentLevel, int newLevel) // Returning a bool prevents the xp gain. Returning a double overwrites the xp amount to the value of the double. object STCanGainXP(BasePlayer player, string plugin, double xp) object STCanGainXP(BasePlayer player, BaseEntity source, double xp, string source_string) object STCanGainXP(ulong userid, string plugin, double xp) // Returning non-null prevents the pouch from being opened. object STOnPouchOpen(BasePlayer player) // Triggered when the pouch is opened. void STOnPouchOpened(BasePlayer player, StorageContainer container) // Returning non-null prevents xp gain from a swipe card object OnGainXPFromSwipeCard(BasePlayer player, int cardLevel, ulong cardReaderID) // Returning non-null prevents the swipe card from being bypassed with the Build_Craft_Ultimate. object OnSwipeAccessLevelBypass(BasePlayer player, CardReader cardReader, Keycard card) // Returning non-null prevents the Raiding_Ultimate from acquiring a target. object OnRaidingUltimateTargetAcquire(BasePlayer player, Vector3 pos) // Triggered when a player advances a prestige levels void STOnPlayerPrestigeLevelled(BasePlayer player, int newPrestigeLevel)
  5. Changed Status from Pending to Closed
  6. imthenewguy

    Buy buttons

    wil fix in the next release.
  7. You would be better off writing a dedicated recycling plugin to handle this. PersonalRecyclers is designed to provide a deployable recycler that players can have in their base, and is only accessible to them and their team. Your suggestion is outside of the scope of my plugin.
  8. imthenewguy

    Conflig with BetterLoot

    My plugin adds a container slot for the item to be inserted into the container. If BetterLoot is stopping this from happening, you may need to speak with the dev of that plugin because that would mess with a number of plugins that handle loot in a similar fashion.
  9. The creator of the plugin that handles the keycard would need to handle the feature. My plugin doesnt change the vanilla recycling functions at all besides blacklisting some items.
  10. Should be able to list the item in a shop, as long as the skin id and name match.
  11. My bot is down at the moment. Can you PM me directly so its at the top of my list?
  12. Sounds good. Drop me a message on discord if you can, so I dont forget lol,
  13. Ill have to test it on my server when im home.
  14. Are you holding a hammer?
  15. No integration has been done from my end, so unsure. Would need a solid way to replicate it if its a plugin issue. Could also be a conflict. Please submit a support ticket when you can.
  16. There is a config option to enable pickup with middle mouse, which is disabled by default. Set to true and it should work. Keep in mind its performance heavy.
  17. imthenewguy

    No Prerms

    It means another plugin is registering the st command and overriding it from Skill Tree. You have a plugin conflict.
  18. Ill add an option to display logs to console in the next release.
  19. Just tested on my server and it is working fine for me - it will remove the cold when it pops up and the players health doesnt change. You may have a config
  20. It doesnt print to console. It logs them using the LogToFile method and adds them the oxide/logs/DeathTracker/ folder.
  21. A restart of the server will fix the issue, so long as you do not reload ItemPerks.
  22. imthenewguy

    No Prerms

    if you are talking about using the /st command, you have another plugin overriding the command (such as Skinner). You need to change the st command in that plugin so it doesn't override SkillTree's usage of it.
  23. It happens if you are using a certain stacks plugin. The trigger is if you reload the plugin without restarting the server. No idea what causes it or why it happens with certain stacks plugins, but the only way to avoid it is to no reload ItemPerks without restarting your server.
  24. Yeah they would have written something custom or have another plugin handle the loot for the plugin I would assume., The only way to get ItemPerk items is to have support for the item.text field (which is where all perk info is stored), or generate them via command/HookMethod from another plugin.
  25. Is it not removing the cold from the player at all?
1.9m

Downloads

Total number of downloads.

9.2k

Customers

Total customers served.

134.8k

Files Sold

Total number of files sold.

2.8m

Payments Processed

Total payments processed.

×
×
  • 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.