YSI-Includes
YSI-Includes copied to clipboard
Filterscript '../scriptfiles/callbackfix.amx' load failed
Description
When loading my monolithic gamemode (no filterscripts), i keep getting this callbackfix error twice, in windows it loads normally.
This issue is present even on the latest commit, but in the compiled gamemode provided below I'm using 5.05.0506 with sampctl, which should be fairly updated.
My working directory looks something like this:
.
├── announce
├── gamemodes
│ ├── attdef.amx
│ └── attdef.pwn
├── legacy
│ ├── gBugFix.inc
│ ├── modules
│ │ └── ...
│ ├── modules.inc
│ ├── mSelection.inc
│ └── ndialog-pages.inc
├── LICENSE
├── modules
│ ├── commands
│ │ ├── acar.inc
│ │ ├── acmds.inc
│ │ ├── addall.inc
│ │ └── ...
│ ├── commands.inc
│ ├── iphub-key.inc
│ ├── other-callbacks
│ │ └── ...
│ ├── other-callbacks.inc
│ ├── standard-callbacks
│ │ └── ...
│ └── standard-callbacks.inc
├── pawn.json
├── plugins
│ └── ...
├── README.md
├── samp03svr
├── samp-npc
├── scriptfiles
│ ├── ...
│ ├── callbackfix.amx
│ └── YSI
│ ├── fixes
│ └── temp
├── server.cfg
└── server_log.txt
How to re-produce this bug
- use either debian 9, 10 or 11, all 64-bit
- you could just download this compiled gamemode of mine, it wasn't compiled with the very latest ysi, but it is fairly updated with sampctl.
- install standard 32bit linux libraries
dpkg --add-architecture i386
apt update
#for debian 9
apt install libc6:i386 libncurses5:i386 libstdc++6:i386
#for debian 10 or 11
apt install libc6:i386 libncurses6:i386 libstdc++6:i386
- start the server
Relevant log output
The error holds true for omp betas and samp
[09/05/2022 07:42:57] ==========================================
[09/05/2022 07:42:57] | |
[09/05/2022 07:42:57] | Server: 0.3DL - Linux |
[09/05/2022 07:42:57] | Compiler: 3.10.10 - Linux |
[09/05/2022 07:42:57] | Codepage: <none> |
[09/05/2022 07:42:57] | YSI: 5.05.0506 |
[09/05/2022 07:42:57] | Started: 1652082174 |
[09/05/2022 07:42:57] | JIT: <none> |
[09/05/2022 07:42:57] | Crashdetect: <found> |
[09/05/2022 07:42:57] | |
[09/05/2022 07:42:57] ==========================================
[09/05/2022 07:42:57]
[09/05/2022 07:42:57] Filterscript '../scriptfiles/callbackfix.amx' load failed.
[09/05/2022 07:42:57] Filterscript '../scriptfiles/callbackfix.amx' load failed.
[09/05/2022 07:42:57] *** YSI Info: YSI Script ID: 1
[2022-05-10T06:23:18Z] [Info] ==========================================
[2022-05-10T06:23:18Z] [Info] | |
[2022-05-10T06:23:18Z] [Info] | Server: 0.3DL - Linux |
[2022-05-10T06:23:18Z] [Info] | Compiler: 3.10.10 - Linux |
[2022-05-10T06:23:18Z] [Info] | Codepage: <none> |
[2022-05-10T06:23:18Z] [Info] | YSI: 5.05.0506 |
[2022-05-10T06:23:18Z] [Info] | Started: 1652163795 |
[2022-05-10T06:23:18Z] [Info] | JIT: <none> |
[2022-05-10T06:23:18Z] [Info] | Crashdetect: <found> |
[2022-05-10T06:23:18Z] [Info] | |
[2022-05-10T06:23:18Z] [Info] ==========================================
[2022-05-10T06:23:18Z] [Info]
[2022-05-10T06:23:18Z] [Info] Could not find:
While attempting to load a PAWN gamemode, a file-not-found error was
encountered. This could be caused by many things:
* The wrong filename was given.
* The wrong gamemodes path was given.
* The server was launched from a different directory, making relative paths relative to the wrong place (and thus wrong).
* You didn't copy the file to the correct directory or server.
* The compilation failed, leading to no output file.
* `-l` or `-a` were used to compile, which output intermediate steps for inspecting, rather than a full script.
* Anything else, really just check the file is at the path given.
[2022-05-10T06:23:18Z] [Info] Filterscript '../scriptfiles/callbackfix' load failed.
[2022-05-10T06:23:18Z] [Info] Could not find:
While attempting to load a PAWN gamemode, a file-not-found error was
encountered. This could be caused by many things:
* The wrong filename was given.
* The wrong gamemodes path was given.
* The server was launched from a different directory, making relative paths relative to the wrong place (and thus wrong).
* You didn't copy the file to the correct directory or server.
* The compilation failed, leading to no output file.
* `-l` or `-a` were used to compile, which output intermediate steps for inspecting, rather than a full script.
* Anything else, really just check the file is at the path given.
[2022-05-10T06:23:18Z] [Info] Filterscript '../scriptfiles/callbackfix' load failed.
[2022-05-10T06:23:18Z] [Info] *** YSI Info: YSI Script ID: 1
Operating system or distribution
Debian 9, 10 and 11
Contact information
discord: Zantetsuken#2220
Additional information
I also suspect the problem here could also be keeping me from using JIT on linux, it will just freeze on startup, on windows however I think it "works" since it loads fine and no amx interpreter fallback message is thrown.