acore-docker icon indicating copy to clipboard operation
acore-docker copied to clipboard

Scripts not loading

Open sebyx07 opened this issue 1 year ago • 7 comments

Hey, I'm able to start, run and connect to the server, but now I want to customize it and I've added to

scripts/typescript/index.ts the content from scripts/typescript/examples/example.ts

i've also attached to the container with

docker attach acore-docker-ac-worldserver-1 and run reload eluna

but nothing happens

I've also restarted the containers with docker-compose down and up again

sebyx07 avatar Apr 20 '24 08:04 sebyx07

Can you try adding this section to docker-compose.override.yaml:

services:
  ac-worldserver:
    environment:
      AC_ELUNA_SCRIPT_PATH: "/azerothcore/env/dist/bin/lua_scripts/scripts"

michaeldelago avatar May 02 '24 22:05 michaeldelago

cool ty! that worked, but i had to put into docker-compose.yml

sebyx07 avatar May 03 '24 09:05 sebyx07

Can you try adding this section to docker-compose.override.yaml:

services:
  ac-worldserver:
    environment:
      AC_ELUNA_SCRIPT_PATH: "/azerothcore/env/dist/bin/lua_scripts/scripts"

thanks for the suggestion

if this is missing, please add it in the acore-docker repository and/or in the README.md (then close this issue)

Helias avatar May 03 '24 15:05 Helias