User Tag List

Results 1 to 1 of 1

Thread: Negative chances in Item Drop Set Data window, especially "Nothing Chance:"

  1. #1
    Octorok Asuna Yuuki Nagato's Avatar
    Join Date
    Jan 2024
    Posts
    486
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    vBActivity - Stats
    Points
    32
    Level
    2
    vBActivity - Bars
    Lv. Percent
    20.33%

    Sick Bug Negative chances in Item Drop Set Data window, especially "Nothing Chance:"

    Steps to recreate:

    1. Quest->Misc Data->Item Drop Sets
    2. Select any of the 256 item drop sets
    3. Click 'Edit'
    4. Type a negative number in "Nothing Chance:" text box
    5. Observe negative percentage appears in adjacent percentage label
    6. Click 'OK'
    7. Click 'Edit' again
    8. Observe negative number has been replaced with 16-bit two's complement


    The chance text boxes on the two tabs clamp the negative chances to zero after clicking OK, but still update the percentage label with negative percentages in the meantime.
    Last edited by jeffythedragonslayer; 04-09-2024 at 02:09 PM.

  2. #2
    Octorok Asuna Yuuki Nagato's Avatar
    Join Date
    Jan 2024
    Posts
    486
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    vBActivity - Stats
    Points
    32
    Level
    2
    vBActivity - Bars
    Lv. Percent
    20.33%
    The "Nothing Chance:" string comes from the edititemdropset_dlg array in zquest.cpp

  3. #3
    Octorok Asuna Yuuki Nagato's Avatar
    Join Date
    Jan 2024
    Posts
    486
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    vBActivity - Stats
    Points
    32
    Level
    2
    vBActivity - Bars
    Lv. Percent
    20.33%
    Negative percentages no longer occlude the dropdown.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
About us
Armageddon Games is a game development group founded in 1997. We are extremely passionate about our work and our inspirations are mostly drawn from games of the 8-bit and 16-bit era.
Social