LandSandBoat / server

:sailboat: LandSandBoat - a server emulator for Final Fantasy XI. Just an X-34 landspeeder out for a drive.

Home Page:https://landsandboat.github.io/server/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

πŸ› Module says not applied in console but does apply.

hookstar opened this issue Β· comments

I affirm:

  • I understand that if I do not agree to the following points by completing the checkboxes my issue will be ignored.
  • I have read and understood the Contributing Guide and the Code of Conduct.
  • I have searched existing issues to see if the issue has already been opened, and I have checked the commit log to see if the issue has been resolved since my server was last updated.

OS / platform the server is running (if known)

WIN 11

Branch affected by issue

base

Steps to reproduce

Created a custom module. On server start, right before garbage collect, it spits out Module not applied. However, going through the function, it does apply without issue. I believe the issue may reside in
auto lastTable = override.nameParts.size() < 2 ? firstElem : *(override.nameParts.end() - 2);

m:addOverride("xi.zones.Balgas_Dais.bcnms.rank_2_mission.onBattlefieldLeave", function(player, battlefield, leavecode)

Expected behavior

Not to spit out error when the override is actually applied.

this appears to be because bcnms in zones aren't loaded at startup, but when they are loaded the override applies, so the message is a false negative

Thank you - makes sense.