-
Posts
4,030 -
Joined
-
Last visited
-
Days Won
51
Content Type
Profiles
Warranty Claims
Downloads
Forums
Store
Support
DOWNLOADS EXTRA
Services
Everything posted by imthenewguy
-
- 1,355 comments
-
- 1
-
-
- #leveling
- #progression
- (and 19 more)
-
- 1,355 comments
-
- 1
-
-
- #leveling
- #progression
- (and 19 more)
-
Think its an oversight with EventHelper. If everything else is being restored correctly then I probably need to fix it on my end. I have added something to the next release that should hopefully sort it out.
-
- 1,355 comments
-
- #leveling
- #progression
- (and 19 more)
-
Changed Status from Pending to Closed Changed Fixed In to Next Version
-
Hey mate i have another version I plan to release which disables saving, so it will remove the entities on restart.
-
No XP earned when crafting with max speed bonus.
imthenewguy replied to 0athbound's Support Request in Support
Changed Status from Pending to Closed -
- 161 comments
-
- #items
- #enhancement
-
(and 6 more)
Tagged with:
-
How can I automatically delete the data when the map is initialized?
imthenewguy replied to P.P's Support Request in Support
Changed Status from Pending to Closed -
Changed Status from Pending to Closed Changed Fixed In to 1.0.3
-
Changed Status from Pending to Closed Changed Fixed In to 1.0.5
-
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. -
- 161 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 -
- 161 comments
-
- #items
- #enhancement
-
(and 6 more)
Tagged with:
-
- 1,355 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.
- 161 comments
-
- #items
- #enhancement
-
(and 6 more)
Tagged with:
-
- 161 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. -
- 161 comments
-
- #items
- #enhancement
-
(and 6 more)
Tagged with: