-
Posts
4,085 -
Joined
-
Last visited
-
Days Won
51
Content Type
Profiles
Warranty Claims
Downloads
Forums
Store
Support
DOWNLOADS EXTRA
Services
Everything posted by imthenewguy
-
Changed Status from Pending to Closed
-
Changed Status from Pending to Closed Changed Fixed In to Next Version
-
Is the a way to make tier 3 combat perks relevant on a PVE server?
imthenewguy replied to 0athbound's Support Request in Support
Changed Status from Pending to Closed -
Changed Status from Pending to Closed
-
So the plugin uses OnLootEntity to handle the locking, by telling the player to stop looting on the following frame. It should be using the CanLootEntity hook and returning a false value to prevent the looting to begin with. Would be worth mentioning it to the developer, as with the current method the player will always get xp.
-
No XP earned when crafting with max speed bonus.
imthenewguy replied to 0athbound's Support Request in Support
Its an intended feature. The XP is based on the amount of time spent crafting an item. If the craft time is instant, the xp is less. -
- 163 comments
-
- #items
- #enhancement
-
(and 6 more)
Tagged with:
-
Need help moving the "Gilled" buff timer on the HUD
imthenewguy replied to 0athbound's Support Request in Support
Changed Status from Pending to Closed -
- 163 comments
-
- #items
- #enhancement
-
(and 6 more)
Tagged with:
-
- 1,362 comments
-
- #leveling
- #progression
- (and 19 more)
-
This is the snippet of code that handles the recycling from my end. void OnItemRecycle(Item item, Recycler recycler) { if (string.IsNullOrEmpty(item.text) || !HasPerks(item.text)) return; var perks = GetPerkCount(item.text); if (perks == null) return; BasePlayer player; if (!RecyclerPlayers.TryGetValue(recycler, out player) || !permission.UserHasPermission(player.UserIDString, perm_recycle)) return; if (player == null || !player.IsConnected) { RecyclerPlayers.Remove(recycler); return; } float chance = GetModifiedRecyclerChanceTarget(player, config.enhancementSettings.enhancement_kit_settings.recycle_settings.perk_kit_chance); foreach (var kvp in perks) { var roll = UnityEngine.Random.Range(0f, 100f); if (roll >= 100 - chance) { var kit = CreateEnhancementKit(kvp.Key); if (!kit.MoveToContainer(recycler.inventory)) kit.DropAndTossUpwards(recycler.transform.position); if (!string.IsNullOrEmpty(config.enhancementSettings.enhancement_kit_settings.recycle_settings.success_effect)) RunEffect(player, config.enhancementSettings.enhancement_kit_settings.recycle_settings.success_effect, recycler.transform.position); } } WipeDictionary(perks); return; } private void OnRecyclerToggle(Recycler recycler, BasePlayer player) { if (recycler.IsOn()) { RecyclerPlayers.Remove(recycler); return; } if (player == null) return; if (config.enhancementSettings.enhancement_kit_settings.recycle_settings.perk_kit_chance > 0) { if (!RecyclerPlayers.ContainsKey(recycler)) RecyclerPlayers.Add(recycler, player); else RecyclerPlayers[recycler] = player; } float value = GetTotalPerkMod(Perk.Environmentalist, player); if (value == 0) return; float modifiedSpeed = 5 - (5 * value); if (modifiedSpeed < 0.01) modifiedSpeed = 0.01f; recycler.CancelInvoke(nameof(recycler.RecycleThink)); timer.Once(0.1f, () => recycler.InvokeRepeating(recycler.RecycleThink, modifiedSpeed - 0.005f, modifiedSpeed)); } Do you see any obvious conflicts? Perk.Environmentalist is the perk that changes the speed of the recycler. If they don't have that perk it shouldn't cancel the RecycleThink method. So long as OnItemRecycle is being called correctly and fed non-null information, it should work fine.
- 163 comments
-
- #items
- #enhancement
-
(and 6 more)
Tagged with:
-
- 163 comments
-
- #items
- #enhancement
-
(and 6 more)
Tagged with:
-
Need help moving the "Gilled" buff timer on the HUD
imthenewguy replied to 0athbound's Support Request in Support
Will update next release. -
- 163 comments
-
- #items
- #enhancement
-
(and 6 more)
Tagged with:
-
How often does this appear?
-
You need to ask the owner of the plugin to check how the lock is being implemented. My xp is awarded once the container has been successfully looted, using the OnLootEntity hook, which is called when the player has been assigned as a looter to the entity. In order to prevent this, he will need to prevent the player from looting using the CanLootEntity hook, as returning false on this prevents OnLootEntity from firing.
-
Repaired Items not useable after unlocking the Skill
imthenewguy replied to Yuki's Support Request in Support
Hey could you run me through the exact process, step by step, so I can attempt to replicate the issue on my end? -
- 163 comments
-
- #items
- #enhancement
-
(and 6 more)
Tagged with:
-
- 163 comments
-
- #items
- #enhancement
-
(and 6 more)
Tagged with:
-
Changed Status from Pending to Closed
-
Changed Status from Pending to Closed
-
- 252 comments
-
- 1
-
-
- #enhanced
- #custom loot
-
(and 7 more)
Tagged with:
-
- 252 comments
-
- #enhanced
- #custom loot
-
(and 7 more)
Tagged with:
-
Double bags and lag with bossmonster settings
imthenewguy replied to Fusion 3.64's Support Request in Support
Changed Status from Pending to Closed -
- 1,362 comments
-
- 1
-
-
- #leveling
- #progression
- (and 19 more)