Jump to content

WoundedNPC 1.0.5

$16.98 $12.98
   (0 reviews)

1 Screenshot

Recommended Comments

Garlandar

Posted

Failed to call hook 'OnPlayerDeath' on plugin 'WoundedNPC v1.0.1' (NullReferenceException: Object reference not set to an instance of an object)
  at BasePlayer.WoundedStartSharedCode (HitInfo info) [0x00038] in <586381bde9954f50828bdbe1d5c31426>:0
  at BasePlayer.GoToCrawling (HitInfo info) [0x00036] in <586381bde9954f50828bdbe1d5c31426>:0      4kb/s in, 20kb/s out
  at BasePlayer.BecomeWounded (HitInfo info) [0x00066] in <586381bde9954f50828bdbe1d5c31426>:0
  at Oxide.Plugins.WoundedNPC.OnPlayerDeath (BasePlayer bot) [0x000bf] in <a467a425f4784699b4e8ae7a270eebb7>:0
  at Oxide.Plugins.WoundedNPC.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x000a8] in <a467a425f4784699b4e8ae7a270eebb7>:0
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <795304323ac74a298b8ed190a1dfa739>:0
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000de] in <beb2b64691c64e2b95b99491bd85442c>:0
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <beb2b64691c64e2b95b99491bd85442c>:0

  • Like 1
Bad Cop

Posted

56 minutes ago, Garlandar said:

Failed to call hook 'OnPlayerDeath' on plugin 'WoundedNPC v1.0.1' (NullReferenceException: Object reference not set to an instance of an object)
  at BasePlayer.WoundedStartSharedCode (HitInfo info) [0x00038] in <586381bde9954f50828bdbe1d5c31426>:0
  at BasePlayer.GoToCrawling (HitInfo info) [0x00036] in <586381bde9954f50828bdbe1d5c31426>:0      4kb/s in, 20kb/s out
  at BasePlayer.BecomeWounded (HitInfo info) [0x00066] in <586381bde9954f50828bdbe1d5c31426>:0
  at Oxide.Plugins.WoundedNPC.OnPlayerDeath (BasePlayer bot) [0x000bf] in <a467a425f4784699b4e8ae7a270eebb7>:0
  at Oxide.Plugins.WoundedNPC.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x000a8] in <a467a425f4784699b4e8ae7a270eebb7>:0
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <795304323ac74a298b8ed190a1dfa739>:0
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000de] in <beb2b64691c64e2b95b99491bd85442c>:0
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <beb2b64691c64e2b95b99491bd85442c>:0

Hey, just uploaded an update, please overwrite, hope it helps

Garlandar

Posted

2 minutes ago, Bad Cop said:

Hey, just uploaded an update, please overwrite, hope it helps

Just loaded the new file, however the error message is gone, the NPC's just die normally.  Doesn't seem to do the wounded part or any audio to it.

 

Bad Cop

Posted

1 minute ago, Garlandar said:

Just loaded the new file, however the error message is gone, the NPC's just die normally.  Doesn't seem to do the wounded part or any audio to it.

 

Is TapeLibrary plugin also loaded (included in the download, can try reloading) ?

 

Garlandar

Posted

Just get this with no wound animation or sound:

[WoundedNPC] OnPlayerDeath: Exception occurred - Object reference not set to an instance of an object
3856161[3856161] was killed by Garlandar[76561198122351429] at (914.02, 5.68, -1232.83)
[UltimateRconPlus] DEATHMESSAGE:{
  "AttackerID": "3692045",
  "AttackerName": "3692045",
  "AttackerIsNPC": true,                                                                           2kb/s in, 24kb/s out
  "VictimID": "1998406",
  "VictimName": "1998406",
  "VictimIsNPC": true,
  "Weapon": "Unknown",
  "KillDistance": 0.0
[WoundedNPC] OnPlayerDeath: Exception occurred - Object reference not set to an instance of an object
1998406[1998406] was killed by 3692045[3692045] at (-1561.95, 2.46, -1300.91)
[WoundedNPC] OnPlayerDeath: bot is null during bleedout timer.

Garlandar

Posted

2 minutes ago, Bad Cop said:

Is TapeLibrary plugin also loaded (included in the download, can try reloading) ?

 

Its loaded as well as the plugin, I even reloaded both and same issue.

Bad Cop

Posted (edited)

6 hours ago, Garlandar said:

Its loaded as well as the plugin, I even reloaded both and same issue.

 

Send me a discord msg if you can, might be easier to figure out whats up :]
 

 

Edited by Bad Cop
Azmo

Posted

Just got this, looks like a fun plugin! 🙂

However im having a small problem. Theres no screaming sounds, only normal music plays when the npcs are wounded.
I have installed the Tape Library aswell and reloaded both but still cant hear any screaming sounds.

Bad Cop

Posted

4 hours ago, Azmo said:

Just got this, looks like a fun plugin! 🙂

However im having a small problem. Theres no screaming sounds, only normal music plays when the npcs are wounded.
I have installed the Tape Library aswell and reloaded both but still cant hear any screaming sounds.

Hi, sorry to hear that.  Do you see sound files in oxide/data/ogg? 

Could try deleting reloading both plugins amd hitting some bots again to redownload

 

Let me know how it goes, maybe paste whatever shows in console when a bot goes down (with debug enabled in config) 

Azmo

Posted

I deleted the ogg files and let the plugin re-download them.
It seems to download them just fine, but just rust-radio can be heard from the npcs 😛

This is the log from when there was no ogg files
16:18 [Error] [Tape Library] FINALIZING DOWNLOAD REQUEST...
16:18 [Error] [WoundedNPC] Failed to create tape item from longpain1
16:18 [Warning] [Tape Library] NOTHING TO PROCESS, TERMINATING!
16:18 [Error] [Tape Library] >>>> CREATED FILE C:\Rustserver - Chernobyl\oxide\data\ogg\longpain1.ogg...
16:18 [Error] [Tape Library] ERROR PROCESSING C:\Rustserver - Chernobyl\oxide\data\ogg\longpain1.ogg

And this is the log from when the file was downloaded

16:19 [Info] [WoundedNPC] NPC [The Wildlands] Milita (8811601) wounded.
16:19 [Warning] [Tape Library] TRYING TO ENQUEUE https://www.dropbox.com/scl/fi/vyhsne1efaictwl39oqgu/Scream-Medium-C1-www.fesliyanstudios.com.ogg?rlkey=7ae1rnbtwj662puo874t823y6&st=svp1qa0x&dl=1...
16:19 [Info] [WoundedNPC] Playing tape: Scream-Medium-C1-www.fesliyanstudios.com - TapeItem: cassette
16:19 [Info] [WoundedNPC] Boombox for NPC [The Wildlands] Milita (8811601) spawned and playing tape.

Hope that helps! Like I said, everything seems to work fine, wounded npcs just turn on the radio, which is kinda fun in itself but not intended 😄

Bad Cop

Posted (edited)

3 hours ago, Azmo said:

I deleted the ogg files and let the plugin re-download them.
It seems to download them just fine, but just rust-radio can be heard from the npcs 😛

This is the log from when there was no ogg files
16:18 [Error] [Tape Library] FINALIZING DOWNLOAD REQUEST...
16:18 [Error] [WoundedNPC] Failed to create tape item from longpain1
16:18 [Warning] [Tape Library] NOTHING TO PROCESS, TERMINATING!
16:18 [Error] [Tape Library] >>>> CREATED FILE C:\Rustserver - Chernobyl\oxide\data\ogg\longpain1.ogg...
16:18 [Error] [Tape Library] ERROR PROCESSING C:\Rustserver - Chernobyl\oxide\data\ogg\longpain1.ogg

And this is the log from when the file was downloaded

16:19 [Info] [WoundedNPC] NPC [The Wildlands] Milita (8811601) wounded.
16:19 [Warning] [Tape Library] TRYING TO ENQUEUE https://www.dropbox.com/scl/fi/vyhsne1efaictwl39oqgu/Scream-Medium-C1-www.fesliyanstudios.com.ogg?rlkey=7ae1rnbtwj662puo874t823y6&st=svp1qa0x&dl=1...
16:19 [Info] [WoundedNPC] Playing tape: Scream-Medium-C1-www.fesliyanstudios.com - TapeItem: cassette
16:19 [Info] [WoundedNPC] Boombox for NPC [The Wildlands] Milita (8811601) spawned and playing tape.

Hope that helps! Like I said, everything seems to work fine, wounded npcs just turn on the radio, which is kinda fun in itself but not intended 😄

Now that is weird, send me a discord msg we'll find some time to figure it out 😄

 

 

Edited by Bad Cop
  • 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

Bad Cop's Collection

User Feedback

1.4m

Downloads

Total number of downloads.

6.9k

Customers

Total customers served.

102.2k

Files Sold

Total number of files sold.

2m

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.