[DiscordArchive] I feel I have to ask, did you try doing it outside of the scheduler?
[DiscordArchive] I feel I have to ask, did you try doing it outside of the scheduler?
Archived author: Revision • Posted: 2023-11-09T18:03:17.457000+00:00
Original source
I feel I have to ask, did you try doing it outside of the scheduler?
Archived author: Natrist • Posted: 2023-11-09T18:03:51.021000+00:00
Original source
Lots of spaghetti in the AI/Unit code also. The virtual functions are a little messed up last time I played around with that stuff, many years ago.
Archived author: KJack • Posted: 2023-11-09T18:04:00.171000+00:00
Original source
i can move it out to be sure it's working separately, sure.
Archived author: Natrist • Posted: 2023-11-09T18:04:27.117000+00:00
Original source
Things could be cancelled out or reset somewhere else. Your best bet is to attach the debugger and setup breakpoints in your code to see the call stack and what’s going on with your variables.
Archived author: Revision • Posted: 2023-11-09T18:04:33.898000+00:00
Original source
Couldn't hurt to check it.
Archived author: KJack • Posted: 2023-11-09T18:06:40.477000+00:00
Original source
[here it is in context](<https://github.com/kjack9/azerothcore-wotlk/blob/70b29fe593d3efa05619f68be54870d051b02a39/src/server/scripts/EasternKingdoms/ZulGurub/boss_thekal.cpp#L297>) if that helps
Archived author: KJack • Posted: 2023-11-09T18:07:35.511000+00:00
Original source
ignore the `LOG_ERROR` calls, i will remove them when i've got it working
Archived author: Natrist • Posted: 2023-11-09T18:08:02.956000+00:00
Original source
Oof
Archived author: Natrist • Posted: 2023-11-09T18:08:12.146000+00:00
Original source
That code is barely maintainable seriously
Archived author: Natrist • Posted: 2023-11-09T18:08:34.371000+00:00
Original source
Someone ought to make macros for the scheduler stuff or what not to simplify it