[DiscordArchive] in cmake?
[DiscordArchive] in cmake?
Archived author: Xyu • Posted: 2023-05-09T16:55:43.650000+00:00
Original source
in cmake?
Archived author: 0xCiBeR • Posted: 2023-05-09T16:56:27.780000+00:00
Original source
Run that command inside server
Archived author: 0xCiBeR • Posted: 2023-05-09T16:56:36.042000+00:00
Original source
.server debug
Archived author: Xyu • Posted: 2023-05-09T16:56:43.776000+00:00
Original source
ok wait
Archived author: 0xCiBeR • Posted: 2023-05-09T16:56:47.816000+00:00
Original source
Or show cmake output
Archived author: 0xCiBeR • Posted: 2023-05-09T16:56:58.844000+00:00
Original source
Steps to add a module are:
1.) clone module inside the modules directory on your source folder
2.) re run cmake
3.) run the make command in build directory
4.) run make install in build directory
5.) apply sql files if any in the modules folder
6.) restart server
Archived author: Revision • Posted: 2023-05-09T16:59:24.800000+00:00
Original source
Step 5 really depends on the module itself
Archived author: 0xCiBeR • Posted: 2023-05-09T17:00:58.088000+00:00
Original source
Yes, that’s why I said “if any”
Some modules do not have sql files and some auto apply them, I usually manually apply jic
Archived author: Revision • Posted: 2023-05-09T17:01:40.319000+00:00
Original source
No, that's not what I meant. Many modules have adapted their folder structure so that the auto updater will automatically import the files. Running the files manually in that case, especially those that add new tables, will do nothing but generate an error on startup.
![[Image: image.png?ex=690c2c34&is=690adab4&hm=198...4292c55fe&]](https://cdn.discordapp.com/attachments/284406375495368704/1105540641276047442/image.png?ex=690c2c34&is=690adab4&hm=1982d2023e8316209eab55d87c5a05bbdf98f92c5de003f9e5021454292c55fe&)
Archived author: Xyu • Posted: 2023-05-09T17:03:48.876000+00:00
Original source
![[Image: image.png?ex=690c2c34&is=690adab4&hm=198...4292c55fe&]](https://cdn.discordapp.com/attachments/284406375495368704/1105540641276047442/image.png?ex=690c2c34&is=690adab4&hm=1982d2023e8316209eab55d87c5a05bbdf98f92c5de003f9e5021454292c55fe&)