[DiscordArchive] Welp, also maybe I should do something after inserting the row? Idk...
[DiscordArchive] Welp, also maybe I should do something after inserting the row? Idk...
Archived author: Vel • Posted: 2025-06-24T20:42:58.819000+00:00
Original source
Welp, also maybe I should do something after inserting the row? Idk...
```lua
local sql = string.format(
"INSERT INTO waypoint_path (PathId,MoveType,Flags,Velocity,Comment) VALUES (%d,%d,0,NULL,'%s');",
pathId, moveType, comment
)
WorldDBExecute(sql)
```
I am just performing this. No idea why it crashes. Are tables somehow "watched" real time for changes? Because I can't understand how can insert into trigger reloading of tables... I guess the core has some table reload inside of WorldDBExecute?