Jump to content

1 Screenshot

This area is intended for discussion and questions. Please use the support area for reporting issues or getting help.

Recommended Comments

Papa Bear

Posted

Since September Update,  several of the Event windows for Magic Panel no longer work.  Is there a fix forthcoming?

Error while compiling MagicCargoPlaneCrashEventPanel: Preprocessor directive expected | Line: 9, Pos: 2

Error while compiling MagicAirfieldEventPanel: Preprocessor directive expected | Line: 9, Pos: 2

Error while compiling MagicTugboatPiratesEventPanel: Preprocessor directive expected | Line: 9, Pos: 2

Thank you in advance for anything you can do to remedy this.

Mike

 

DeutscherRitterPlatz

Posted

7 hours ago, mikebare said:

Since September Update,  several of the Event windows for Magic Panel no longer work.  Is there a fix forthcoming?

Error while compiling MagicCargoPlaneCrashEventPanel: Preprocessor directive expected | Line: 9, Pos: 2

Error while compiling MagicAirfieldEventPanel: Preprocessor directive expected | Line: 9, Pos: 2

Error while compiling MagicTugboatPiratesEventPanel: Preprocessor directive expected | Line: 9, Pos: 2

Thank you in advance for anything you can do to remedy this.

Mike

 

fix

Papa Bear

Posted

Thank you!

Papa Bear

Posted (edited)

Two Issues with on of the three plugins I brought to your attention.  This is only about the Airfield Event one, because it wouldn't load.  I have fixed this but want you to know about it. 

Then I noticed, you had named the plugin, "MagicAirEventPanel.cs instead of the original "MagicAirfieldEventPanel.cs. So I loaded it up by the new name (O.Reload MagicAirEventPanel)

I got this message.  The order is reversed when I reload the plug in.  It loads it, then unloads it.


(13:24:17) | Loaded plugin Magic Air Event Panel v1.0.1 by MJSU edit MeinRust
(13:24:17) | Unloaded plugin Magic Air Event Panel v1.0.1 by MJSU edit MeinRust

Then I opened up both versions and compared them and found only two lines that were omitted in the new version.  I double checked this with the other two plugins to be sure this was the update change.

I edited the original CS file, deleting those two lines as show below, renamed the version 1.01 and reloaded it.  It came up right away. 

 

 

------------------------------------------------------------------------------------ Version 1.0.0------------------------------------------------

6   using UnityEngine;

7   #regionInfo (Deleted on ver. 1.0.1)

8   /**********************************************************************

9  * The plugin is still owned by MJSU, we just edited it!

10  *

11  * v1.0.0   :  Support for the Airfield Event plugin by Fruster | Paid on "Codefling"

12  * Icon by Freepik

13  *

14  **********************************************************************/

15  #endregion (Deleted on ver. 1.0.1)

16  namespace Oxide.Plugins

------------------------------------------------------------------------------------ Version 1.0.1------------------------------------------------

6   using UnityEngine;

7   /**********************************************************************

8  * The plugin is still owned by MJSU, we just edited it!

9  *

10  * v1.0.0   :  Support for the Airfield Event plugin by Fruster | Paid on "Codefling"

11  * Icon by Freepik

12  *

13  **********************************************************************/

14  namespace Oxide.Plugins


Thank you very much.  I don't code, but I'm trying to understand where I can.  So, I do appreciate you for helping out.  I just did this to help out others like myself that are still trying to understand what is going on here.

Mike

Edited by mikebare
FandangoChristmas

Posted

What are the hooks used for start of event and end of this crash event? Trying to build my own event panel. Thank you

DeutscherRitterPlatz

Posted

6 hours ago, FandangoChristmas said:

What are the hooks used for start of event and end of this crash event? Trying to build my own event panel. Thank you

Hooks:

void CargoPlaneCrashStarted() // called when the event starts

void CargoPlaneCrashCrashed() // called when a cargo plane crashes

  • Love 1
FandangoChristmas

Posted

21 minutes ago, DeutscherRitterPlatz said:

Hooks:

void CargoPlaneCrashStarted() // called when the event starts

void CargoPlaneCrashCrashed() // called when a cargo plane crashes

Thank you greatly! I will test around with this.

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

User Feedback

1.6m

Downloads

Total number of downloads.

7.7k

Customers

Total customers served.

115.3k

Files Sold

Total number of files sold.

2.3m

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.