Jump to content
  • Sign Up

Archived

This topic is now archived and is closed to further replies.

  • 0
ThePolishDoge

i cant compile GoodlyEffects

Question

so i wanted to add some effects to the server and i added the plugin then this happened:

#################################################### ##########
Errors when compiling plugins / GoodlyEffects.cs
#################################################### ##########

Error on line 312:
OnLevelUnloadEvent.Register (OnLevelUnload, Priority.Low);
   ^ - Error # CS1502 - The best-fit method of the overloaded method "MCGalaxy.Events.IEvent <MCGalaxy.Events.LevelEvents.OnLevelUnload> .Register (MCGalaxy.Events.LevelEvents.OnLevelUnload, MCGalaxy.Priority, boyol.)

-------------------------

Error on line 312:
OnLevelUnloadEvent.Register (OnLevelUnload, Priority.Low);
                               ^ - Error # CS1503 - Argument 1: Could not convert from "method group" to MCGalaxy.Events.LevelEvents.OnLevelUnload.

-------------------------

Error on line 335:
OnLevelUnloadEvent.Unregister (OnLevelUnload);
   ^ - Error # CS1502 - There are invalid arguments in the best-fit method of the overloaded method "MCGalaxy.Events.IEvent <MCGalaxy.Events.LevelEvents.OnLevelUnload> .Unregister (MCGalaxy.Events.LevelEvents.OnLevelUnload)".

-------------------------

Error on line 335:
OnLevelUnloadEvent.Unregister (OnLevelUnload);
                                 ^ - Error # CS1503 - Argument 1: Could not convert from "method group" to MCGalaxy.Events.LevelEvents.OnLevelUnload.

-------------------------

#################################################### ##########
Errors when compiling plugins / GoodlyEffects.cs
#################################################### ##########

Error on line 312:
OnLevelUnloadEvent.Register (OnLevelUnload, Priority.Low);
   ^ - Error # CS1502 - The best-fit method of the overloaded method "MCGalaxy.Events.IEvent <MCGalaxy.Events.LevelEvents.OnLevelUnload> .Register (MCGalaxy.Events.LevelEvents.OnLevelUnload, MCGalaxy.Priority, boyol.)

-------------------------

Error on line 312:
OnLevelUnloadEvent.Register (OnLevelUnload, Priority.Low);
                               ^ - Error # CS1503 - Argument 1: Could not convert from "method group" to MCGalaxy.Events.LevelEvents.OnLevelUnload.

-------------------------

Error on line 335:
OnLevelUnloadEvent.Unregister (OnLevelUnload);
   ^ - Error # CS1502 - There are invalid arguments in the best-fit method of the overloaded method "MCGalaxy.Events.IEvent <MCGalaxy.Events.LevelEvents.OnLevelUnload> .Unregister (MCGalaxy.Events.LevelEvents.OnLevelUnload)".

-------------------------

Error on line 335:
OnLevelUnloadEvent.Unregister (OnLevelUnload);
                                 ^ - Error # CS1503 - Argument 1: Could not convert from "method group" to MCGalaxy.Events.LevelEvents.OnLevelUnload.

-------------------------

#################################################### ##########
Errors when compiling plugins / GoodlyEffects.cs
#################################################### ##########

Error on line 312:
OnLevelUnloadEvent.Register (OnLevelUnload, Priority.Low);
   ^ - Error # CS1502 - The best-fit method of the overloaded method "MCGalaxy.Events.IEvent <MCGalaxy.Events.LevelEvents.OnLevelUnload> .Register (MCGalaxy.Events.LevelEvents.OnLevelUnload, MCGalaxy.Priority, boyol.)

-------------------------

Error on line 312:
OnLevelUnloadEvent.Register (OnLevelUnload, Priority.Low);
                               ^ - Error # CS1503 - Argument 1: Could not convert from "method group" to MCGalaxy.Events.LevelEvents.OnLevelUnload.

-------------------------

Error on line 335:
OnLevelUnloadEvent.Unregister (OnLevelUnload);
   ^ - Error # CS1502 - There are invalid arguments in the best-fit method of the overloaded method "MCGalaxy.Events.IEvent <MCGalaxy.Events.LevelEvents.OnLevelUnload> .Unregister (MCGalaxy.Events.LevelEvents.OnLevelUnload)".

-------------------------

Error on line 335:
OnLevelUnloadEvent.Unregister (OnLevelUnload);
                                 ^ - Error # CS1503 - Argument 1: Could not convert from "method group" to MCGalaxy.Events.LevelEvents.OnLevelUnload.

-------------------------

#################################################### ##########
Errors when compiling plugins / GoodlyEffects.cs
##################################################### ##########

Error on line 312:
OnLevelUnloadEvent.Register (OnLevelUnload, Priority.Low);
   ^ - Error # CS1502 - The best-fit method of the overloaded method "MCGalaxy.Events.IEvent <MCGalaxy.Events.LevelEvents.OnLevelUnload> .Register (MCGalaxy.Events.LevelEvents.OnLevelUnload, MCGalaxy.Priority, boyol.)

-------------------------

Error on line 312:
OnLevelUnloadEvent.Register (OnLevelUnload, Priority.Low);
                               ^ - Error # CS1503 - Argument 1: Could not convert from "method group" to MCGalaxy.Events.LevelEvents.OnLevelUnload.

-------------------------

Error on line 335:
OnLevelUnloadEvent.Unregister (OnLevelUnload);
   ^ - Error # CS150

i google translate this cus it was polish pls help

Share this post


Link to post

2 answers to this question

Recommended Posts

1 hour ago, icanttellyou said:

Try updating to the latest version of MCGalaxy which is 1.9.2.9 which is at https://github.com/UnknownShadow200/MCGalaxy/tree/master/Uploads.

Thanks

1 hour ago, icanttellyou said:

Try updating to the latest version of MCGalaxy which is 1.9.2.9 which is at https://github.com/UnknownShadow200/MCGalaxy/tree/master/Uploads.

wait, you are that banned guy from PolishServer, welp im owner i may unban you for help

Share this post


Link to post

×
×
  • Create New...