[DiscordArchive] Hard coding?
[DiscordArchive] Hard coding?
Archived author: Revision • Posted: 2022-08-31T22:19:08.506000+00:00
Original source
Hard coding?
![[Image: unknown.png?ex=690c7628&is=690b24a8&hm=3...57eb9a982&]](https://cdn.discordapp.com/attachments/284406375495368704/1014660692919463947/unknown.png?ex=690c7628&is=690b24a8&hm=38967ee69b6db9a6f2e5ec2ae968a43282f26063d2fd1ed691e8ceb57eb9a982&)
Archived author: Ĝ̷̳r̸̹͊a̷̜̚k̴̞̔ • Posted: 2022-08-31T22:19:20.879000+00:00
Original source
like each one is an individual line
![[Image: unknown.png?ex=690c7628&is=690b24a8&hm=3...57eb9a982&]](https://cdn.discordapp.com/attachments/284406375495368704/1014660692919463947/unknown.png?ex=690c7628&is=690b24a8&hm=38967ee69b6db9a6f2e5ec2ae968a43282f26063d2fd1ed691e8ceb57eb9a982&)
Archived author: Revision • Posted: 2022-08-31T22:19:47.197000+00:00
Original source
That's because originally I used queries to update all items but it crashes mysql for some people because there are a shit ton of items
Archived author: Revision • Posted: 2022-08-31T22:19:49.815000+00:00
Original source
It's not hardcoded though
Archived author: Revision • Posted: 2022-08-31T22:20:09.618000+00:00
Original source
not to mention it makes it easier for me to add items when I add them to creatures
Archived author: Revision • Posted: 2022-08-31T22:20:22.989000+00:00
Original source
A 'clean' version is https://github.com/tkn963/mod-groupquest...mplate.sql
That's the commit before I started adding items.
Archived author: Ĝ̷̳r̸̹͊a̷̜̚k̴̞̔ • Posted: 2022-08-31T22:20:35.346000+00:00
Original source
ah ok that makes sense
Archived author: Ĝ̷̳r̸̹͊a̷̜̚k̴̞̔ • Posted: 2022-08-31T22:20:53.954000+00:00
Original source
i saw it and just went "wait cant you do an update where the condition is the other table
Archived author: Revision • Posted: 2022-08-31T22:20:58.518000+00:00
Original source
Wait, that's not the commit before custom.
Archived author: Revision • Posted: 2022-08-31T22:21:15.101000+00:00
Original source
Yes, I did that but it literally hangs up for a very long time because SQL can't keep up with only 1 thread