Page 3 of 4 FirstFirst 1 2 3 4 LastLast
Results 21 to 30 of 31

Thread: September 2019 IotM - Pocket Professor

  1. #21
    Senior Member
    Join Date
    Jun 2016
    Posts
    356

    Default

    Oh, that's why mafia was failing to pick up my semi-rares.

    The problem seems to be not with when it's set to true, the problem is that gets set to false ONLY when you run into a semi-rare while it's true. This is fine when you are copying a semi-rare monster like a knob embezzler.
    However if you copy something that's not a semi-rare, it (correctly) gets set to true at the end of the fight, but then doesn't go back to false when you chain into the next fight. Instead it stays that way until you finally pick up a semi-rare, however many turns later. Which is then considered your relativity fight, rather than your actual semi-rare, throwing off mafia's semi-rare tracking in the process.

    For example:
    Code:
    [48] The Haunted Bathroom
    Encounter: sausage goblin
    Round 2: the dictator casts LECTURE ON RELATIVITY!
    Preference _pocketProfessorLectures changed from 0 to 1
    Round 6: the dictator wins the fight!
    Preference _relativityMonster changed from false to true
    
    [48] The Haunted Bathroom
    Encounter: sausage goblin
    Round 2: the dictator casts LECTURE ON RELATIVITY!
    Preference _pocketProfessorLectures changed from 1 to 2
    Round 6: the dictator wins the fight!
    
    [48] The Haunted Bathroom
    Encounter: sausage goblin
    Round 5: the dictator wins the fight!
    
    [65] The Haunted Gallery
    Encounter: sausage goblin
    Round 2: the dictator casts LECTURE ON RELATIVITY!
    Preference _pocketProfessorLectures changed from 2 to 3
    Round 5: the dictator wins the fight!
    
    <I snipped out a couple>
    
    [65] The Haunted Gallery
    Encounter: sausage goblin
    Round 2: the dictator casts LECTURE ON RELATIVITY!
    Preference _pocketProfessorLectures changed from 6 to 7
    Round 5: the dictator wins the fight!
    
    [65] The Haunted Gallery
    Encounter: sausage goblin
    Round 4: the dictator wins the fight!
    
    [76] The Hidden Temple
    Encounter: Baa'baa'bu'ran
    Preference _relativityMonster changed from true to false
    After this it got set to true when I copied a swarm of ghuol whelps and a bunch of other sausage goblins, and it only went back to false when I logged in after rollover (since it is a daily property).

    Compared to this from a couple of days ago:
    Code:
    [2919] Rain-Doh box full of monster
    Encounter: Knob Goblin Embezzler
    Round 2: the dictator casts LECTURE ON RELATIVITY!
    Preference _pocketProfessorLectures changed from 0 to 1
    Round 4: the dictator wins the fight!
    Preference _relativityMonster changed from false to true
    
    
    [2920] null
    Encounter: Knob Goblin Embezzler
    Preference _relativityMonster changed from true to false
    Round 2: the dictator casts LECTURE ON RELATIVITY!
    Preference _pocketProfessorLectures changed from 1 to 2
    Round 4: the dictator wins the fight!
    Preference _relativityMonster changed from false to true
    
    <snip> 
    
    [2935] null
    Encounter: Knob Goblin Embezzler
    Preference _relativityMonster changed from true to false
    Round 2: the dictator casts LECTURE ON RELATIVITY!
    Preference _pocketProfessorLectures changed from 15 to 16
    Round 4: the dictator wins the fight!
    Preference _relativityMonster changed from false to true
    
    [2936] null
    Encounter: Knob Goblin Embezzler
    Preference _relativityMonster changed from true to false
    Round 4: the dictator wins the fight!
    Last edited by the dictator; 11-11-2019 at 04:54 AM.

  2. #22
    Developer Veracity's Avatar
    Join Date
    Mar 2006
    Location
    The Unseelie Court
    Posts
    12,304

    Default

    This is, literally, something that I will never, ever, use myself, so I will depend on you guys to figure out if what I submit is correct, since I will not test it.

    I'll see what I can do.

  3. #23
    Developer Veracity's Avatar
    Join Date
    Mar 2006
    Location
    The Unseelie Court
    Posts
    12,304

    Default

    I have a fix, but sourceforge is down.
    I will submit it later.

  4. #24

    Default

    This should be the effect of _relativityMonster being seen as true at the start of a (any) fight:

    -Get it back to false

    -if it's a semi-rare monster, disregard that fact that this is a semi-rare

    -If it is a monster that has its number of fights tracked, such as a sausage goblin, a witchess piece, a black crayon monster or a mini-hipster monster, DO NOT increment the counter (NEED HELP FOR THAT ONE, doesn't need a genius to see that I'm only thinking of (limited) free fights here, and there is very likely fights that are tracked as a "progress" towards something, and implementing things the way I said it on that line will most likely break stuff, need help/correction first) (also i'm maybe forgetting stuff)

  5. #25

    Default

    Interesting deduction. I wonder what the basis for it is?

    Actually, I have, literally, no idea how you got what you got, given how you explained it to me before, which informed how I implemented it.

    We set _relatvityMonster to true in exactly one place:

    You win a fight and the message "STEP INTO FOLD IN SPACETIME" is present in the response text.

    In other words, there is a "next" link which will take you immediately into a fight.

    You are telling me that you did NOT get a fight, but, instead, when you clicked that link, it took you to a non-combat?

    That is exactly how you described this working. NOT.

    More information, please. What, exactly, did you do?
    Originally Posted by Veracity View Post
    also, yeah, this was supposed to be a continuation from the previous post (even though it was a week ago), in which I noticed that _relativityMonster was simply not being set to false when starting the relativity fight, and was just... staying true... indefinitely

    So I just pointed out "Oh, so THIS is when it gets set to false".

    I guess the week-long gap between the two made the connection ambiguous...

  6. #26
    Developer Veracity's Avatar
    Join Date
    Mar 2006
    Location
    The Unseelie Court
    Posts
    12,304

    Default

    Revision 19604.

    This checks for isRelativityMonster every time is classifies the encounter. If so, it sets it to false and says to ignore Special monsters - which will make semirares ignore it.

    Untested. (I'm in a 100% Emo Roe run, and see no particular reason to switch familiars until I ascend again after getting all the glitchSwagger I need for a second glitch reward.)

  7. #27
    Developer Veracity's Avatar
    Join Date
    Mar 2006
    Location
    The Unseelie Court
    Posts
    12,304

    Default

    -If it is a monster that has its number of fights tracked, such as a sausage goblin, a witchess piece, a black crayon monster or a mini-hipster monster, DO NOT increment the counter (NEED HELP FOR THAT ONE, doesn't need a genius to see that I'm only thinking of (limited) free fights here, and there is very likely fights that are tracked as a "progress" towards something, and implementing things the way I said it on that line will most likely break stuff, need help/correction first) (also i'm maybe forgetting stuff)
    Originally Posted by fredg1 View Post
    What I submitted will probably not do that for sausage goblins, but the others are under "EncounterManager.ignoreSpecialMonsters", so should behave correctly.
    Do sausage goblins get counted incorrectly for copied monsters, too? Looks like they would. If that is incorrect, the same check should be made for them.
    Ph'nglui mglw'nafh Cthulhu
    R'lyeh wgah-nagl fhtagn.

  8. #28
    Developer Veracity's Avatar
    Join Date
    Mar 2006
    Location
    The Unseelie Court
    Posts
    12,304

    Default

    (Try revision 19605)
    Ph'nglui mglw'nafh Cthulhu
    R'lyeh wgah-nagl fhtagn.

  9. #29

    Default

    That's mostly because they don't have a "limit", per se.

    Instead, the more you fight them (naturally), the lower the chance of getting another/the more turns you need to wait to get the chance to 100%

    So for those unaware of that fact/that don't remember what chance of getting one is at what amount of goblins fought (a.k.a. those not using Ezandora's handy-dandy guide), it seems like they'll just keep randomly appearing forever. (they technically will, but if so, you're either a dev, or getting reported for hacking)

  10. #30

    Default

    Confirming that revision 19605 properly ignores sausage goblins during relativity fights.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •