[DiscordArchive] isn't TC SOAP doing that already ?
[DiscordArchive] isn't TC SOAP doing that already ?
Archived author: jackpoz • Posted: 2022-09-26T06:59:45.861000+00:00
Original source
isn't TC SOAP doing that already ?
Archived author: Quantum • Posted: 2022-09-26T07:06:09.935000+00:00
Original source
How would you personally go about using join? I've done inner and outer join before but not often enough to know how to use it in this scenario
Archived author: Quantum • Posted: 2022-09-26T07:06:37.089000+00:00
Original source
I'm basically making a query to make creating custom instances a breeze
Archived author: jackpoz • Posted: 2022-09-26T07:07:19.339000+00:00
Original source
start with a select on creature_loot_template with inner join on the other tables
Archived author: jackpoz • Posted: 2022-09-26T07:07:39.123000+00:00
Original source
instead of WHERE entry IN ()
Archived author: jackpoz • Posted: 2022-09-26T07:08:40.548000+00:00
Original source
like SELECT entry from creature_loot_template CLT INNER JOIN creature_template CT on CLT.entry = CT.lootid etc (assuming you picked the correct relationship between tables)
Archived author: jackpoz • Posted: 2022-09-26T07:09:24.434000+00:00
Original source
compare the performances of the WHERE entry IN () and the JOIN one and see which is faster
Archived author: Krutok • Posted: 2022-09-26T07:12:58.650000+00:00
Original source
you can use SAI to morph an npc into another model. Can you also scale the size? because when I let the npc spawn temporarily, it's smaller the way I want it, but when morphing, it suddenly becomes much larger
Archived author: Quantum • Posted: 2022-09-26T07:15:42.654000+00:00
Original source
```sql
SET @MapID := 389;
DELETE clt FROM creature_loot_template clt
INNER JOIN creature_template ct ON ct.lootid = clt.entry
INNER JOIN creature c ON c.id = ct.entry
WHERE c.map = @MapID AND ct.minlevel > 1 AND (ct.faction_A != 35 OR ct.faction_H != 35);
```
So somewhat like this?
Edit: Worked wonders jackpoz, thanks a bunch
Archived author: Quantum • Posted: 2022-09-26T07:16:33.731000+00:00
Original source
Going to play it safe and back up my world db before running it lol