Jump to content

Error in console on plugin initialisation

Closed 0.1.6 0.1.7

ineedalifexd
ineedalifexd

Posted (edited)

Hello! 

I just bought this plugin and I'm having some issues implementing it. Our server runs on carbon and I get the following when reloading the plugin:

22.06 15:34:24 [Server] INFO Failed to call internal hook 'OnServerInitialized' on plugin 'RealPVE v0.1.6' [352240293] (Specified cast is not valid.)
22.06 15:34:24 [Server] INFO at void Oxide.Plugins.RealPVE.InitMonuments() in /carbon/plugins/RealPVE.cs:line 4317
22.06 15:34:24 [Server] INFO at void Oxide.Plugins.RealPVE.OnServerInitialized() in /carbon/plugins/RealPVE.cs:line 4656
22.06 15:34:24 [Server] INFO at object Oxide.Plugins.RealPVE.InternalCallHook(uint hook, object[] args) in RealPVE.cs/Internal:line 1988
22.06 15:34:24 [Server] INFO Failed to call internal hook 'OnServerInitialized' on plugin 'RealPVE v0.1.6' [352240293] (Specified cast is not valid.)
22.06 15:34:24 [Server] INFO at void Oxide.Plugins.RealPVE.InitMonuments() in /carbon/plugins/RealPVE.cs:line 4317
22.06 15:34:24 [Server] INFO at void Oxide.Plugins.RealPVE.OnServerInitialized() in /carbon/plugins/RealPVE.cs:line 4656
22.06 15:34:24 [Server] INFO at object Oxide.Plugins.RealPVE.InternalCallHook(uint hook, object[] args) in RealPVE.cs/Internal:line 1988

I also get a bunch of "Image failed to download!" messages after for the Raidable Bases images. I'm assuming this is why the plugin isn't working for me as we're still able to hurt players etc. 

I can provide a list of all plugins if necessary but there's a lot.

Thanks in advance!

Edited by ineedalifexd
ineedalifexd

Posted (edited)

After discussing with you in direct messages and updating Monuments Watcher to the correct version, everything was working fine for a while but now players are able to damage each other? All I changed was the links to images in the MonumentConfig.json file as the imgur ones weren't loading. I removed everything and reinstalled but same issue 😞 There's no errors or anything do you have any idea what it could be or where to start debugging?

I am getting some hook conflicts, specifically with GodMode and NpcSpawn

Hook conflict while calling 'OnEntityTakeDamage[952055589]': NpcSpawn 2.7.1 [True] and RealPVE 0.1.6 [False]

 

Edited by ineedalifexd
Added more info
  • Like 1
IIIaKa

Posted

Changed Status from Pending to Work in Progress

IIIaKa

Posted

Hello, thank you for reaching out.
I am currently a bit busy with updating other plugins. As soon as I am free, I will check the plugin on Carbon.

IIIaKa

Posted

For clarification. Does the damage apply to everyone? Or only to friends? Because the plugin allows damage to friends.

ineedalifexd

Posted

Ahh that is the issue! I must have missed that feature but it's actually worked out really well for us and our server 🙂 thank you for your help!

  • Like 1
ineedalifexd

Posted

I've got another issue with this plugin and Convoy by Adem. For some reason, when RealPVE is loaded the helicopter that accompanies the convoy doesn't take any damage.

Tried changing server.pve to both true and false but the heli is invincible regardless of what we do. 

In addition to this, we're getting conflicts with the following plugins on some hooks, which I know is mentioned above but adding for clarity:

Final thing is with all the images being on imgur, I keep getting this error: 

Image failed to download! Error: HTTP/1.1 429 Too Many Requests - Image Name: RealPVE_RealPVE_RaidableBasesOffer_0 - Image URL: https://i.imgur.com/4Adzkb8.png

I did manage to download a bunch of images and add my own links for some but it doesn't seem to like it for the Raidable Bases ones. I know Imgur have cut down or stopped traffic completely because of issues in the past so it may be useful to look at alternative methods.

ineedalifexd

Posted (edited)

Just found another issue 🙃 so we're just setting up our server and there's 3 admins on in a team at the moment. Sometimes we'll throw an item on the floor and it can't be picked up by one person but can be by the other. I think this is the message when it happens

Failed to call internal hook 'CanBeTargeted' on plugin 'RealPVE v0.1.6' [1065566406] (Object reference not set to an instance of an object.)

 

Edited by ineedalifexd
formatting
IIIaKa

Posted

Hi, sorry for the late reply. Everything will be fixed in the next version.
As for the images, I need to think about it.
But I will also add the images to the downloadable file so that you have the option to upload them wherever you find convenient.

  • Love 1
IIIaKa

Posted

Changed Status from Work in Progress to Closed

Changed Fixed In to 0.1.7

IIIaKa

Posted

If the issue persists, feel free to report it in this thread.

  • Like 1
ineedalifexd

Posted

Thank you! Will update you if I notice anything. 

In which file would I add the images? I had updated them with my personal links but they've gone now. Do I have to redo it every wipe?

ineedalifexd

Posted (edited)

Also the conflict with NpcSpawn is still happening

04.07 20:19:38 [Server] INFO Hook conflict while calling 'OnEntityTakeDamage[952055589]': NpcSpawn 2.7.1 [True] and RealPVE 0.1.7 [False]
Edited by ineedalifexd
IIIaKa

Posted

1 hour ago, ineedalifexd said:

Also the conflict with NpcSpawn is still happening

04.07 20:19:38 [Server] INFO Hook conflict while calling 'OnEntityTakeDamage[952055589]': NpcSpawn 2.7.1 [True] and RealPVE 0.1.7 [False]

Try reinstalling the plugin.

 

1 hour ago, ineedalifexd said:

Thank you! Will update you if I notice anything. 

In which file would I add the images? I had updated them with my personal links but they've gone now. Do I have to redo it every wipe?

No, the monument settings should not reset. I'll look into it.
Regarding the images, I have temporarily added them to the downloadable file so that those who cannot access Imgur can upload them to another hosting service. In the future, I will reconsider how images are handled.

IIIaKa

Posted

Changed Status from Closed to Work in Progress

IIIaKa

Posted

Changed Status from Work in Progress to Closed

1.4m

Downloads

Total number of downloads.

6.9k

Customers

Total customers served.

102.1k

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.