Archived
This topic is now archived and is closed to further replies.
- 0
i cant compile GoodlyEffects
Asked by
ThePolishDoge
This topic is now archived and is closed to further replies.
Asked by
ThePolishDoge
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