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

Scripts not loading #40

Open
sebyx07 opened this issue Apr 20, 2024 · 7 comments
Open

Scripts not loading #40

sebyx07 opened this issue Apr 20, 2024 · 7 comments

Comments

@sebyx07
Copy link

sebyx07 commented Apr 20, 2024

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

@michaeldelago
Copy link
Contributor

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"

@sebyx07
Copy link
Author

sebyx07 commented May 3, 2024

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

@Helias
Copy link
Member

Helias commented May 3, 2024

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)

@jiazufei1
Copy link

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)

I encountered the same problem, what is the complete content of docker-compose.coverride.yaml after modification? Where should the file be placed?

@Helias
Copy link
Member

Helias commented Jan 30, 2025

it's not the full content it's just adding a section under services:

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

just add this after ac-db-import-2 section and it should work

@flhs0606
Copy link

flhs0606 commented Feb 10, 2025

I tried , it didn't work . Here is my docker-compose.override.yaml :

services:
  ac-worldserver:
    volumes:
      - ./conf/worldserver.conf:/azerothcore/env/dist/etc/worldserver.conf
    environment:
      AC_ELUNA_SCRIPT_PATH: "/azerothcore/env/dist/bin/lua_scripts/scripts"

  ac-authserver:
    volumes:
      - ./conf/authserver.conf:/azerothcore/env/dist/etc/authserver.conf

  ac-db-import:
    volumes:
      - ./conf/dbimport.conf:/azerothcore/env/dist/etc/dbimport.conf

When I run reload eluna , nothing happens. I don't think eluna is working . How can I solve this problem , thanks!

@flhs0606
Copy link

I tried , it didn't work . Here is my docker-compose.override.yaml :

services:
  ac-worldserver:
    volumes:
      - ./conf/worldserver.conf:/azerothcore/env/dist/etc/worldserver.conf
    environment:
      AC_ELUNA_SCRIPT_PATH: "/azerothcore/env/dist/bin/lua_scripts/scripts"

  ac-authserver:
    volumes:
      - ./conf/authserver.conf:/azerothcore/env/dist/etc/authserver.conf

  ac-db-import:
    volumes:
      - ./conf/dbimport.conf:/azerothcore/env/dist/etc/dbimport.conf

When I run reload eluna , nothing happens. I don't think eluna is working . How can I solve this problem , thanks!

I think this docker image don't include eluna module by default. When I run azerothcore-wotlk/docker and add eluna module manually, it works.

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

5 participants