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

[CODE] dump_globals command crashes the game #268

Open
Blixibon opened this issue Apr 6, 2024 · 0 comments
Open

[CODE] dump_globals command crashes the game #268

Blixibon opened this issue Apr 6, 2024 · 0 comments

Comments

@Blixibon
Copy link
Collaborator

Blixibon commented Apr 6, 2024

Describe the bug

The dump_globals console command crashes the game when used.

Steps to reproduce

Steps to reproduce the behavior:

  1. Open developer console
  2. Type dump_globals and hit enter
  3. See error

Expected behavior

dump_globals normally prints the current global states to the console.


Additional context

This was discovered by Employee8 during tests for E:ZU2 and I replicated it on my local build of E:Z2, but not in my local build of Mapbase.

On Linux, dump_globals doesn't crash, but it does appear to replace the global state and counter portions of certain globals with garbage. For example:

-- Globals --
month: ez2_c2_2 (HL<skill.cfg: ez2_c2_2 (On) = 0
day: ez2_c2_2 (U(HL<is_console: ez2_c2_2 (Off) = 0
is_pc: ez2_c2_2 (On) = 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant