Thanks for this clarification. It gives me a better idea of where to look
I will start digging this up on my test server and update this thread if I find the root cause.
Cheers!
--------------------------
Update: I posted my previous message a bit too fast. In my case the error was linked to OnDispenserGather and not on OnPlayerLootEnd. Apologies for that.
However the good news is that in my case the issue was coming from my config.
My "uneducated" guess here is that I used floats below zero and not integer in some of my values (0.2 per hit in mining for instance). I simply restored default configs and tweaked values in other ways. Now all is good.
Thanks for the swift answer Fujikura. Much appreciated!
ZLevelsRemastered
Moved
Total Downloads: 41,383 - First Release: Nov 15, 2015 - Last Update: Jul 22, 2018
- 5/5, 127 likes
-
is it possible to make it where the lvl returns to 0 (100% loss) upon death.. so players arnt just logging off to get 5 hours in to only loose 50% i want a full loss upon death
-
What about XP loss when players dying ? Seem not work
And about HQM ?
ThanksLast edited by a moderator: Sep 6, 2017 -
So, I noticed, a server I play on that never updates their plugins, is running ZLevels 2.5.5 and it doesn't have the lag when you hit trees. On my server, with the new version of ZLevels, I get the lag when I hit trees. Any idea what the difference could be between the 2 of these that would cause the lag on the newest version vs the old version?
-
error since update guys
Code:Failed to call hook 'OnCollectiblePickup' on plugin 'ZLevelsRemastered v2.5.9' (IndexOutOfRangeException: index + length > size)(21:02:02) | at System.Array.Clear (System.Array array, Int32 index, Int32 length) [0x00000] in <filename unknown>:0at System.IO.MemoryStream.Expand (Int32 newSize) [0x00000] in <filename unknown>:0at System.IO.MemoryStream.SetLength (Int64 value) [0x00000] in <filename unknown>:0at Network.Write.String (System.String val) [0x00000] in <filename unknown>:0at Network.Write.WriteObject (System.Object obj) [0x00000] in <filename unknown>:0at (wrapper remoting-invoke-with-check) Network.Write:WriteObject (object)at BaseEntity.ClientRPCEx (SendInfo sendInfo, Network.Connection sourceConnection, System.String funcName, Nullable`1 objects) [0x00000] in <filename unknown>:0at Oxide.Game.Rust.Cui.CuiHelper.DestroyUi (.BasePlayer player, System.String elem) [0x00000] in <filename unknown>:0at Oxide.Plugins.ZLevelsRemastered.RenderUI (.BasePlayer player) [0x00000] in <filename unknown>:0at Oxide.Plugins.ZLevelsRemastered.levelHandler (.BasePlayer player, .Item item, System.String skill) [0x00000] in <filename unknown>:0at Oxide.Plugins.ZLevelsRemastered.OnCollectiblePickup (.Item item, .BasePlayer player) [0x00000] in <filename unknown>:0at Oxide.Plugins.ZLevelsRemastered.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0at Oxide.Plugins.CSharpPlugin.InvokeMethod (HookMethod method, System.Object[] args) [0x00000] in <filename unknown>:0at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00000] in <filename unknown>:0
-
-
Crafting levels seems to vanish out of the blue and I'm unable to take zlevels out of memory to refresh it unless I do a full reboot. Is this a known issue?
-
-
I should also note the crafting also breaks (Meaning the instant crafting at 20 no longer works) -
I did made a test this minute with level 20, works fine being instant on my test. A decrease to 19 does have a delay again, so it looks fine from my side. -
I have Zlevels on my server and I've come across a recent... "children of the corn" problem. Players can get a stack of low HP pumpkins, say 5 in a stack, if they drag a single one off the stack of five it gives them a full health pumpkin. They can then eat it, get two seeds and keep multiplying. In a very short amount of time they can seed grief very hard. I don't know how big of a problem this might become so I wanted to catch it in advance. Is there a way to exclude all seeds and pumpkin/corn from the multiplier bonus?
If not I was wondering if a "ExcludeSeedsOnGather" and/or "ExludeCorn/PumpkinOnGather" option could be added to the configuration please? -
Is it possible to remove individual players from z-levels? The case in point is an admin that wants the vanilla experience. Permission is enable on the default group. Revoked permission on the player, but it still shows he has it, I guess due to default group, which is inherited by admin group.
-
-
-
Bonjour, comment puis-je réparer mes bonus car au niveau cinq, j'ai un bonus de 80%, et il m'a fait 144 par frape pour le bois, je voudrais me mettre mon bonus par niveau.
-
-
Hello, how can I fix my bonus because at level five, I have a bonus of 80%, and it made me 144 per strike for the wood, I would put my bonus by level.
[DOUBLEPOST=1505214295][/DOUBLEPOST]level 8 = 140% :/ ..
I look or change the bonus I can not find -
Fujikura updated ZLevels Remastered with a new update entry:
2.6.4
-
( my settings) :
"Settings": {
"CraftingDetails": {
"PercentFasterPerLevel": 3,
"TimeSpent": 1,
"XPPerTimeSpent": 3
},
"DefaultResourceMultiplier": {
"A": 1,
"M": 1,
"S": 1,
"WC": 1
},
"LevelCaps": {
"A": 51,
"C": -1,
"M": 51,
"S": 51,
"WC": 51
},
"PercentLostOnDeath": {
"A": 50,
"C": 50,
"M": 50,
"S": 50,
"WC": 50
},
"PointsPerHit": {
"A": 30,
"M": 30,
"S": 30,
"WC": 30
},
"ResourcePerLevelMultiplier": {
"A": 1.5,
"M": 1.5,
"S": 2.0,
"WC": 2.0
}, -
Yeah great plugin! But...
The lag is an issue. Unfortunately the developer don't seems to notice it despite many users reporting the same thing.
So, i'll keep tracking this plugin to see if something changes... as this would be a great one if it works without the issue.