[HELP] Level 4 craft option does not work

Results 1 to 5 of 5
  1. #1
    Member monstrebel is offline
    MemberRank
    Jul 2020 Join Date
    66Posts

    [HELP] Level 4 craft option does not work

    [HELP] Level 4 craft option does not work
    Hi guys,

    I am currently trying to change the drop craft option in DG. Since we have 7 craft level (1 - 7)...

    Let say: Craft level 3 = 6 amp item (AMP), Craft Level 4 = 7 amp item (Outra), Craft level 5 = 10 amp (Outra).

    By default, I am dropping Level 5 craft item. So player will get 10 amp. I tried setting it in OptPool.scp for Level 3, works fine. 6 amp item dropped. But when I try Craft Level 4 drop, it doesnt work. All drops turn to clean [item] (ex: Pirate blade clean, Pirate crystal +2 clean) instead of Outra Pirate Blade (7amp) <--- which is defined in my core.scp and cabal.dec.

    If I spawn the item craft Level 4 with GM Tools, it worked fine. It gives me 7% amp item. But drops are just clean trash item.

    Here is my core.scp
    Code:
    721    1    114    4    4    4    4    4    4    4    4    4    4    0    0    1    3    5    5    0    0    0
    722    2    114    5    5    5    5    5    5    5    5    5    5    0    0    2    3    6    6    0    0    0
    723    3    114    6    6    6    6    6    6    6    6    6    6    0    0    3    4    7    7    0    0    0
    724    4    114    7    7    7    7    7    7    7    7    7    7    6    6    3    4    8    8    0    0    0
    725    5    114    10    10    10    10    10    10    10    10    10    10    3    1    4    4    9    9    0    0    0
    726    6    114    10    10    10    10    10    10    10    10    10    10    4    3    5    5    10    10    0    0    0
    727    7    114    10    10    10    10    10    10    10    10    10    10    5    5    6    5    10    10    0    0    0
    Here is my cabal.dec
    Code:
    <rare_code    code="114"    RareNum="1"    grade4="4"    grade5="4"    grade6="4"    grade7="4"    grade8="4"    grade9="4"    grade10="4"    grade11="4"    grade12="4"    UniqueGrade1="0"    UniqueGrade2="0"    ACSY="1"    UniqueACSY="3"    bike5="5"    bike8="5"    bike11="5"    epul9="0"    epul10="0"    epul11="0"    epul12="0"    />
    <rare_code    code="114"    RareNum="2"    grade4="5"    grade5="5"    grade6="5"    grade7="5"    grade8="5"    grade9="5"    grade10="5"    grade11="5"    grade12="5"    UniqueGrade1="0"    UniqueGrade2="0"    ACSY="2"    UniqueACSY="3"    bike5="6"    bike8="6"    bike11="6"    epul9="0"    epul10="0"    epul11="0"    epul12="0"    />
    <rare_code    code="114"    RareNum="3"    grade4="6"    grade5="6"    grade6="6"    grade7="6"    grade8="6"    grade9="6"    grade10="6"    grade11="6"    grade12="6"    UniqueGrade1="0"    UniqueGrade2="0"    ACSY="3"    UniqueACSY="4"    bike5="7"    bike8="7"    bike11="7"    epul9="0"    epul10="0"    epul11="0"    epul12="0"    />
    <rare_code    code="114"    RareNum="4"    grade4="7"    grade5="7"    grade6="7"    grade7="7"    grade8="7"    grade9="7"    grade10="7"    grade11="7"    grade12="7"    UniqueGrade1="6"    UniqueGrade2="6"    ACSY="3"    UniqueACSY="4"    bike5="8"    bike8="8"    bike11="8"    epul9="0"    epul10="0"    epul11="0"    epul12="0"    />
    <rare_code    code="114"    RareNum="5"    grade4="10"    grade5="10"    grade6="10"    grade7="10"    grade8="10"    grade9="10"    grade10="10"    grade11="10"    grade12="10"    UniqueGrade1="3"    UniqueGrade2="1"    ACSY="4"    UniqueACSY="4"    bike5="9"    bike8="9"    bike11="9"    epul9="0"    epul10="0"    epul11="0"    epul12="0"    />
    <rare_code    code="114"    RareNum="6"    grade4="10"    grade5="10"    grade6="10"    grade7="10"    grade8="10"    grade9="10"    grade10="10"    grade11="10"    grade12="10"    UniqueGrade1="4"    UniqueGrade2="3"    ACSY="5"    UniqueACSY="5"    bike5="10"    bike8="10"    bike11="10"    epul9="0"    epul10="0"    epul11="0"    epul12="0"    />
    <rare_code    code="114"    RareNum="7"    grade4="10"    grade5="10"    grade6="10"    grade7="10"    grade8="10"    grade9="10"    grade10="10"    grade11="10"    grade12="10"    UniqueGrade1="5"    UniqueGrade2="5"    ACSY="6"    UniqueACSY="5"    bike5="10"    bike8="10"    bike11="10"    epul9="0"    epul10="0"    epul11="0"    epul12="0"    />
    And my optpool.scp

    Code:
    [OptionPoolRareNum]    RareNum0    RareNum1    RareNum2    RareNum3    RareNum4    RareNum5    RareNum6    RareNum7
    51    0    0    0    0    100 100    100    100
    Am I missing something?

    Thanks
    Last edited by monstrebel; 06-01-21 at 04:18 AM.


  2. #2
    Hardcore Member HariSeldon is offline
    MemberRank
    Oct 2019 Join Date
    149Posts

    Re: [HELP] Level 4 craft option does not work

    The use of the 4th level of crafting is not provided for by the standard server.
    Don't use it, it will only add to your problems.

  3. #3
    Member monstrebel is offline
    MemberRank
    Jul 2020 Join Date
    66Posts

    Re: [HELP] Level 4 craft option does not work

    Quote Originally Posted by HariSeldon View Post
    The use of the 4th level of crafting is not provided for by the standard server.
    Don't use it, it will only add to your problems.
    Hey man, thanks for clarifying that! If so, ill just use the other craft level then. If let say I want to use level 3, 5 and 6, how do I skipped the level 4 in optpool.scp?

    Ex: 51 0 0 0 80 80 90 100 100 <-- 80% chances Lv3,10% Lv5 and 10% Lv6. Am I correct?

    Thanks again

  4. #4
    Hardcore Member HariSeldon is offline
    MemberRank
    Oct 2019 Join Date
    149Posts

    Re: [HELP] Level 4 craft option does not work

    The optpool uses a cumulative rate system.
    That is, you should write there not the desired drop chance, but the sum of the chances.


    For example, you have 4 options, 25% each. Then you will need to write rates as follows:
    Option 1: 25
    Option 2: 50
    Option 3: 75
    Option 4: 100

    If you need to set rate 0 for option 3:
    Option 1: 25
    Option 2: 50
    Option 3: 50
    Option 4: 100

    In the latter case, you will receive the following rates: 25%, 25%, 0%, 50%

  5. #5
    Member monstrebel is offline
    MemberRank
    Jul 2020 Join Date
    66Posts

    Re: [HELP] Level 4 craft option does not work

    Quote Originally Posted by HariSeldon View Post
    The optpool uses a cumulative rate system.That is, you should write there not the desired drop chance, but the sum of the chances.For example, you have 4 options, 25% each. Then you will need to write rates as follows:Option 1: 25Option 2: 50Option 3: 75Option 4: 100If you need to set rate 0 for option 3:Option 1: 25Option 2: 50Option 3: 50Option 4: 100In the latter case, you will receive the following rates: 25%, 25%, 0%, 50%
    Great! Thats what Im thinking. Thank u very much Hari



Advertisement