Jump to content

CargoPlaneCrashEnded not being called on plugin unload or end of event

Closed 1.3.5 1.3.6

FandangoChristmas

Posted

Since this last plugin update, The CargoPlaneCrashEnded will not tell Server HUD plugin that the event has ended. If i reload the CargoPlaneCrash plugin, the Server HUD plugin still has it lit like its active. The only way to get the icon to remove is to reload the Server HUD plugin. I'm using latest rust update and newest Carbon production build on linux.

Fruster

Posted

2 hours ago, FandangoChristmas said:

Since this last plugin update, The CargoPlaneCrashEnded will not tell Server HUD plugin that the event has ended. If i reload the CargoPlaneCrash plugin, the Server HUD plugin still has it lit like its active. The only way to get the icon to remove is to reload the Server HUD plugin. I'm using latest rust update and newest Carbon production build on linux.

Hey! this is very strange, because the event start hook is triggered, despite the fact that compatibility is guaranteed only with oxide. Perhaps some other plugin affects this, try checking it and let me know please

FandangoChristmas

Posted

I will continue testing! I have had thoughts it could be from other hook for OnEntityKill. I will continue investigating.

  • Like 1
Fruster

Posted

On 7/6/2024 at 7:38 PM, FandangoChristmas said:

I will continue testing! I have had thoughts it could be from other hook for OnEntityKill. I will continue investigating.

Hey! are there any results?

FandangoChristmas

Posted

4 hours ago, Fruster said:

Hey! are there any results?

Good day Fruster! I haven't been playing rust this month since I posted, but I was just about to update my test server again work on it, as I need to push it onto my main next month. I will check it out now after these newest updates and Carbon updates.

FandangoChristmas

Posted

It looks like it is still doing that. So far in this test I tried it by console command manually. I started the event with callcargoplane , and the event starts fine. I type in crashcargoplane into console and the event remains on map and active in Server Hud plugin. Perhaps could it be my event settings? I have all event notifications messages empty so players have to go by HUD when its active or not. I have 2 private plugins to control the hook for k1lly0us planecrash plugin to recognize event start and end so that Server Hud can recognize its start and end. I can send you those in DM if you wish to check them, if you think it could interfere. In the meantime I will remove those and test without those on.

FandangoChristmas

Posted

Second test involved unloading those 2 private plugins for controlling the hook for planecrash by k1lly0u, and then I typed callcargoplane and then crashcargoplane again. The console command crashcargoplane didnt register any response in console again. I reloaded CargoPlaneCrash plugin and it ended the event and made the active icon in Server Hud disappear. I then loaded my 2 private plugins back up again, and did the callcargoplane and then crashcargoplane in console again, and it was the same results as before.

Fruster

Posted

6 hours ago, FandangoChristmas said:

Second test involved unloading those 2 private plugins for controlling the hook for planecrash by k1lly0u, and then I typed callcargoplane and then crashcargoplane again. The console command crashcargoplane didnt register any response in console again. I reloaded CargoPlaneCrash plugin and it ended the event and made the active icon in Server Hud disappear. I then loaded my 2 private plugins back up again, and did the callcargoplane and then crashcargoplane in console again, and it was the same results as before.

Am I correct in understanding that the hook is not called only when you terminate the event using a command? If the event completes as usual, then the hook fires?

FandangoChristmas

Posted

48 minutes ago, Fruster said:

Am I correct in understanding that the hook is not called only when you terminate the event using a command? If the event completes as usual, then the hook fires?

Yes, when the event ends by itself and if I run the command as well.  I have all the announcement messages empty, and I have crates and npc to despawn in 3600 seconds. And I'm on newest carbon prod build.  Before the rust update this month, a  plugin reload wouldn't work as well, but since this newest test and newest rust and carbon updates, the plugin reload made it end the event. The hud will stay lit up on ServerHud when the crates and npc despawn naturally. I haven't fought and killed the npc for testing. If i type crashcargoplane into console when its active, it will not despawn the event.

Fruster

Posted

On 7/14/2024 at 2:23 AM, FandangoChristmas said:

Yes, when the event ends by itself and if I run the command as well.  I have all the announcement messages empty, and I have crates and npc to despawn in 3600 seconds. And I'm on newest carbon prod build.  Before the rust update this month, a  plugin reload wouldn't work as well, but since this newest test and newest rust and carbon updates, the plugin reload made it end the event. The hud will stay lit up on ServerHud when the crates and npc despawn naturally. I haven't fought and killed the npc for testing. If i type crashcargoplane into console when its active, it will not despawn the event.

I updated the plugin, found some errors, please check and let me know the results

FandangoChristmas

Posted

19 minutes ago, Fruster said:

I updated the plugin, found some errors, please check and let me know the results

Thank you for taking a look and updating it. I will be able to test it on Thursday evening!

 

  • Like 1
FandangoChristmas

Posted

Good day! I just gave it a test, and so far it is working when the event ends by itself and if I use the force end event command. However it still doesnt end event with crashcargoplane command, but not a big deal as the other command works. Overall it is making the Hud icon on ServerHud plugin vanish when event is done. 

Fruster

Posted

44 minutes ago, FandangoChristmas said:

Good day! I just gave it a test, and so far it is working when the event ends by itself and if I use the force end event command. However it still doesnt end event with crashcargoplane command, but not a big deal as the other command works. Overall it is making the Hud icon on ServerHud plugin vanish when event is done. 

Hey! "crashcargoplane" command does not complete the event, look at the description, I fixed it. If everything else suits you, then I am closing this support request with your permission

  • Like 1
FandangoChristmas

Posted

Thank you so much! it worked fine with the event ending naturally, and with the new force stop command. I don't need to use the stop command anyways so its all good. The problem with it ending prperly is fixed for me! Thank you again Fruster

Fruster

Posted

8 hours ago, FandangoChristmas said:

Thank you so much! it worked fine with the event ending naturally, and with the new force stop command. I don't need to use the stop command anyways so its all good. The problem with it ending prperly is fixed for me! Thank you again Fruster

Thank you for your help, for helping me improve my plugins. If you have any questions or suggestions, you can write to me in PM

Fruster

Posted

Changed Status from Pending to Closed

0

Downloads

Total number of downloads.

0

Customers

Total customers served.

0

Files Sold

Total number of files sold.

0

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.