sampctl runtime
# support-forum
t
how to change default runtime in sampctl? For some reason there are no 'sampctl server' command in my instalation
b
sampctl server was deprecated a long time ago for package, but just recently package was deprecated too, so now you just do
sampctl ensure
,
sampctl run
and
sampctl build
t
Thank you. Just found out, that only 'openmp' is not working as runtime
Copy code
ERROR: failed to ensure: failed to ensure runtime binaries: failed to get runtime package: failed to get package openmp from cache: server package for 'openmp' not found
But it is listed in aliases of runtimes: https://github.com/sampctl/runtimes/blob/master/runtimes.json
b
show pawn.json
t
Copy code
{
  "user": "ArnoldasBud",
  "repo": "pleifr",
  "tag": "0.0.1",
  "entry": "main.pwn",
  "output": "gamemodes/main.amx",
  "dependencies": [
    "pawn-lang/samp-stdlib"
  ],
  "runtime": {
    "version": "openmp"
  },
  "local": true
}
b
alright. delete your sampctl runtime file
%appdata%/sampctl/runtimes.json
on windows and
~/.config/sampctl/runtimes.json
on linux
t
Thank you that solved the problem
a
P
3 Views