[DiscordArchive] the LFG level range is the width of all four wings. how can i tell which wing a given creature spawn
[DiscordArchive] the LFG level range is the width of all four wings. how can i tell which wing a given creature spawn
Archived author: KJack • Posted: 2023-05-27T08:07:26.252000+00:00
Original source
the LFG level range is the width of all four wings. how can i tell which wing a given creature spawn belongs to just from their creature DB entry?
Archived author: KJack • Posted: 2023-05-27T08:07:35.154000+00:00
Original source
unless i check XYZ
Archived author: KJack • Posted: 2023-05-27T08:09:02.829000+00:00
Original source
ain't that the truth
Archived author: Honey • Posted: 2023-05-27T08:09:06.586000+00:00
Original source
I'm talking about your general approach. My suggestion has the same issue in SM as yours. It just doesn't compute the same value once per instance but a single time at start-up.
Archived author: KJack • Posted: 2023-05-27T08:11:36.781000+00:00
Original source
i see what you mean. let me see if i can get the same data out of the DB entries that i'm getting out of the creature objects.
i mean, the "easiest" way would be to make a table of map IDs to target levels and call it a day. or stick it in the config file.
Archived author: KJack • Posted: 2023-05-27T08:11:51.654000+00:00
Original source
that doesn't account for new instances added to the game by custom servers though
Archived author: Honey • Posted: 2023-05-27T08:12:56.178000+00:00
Original source
True
![[Image: image.png?ex=690c5c4a&is=690b0aca&hm=9ec...200e04bc2&]](https://cdn.discordapp.com/attachments/284323424032129024/1111934059438948402/image.png?ex=690c5c4a&is=690b0aca&hm=9ec62aedfed15f25e9f8258857ee3183d393671c84d1926691b2241200e04bc2&)
Archived author: KJack • Posted: 2023-05-27T08:28:58.558000+00:00
Original source
will definitely keep looking into pulling info from the DB. for now I have it working with that distance check. i just keep two different lists of creatures - one for all creatures (all the world adds get put here) and one for "active" creatures that are within 1000 units of a player. it's definitely a bit hackish, but it solves the issue for SM at a minimum!
![[Image: image.png?ex=690c5c4a&is=690b0aca&hm=9ec...200e04bc2&]](https://cdn.discordapp.com/attachments/284323424032129024/1111934059438948402/image.png?ex=690c5c4a&is=690b0aca&hm=9ec62aedfed15f25e9f8258857ee3183d393671c84d1926691b2241200e04bc2&)
Archived author: KJack • Posted: 2023-05-27T08:29:10.502000+00:00
Original source
which is enough for today - thanks as always for all the help and feedback