Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Restore CodeWarning script function #827

Open
GeckoEidechse opened this issue Nov 5, 2024 · 4 comments
Open

Restore CodeWarning script function #827

GeckoEidechse opened this issue Nov 5, 2024 · 4 comments

Comments

@GeckoEidechse
Copy link
Member

Restore the CodeWarning native script function.

Squirrel can call a native function called CodeWarning() to log a warning in engine. This seems to be stripped or non-working.

We can hook the responsible function and restore the functionality.

@GeckoEidechse
Copy link
Member Author

Mentioned by @Zanieon in vc.

@Zanieon
Copy link

Zanieon commented Nov 5, 2024

Would love to see it because i already did plenty of code which uses that function to print important warning regarding problems the logic running is facing at that moment.

@Zanieon
Copy link

Zanieon commented Nov 8, 2024

OH MY F GOD, this function actually works, it's just hidden behind spewlog_enable which we disabled last year by default

EDIT: Here's one of the uses i made in the new spawn.nut cases
image

@GeckoEidechse
Copy link
Member Author

GeckoEidechse commented Nov 11, 2024

cc @F1F7Y via #516

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

No branches or pull requests

2 participants