• Хостинг игровых серверов

    Максимальная производительность для ваших игровых серверов!

    Заказать сейчас

Плагин Increase Weapons 2024-05-17

D
все работает, и бесконечные патроны и увеличение магазина.
вот баги которые я нашел, после обновления плагина:
Ошибка появляется при нанесении урона разрывными патронами по любому обьекту (стена, коптер, любой труп, мешок и т.д.)
Failed to call hook 'OnEntityTakeDamage' on plugin 'kryIncreaseWeapons v1.0.5' (NullReferenceException: Object reference not set to an instance of an object)
at Oxide.Plugins.kryIncreaseWeapons+<OnEntityTakeDamage>c__AnonStorey0.<>m__0 (Oxide.Plugins.kryIncreaseWeapons+WeaponsInfo x) [0x00000] in <7334296a5878446bbb4b5c11c184349b>:0
at System.Linq.Enumerable.TryGetFirst[TSource] (System.Collections.Generic.IEnumerable`1[T] source, System.Func`2[T,TResult] predicate, System.Boolean& found) [0x0003f] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at System.Linq.Enumerable.FirstOrDefault[TSource] (System.Collections.Generic.IEnumerable`1[T] source, System.Func`2[T,TResult] predicate) [0x00000] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at Oxide.Plugins.kryIncreaseWeapons.OnEntityTakeDamage (BaseCombatEntity entity, HitInfo info) [0x0003b] in <7334296a5878446bbb4b5c11c184349b>:0
at Oxide.Plugins.kryIncreaseWeapons.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x000b8] in <7334296a5878446bbb4b5c11c184349b>:0
at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <3606d2af539c45e4b5c61658e6a8b307>:0
at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <c2afd8354b8b4f3ca451cf5a1aa111c3>:0
at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <c2afd8354b8b4f3ca451cf5a1aa111c3>:0
Далее после обновления плагина в консоль идет вот такой вот спам:
[15:15:37]Calling 'OnLoseCondition' on 'NeverWear v0.1.4' took average 1741ms
[15:15:39]Calling 'OnLoseCondition' on 'NeverWear v0.1.4' took 145ms [GARBAGE COLLECT]
[15:15:44]Calling 'OnLoseCondition' on 'kryIncreaseWeapons v1.0.5' took average 1037ms
[15:15:47]Calling 'OnLoseCondition' on 'NeverWear v0.1.4' took average 1861ms
[15:15:47]Calling 'OnLoseCondition' on 'NeverWear v0.1.4' took 143ms [GARBAGE COLLECT]
[15:15:54]Calling 'OnLoseCondition' on 'kryIncreaseWeapons v1.0.5' took average 1046ms
[15:15:55]Calling 'OnLoseCondition' on 'kryIncreaseWeapons v1.0.5' took 144ms [GARBAGE COLLECT]
[15:15:57]Calling 'OnLoseCondition' on 'NeverWear v0.1.4' took average 1823ms
[15:16:03]Calling 'OnLoseCondition' on 'NeverWear v0.1.4' took 150ms [GARBAGE COLLECT]
[15:16:04]Calling 'OnLoseCondition' on 'kryIncreaseWeapons v1.0.5' took average 1201ms
[15:16:07]Calling 'OnLoseCondition' on 'NeverWear v0.1.4' took average 1813ms
[15:16:11]Calling 'OnLoseCondition' on 'NeverWear v0.1.4' took 149ms [GARBAGE COLLECT]
[15:16:14]Calling 'OnLoseCondition' on 'kryIncreaseWeapons v1.0.5' took average 1034ms
[15:16:17]Calling 'OnLoseCondition' on 'NeverWear v0.1.4' took average 1803ms
[15:16:24]Calling 'OnLoseCondition' on 'kryIncreaseWeapons v1.0.5' took average 1029ms
[15:16:27]Calling 'OnLoseCondition' on 'NeverWear v0.1.4' took average 1680ms
[15:16:28]Calling 'OnLoseCondition' on 'kryIncreaseWeapons v1.0.5' took 172ms [GARBAGE COLLECT]
[15:16:34]Calling 'OnLoseCondition' on 'kryIncreaseWeapons v1.0.5' took average 1220ms
[15:16:37]Calling 'OnLoseCondition' on 'NeverWear v0.1.4' took average 1685ms
[15:16:44]Calling 'OnLoseCondition' on 'kryIncreaseWeapons v1.0.5' took 166ms [GARBAGE COLLECT]
[15:16:44]Calling 'OnLoseCondition' on 'kryIncreaseWeapons v1.0.5' took average 1066ms [GARBAGE COLLECT]
[15:16:47]Calling 'OnLoseCondition' on 'NeverWear v0.1.4' took average 1634ms
[15:16:52]Calling 'OnLoseCondition' on 'kryIncreaseWeapons v1.0.5' took 158ms [GARBAGE COLLECT]
[15:16:54]Calling 'OnLoseCondition' on 'kryIncreaseWeapons v1.0.5' took average 1191ms
[15:16:57]Calling 'OnLoseCondition' on 'NeverWear v0.1.4' took average 1687ms
[15:17:01]Calling 'OnLoseCondition' on 'NeverWear v0.1.4' took 191ms [GARBAGE COLLECT]
[15:17:04]Calling 'OnLoseCondition' on 'kryIncreaseWeapons v1.0.5' took average 1051ms
[15:17:07]Calling 'OnLoseCondition' on 'NeverWear v0.1.4' took average 1873ms
[15:17:09]Calling 'OnLoseCondition' on 'NeverWear v0.1.4' took 181ms [GARBAGE COLLECT]
[15:17:14]Calling 'OnLoseCondition' on 'kryIncreaseWeapons v1.0.5' took average 1008ms
[15:17:17]Calling 'OnLoseCondition' on 'kryIncreaseWeapons v1.0.5' took 157ms [GARBAGE COLLECT]
[15:17:17]Calling 'OnLoseCondition' on 'NeverWear v0.1.4' took average 1848ms
[15:17:24]Calling 'OnLoseCondition' on 'kryIncreaseWeapons v1.0.5' took average 1247ms
[15:17:25]Calling 'OnLoseCondition' on 'NeverWear v0.1.4' took 169ms [GARBAGE COLLECT]
[15:17:27]Calling 'OnLoseCondition' on 'NeverWear v0.1.4' took average 1873ms
[15:17:33]Calling 'OnLoseCondition' on 'kryIncreaseWeapons v1.0.5' took 150ms [GARBAGE COLLECT]
[15:17:34]Calling 'OnLoseCondition' on 'kryIncreaseWeapons v1.0.5' took average 1206ms
[15:17:37]Calling 'OnLoseCondition' on 'NeverWear v0.1.4' took average 1676ms
[15:17:41]Calling 'OnLoseCondition' on 'NeverWear v0.1.4' took 150ms [GARBAGE COLLECT]
[15:17:44]Calling 'OnLoseCondition' on 'kryIncreaseWeapons v1.0.5' took average 1032ms
[15:17:47]Calling 'OnLoseCondition' on 'NeverWear v0.1.4' took average 1804ms
[15:17:49]Calling 'OnLoseCondition' on 'NeverWear v0.1.4' took 197ms [GARBAGE COLLECT]
[15:17:54]Calling 'OnLoseCondition' on 'kryIncreaseWeapons v1.0.5' took average 1040ms
[15:17:57]Calling 'OnLoseCondition' on 'NeverWear v0.1.4' took average 1876ms
[15:17:58]Calling 'OnLoseCondition' on 'NeverWear v0.1.4' took 179ms [GARBAGE COLLECT]
[15:18:04]Calling 'OnLoseCondition' on 'kryIncreaseWeapons v1.0.5' took average 1020ms
[15:18:06]Calling 'OnLoseCondition' on 'kryIncreaseWeapons v1.0.5' took 151ms [GARBAGE COLLECT]
[15:18:07]Calling 'OnLoseCondition' on 'NeverWear v0.1.4' took average 1802ms
возврат версии 1.0.3 снова убирает эти ошибки
Вероятно, это связано с тем, что оперативная память сервера забита, или производится ОЧЕНЬ много выстрелов в секунду
 
все работает, и бесконечные патроны и увеличение магазина.
вот баги которые я нашел, после обновления плагина:
Ошибка появляется при нанесении урона разрывными патронами по любому обьекту (стена, коптер, любой труп, мешок и т.д.)
Failed to call hook 'OnEntityTakeDamage' on plugin 'kryIncreaseWeapons v1.0.5' (NullReferenceException: Object reference not set to an instance of an object)
at Oxide.Plugins.kryIncreaseWeapons+<OnEntityTakeDamage>c__AnonStorey0.<>m__0 (Oxide.Plugins.kryIncreaseWeapons+WeaponsInfo x) [0x00000] in <7334296a5878446bbb4b5c11c184349b>:0
at System.Linq.Enumerable.TryGetFirst[TSource] (System.Collections.Generic.IEnumerable`1[T] source, System.Func`2[T,TResult] predicate, System.Boolean& found) [0x0003f] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at System.Linq.Enumerable.FirstOrDefault[TSource] (System.Collections.Generic.IEnumerable`1[T] source, System.Func`2[T,TResult] predicate) [0x00000] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at Oxide.Plugins.kryIncreaseWeapons.OnEntityTakeDamage (BaseCombatEntity entity, HitInfo info) [0x0003b] in <7334296a5878446bbb4b5c11c184349b>:0
at Oxide.Plugins.kryIncreaseWeapons.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x000b8] in <7334296a5878446bbb4b5c11c184349b>:0
at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <3606d2af539c45e4b5c61658e6a8b307>:0
at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <c2afd8354b8b4f3ca451cf5a1aa111c3>:0
at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <c2afd8354b8b4f3ca451cf5a1aa111c3>:0
Далее после обновления плагина в консоль идет вот такой вот спам:
[15:15:37]Calling 'OnLoseCondition' on 'NeverWear v0.1.4' took average 1741ms
[15:15:39]Calling 'OnLoseCondition' on 'NeverWear v0.1.4' took 145ms [GARBAGE COLLECT]
[15:15:44]Calling 'OnLoseCondition' on 'kryIncreaseWeapons v1.0.5' took average 1037ms
[15:15:47]Calling 'OnLoseCondition' on 'NeverWear v0.1.4' took average 1861ms
[15:15:47]Calling 'OnLoseCondition' on 'NeverWear v0.1.4' took 143ms [GARBAGE COLLECT]
[15:15:54]Calling 'OnLoseCondition' on 'kryIncreaseWeapons v1.0.5' took average 1046ms
[15:15:55]Calling 'OnLoseCondition' on 'kryIncreaseWeapons v1.0.5' took 144ms [GARBAGE COLLECT]
[15:15:57]Calling 'OnLoseCondition' on 'NeverWear v0.1.4' took average 1823ms
[15:16:03]Calling 'OnLoseCondition' on 'NeverWear v0.1.4' took 150ms [GARBAGE COLLECT]
[15:16:04]Calling 'OnLoseCondition' on 'kryIncreaseWeapons v1.0.5' took average 1201ms
[15:16:07]Calling 'OnLoseCondition' on 'NeverWear v0.1.4' took average 1813ms
[15:16:11]Calling 'OnLoseCondition' on 'NeverWear v0.1.4' took 149ms [GARBAGE COLLECT]
[15:16:14]Calling 'OnLoseCondition' on 'kryIncreaseWeapons v1.0.5' took average 1034ms
[15:16:17]Calling 'OnLoseCondition' on 'NeverWear v0.1.4' took average 1803ms
[15:16:24]Calling 'OnLoseCondition' on 'kryIncreaseWeapons v1.0.5' took average 1029ms
[15:16:27]Calling 'OnLoseCondition' on 'NeverWear v0.1.4' took average 1680ms
[15:16:28]Calling 'OnLoseCondition' on 'kryIncreaseWeapons v1.0.5' took 172ms [GARBAGE COLLECT]
[15:16:34]Calling 'OnLoseCondition' on 'kryIncreaseWeapons v1.0.5' took average 1220ms
[15:16:37]Calling 'OnLoseCondition' on 'NeverWear v0.1.4' took average 1685ms
[15:16:44]Calling 'OnLoseCondition' on 'kryIncreaseWeapons v1.0.5' took 166ms [GARBAGE COLLECT]
[15:16:44]Calling 'OnLoseCondition' on 'kryIncreaseWeapons v1.0.5' took average 1066ms [GARBAGE COLLECT]
[15:16:47]Calling 'OnLoseCondition' on 'NeverWear v0.1.4' took average 1634ms
[15:16:52]Calling 'OnLoseCondition' on 'kryIncreaseWeapons v1.0.5' took 158ms [GARBAGE COLLECT]
[15:16:54]Calling 'OnLoseCondition' on 'kryIncreaseWeapons v1.0.5' took average 1191ms
[15:16:57]Calling 'OnLoseCondition' on 'NeverWear v0.1.4' took average 1687ms
[15:17:01]Calling 'OnLoseCondition' on 'NeverWear v0.1.4' took 191ms [GARBAGE COLLECT]
[15:17:04]Calling 'OnLoseCondition' on 'kryIncreaseWeapons v1.0.5' took average 1051ms
[15:17:07]Calling 'OnLoseCondition' on 'NeverWear v0.1.4' took average 1873ms
[15:17:09]Calling 'OnLoseCondition' on 'NeverWear v0.1.4' took 181ms [GARBAGE COLLECT]
[15:17:14]Calling 'OnLoseCondition' on 'kryIncreaseWeapons v1.0.5' took average 1008ms
[15:17:17]Calling 'OnLoseCondition' on 'kryIncreaseWeapons v1.0.5' took 157ms [GARBAGE COLLECT]
[15:17:17]Calling 'OnLoseCondition' on 'NeverWear v0.1.4' took average 1848ms
[15:17:24]Calling 'OnLoseCondition' on 'kryIncreaseWeapons v1.0.5' took average 1247ms
[15:17:25]Calling 'OnLoseCondition' on 'NeverWear v0.1.4' took 169ms [GARBAGE COLLECT]
[15:17:27]Calling 'OnLoseCondition' on 'NeverWear v0.1.4' took average 1873ms
[15:17:33]Calling 'OnLoseCondition' on 'kryIncreaseWeapons v1.0.5' took 150ms [GARBAGE COLLECT]
[15:17:34]Calling 'OnLoseCondition' on 'kryIncreaseWeapons v1.0.5' took average 1206ms
[15:17:37]Calling 'OnLoseCondition' on 'NeverWear v0.1.4' took average 1676ms
[15:17:41]Calling 'OnLoseCondition' on 'NeverWear v0.1.4' took 150ms [GARBAGE COLLECT]
[15:17:44]Calling 'OnLoseCondition' on 'kryIncreaseWeapons v1.0.5' took average 1032ms
[15:17:47]Calling 'OnLoseCondition' on 'NeverWear v0.1.4' took average 1804ms
[15:17:49]Calling 'OnLoseCondition' on 'NeverWear v0.1.4' took 197ms [GARBAGE COLLECT]
[15:17:54]Calling 'OnLoseCondition' on 'kryIncreaseWeapons v1.0.5' took average 1040ms
[15:17:57]Calling 'OnLoseCondition' on 'NeverWear v0.1.4' took average 1876ms
[15:17:58]Calling 'OnLoseCondition' on 'NeverWear v0.1.4' took 179ms [GARBAGE COLLECT]
[15:18:04]Calling 'OnLoseCondition' on 'kryIncreaseWeapons v1.0.5' took average 1020ms
[15:18:06]Calling 'OnLoseCondition' on 'kryIncreaseWeapons v1.0.5' took 151ms [GARBAGE COLLECT]
[15:18:07]Calling 'OnLoseCondition' on 'NeverWear v0.1.4' took average 1802ms
возврат версии 1.0.3 снова убирает эти ошибки
Да, могу ли я это исправить, иначе это приведет к тому, что сервер будет катон или даже упадет
 
D

Вероятно, это связано с тем, что оперативная память сервера забита, или производится ОЧЕНЬ много выстрелов в секунду
нет, когда я проверял сервер был пуст, свободно еще 3 гб оперативы на сервере и я проверял одиночными выстрелами
 
Если с нелутайкой помераеш то рокетница привращается в обычную без всех плюшок как по фиксить?
 
При надевании прицела или прочего на оружие, оно превращается в обычное, можно ли как-то это пофиксить?
 
1659255722335.pngНе зависимо от того стоит true или false - патроны всегда бесконечные. Пофиксите пожалуйста
 
Активность
Пока никто не печатает сообщение