User Tag List

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

Thread: Sword Triggers Are Not Continuous

  1. #1
    Octorok
    Join Date
    Mar 2008
    Age
    35
    Posts
    128
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    vBActivity - Stats
    Points
    885
    Level
    10
    vBActivity - Bars
    Lv. Percent
    36.38%

    Unverified Bug Sword Triggers Are Not Continuous

    I've been debating reporting this for a while b/c it seems like something that would be more of a pain for you guys than something that would actually make ZC better. Some of what I'm about to say here is just my best guess as to what's happening. There's a bug in there somewhere but I'm not sure exactly what it is or how to fix it? I don't think I've tested if there's been a change in behaviour since original 2.5.

    All trigger flags are 'continuous' except for sword triggers (I only tested this with looping secrets and not tiered secrets in general, but I'd guess it does apply more generally). When a sword trigger is used in a way where the continuousness of other triggers would apply, in addition to not behaving in a continuous manner, for some reason screen secrets are not activated. It's especially strange when the strike trigger is involved, because its behaviour differs depending on whether or not you hit it with a sword. I think it's a good bet that this inconsistency with sword triggers was introduced along with the slash and slash/continuous combo types, but I don't know that for sure.

    The fix might be to make sword triggers continuous again. Unless all triggers didn't used to be continuous in past versions. If that's the case, then the fix is to make non-continuous triggers actually activate screen secrets and then do the same that was done for slash combo types to all trigger flags (continuous and non-continuous versions of them all).

    Maybe I'm just stupid and couldn't solve the room, but there was a room in Lost Isle I cheated my way through. It had looping tiered secrets that, if there is actually a version inconsistency and if the room was implemented in a certain way (I have no way to check how it was actually implemented), might have made the room unsolvable in 2.5? (I vaguely recall a sky dungeon, and I think the room was maybe near the upper-right corner of the map? But maybe plenty of people have played through Lost Isle on 2.5 with no problems and I'm just dumb for not figuring it out. The possibility of a version inconsistency that may or may not exist was in the back of my mind the whole time I was in that room and it was pretty distracting. Me being dumb is the more likely explanation here I think lol.)
    Last edited by CSD; 05-26-2017 at 05:26 AM.

  2. #2
    The Timelord
    QDB Manager
    ZC Developer

    Join Date
    Oct 2006
    Location
    Prydon Academy
    Posts
    1,396
    Mentioned
    112 Post(s)
    Tagged
    1 Thread(s)
    vBActivity - Stats
    Points
    4,781
    Level
    21
    vBActivity - Bars
    Lv. Percent
    73.06%
    Quote Originally Posted by CSD View Post
    I've been debating reporting this for a while b/c it seems like something that would be more of a pain for you guys than something that would actually make ZC better. Some of what I'm about to say here is just my best guess as to what's happening. There's a bug in there somewhere but I'm not sure exactly what it is or how to fix it? I don't think I've tested if there's been a change in behaviour since original 2.5.

    All trigger flags are 'continuous' except for sword triggers (I only tested this with looping secrets and not tiered secrets in general, but I'd guess it does apply more generally). When a sword trigger is used in a way where the continuousness of other triggers would apply, in addition to not behaving in a continuous manner, for some reason screen secrets are not activated. It's especially strange when the strike trigger is involved, because its behaviour differs depending on whether or not you hit it with a sword. I think it's a good bet that this inconsistency with sword triggers was introduced along with the slash and slash/continuous combo types, but I don't know that for sure.

    The fix might be to make sword triggers continuous again. Unless all triggers didn't used to be continuous in past versions. If that's the case, then the fix is to make non-continuous triggers actually activate screen secrets and then do the same that was done for slash combo types to all trigger flags (continuous and non-continuous versions of them all).

    Maybe I'm just stupid and couldn't solve the room, but there was a room in Lost Isle I cheated my way through. It had looping tiered secrets that, if there is actually a version inconsistency and if the room was implemented in a certain way (I have no way to check how it was actually implemented), might have made the room unsolvable in 2.5? (I vaguely recall a sky dungeon, and I think the room was maybe near the upper-right corner of the map? But maybe plenty of people have played through Lost Isle on 2.5 with no problems and I'm just dumb for not figuring it out. The possibility of a version inconsistency that may or may not exist was in the back of my mind the whole time I was in that room and it was pretty distracting. Me being dumb is the more likely explanation here I think lol.)
    This might be a bug, or it may be an oversight. I do not recall if sword triggers were ever continuous, but are you saying that strike triggers are continuous if hit by something other than a sword; or that sword triggers are continuous without slash?

    You can always try running the 'Lost Isle Build' to see if there is a mechanical difference, and if there is, and yo document it (video is best), then we can work to re-implement it.

    switch(zc_2.11b) {
    case @War Lord :
    case @DarkDragon :
    case @Gleeok :
    case @Saffith :
    case @DarkFlameWolf :

    Do any of you know if sword triggers were continuous in 2.11 or early 2.5?
    break;

    default: I don't remember. break; }

  3. #3
    Octorok
    Join Date
    Mar 2008
    Age
    35
    Posts
    128
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    vBActivity - Stats
    Points
    885
    Level
    10
    vBActivity - Bars
    Lv. Percent
    36.38%
    I'm saying that the strike trigger, ONLY if a sword is used to trigger it, is NOT continuous. It IS continuous when hit with anything other than a sword.
    It's strange to me also that these 'noncontinuous' sword triggers do not activate screen secrets.

    Here's an old bug report, coincidentally from the very person who made the room in lost isle that I was talking about earlier. This lost isle stuff isn't relevant, btw.
    http://www.armageddongames.net/showt...ehavior-(b816)

    It deals with the addition of the slash (continuous) combo types. Apparently, slash combos used to be continuous, they weren't anymore, and so the new combo types were added. Perhaps the same incompatibility bug also applied to sword triggers, but it was never noticed and corrected? That's my guess. Or I suppose the addition of the slash (continuous) combo types somehow changed the way sword triggers function.

    (That room in lost isle does have a slash (or sword trigger) in it, but the room works fine, it was just a mechanic that wasn't explained at all, and maybe I was out of arrows IDK.)
    Last edited by CSD; 05-28-2017 at 08:37 PM.

  4. #4
    Administrator DarkDragon's Avatar
    Join Date
    Oct 2001
    Posts
    6,228
    Mentioned
    70 Post(s)
    Tagged
    0 Thread(s)
    vBActivity - Stats
    Points
    11,047
    Level
    31
    vBActivity - Bars
    Lv. Percent
    10.7%
    I'm not sure, unfortunately. But if it breaks Lost Isle we should fix it. I've played through Lost Isle on a recent build and got fairly far without encountering any problems,so if there is an issue it's in the last few dungeons.

  5. #5
    Octorok
    Join Date
    Mar 2008
    Age
    35
    Posts
    128
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    vBActivity - Stats
    Points
    885
    Level
    10
    vBActivity - Bars
    Lv. Percent
    36.38%
    It doesn't. That room in question does have sword triggers in a tiered secret but I was randomly supposed to guess to use arrows on it; I thought it might have been a broken continuous sword trigger.

    This glitch is a weird inconsistency, especially when the Strike trigger is involved. And also it is very strange that the sword trigger will not activate screen secrets when used in a situation that would normally be continuous. I would call both of these things a bug, regardless of whether it ends up being a version inconsistency, but if it's consistent then I guess there's not much point in mucking around with it.

    By coincidence, it was Peteo that reported the bug where slash combos were no longer continuous, in 2008. Nobody seems to know what the behaviour was prior to that inconsistency being introduced, but I guess there are a lot of ways we could have ended up here. Perhaps the same bug was introduced with sword triggers and it was not noticed and corrected. Perhaps the change to fix the slash combos introduced a new bug. Perhaps there always used to be a difference in the way that sword triggers and slash combos worked and an old change unified the code between the two and introduced the version inconsistency, but if that's the case, why do sword triggers work different from other triggers? Just throwing out some random speculation... Nobody seems to know.

  6. #6
    The Timelord
    QDB Manager
    ZC Developer

    Join Date
    Oct 2006
    Location
    Prydon Academy
    Posts
    1,396
    Mentioned
    112 Post(s)
    Tagged
    1 Thread(s)
    vBActivity - Stats
    Points
    4,781
    Level
    21
    vBActivity - Bars
    Lv. Percent
    73.06%
    Quote Originally Posted by CSD View Post
    It doesn't. That room in question does have sword triggers in a tiered secret but I was randomly supposed to guess to use arrows on it; I thought it might have been a broken continuous sword trigger.

    This glitch is a weird inconsistency, especially when the Strike trigger is involved. And also it is very strange that the sword trigger will not activate screen secrets when used in a situation that would normally be continuous. I would call both of these things a bug, regardless of whether it ends up being a version inconsistency, but if it's consistent then I guess there's not much point in mucking around with it.

    By coincidence, it was Peteo that reported the bug where slash combos were no longer continuous, in 2008. Nobody seems to know what the behaviour was prior to that inconsistency being introduced, but I guess there are a lot of ways we could have ended up here. Perhaps the same bug was introduced with sword triggers and it was not noticed and corrected. Perhaps the change to fix the slash combos introduced a new bug. Perhaps there always used to be a difference in the way that sword triggers and slash combos worked and an old change unified the code between the two and introduced the version inconsistency, but if that's the case, why do sword triggers work different from other triggers? Just throwing out some random speculation... Nobody seems to know.
    @_L_ and @jman2050 might remember what was going on at that time. 2008 is that grey period in which I lost hope of 2.5 ever being finished, and went poof for a few years.

    I do not have snapshots of the source throughout the 2.5 beta cycle, so I have no way to go back and look at how it used to work.

  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%
    sword and wand triggers are not continuous, and never can be.
    They die after a set amount of frames; no exceptions, do to them updating Link's animation as well.
    All the other flags kill the weapon on contact with the exception of strike, which is the exception IIRC.
    Last edited by Tamamo; 06-24-2017 at 01:16 PM.

  8. #8
    The Timelord
    QDB Manager
    ZC Developer

    Join Date
    Oct 2006
    Location
    Prydon Academy
    Posts
    1,396
    Mentioned
    112 Post(s)
    Tagged
    1 Thread(s)
    vBActivity - Stats
    Points
    4,781
    Level
    21
    vBActivity - Bars
    Lv. Percent
    73.06%
    Quote Originally Posted by Tamamo View Post
    sword and wand triggers are not continuous, and never can be.
    They die after a set amount of frames; no exceptions, do to them updating Link's animation as well.
    All the other flags kill the weapon on contact with the exception of strike, which is the exception IIRC.

    This is probably true with the present handling of linkclass weapons. I still do not know, and it would be good to know, if they ever worked as continuous triggers in the past.

    Adding this feature would need to occur after a lot of other refactoring happens. If older quests did use them, and they did exist (and thus the quests are unplayable), we need to know about it.

  9. #9
    Is this the end?
    ZC Developer
    Saffith's Avatar
    Join Date
    Jan 2001
    Age
    41
    Posts
    3,389
    Mentioned
    178 Post(s)
    Tagged
    6 Thread(s)
    vBActivity - Stats
    Points
    6,452
    Level
    24
    vBActivity - Bars
    Lv. Percent
    73.21%
    Sword triggers were continuous in 2.10, but they aren't in 2.50.0. I don't know when exactly it changed. Shouldn't be hard to figure it out, I just can't check the logs right now.
    In LinkClass::check_slash_block(), comment out the lines
    Code:
    if(!isTouchyType(type)) set_bit(screengrid,i,1);
    and
    Code:
    if(!isTouchyType(type)) set_bit(ffcgrid, current_ffcombo, 1);
    and they should become continuous again. screengrid and ffcgrid are used to keep track of which combos have already been checked for the current attack.

  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%
    And this is why i dont support backwards compatibility, you devs wont make up your minds :s

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