omgholycrap
New member
For some reason Mafia isnt remembering my demon names. I just unlocked the sinister tablet name and I use the meat drop bonus demon name all the time. How do i get mafia to fix this?
That used to work. AdventureRequest.demons includes a "tell-tale string" for each demon that is found in the text you get when you summon a demon. And there is code to search for such strings in AdventureResult.registerDemonName(). Unfortunately, that method got changed at some point such that that code will never execute any more.Is this a request for Mafia to pick up Demon names from using them, rather than from learning them, perhaps?
You are asking me if there was a "good reason" for accidentally breaking existing code?Ruby Eyes said:Was there any good reason for this? Because I did find it a nice and easy way to tell mafia my demon names one by one, just summoning them
Well, looking harder at the previous code, I do think it should have worked - but it was unclear from the structure. My recent submit should make it easier to understand:I was under the impression that that code still executed? At least, it seems to have when I recently summoned a demon.
for all known demons
if you can find a demon in the current location
if you found the "new demon" message
remember that we found demon # x
if you didn't find a new demon and you are in the Summoning Chamber
for all known demons
if we recognize the text for summoning this demon
remember that we summoned demon #x
if we found a demon and the name is different than we had stored
log the demon name
save the demon name in the appropriate setting.
The only way I can see Mafia "forgetting" a name - i.e., replacing the name in the preferences file with "" - is if you try to summon "" and we somehow thought the response text matched that of demon # x. I don't believe it. I suppose I could try it. I, too, keep my demon names in my quest log as backup...Mafia used to know all my demon names, but has forgotten some over time.
Nothing has changed - ever - to make it more likely - or even possible - for mafia to selectively "forget" demon names.Right now I'm using build 9744.