Open
Description
Describe the bug
If you run the 'print' or 'printf' function in OnGamemodeInit/OnFilterScriptInit on an open.mp x64 server, the server will immediately shut down. It works correctly on the Win32 server.
To Reproduce
Steps to reproduce the behavior:
- Go to 'new filterscript'
#define FILTERSCRIPT
#include <open.mp>
public OnFilterScriptInit()
{
print(" ");
print(" -----------------------------------");
print(" | My first open.mp filterscript! |");
print(" -----------------------------------");
print(" ");
}
public OnFilterScriptExit()
{
return 1;
}
- Click on 'compile and run omp server x64'
- See error
Expected behavior
The filter script should execute the print function, and the server should not close.
Screenshots and/or logs
If applicable, add screenshots and/or log output to help explain your problem.
Commit hash in master
Link