Forums WoW Modding Support Archives Azerothcore Discord Archives [DiscordArchive] This might be a dumb question, but I seem to notice a pattern with AC modules and loading SQL files:

[DiscordArchive] This might be a dumb question, but I seem to notice a pattern with AC modules and loading SQL files:

[DiscordArchive] This might be a dumb question, but I seem to notice a pattern with AC modules and loading SQL files:

rektbyfaith
Administrator
0
10-24-2025, 06:19 PM
#1
Archived author: kastang • Posted: 2025-10-24T18:19:25.474000+00:00
Original source

This might be a dumb question, but I seem to notice a pattern with AC modules and loading SQL files: In AC modules, it looks like SQL files in the structure of `data/sql/{characters,world}/{base,updates}` are executed automatically when the module is loaded, but SQL files in the structure of `data/sql/db-{characters,world}` are not. For example, `mod-individual-progression` (using the first pattern) seems to automatically load its SQL files but something like `mod-npc-enchanter` (using the second) does not. Am I right on this observation, or am I missing something else?
rektbyfaith
10-24-2025, 06:19 PM #1

Archived author: kastang • Posted: 2025-10-24T18:19:25.474000+00:00
Original source

This might be a dumb question, but I seem to notice a pattern with AC modules and loading SQL files: In AC modules, it looks like SQL files in the structure of `data/sql/{characters,world}/{base,updates}` are executed automatically when the module is loaded, but SQL files in the structure of `data/sql/db-{characters,world}` are not. For example, `mod-individual-progression` (using the first pattern) seems to automatically load its SQL files but something like `mod-npc-enchanter` (using the second) does not. Am I right on this observation, or am I missing something else?

rektbyfaith
Administrator
0
10-24-2025, 06:20 PM
#2
Archived author: kastang • Posted: 2025-10-24T18:20:04.968000+00:00
Original source

If I am right, is the second pattern an old design that is no longer supported for auto loading, or pre-dates the ability to auto load SQL files?
rektbyfaith
10-24-2025, 06:20 PM #2

Archived author: kastang • Posted: 2025-10-24T18:20:04.968000+00:00
Original source

If I am right, is the second pattern an old design that is no longer supported for auto loading, or pre-dates the ability to auto load SQL files?

rektbyfaith
Administrator
0
10-24-2025, 06:27 PM
#3
Archived author: Nyeriah • Posted: 2025-10-24T18:27:21.259000+00:00
Original source

predates
rektbyfaith
10-24-2025, 06:27 PM #3

Archived author: Nyeriah • Posted: 2025-10-24T18:27:21.259000+00:00
Original source

predates

rektbyfaith
Administrator
0
10-24-2025, 06:27 PM
#4
Archived author: Nyeriah • Posted: 2025-10-24T18:27:49.773000+00:00
Original source

can still be used if you don't want for whatever reason to run files automatically
rektbyfaith
10-24-2025, 06:27 PM #4

Archived author: Nyeriah • Posted: 2025-10-24T18:27:49.773000+00:00
Original source

can still be used if you don't want for whatever reason to run files automatically

rektbyfaith
Administrator
0
10-24-2025, 06:48 PM
#5
Archived author: Uncle Snowzo • Posted: 2025-10-24T18:48:54.104000+00:00
Original source

didn't work for me unfortuantly but really good sugestion.
rektbyfaith
10-24-2025, 06:48 PM #5

Archived author: Uncle Snowzo • Posted: 2025-10-24T18:48:54.104000+00:00
Original source

didn't work for me unfortuantly but really good sugestion.

Recently Browsing
 1 Guest(s)
Recently Browsing
 1 Guest(s)