[DiscordArchive] I'll use ruby for creating tables/adding columns etc/populate the database on deployment. also I can
[DiscordArchive] I'll use ruby for creating tables/adding columns etc/populate the database on deployment. also I can
Archived author: sebyx07 • Posted: 2024-05-03T11:41:06.573000+00:00
Original source
I'll use ruby for creating tables/adding columns etc/populate the database on deployment. also I can write the deployment script with it
- i'll look into AIO, that's a messaging system or client - server communication and a way store the addon interface on the server?
- for c++, I'll need to recomplile the whole server when I do a change, not like eluna to do a .reload?
Archived author: sebyx07 • Posted: 2024-05-03T11:42:20.743000+00:00
Original source
and the c++ should I write as a module? to be able to keep the code synced with azerothcore?
Archived author: Honey • Posted: 2024-05-03T11:51:22.758000+00:00
Original source
You can just have the worldserver create tables, there are existing systems for that.
Archived author: Honey • Posted: 2024-05-03T11:52:29.435000+00:00
Original source
> for c++, I'll need to recomplile the whole server when I do a change, not like eluna to do a .reload?
yes
> i'll look into AIO, that's a messaging system or client - server communication and a way store the addon interface on the server?
AIO is designed for sending lua addons and data to player from server and data from player to server.
<https://github.com/Rochet2/AIO>
Archived author: Honey • Posted: 2024-05-03T11:52:57.008000+00:00
Original source
Correct, modules are the supported way to add c++ scripts
Archived author: Honey • Posted: 2024-05-03T11:54:40.600000+00:00
Original source
The easiest way to create a table in eluna is to add a
```sql
CREATE TABLE my_custom_table IF NOT EXISTS
```
to the top of your script.
You can also let a module automatically run .sql files onces or at every startup.