Open topaz-next-bot opened 3 years ago
Comment by TeoTwawki Sunday Oct 11, 2020 at 05:03:47
This is one of the many things I started on and never finished, https://github.com/TeoTwawki/darkstar/commit/9e8ca8f1b3d65e2c4d4a3d72c78da2c71f1af651
I despise gigantic if/else towers and massive switch statements, and was looking for a better way to code that when I discovered: we do "global" drops all kinds of wrong.
On dsp/topaz:
on retail:
The issue I described need to be tackled before we can add these with any retail accuracy. I was tempted to just add them in mobs.lua using addTreasure()
and if you want to add them to your server as a custom addition I suggest that route rather than using my old code I linked above, as its the shortest/simplest method. be aware however this bypasses the pool cap in the core and can cause treasure loss.
Comment by jarmengaud Sunday Oct 11, 2020 at 07:30:25
I didnt see this coming, i'm glad I did this discussion issue :) I will see what i can do, if i can attempt to fix both in the same PR. Thanks for the feedback!
Comment by TeoTwawki Sunday Oct 11, 2020 at 08:40:02
If theres anything you can use from code I already wrote feel free to take and change. I suspect it won’t be useful once the global drop thing is handled proper though.
Comment by jarmengaud Friday Oct 30, 2020 at 12:10:21
I did some research on mobs that drop a lots of things, and it seems that this is incorrect that you cannot drop crystals if all slots are full. Got a ram dropping no less that 12 items, including 2 crystals! (party of 3 players):
[13:04:32] You find a ram skin on the Mosshorn. [13:04:32] You find a ram skin on the Mosshorn. [13:04:32] You find a ram horn on the Mosshorn. [13:04:32] You find a ram skin on the Mosshorn. [13:04:32] You find a ram skin on the Mosshorn. [13:04:32] You find a ram skin on the Mosshorn. [13:04:32] Empathetic obtains a ram skin. [13:04:32] You find a ram horn on the Mosshorn. [13:04:32] Coffinnails obtains a ram horn. [13:04:32] You find a lanolin cube on the Mosshorn. [13:04:32] Ringzero obtains a ram skin. [13:04:32] You find a ram skin on the Mosshorn. [13:04:32] Empathetic obtains a ram skin. [13:04:32] You find a ram horn on the Mosshorn. [13:04:32] Empathetic obtains a ram horn. [13:04:32] You find an earth crystal on the Mosshorn. [13:04:32] Coffinnails obtains an earth crystal. [13:04:32] You find an earth crystal on the Mosshorn. [13:04:32] Koru-Moru casts Haste II.
the only rule is that the rare and ex items are never pushed away from pool by common drops.
Comment by jarmengaud Friday Oct 30, 2020 at 14:35:07
the pool was not empty when that happenned, so you see some previous items being pushed out
Comment by TeoTwawki Friday Oct 30, 2020 at 18:02:13
Your log shows you obtaining the items which frees up room in the pool - have you seen any item "hit dirt" due to the arrival of a crystal? Notice all the crystals arrived last. Notice items were "obtained" prior to crystals arriving, freeing up room in the pool. This is a little different than @KnowOne134 's testing, but supports the possibility of crystals being their own thing as a "global drop" instead of part of the mobs usual loot pool.
Issue by jarmengaud Saturday Oct 10, 2020 at 12:45:16 Originally opened as: project-topaz/topaz - Issue 1309
I have:
Additional Information (Steps to reproduce/Expected behavior) :
I know this has not been coded, so it's not really a bug per-se. But I am logging this issue to let people know that I am working on this atm. So we can start discussing before I submit the PR.
So far: This is about elemental geodes (snow geode, aqua geode, etc) AND the avatar geodes (ifritite, garudite, etc)
I have almost finished writing a log-parser for my retail logs to try to narrow the drop rate of those, for the thousands of mobs I have killed. I am using the Autoexec plugin to track the current weather when the mod dies.
Normal geodes drop from mobs 50+ Avatar geodes drop from mobs 80+ (not 100% sure about those 2 levels, still doing some tests)
When a weather is present, it has precedence and will determine which element the geode will be. Otherwise its the day element.