[DiscordArchive] Where will that show up if it's a mail sent from the server, such as an auction expiring or leaching
[DiscordArchive] Where will that show up if it's a mail sent from the server, such as an auction expiring or leaching
Archived author: metallinos • Posted: 2025-02-23T10:19:05.995000+00:00
Original source
What happens to the server-side cache of the item_instance count if I insert a line into item_instance, while the server is running, with the ID being max ID + 1? It seems to work just fine, and subsequent items are created just fine so I'm not sure why I'm seeing this issue
Archived author: Kitzunu • Posted: 2025-02-23T10:20:35.042000+00:00
Original source
it is only incremented on CreateItem
Archived author: Takenbacon • Posted: 2025-02-23T10:21:53.425000+00:00
Original source
that would be very wrong - and bad
Archived author: Kitzunu • Posted: 2025-02-23T10:22:58.273000+00:00
Original source
I might understand you wrong. But you shouldnt touch that table manually at all
Archived author: metallinos • Posted: 2025-02-23T10:23:06.214000+00:00
Original source
But why is it wrong and how is it bad? As subsequent items are created fine and I'm not getting any primary key errors in item_instance
Archived author: metallinos • Posted: 2025-02-23T10:23:35.088000+00:00
Original source
You understand me right
Archived author: Takenbacon • Posted: 2025-02-23T10:23:51.120000+00:00
Original source
you can't say everything is fine when just a few messages ago you were saying you're having odd issues with item_instance lmao
Archived author: metallinos • Posted: 2025-02-23T10:24:32.459000+00:00
Original source
I'm not really saying that everything is fine, but item_instance isn't throwing any error, mail_item is
Archived author: Kitzunu • Posted: 2025-02-23T10:24:36.328000+00:00
Original source
Basically you should only allow CreateItem to insert into it, because on startup it calculates the guid counter. And it is never recalculated during runtime. So if you insert manually, it will create issues when the core is using CreateItem
Archived author: metallinos • Posted: 2025-02-23T10:25:16.756000+00:00
Original source
Okay these are good pointers to go find out how much I can jank up my database, wish me luck