shift droplist

Dev-Kiwi

Baron
Customer
QA Engineer
Mentor
onShift action for droplist:

add the %group_chance% parameter on: drop.rewardData.html <-string.en/string.ru
i want to make droplist look like this and it does not read which group the item is in
@Deazer
Shot00003.webp
 
I don't quite understand what goal you're pursuing. In general, I can put everything in an html file. I just don't quite understand why you need to assign a group chance to an item
because: player base is getting confused of how it is now
i know how to read it but player base looks at group chance that is displayed above every group and then also have to look up to every item drop inside the category, anyway it is custom droplist that i want to make, it will be of much help, if you could....it is a small bunch of lines to duplicate
 
because: player base is getting confused of how it is now
i know how to read it but player base looks at group chance that is displayed above every group and then also have to look up to every item drop inside the category, anyway it is custom droplist that i want to make, it will be of much help, if you could....it is a small bunch of lines to duplicate
Ok I will move all thinks to HTM file
 
было бы круто если бы конечный шанс дропа писался, без груп шансов и тд)
 
it would be cool if the final drop chance was written, without groups of chances, etc.)
this would need of a formula to make/convert the result chance in the scripts am i right?
like {group_chance} / {all items in group} * {each item chance} = chance kind of formula :P
 
@Deazer

i don't know if it was implemented since i need to upgrade my latest rev, but i'd like to use this topic to point this:

in the config files there's the custom event global drop list.
but those items do not show in shift droplist... basically the player can't know the items that can be dropped in this event.
could this also be implemented?
thanks
 
do you mean something like that?
Shot00036.webp
so what?

you just deleted the group_chance.
the chance you (and me, and also everyone else) is looking right now: it is not the "final" drop chance of the item you are looking for.

it is the chance that the item has to be picked-> from the group which it is placed in......
before that, the group_chance is calculated and decided from droplist

so go explain this to your player base

i would pay the guy that managed to explain and therefore teach the playerbase to do math calc;
in order to find the real drop chance of each item from a mob
 
View attachment 4790
so what?

you just deleted the group_chance.
the chance you (and me, and also everyone else) is looking right now: it is not the "final" drop chance of the item you are looking for.

it is the chance that the item has to be picked-> from the group which it is placed in......
before that, the group_chance is calculated and decided from droplist

so go explain this to your player base

i would pay the guy that managed to explain and therefore teach the playerbase to do math calc;
in order to find the real drop chance of each item from a mob
it's simple let's take this example:
CSS:
      <group chance="11.718">
        <reward item_id="271" min="1" max="1" chance="0.3507"/>
        <reward item_id="1799" min="1" max="1" chance="46.8938"/>
        <reward item_id="1866" min="1" max="1" chance="21.1025"/>
        <reward item_id="1871" min="1" max="1" chance="31.653"/>
      </group>
The structure group contains a series of drop chances for different items. The group chance represents the overall probability that any of the items within the group will drop. Let's break it down:

  • The group chance is 11.718%. This is the overall probability that an item from this group will drop.
  • Each reward represents a specific item with its own drop chance:
    • Item 271: Drop chance 0.3507%.
    • Item 1799: Drop chance 46.8938%.
    • Item 1866: Drop chance 21.1025%.
    • Item 1871: Drop chance 31.653%.
The total drop chance for these items (if we were to sum them up) should theoretically reach 100%, but since the group chance is smaller (11.718%), it means there's an 11.718% chance that any of these items will drop when a drop event occurs. Within this percentage, the individual item chances determine which specific item will drop.

Let's make it more detailed the actual drop rate:

To calculate the actual drop rate for item 271, we need to consider both the group chance and the individual item chance. The group chance is 11.718%, and within this group, the drop rate for item 271 is 0.3507%.

To find the final drop rate, we multiply the group chance by the item chance:

0.11718×0.003507=0.000411226860.11718 \times 0.003507 = 0.00041122686
So, the final drop rate for item 271 is approximately 0.0411%, which is just over 0.04%.


unless I'm wrong in my calculations
 
it's simple let's take this example:
CSS:
      <group chance="11.718">
        <reward item_id="271" min="1" max="1" chance="0.3507"/>
        <reward item_id="1799" min="1" max="1" chance="46.8938"/>
        <reward item_id="1866" min="1" max="1" chance="21.1025"/>
        <reward item_id="1871" min="1" max="1" chance="31.653"/>
      </group>
The structure group contains a series of drop chances for different items. The group chance represents the overall probability that any of the items within the group will drop. Let's break it down:

  • The group chance is 11.718%. This is the overall probability that an item from this group will drop.
  • Each reward represents a specific item with its own drop chance:
    • Item 271: Drop chance 0.3507%.
    • Item 1799: Drop chance 46.8938%.
    • Item 1866: Drop chance 21.1025%.
    • Item 1871: Drop chance 31.653%.
The total drop chance for these items (if we were to sum them up) should theoretically reach 100%, but since the group chance is smaller (11.718%), it means there's an 11.718% chance that any of these items will drop when a drop event occurs. Within this percentage, the individual item chances determine which specific item will drop.

Let's make it more detailed the actual drop rate:

To calculate the actual drop rate for item 271, we need to consider both the group chance and the individual item chance. The group chance is 11.718%, and within this group, the drop rate for item 271 is 0.3507%.

To find the final drop rate, we multiply the group chance by the item chance:

0.11718×0.003507=0.000411226860.11718 \times 0.003507 = 0.00041122686
So, the final drop rate for item 271 is approximately 0.0411%, which is just over 0.04%.
1. already stated the reasons.
2. i know how to read a droplist. go explain this to players.
3. even you yourself made mistake on your post explaining it. gj / gl with the player base dude!
 
To keep the individual item drop rates unchanged, the group chance should be set to 100%. This means the overall probability of dropping an item from the group is 100%, and the individual drop rates remain the same.

So, if you set group chance="100", the item drop rates will be as follows:

  • Item 271: 0.3507%
  • Item 1799: 46.8938%
  • Item 1866: 21.1025%
  • Item 1871: 31.653%
This way, the individual percentages are not affected.
 
Anyway, I shouldn't have bothered. It's been a while since I last engaged with this forum, and I probably shouldn't have gotten involved again. :D
 
To keep the individual item drop rates unchanged, the group chance should be set to 100%. This means the overall probability of dropping an item from the group is 100%, and the individual drop rates remain the same.

So, if you set group chance="100", the item drop rates will be as follows:

  • Item 271: 0.3507%
  • Item 1799: 46.8938%
  • Item 1866: 21.1025%
  • Item 1871: 31.653%
This way, the individual percentages are not affected.
in any case i dont intend to do this.
this would "brake" all item droppings...it will not follow the chances that are already set....

fuck this if i am wrong. but:
if you have more than 1 groups in a mobs droplist, and set them all to 100%, will it work? will all groups be active? haven't tried anything with droplist
 
Last edited:
in any case i dont intend to do this.
this would "brake" all item droppings...it will not follow the chances that are already set....
based on your previous post calculations
  • Item 271: 0.3507%
100.0 x 0.3507=35.07%

then what? does config dropitems accept 0.001?
I didn't make this calculation, please pay more attention to what I write.
 
I didn't make this calculation, please pay more attention to what I write.
forgive me. i wrote it wrong. with 100% on a group it is supposed to be 1 x 0.3507 = 0.3507% ok with this.
this remains as a question though:
if you have more than 1 groups in a mobs droplist, and set them all to 100%, will it work? will all groups be active? haven't tried anything with droplist
 
forgive me. i wrote it wrong. with 100% on a group it is supposed to be 1 x 0.3507 = 0.3507% ok with this.
this remains as a question though:
When you have more than one group in a drop list and set all of them to 100%, each group will be active. This means all groups will be considered for drops. The individual drop rates for items within each group will then be applied as specified.

Example:

  • Group 1 with group chance="100" and items:
    • Item A: 10%
    • Item B: 20%
  • Group 2 with group chance="100" and items:
    • Item C: 30%
    • Item D: 40%
In this scenario, both groups will be active, and the drop rates for items within the groups will be as given (10%, 20%, 30%, 40%).
 
I will also write it in Greek because I know that many Greeks do not know English well:
Η δομή group περιέχει μία σειρά από πιθανότητες πτώσης (drop chances) για διαφορετικά αντικείμενα (items). Η πιθανότητα που αναφέρεται στη group είναι το συνολικό ποσοστό πιθανότητας για να πέσει κάποιο από τα αντικείμενα που περιέχονται στην ομάδα. Ας το αναλύσουμε:

  • Η πιθανότητα της ομάδας (group chance) είναι 11.718%. Αυτή είναι η συνολική πιθανότητα να πέσει κάποιο από τα αντικείμενα που αναφέρονται σε αυτή την ομάδα.
  • Κάθε reward αναφέρεται σε ένα συγκεκριμένο αντικείμενο με το δικό του ποσοστό πιθανότητας:
    • Αντικείμενο 271: Πιθανότητα πτώσης 0.3507%.
    • Αντικείμενο 1799: Πιθανότητα πτώσης 46.8938%.
    • Αντικείμενο 1866: Πιθανότητα πτώσης 21.1025%.
    • Αντικείμενο 1871: Πιθανότητα πτώσης 31.653%.
Η συνολική πιθανότητα πτώσης αυτών των αντικειμένων (αν προσθέσουμε τις επιμέρους πιθανότητες) θα πρέπει θεωρητικά να φτάνει το 100%, αλλά επειδή η group chance είναι μικρότερη (11.718%), αυτό σημαίνει ότι υπάρχει 11.718% πιθανότητα να πέσει κάποιο από αυτά τα αντικείμενα όταν γίνεται μία τυχαία πτώση, και εντός αυτού του ποσοστού, οι επιμέρους πιθανότητες καθορίζουν ποιο αντικείμενο ακριβώς θα πέσει.
Ας υπολογίσουμε την πραγματική πιθανότητα πτώσης του αντικειμένου 271. Η πιθανότητα της ομάδας είναι 11.718%, και εντός αυτής της ομάδας, η πιθανότητα για το αντικείμενο 271 είναι 0.3507%.

Για να βρούμε την τελική πιθανότητα, πολλαπλασιάζουμε την πιθανότητα της ομάδας με την πιθανότητα του συγκεκριμένου αντικειμένου:

0.11718×0.003507=0.000411226860.11718 \times 0.003507 = 0.00041122686
Επομένως, η τελική πιθανότητα πτώσης του αντικειμένου 271 είναι περίπου 0.0411%, δηλαδή λίγο πάνω από 0.04%.

Για να διατηρήσουμε τις επιμέρους πιθανότητες πτώσης των αντικειμένων χωρίς αλλαγές, η πιθανότητα της ομάδας (group chance) θα πρέπει να είναι 100%. Αυτό σημαίνει ότι η συνολική πιθανότητα για την πτώση κάποιου αντικειμένου από την ομάδα είναι 100%, και οι επιμέρους πιθανότητες θα παραμείνουν όπως έχουν.

Έτσι, αν βάλεις group chance="100", οι πιθανότητες πτώσης των αντικειμένων θα είναι οι εξής:

  • Αντικείμενο 271: 0.3507%
  • Αντικείμενο 1799: 46.8938%
  • Αντικείμενο 1866: 21.1025%
  • Αντικείμενο 1871: 31.653%
Με αυτόν τον τρόπο, τα επιμέρους ποσοστά δεν θα επηρεαστούν.


Όταν έχετε περισσότερες από μία ομάδες σε μια λίστα ομαδοποιήσεων και ορίσετε κάθε ομάδα στο 100%, αυτό σημαίνει ότι κάθε ομάδα έχει 100% πιθανότητα να είναι ενεργή κατά την πτώση. Αυτό θα λειτουργήσει υπό την προϋπόθεση ότι το σύστημα πτώσεων υποστηρίζει πολλαπλές ομάδες με 100% πιθανότητα η καθεμία.

Αν όλες οι ομάδες έχουν group chance="100", τότε όλες οι ομάδες θα είναι ενεργές κατά την πτώση. Οι επιμέρους πιθανότητες των αντικειμένων θα εφαρμοστούν στη συνέχεια εντός κάθε ενεργής ομάδας.

Παράδειγμα:

  • Ομάδα 1 με group chance="100" και αντικείμενα:
    • Αντικείμενο A: 10%
    • Αντικείμενο B: 20%
  • Ομάδα 2 με group chance="100" και αντικείμενα:
    • Αντικείμενο C: 30%
    • Αντικείμενο D: 40%
Σε αυτή την περίπτωση, και οι δύο ομάδες θα είναι ενεργές και η πιθανότητα πτώσης των αντικειμένων εντός των ομάδων θα είναι όπως δίνονται (10%, 20%, 30%, 40%).
 
Back
Top