User Tag List

Page 1 of 2 1 2 LastLast
Results 1 to 10 of 12

Thread: SetDMapEnhancedMusic resets dmap subscreen to Active Subscreen (Triforce)

  1. #1
    I shall exalt myself over all Armagedddon Games bigjoe's Avatar
    Join Date
    Apr 2000
    Age
    36
    Posts
    5,616
    Mentioned
    86 Post(s)
    Tagged
    6 Thread(s)
    vBActivity - Stats
    Points
    6,475
    Level
    24
    vBActivity - Bars
    Lv. Percent
    77.06%

    Sick Bug SetDMapEnhancedMusic resets dmap subscreen to Active Subscreen (Triforce)

    When using SetDMapEnhancedMusic, the subscreen for the dmap gets reset to Active Subscreen (Triforce). 4matsy brought this to my attention when playing this quest, which allows you to select which set of dungeon music you would like to use.

  2. #2
    Is this the end?
    ZC Developer
    Saffith's Avatar
    Join Date
    Jan 2001
    Age
    38
    Posts
    3,390
    Mentioned
    178 Post(s)
    Tagged
    6 Thread(s)
    vBActivity - Stats
    Points
    6,342
    Level
    24
    vBActivity - Bars
    Lv. Percent
    54.86%
    Well, shoot. SetDmapEnhancedMusic() writes 255-character filenames, but DMaps only have room for 55 characters... It's not only overwriting the subscreens, but almost 200 disabled items, as well.

    I don't think there's any way to work work around it, generally. If you only use one subscreen in the quest, deleting all the others should work. If you only set the music for DMaps using the same active and passive subscreens, putting those first in the list should work. For any cases other than those, it's just going to have to be fixed.

  3. #3
    OBEY GOVERNMENT GOD ZC Developer
    Gleeok's Avatar
    Join Date
    Apr 2007
    Posts
    4,781
    Mentioned
    259 Post(s)
    Tagged
    10 Thread(s)
    vBActivity - Stats
    Points
    12,764
    Level
    33
    vBActivity - Bars
    Lv. Percent
    5.47%
    @Saffith : Why not spare a byte there (or ideally 16 bits) and just store a dmap_music_id, which simply maps to an actual string. If GetDmapEnhancedMusic() is needed we can simply look it up from a global music string map.
    Join the Gleeok Book Club - It's easy, all you have to do is read...

    "Protocols of the Learned Elders of Zion" (British Royal Institute, 1906)
    None Dare Call It Conspiracy -Gary Allen
    Deliberate Dumbing Down of America -Charlotte Iserbyt
    Morals and Dogma -Albert Pike
    Bloodlines Of The Illuminati -Fritz Springmeier
    The Rape Of Justice -Eustace Mullins
    The World Order, A Study in the Hegemony of Parasitism -Eustace Mullins
    The Most Dangerous Superstition -Larken Rose
    "War is a Racket" �Major General Smedley Butler

    The WWI Conspiracy: Part 1 - Part 2 - Part 3 "A New World Order"

    �The modern theory of the perpetuation of debt has drenched the earth with blood, and crushed its inhabitants under burdens ever accumulating.� �Thomas Jefferson
    �It is well enough that the people of the nation do not understand our banking and monetary system for, if they did, I believe there would be a revolution before tomorrow morning.� �Henry Ford
    �Man will ultimately be governed by God or by tyrants.� �Benjamin Franklin

    This post contains the official Gleeok� seal of approval. Look for these and other posts in an area near you.

  4. #4
    I shall exalt myself over all Armagedddon Games bigjoe's Avatar
    Join Date
    Apr 2000
    Age
    36
    Posts
    5,616
    Mentioned
    86 Post(s)
    Tagged
    6 Thread(s)
    vBActivity - Stats
    Points
    6,475
    Level
    24
    vBActivity - Bars
    Lv. Percent
    77.06%
    Perhaps the basis of the next update to ZC would be better and more complete support for DMap Editing? A Copy Paste function similar to what is in the enemy and item editors would make doing what you suggest a lot easier.

  5. #5
    Here lies mero. Died by his own dumbassitude.
    Join Date
    May 2011
    Posts
    929
    Mentioned
    102 Post(s)
    Tagged
    2 Thread(s)
    vBActivity - Stats
    Points
    5,527
    Level
    23
    vBActivity - Bars
    Lv. Percent
    13.96%
    @Gleeok : Bingo, now we're talking. As we know, ZC can only play music files found in the root folder and quest folder. These would serve of as the folders to pull the strings from for the music map. Hell then one could take advantage of a map's sort function and give them IDs like we do for midis. It would be an overhaul. But would be a nicer interface I think.

    Thoughts?

  6. #6
    OBEY GOVERNMENT GOD ZC Developer
    Gleeok's Avatar
    Join Date
    Apr 2007
    Posts
    4,781
    Mentioned
    259 Post(s)
    Tagged
    10 Thread(s)
    vBActivity - Stats
    Points
    12,764
    Level
    33
    vBActivity - Bars
    Lv. Percent
    5.47%
    Added copy/paste for dmaps...but I don't know if it works or not since I can't test it. According to my calculations there is an 0.0000000017% chance of it reversing time flow and destroying the universe at the speed of light.
    Join the Gleeok Book Club - It's easy, all you have to do is read...

    "Protocols of the Learned Elders of Zion" (British Royal Institute, 1906)
    None Dare Call It Conspiracy -Gary Allen
    Deliberate Dumbing Down of America -Charlotte Iserbyt
    Morals and Dogma -Albert Pike
    Bloodlines Of The Illuminati -Fritz Springmeier
    The Rape Of Justice -Eustace Mullins
    The World Order, A Study in the Hegemony of Parasitism -Eustace Mullins
    The Most Dangerous Superstition -Larken Rose
    "War is a Racket" �Major General Smedley Butler

    The WWI Conspiracy: Part 1 - Part 2 - Part 3 "A New World Order"

    �The modern theory of the perpetuation of debt has drenched the earth with blood, and crushed its inhabitants under burdens ever accumulating.� �Thomas Jefferson
    �It is well enough that the people of the nation do not understand our banking and monetary system for, if they did, I believe there would be a revolution before tomorrow morning.� �Henry Ford
    �Man will ultimately be governed by God or by tyrants.� �Benjamin Franklin

    This post contains the official Gleeok� seal of approval. Look for these and other posts in an area near you.

  7. #7
    Here lies mero. Died by his own dumbassitude.
    Join Date
    May 2011
    Posts
    929
    Mentioned
    102 Post(s)
    Tagged
    2 Thread(s)
    vBActivity - Stats
    Points
    5,527
    Level
    23
    vBActivity - Bars
    Lv. Percent
    13.96%
    I tested it out in the future using my time machine and it worked just fine. Good work Gleeok the universe has been spared, this time.

  8. #8
    Here lies mero. Died by his own dumbassitude.
    Join Date
    May 2011
    Posts
    929
    Mentioned
    102 Post(s)
    Tagged
    2 Thread(s)
    vBActivity - Stats
    Points
    5,527
    Level
    23
    vBActivity - Bars
    Lv. Percent
    13.96%
    Just curious but do we have any confirmation that this has been fixed yet?

  9. #9
    Is this the end?
    ZC Developer
    Saffith's Avatar
    Join Date
    Jan 2001
    Age
    38
    Posts
    3,390
    Mentioned
    178 Post(s)
    Tagged
    6 Thread(s)
    vBActivity - Stats
    Points
    6,342
    Level
    24
    vBActivity - Bars
    Lv. Percent
    54.86%
    This has finally been fixed.

  10. #10
    Here lies mero. Died by his own dumbassitude.
    Join Date
    May 2011
    Posts
    929
    Mentioned
    102 Post(s)
    Tagged
    2 Thread(s)
    vBActivity - Stats
    Points
    5,527
    Level
    23
    vBActivity - Bars
    Lv. Percent
    13.96%
    Party at @Saffith place everybody. Man this must of been pretty hard to fix. :O

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