-
|
Since a few days I tried to make work some events like Start a job because they didn't do nothing, so I start debugging at owl_core/EventManager.cs/OnCustomEvent and I realized that the events who are invoked by this method must have a field called fieldObj with a value (not being null), that fieldObj value is get by a FieldInfo variable (called field) using the method getValue(null), that method (I suppose) gives you the type of the event. I just run a log with the field name (event name) and their getValue and I could check some events have their getValue at null so they never be invoked. The following events have their GetValue at null: I'll post too the list with all the events and their GetValue (they are so many so I share the pastebin link) So my question is: How can we fix it? Solving this may fix the job issue and maybe the custom map issue (among other bank or discord fixes). |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
|
I update the first list, checking the code a little bit the PlayerLoadedHighPrio is an unused event and PlayerLoadedLowPrio have no content (they were disabled or something like that), related to the account system. |
Beta Was this translation helpful? Give feedback.
-
|
I was just checking other events when I realized something odd in owl_jobs.server/JobSystem.cs comparing the events from other files, there was a public void Init() encapsulating the events, that Init never was invoked so they never were executed properly, once I commented that lines I could make the job events working. So, I update the list below with some reasons they might not working. Even I marked my own message as an answer, this issue isn't fully resolved until I (or someone tell us) why the rest of events doesn't work. |
Beta Was this translation helpful? Give feedback.
-
|
BUMP! |
Beta Was this translation helpful? Give feedback.

I was just checking other events when I realized something odd in owl_jobs.server/JobSystem.cs comparing the events from other files, there was a public void Init() encapsulating the events, that Init never was invoked so they never were executed properly, once I commented that lines
I could make the job events working.
So, I update the list below with some reasons they might not working.