Jump to content
Message added by MON@H,

Download Ext.UiFramework.dll from releases page and place into RustDedicated_Data\Managed

5 Screenshots

  • 37.3k
  • 151
  • 50.11 kB
This area is for discussion and questions. Please use the support area for reporting issues or getting help.

Recommended Comments



Covfefe

Posted

1 zlevel loss is a lot per hit, can you make it a fraction? like 0.5?

MON@H

Posted

2 hours ago, Covfefe said:

1 zlevel loss is a lot per hit, can you make it a fraction? like 0.5?

I can, but the problem is it's not supported by ZLevelsRemastered plugin. Also, level penalty used only when 3-rd threshold reached and by default kicking player is taking place. With default config player must hit 15 times before this will be triggered, so are you sure 1 level is a lot for this player? Also, with default config, he will have to reconnect after being kicked and attack again during 5 minutes after last attack to get another -lvl. Just trying to clarify this.

unrealtairo

Posted

Was gonna get this but it really needs a jail as punishment option (But ignore suicides)

Been eyeing it a few weeks, any plans for that? We like to shame our rule breakers in prison, with a cctv cam posted at it for all to see them. But our admins can't always be around, auto placing with this would be amazing lol

MON@H

Posted

@unrealtairo What jail are you referring to?

 

Gay Sparkly T-Rex

Posted

Is it possible to add Zone Manager support? Im looking to have Airfield as a PVP zone and dont want people to be punished within the zone but only be punished outside of the zone... sorry if I have missed a setting to already do this.

I used Dynamic PVP to make the area around Airfield a PVP zone but dont see a space to specify in Punish Attacker to set zones not to apply punishments

MON@H

Posted

4 hours ago, Razor14150 said:

Is it possible to add Zone Manager support? Im looking to have Airfield as a PVP zone and dont want people to be punished within the zone but only be punished outside of the zone... sorry if I have missed a setting to already do this.

I used Dynamic PVP to make the area around Airfield a PVP zone but dont see a space to specify in Punish Attacker to set zones not to apply punishments

Added in latest version

Apoco

Posted

would be really awesome to get TruePVE support for PVE servers this is a great way to stop players shooting others and being annoying.
The plugin already works great but since TruePVE Negates damage the only part that does nothing is the fact the damage is returned 0 cause you did 0 so i have my  "Initial percentage of damage as punishment": set to 0.15 but because you do no damage as it is you take none anyway to make it work with true pve so the person shooting the player still takes damage 

  • Like 1
MON@H

Posted

12 minutes ago, steven burns said:

would be really awesome to get TruePVE support for PVE servers this is a great way to stop players shooting others and being annoying.
The plugin already works great but since TruePVE Negates damage the only part that does nothing is the fact the damage is returned 0 cause you did 0 so i have my  "Initial percentage of damage as punishment": set to 0.15 but because you do no damage as it is you take none anyway to make it work with true pve so the person shooting the player still takes damage 

Please, read description tab carefully. You must enable player to player damage in TruePVE plugin. This plugin will prevent damage. If you have issues - start support thread, post your config and give more details about your issue.

Apoco

Posted

do i just need to add to the exclude list?

MON@H

Posted (edited)

3 hours ago, steven burns said:

do i just need to add to the exclude list?

You must allow player to damage another player in TruePVE config file e.g.

"anything can hurt players"

or

"players can hurt players"

PunishAttacker will prevent damage instead on TruePVE.

Edited by MON@H
Fusion 3.64

Posted

 Failed to call hook 'OnEntityTakeDamage' on plugin 'PunishAttacker v1.4.0' (NullReferenceException: Object reference not set to an instance of an object)
  at Oxide.Plugins.PunishAttacker.IsClanMemberOrAlly (System.UInt64 userID, System.UInt64 targetID) [0x00013] in <829ae62ea5454b048c51407925fb40ce>:0 
  at Oxide.Plugins.PunishAttacker.IsAlly (System.UInt64 userID, System.UInt64 targetID) [0x00014] in <829ae62ea5454b048c51407925fb40ce>:0 
  at Oxide.Plugins.PunishAttacker.OnEntityTakeDamage (BasePlayer victim, HitInfo info) [0x00144] in <829ae62ea5454b048c51407925fb40ce>:0 
  at Oxide.Plugins.PunishAttacker.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x005d1] in <829ae62ea5454b048c51407925fb40ce>:0 
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <60c318df79ed41688ea59335e48d61ad>:0 
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <9882f28dc2204b4dba514a9ad18f5042>:0 
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <9882f28dc2204b4dba514a9ad18f5042>:0

Not sure if this is just me, but figured I should post.

MON@H

Posted

1 hour ago, thepiercedweirdo said:
 Failed to call hook 'OnEntityTakeDamage' on plugin 'PunishAttacker v1.4.0' (NullReferenceException: Object reference not set to an instance of an object)
  at Oxide.Plugins.PunishAttacker.IsClanMemberOrAlly (System.UInt64 userID, System.UInt64 targetID) [0x00013] in <829ae62ea5454b048c51407925fb40ce>:0 
  at Oxide.Plugins.PunishAttacker.IsAlly (System.UInt64 userID, System.UInt64 targetID) [0x00014] in <829ae62ea5454b048c51407925fb40ce>:0 
  at Oxide.Plugins.PunishAttacker.OnEntityTakeDamage (BasePlayer victim, HitInfo info) [0x00144] in <829ae62ea5454b048c51407925fb40ce>:0 
  at Oxide.Plugins.PunishAttacker.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x005d1] in <829ae62ea5454b048c51407925fb40ce>:0 
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <60c318df79ed41688ea59335e48d61ad>:0 
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <9882f28dc2204b4dba514a9ad18f5042>:0 
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <9882f28dc2204b4dba514a9ad18f5042>:0

Not sure if this is just me, but figured I should post.

Do you know how to reproduce it? I mean how can I reproduce this error in my environment? I have all checks and I just have no idea how are you getting those errors, if only I could reproduce it on my side then I could fix it. At this moment I'm comfused.

Fusion 3.64

Posted

3 hours ago, MON@H said:

Do you know how to reproduce it? I mean how can I reproduce this error in my environment? I have all checks and I just have no idea how are you getting those errors, if only I could reproduce it on my side then I could fix it. At this moment I'm comfused.

I just keep seeing it come up in console.
I'll try and see if I can replicate it tomorrow. I'm Rusted out for the day.
I'll try it on the primary and test so I can try pulling and adding plugins to see if it's a conflict. Which is very likely knowing my server.

  • Like 1
MON@H

Posted

Found a typo. Fixed in latest version

Covfefe

Posted

On 9/23/2021 at 3:09 PM, MON@H said:

You must allow player to damage another player in TruePVE config file e.g.

"anything can hurt players"

or

"players can hurt players"

PunishAttacker will prevent damage instead on TruePVE.

I did that and players still took damage when other players shot at them. I'm also getting this in console

Failed to call hook 'OnEntityTakeDamage' on plugin 'PunishAttacker v1.4.1' (NullReferenceException: Object reference not set to an instance of an object)
  at Oxide.Plugins.PunishAttacker.IsClanMemberOrAlly (System.UInt64 userID, System.UInt64 targetID) [0x00013] in :0 
  at Oxide.Plugins.PunishAttacker.IsAlly (System.UInt64 userID, System.UInt64 targetID) [0x00014] in :0 
  at Oxide.Plugins.PunishAttacker.OnEntityTakeDamage (BasePlayer victim, HitInfo info) [0x00144] in :0 
  at Oxide.Plugins.PunishAttacker.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x005d1] in :0 
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <60c318df79ed41688ea59335e48d61ad>:0 
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <9882f28dc2204b4dba514a9ad18f5042>:0 
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <9882f28dc2204b4dba514a9ad18f5042>:0 

 

MON@H

Posted

4 hours ago, Covfefe said:

I did that and players still took damage when other players shot at them. I'm also getting this in console

Failed to call hook 'OnEntityTakeDamage' on plugin 'PunishAttacker v1.4.1' (NullReferenceException: Object reference not set to an instance of an object)
  at Oxide.Plugins.PunishAttacker.IsClanMemberOrAlly (System.UInt64 userID, System.UInt64 targetID) [0x00013] in :0 
  at Oxide.Plugins.PunishAttacker.IsAlly (System.UInt64 userID, System.UInt64 targetID) [0x00014] in :0 
  at Oxide.Plugins.PunishAttacker.OnEntityTakeDamage (BasePlayer victim, HitInfo info) [0x00144] in :0 
  at Oxide.Plugins.PunishAttacker.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x005d1] in :0 
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <60c318df79ed41688ea59335e48d61ad>:0 
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <9882f28dc2204b4dba514a9ad18f5042>:0 
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <9882f28dc2204b4dba514a9ad18f5042>:0 

 

NRE is fixed in latest version. Check it out and if you still have issues let me know

Apoco

Posted (edited)

updated still getting error so NRE is not fixed it seems 

Failed to call hook 'OnEntityTakeDamage' on plugin 'PunishAttacker v1.4.1' (NullReferenceException: Object reference not set to an instance of an object)
  at Oxide.Plugins.PunishAttacker.IsFriend (System.UInt64 userID, System.UInt64 targetID) [0x00013] in <b8ffb89d9f7f4ed2849ae5efccc9e2cc>:0 
  at Oxide.Plugins.PunishAttacker.IsAlly (System.UInt64 userID, System.UInt64 targetID) [0x00021] in <b8ffb89d9f7f4ed2849ae5efccc9e2cc>:0 
  at Oxide.Plugins.PunishAttacker.OnEntityTakeDamage (BasePlayer victim, HitInfo info) [0x00144] in <b8ffb89d9f7f4ed2849ae5efccc9e2cc>:0 
  at Oxide.Plugins.PunishAttacker.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x005d1] in <b8ffb89d9f7f4ed2849ae5efccc9e2cc>:0 
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <60c318df79ed41688ea59335e48d61ad>:0 
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <9882f28dc2204b4dba514a9ad18f5042>:0 
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <9882f28dc2204b4dba514a9ad18f5042>:0 

Edited by steven burns
Apoco

Posted

same error after update today
Wendyz Cafe[76561199056932111] has spawned
Failed to call hook 'OnEntityTakeDamage' on plugin 'PunishAttacker v1.4.1' (NullReferenceException: Object reference not set to an instance of an object)
  at Oxide.Plugins.PunishAttacker.IsFriend (System.UInt64 userID, System.UInt64 targetID) [0x00013] in <2dd8a0195ba542bd8984b164149406d4>:0 
  at Oxide.Plugins.PunishAttacker.IsAlly (System.UInt64 userID, System.UInt64 targetID) [0x00021] in <2dd8a0195ba542bd8984b164149406d4>:0 
  at Oxide.Plugins.PunishAttacker.OnEntityTakeDamage (BasePlayer victim, HitInfo info) [0x00144] in <2dd8a0195ba542bd8984b164149406d4>:0 
  at Oxide.Plugins.PunishAttacker.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x005d1] in <2dd8a0195ba542bd8984b164149406d4>:0 
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <60c318df79ed41688ea59335e48d61ad>:0 
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <9882f28dc2204b4dba514a9ad18f5042>:0 
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <9882f28dc2204b4dba514a9ad18f5042>:0 
Failed to call hook 'OnEntityTakeDamage' on plugin 'PunishAttacker v1.4.1' (NullReferenceException: Object reference not set to an instance of an object)
  at Oxide.Plugins.PunishAttacker.IsFriend (System.UInt64 userID, System.UInt64 targetID) [0x00013] in <2dd8a0195ba542bd8984b164149406d4>:0 
  at Oxide.Plugins.PunishAttacker.IsAlly (System.UInt64 userID, System.UInt64 targetID) [0x00021] in <2dd8a0195ba542bd8984b164149406d4>:0 
  at Oxide.Plugins.PunishAttacker.OnEntityTakeDamage (BasePlayer victim, HitInfo info) [0x00144] in <2dd8a0195ba542bd8984b164149406d4>:0 
  at Oxide.Plugins.PunishAttacker.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x005d1] in <2dd8a0195ba542bd8984b164149406d4>:0 
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <60c318df79ed41688ea59335e48d61ad>:0 
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <9882f28dc2204b4dba514a9ad18f5042>:0 
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <9882f28dc2204b4dba514a9ad18f5042>:0 
Failed to call hook 'OnEntityTakeDamage' on plugin 'PunishAttacker v1.4.1' (NullReferenceException: Object reference not set to an instance of an object)
  at Oxide.Plugins.PunishAttacker.IsFriend (System.UInt64 userID, System.UInt64 targetID) [0x00013] in <2dd8a0195ba542bd8984b164149406d4>:0 
  at Oxide.Plugins.PunishAttacker.IsAlly (System.UInt64 userID, System.UInt64 targetID) [0x00021] in <2dd8a0195ba542bd8984b164149406d4>:0 
  at Oxide.Plugins.PunishAttacker.OnEntityTakeDamage (BasePlayer victim, HitInfo info) [0x00144] in <2dd8a0195ba542bd8984b164149406d4>:0 
  at Oxide.Plugins.PunishAttacker.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x005d1] in <2dd8a0195ba542bd8984b164149406d4>:0 
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <60c318df79ed41688ea59335e48d61ad>:0 
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <9882f28dc2204b4dba514a9ad18f5042>:0 
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <9882f28dc2204b4dba514a9ad18f5042>:0 
Failed to call hook 'OnEntityTakeDamage' on plugin 'PunishAttacker v1.4.1' (NullReferenceException: Object reference not set to an instance of an object)
  at Oxide.Plugins.PunishAttacker.IsFriend (System.UInt64 userID, System.UInt64 targetID) [0x00013] in <2dd8a0195ba542bd8984b164149406d4>:0 
  at Oxide.Plugins.PunishAttacker.IsAlly (System.UInt64 userID, System.UInt64 targetID) [0x00021] in <2dd8a0195ba542bd8984b164149406d4>:0 
  at Oxide.Plugins.PunishAttacker.OnEntityTakeDamage (BasePlayer victim, HitInfo info) [0x00144] in <2dd8a0195ba542bd8984b164149406d4>:0 
  at Oxide.Plugins.PunishAttacker.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x005d1] in <2dd8a0195ba542bd8984b164149406d4>:0 
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <60c318df79ed41688ea59335e48d61ad>:0 
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <9882f28dc2204b4dba514a9ad18f5042>:0 
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <9882f28dc2204b4dba514a9ad18f5042>:0 

everytime someone gets shot and the message isnt poping up now when u hit someone its doing nothing

 

MON@H

Posted (edited)

2 hours ago, steven burns said:

same error after update today
Wendyz Cafe[76561199056932111] has spawned
Failed to call hook 'OnEntityTakeDamage' on plugin 'PunishAttacker v1.4.1' (NullReferenceException: Object reference not set to an instance of an object)
  at Oxide.Plugins.PunishAttacker.IsFriend (System.UInt64 userID, System.UInt64 targetID) [0x00013] in <2dd8a0195ba542bd8984b164149406d4>:0 
  at Oxide.Plugins.PunishAttacker.IsAlly (System.UInt64 userID, System.UInt64 targetID) [0x00021] in <2dd8a0195ba542bd8984b164149406d4>:0 
  at Oxide.Plugins.PunishAttacker.OnEntityTakeDamage (BasePlayer victim, HitInfo info) [0x00144] in <2dd8a0195ba542bd8984b164149406d4>:0 
  at Oxide.Plugins.PunishAttacker.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x005d1] in <2dd8a0195ba542bd8984b164149406d4>:0 
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <60c318df79ed41688ea59335e48d61ad>:0 
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <9882f28dc2204b4dba514a9ad18f5042>:0 
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <9882f28dc2204b4dba514a9ad18f5042>:0 
Failed to call hook 'OnEntityTakeDamage' on plugin 'PunishAttacker v1.4.1' (NullReferenceException: Object reference not set to an instance of an object)
  at Oxide.Plugins.PunishAttacker.IsFriend (System.UInt64 userID, System.UInt64 targetID) [0x00013] in <2dd8a0195ba542bd8984b164149406d4>:0 
  at Oxide.Plugins.PunishAttacker.IsAlly (System.UInt64 userID, System.UInt64 targetID) [0x00021] in <2dd8a0195ba542bd8984b164149406d4>:0 
  at Oxide.Plugins.PunishAttacker.OnEntityTakeDamage (BasePlayer victim, HitInfo info) [0x00144] in <2dd8a0195ba542bd8984b164149406d4>:0 
  at Oxide.Plugins.PunishAttacker.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x005d1] in <2dd8a0195ba542bd8984b164149406d4>:0 
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <60c318df79ed41688ea59335e48d61ad>:0 
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <9882f28dc2204b4dba514a9ad18f5042>:0 
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <9882f28dc2204b4dba514a9ad18f5042>:0 
Failed to call hook 'OnEntityTakeDamage' on plugin 'PunishAttacker v1.4.1' (NullReferenceException: Object reference not set to an instance of an object)
  at Oxide.Plugins.PunishAttacker.IsFriend (System.UInt64 userID, System.UInt64 targetID) [0x00013] in <2dd8a0195ba542bd8984b164149406d4>:0 
  at Oxide.Plugins.PunishAttacker.IsAlly (System.UInt64 userID, System.UInt64 targetID) [0x00021] in <2dd8a0195ba542bd8984b164149406d4>:0 
  at Oxide.Plugins.PunishAttacker.OnEntityTakeDamage (BasePlayer victim, HitInfo info) [0x00144] in <2dd8a0195ba542bd8984b164149406d4>:0 
  at Oxide.Plugins.PunishAttacker.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x005d1] in <2dd8a0195ba542bd8984b164149406d4>:0 
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <60c318df79ed41688ea59335e48d61ad>:0 
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <9882f28dc2204b4dba514a9ad18f5042>:0 
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <9882f28dc2204b4dba514a9ad18f5042>:0 
Failed to call hook 'OnEntityTakeDamage' on plugin 'PunishAttacker v1.4.1' (NullReferenceException: Object reference not set to an instance of an object)
  at Oxide.Plugins.PunishAttacker.IsFriend (System.UInt64 userID, System.UInt64 targetID) [0x00013] in <2dd8a0195ba542bd8984b164149406d4>:0 
  at Oxide.Plugins.PunishAttacker.IsAlly (System.UInt64 userID, System.UInt64 targetID) [0x00021] in <2dd8a0195ba542bd8984b164149406d4>:0 
  at Oxide.Plugins.PunishAttacker.OnEntityTakeDamage (BasePlayer victim, HitInfo info) [0x00144] in <2dd8a0195ba542bd8984b164149406d4>:0 
  at Oxide.Plugins.PunishAttacker.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x005d1] in <2dd8a0195ba542bd8984b164149406d4>:0 
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <60c318df79ed41688ea59335e48d61ad>:0 
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <9882f28dc2204b4dba514a9ad18f5042>:0 
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <9882f28dc2204b4dba514a9ad18f5042>:0 

everytime someone gets shot and the message isnt poping up now when u hit someone its doing nothing

 

Latest version is 1.4.2, make sure you update the plugin

Edited by MON@H
Sprut

Posted

Приветствую. Как происходит защита транспорта игрока? Игрок должен быть владельцем транспорта?

MON@H

Posted

4 hours ago, Sprut said:

Приветствую. Как происходит защита транспорта игрока? Игрок должен быть владельцем транспорта?

Да

Sprut

Posted

Тоесть. Если я нашёл к примеру лошадь на дороге, она уязвима. Если купил в конюшне, ей урон нанести никто не сможет. Правильно?

MON@H

Posted

3 hours ago, Sprut said:

Тоесть. Если я нашёл к примеру лошадь на дороге, она уязвима. Если купил в конюшне, ей урон нанести никто не сможет. Правильно?

Нет. Вот тут всё описано.

Python

Posted

Failed to call hook 'OnEntityTakeDamage' on plugin 'PunishAttacker v1.4.2' (UnauthorizedAccessException: Доступ к системе ограничен, недостаточно прав для использования -> System.IO.StringWriter)

at Oxide.Plugins.PunishAttacker+JsonCreator.CreateJson (System.Collections.Generic.List`1[T] components) [0x00000] in <e91023c78ad142ebb74c4bc87e3e7b3c>:0

at Oxide.Plugins.PunishAttacker+UiBuilder.ToJson () [0x00000] in <e91023c78ad142ebb74c4bc87e3e7b3c>:0

at Oxide.Plugins.PunishAttacker+UiBuilder.AddUi (BasePlayer player) [0x00010] in <e91023c78ad142ebb74c4bc87e3e7b3c>:0

at Oxide.Plugins.PunishAttacker.UICreateNotification (BasePlayer player, System.Int32 scaleMultiplier) [0x0012f] in <e91023c78ad142ebb74c4bc87e3e7b3c>:0

at Oxide.Plugins.PunishAttacker.Punish (BasePlayer attacker, BasePlayer victim, System.Single amount) [0x0000d] in <e91023c78ad142ebb74c4bc87e3e7b3c>:0

at Oxide.Plugins.PunishAttacker.OnEntityTakeDamage (BasePlayer victim, HitInfo info) [0x002b2] in <e91023c78ad142ebb74c4bc87e3e7b3c>:0

at Oxide.Plugins.PunishAttacker.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x005d1] in <e91023c78ad142ebb74c4bc87e3e7b3c>:0

at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <60c318df79ed41688ea59335e48d61ad>:0

at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <dfcb48ea05694263bbc08e62a39c274c>:0

at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <dfcb48ea05694263bbc08e62a39c274c>:0

На одном хостинге нельзя использовать класс StringWriter, если я правильно понял. Можно переписать плагин как-то? 

MON@H

Posted (edited)

12 hours ago, Python said:
Failed to call hook 'OnEntityTakeDamage' on plugin 'PunishAttacker v1.4.2' (UnauthorizedAccessException: Доступ к системе ограничен, недостаточно прав для использования -> System.IO.StringWriter)

at Oxide.Plugins.PunishAttacker+JsonCreator.CreateJson (System.Collections.Generic.List`1[T] components) [0x00000] in <e91023c78ad142ebb74c4bc87e3e7b3c>:0

at Oxide.Plugins.PunishAttacker+UiBuilder.ToJson () [0x00000] in <e91023c78ad142ebb74c4bc87e3e7b3c>:0

at Oxide.Plugins.PunishAttacker+UiBuilder.AddUi (BasePlayer player) [0x00010] in <e91023c78ad142ebb74c4bc87e3e7b3c>:0

at Oxide.Plugins.PunishAttacker.UICreateNotification (BasePlayer player, System.Int32 scaleMultiplier) [0x0012f] in <e91023c78ad142ebb74c4bc87e3e7b3c>:0

at Oxide.Plugins.PunishAttacker.Punish (BasePlayer attacker, BasePlayer victim, System.Single amount) [0x0000d] in <e91023c78ad142ebb74c4bc87e3e7b3c>:0

at Oxide.Plugins.PunishAttacker.OnEntityTakeDamage (BasePlayer victim, HitInfo info) [0x002b2] in <e91023c78ad142ebb74c4bc87e3e7b3c>:0

at Oxide.Plugins.PunishAttacker.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x005d1] in <e91023c78ad142ebb74c4bc87e3e7b3c>:0

at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <60c318df79ed41688ea59335e48d61ad>:0

at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <dfcb48ea05694263bbc08e62a39c274c>:0

at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <dfcb48ea05694263bbc08e62a39c274c>:0

На одном хостинге нельзя использовать класс StringWriter, если я правильно понял. Можно переписать плагин как-то? 

Плагин 100% рабочий. Попробуйте обратиться в службу поддержки хостинга, или отключить "GUI notification enabled": false

Edited by MON@H
  • Like 1

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Like 1

MON@H's Collection

User Feedback

1.6m

Downloads

Total number of downloads.

7.7k

Customers

Total customers served.

115.4k

Files Sold

Total number of files sold.

2.4m

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.