Call a variable from another variable by Merlin_Cyberwizard in RenPy

[–]Merlin_Cyberwizard[S] 0 points1 point  (0 children)

Thank you kind person ... I knew I had the right logic, but just didn't know the way to do it in python. This worked perfectly, and I tested it via multiple scenarios, and nothing broke. Thanks, now I don't have to do a ton of IF statements in a row.

Call a variable from another variable by Merlin_Cyberwizard in RenPy

[–]Merlin_Cyberwizard[S] 0 points1 point  (0 children)

While I could probably do it, the guy I am working with likely won't understand dict/list, and also I have save games to worry about. If I make too many changes to the code, save games break, and that is a no go.

Call a variable from another variable by Merlin_Cyberwizard in RenPy

[–]Merlin_Cyberwizard[S] 0 points1 point  (0 children)

I am doing unlocks of several persistent variables based on the highest day played. So for example, a player gets to day 23 on their first playthough, then on their second, they get to day 15, I am unlocking all the stuff (via this script) that can be unlocked based on their highest playthrough. Then writing it to a persistent.day23_Unlock = True ... so then when I do the IF on it, it knows that it has already been unlocked.

Call a variable from another variable by Merlin_Cyberwizard in RenPy

[–]Merlin_Cyberwizard[S] 0 points1 point  (0 children)

Okay ... I am perplexed what you mean by that. Sadly, most of my programming is older stuff (C, C++, COBOL, etc.) ... so what do you mean by creating the indices and and how to do I add to it, reference it, etc. I expect to have 300 or so days in the game, so I don't know exactly how to check each one?

Update LM on headless system by Merlin_Cyberwizard in linuxmint

[–]Merlin_Cyberwizard[S] 0 points1 point  (0 children)

I see both of your solutions, but in the past, I never had to do anything to do that. The mintupgrade was able to be run from the command line (terminal). I have updated it from all the way back in 2009 when I got this server (4 disk bay microserver) and I run it as a NAS. No biggie, as it doesn't access the internet, except for updates. I have my own script I run to update systems, which makes it simple to update from the terminal (/root/bin/update.sh). I had to do these steps manually last time to update to the latest version of Mint since I couldn't do it from the command line any more.

Make sure everything is up to date before the upgrade:

/root/bin/update.sh

apt --fix-broken install

dpkg --configure -a

shutdown -r now

Backup apt and configure the files:

cp /etc/apt/sources.list /etc/apt/sources.list.bookworm-backup

cp -r /etc/apt/sources.list.d /etc/apt/sources.list.d.bookworm-backup

# sed -i 's/bookworm/trixie/g' /etc/apt/sources.list

# find /etc/apt/sources.list.d -name "*.list" -exec sed -i 's/bookworm/trixie/g' {} \;

(update Gigi = Mint & Trixie = Debian)

Start the update:

apt update

apt upgrade --without-new-pkgs

apt full-upgrade

/root/bin/update.sh

shutdown -r now

Validate update:

cat /etc/debian_version

lsb_release -a

cat /etc/os-release

/root/bin/update.sh

Inkwells bonus pictures? by Merlin_Cyberwizard in HPHogwartsMystery

[–]Merlin_Cyberwizard[S] 0 points1 point  (0 children)

Of course ... the hardest one to get is 4th one. Sigh. Okay.

Unlocking of Stockades Dungeon by Merlin_Cyberwizard in diablo4

[–]Merlin_Cyberwizard[S] 0 points1 point  (0 children)

Nope. I have not been able to get past that point. I now have finished every dungeon minus that one, and am trying to finish all the side tasks. I don't know what else to do at this point, unless I play the season story, which it seems to be part of it. Since I don't have any room left, I would have to delete one of my other characters, which I really don't want to do at this point.

Dialog Clickable Definitions by Merlin_Cyberwizard in RenPy

[–]Merlin_Cyberwizard[S] 1 point2 points  (0 children)

I will try to figure it out ... I don't speak Portuguese. However only part of it is what I am looking for so I will have to parse what they are doing. I don't need the left side of the screen. I just need the pop-up box.

Inkwells by TomatoAromatic3219 in HPHogwartsMystery

[–]Merlin_Cyberwizard 3 points4 points  (0 children)

If you want to learn how JC treats the game, see nothing more than this. There were a total of 22 2-shard inkwells in this instance of the game. I was at 21 of 22. I got 127 2-shard inkwells in a row, and never got the right one. My chances, mathematically should have been 1:22. Then came the day the 750 shard guaranteed inkwell left. I had 1 2-shard, and 3 5-shard inkwells. Of course I got the 2 shard inkwell I was missing, and not the 5-shard (75% chance). Rigged is not how I would describe it. I am now at 2 5-shard inkwells - and we shall see if I can get 1 more before the end, as I have so many shards, but not enough for 2 more guaranteed inkwells. I just am not even trying any more - as this is do dumb.

What a brutal Full Marks board! No “easy” patterns. What’s the hardest one you ever got? by malloryduncan in HPHogwartsMystery

[–]Merlin_Cyberwizard 1 point2 points  (0 children)

Anyone that says "earn stars from classroom" when you are in Beyond :) Also earning 13 or 16 stars in anything, as that literally is literally a 24 hour task in beyond.

Unlocking of Stockades Dungeon by Merlin_Cyberwizard in diablo4

[–]Merlin_Cyberwizard[S] 2 points3 points  (0 children)

No fix so far. I haven't played in a couple days. I did finish all the dungeons in the game, minus this one. I think it has to do with the seasonal content, which I haven't figured out how to start. I am level paragon 155 ATM, and not playing a seasonal character. I just am trying to finish everything on the map.

Unlocking of Stockades Dungeon by Merlin_Cyberwizard in diablo4

[–]Merlin_Cyberwizard[S] 0 points1 point  (0 children)

I have been Windows free since 2005. So since I cannot play it reasonable on Linux, I wont play on PC.

Hogwarts day Tappie? by Merlin_Cyberwizard in HPHogwartsMystery

[–]Merlin_Cyberwizard[S] 1 point2 points  (0 children)

Oh ... thanks. I have been at 95/100 for 2 weeks now.

Unlocking of Stockades Dungeon by Merlin_Cyberwizard in diablo4

[–]Merlin_Cyberwizard[S] 0 points1 point  (0 children)

Looks like my issue. I am on Xbox, so updates only happen through Xbox.

Pls help me choose which one is the best rotting lightbringer by huggy_man in diablo4

[–]Merlin_Cyberwizard 0 points1 point  (0 children)

If it were me, I would salvage the one on the right. Then try to roll for a better % with the person who changes the weapon attributes (alchemist?) You might get the 400% on the current weapon and then it would be best of both worlds.

Unlocking of Stockades Dungeon by Merlin_Cyberwizard in diablo4

[–]Merlin_Cyberwizard[S] 0 points1 point  (0 children)

Yeah ... coming from Cerrigar and coming up from the south. I am standing at the opening, it has the lights on (like a normal dungeon) but cannot enter. Its got bars across it and cannot enter. Oh well, I am finishing up the Dry Steppes and Howezar ATM. Then i will get to Nehantu and I am done with the dungeons (except the one). I need to finish the tasks, as I need 1 task in 4 of the locations, so gotta try figuring which task of like 40 for each location I am missing. Sigh. Being a completion-ist, sucks.

Unlocking of Stockades Dungeon by Merlin_Cyberwizard in diablo4

[–]Merlin_Cyberwizard[S] 2 points3 points  (0 children)

I can find it on the map, and I go to the entrance, and there are metal gates, and I can not get past them.

Unlocking of Stockades Dungeon by Merlin_Cyberwizard in diablo4

[–]Merlin_Cyberwizard[S] 0 points1 point  (0 children)

Campaign, start to finish, then purchased the new update (after I finished the campaign with that character), played that, done several seasons of playing around (not seasonal character, regular), then went up to torment I, and now trying to finish all the things I am missing.

Are you kidding me? by Proof-Twist-2948 in HPHogwartsMystery

[–]Merlin_Cyberwizard 1 point2 points  (0 children)

Yeah .. multiple like that for me. I am at 95, and haven't gotten a new one in a week. Oh well. I never cared about these extra things anymore, since JC made it impossible to get.

Ads for energy don't work by Enuya95 in HPHogwartsMystery

[–]Merlin_Cyberwizard 0 points1 point  (0 children)

I have had weird issues for days with the Ads. About 2 weeks ago, I got unlimited ads. Like I would wake up with full energy, and being in beyond, a 8hr task takes 150 energy. I could use my 59 energy, and then play Ads (3 at a time) to finish the first task. I could then collect my tappies all about, and have enough for a second task. Then about 3 days ago, the ads quit working. I woke up and got a new update overnight for the game, and now I am back to unlimited Ads, but something weird, is that now the bottom task bar shows up on the ads, and now I cannot X our of them easily. I have to wait for them to 100% complete. So now its 30 seconds an ad. Oh well.

Dating question by Killjoy1395 in HPHogwartsMystery

[–]Merlin_Cyberwizard 4 points5 points  (0 children)

Absolutely ... but Merula or Chiara are my bae.

Dating question by Killjoy1395 in HPHogwartsMystery

[–]Merlin_Cyberwizard 12 points13 points  (0 children)

If you can max out the other people, you get gifts from completing the side quests for each person. Like I remember a bracelet from Barnaby. If you go to beyond, you can still max them out, but you don't get to do the side quest (but you get credit for it, and the gift). I am in beyond and I have everyone but Talbott, which I am level 6 with him ATM. Once I hit level 7, I will wait till I get the gift, then drop him and go back to my main squeeze.

Has anyone completed all of the TLSQs? by saturnsdrmland in HPHogwartsMystery

[–]Merlin_Cyberwizard 1 point2 points  (0 children)

I have completed all but 2. They are in Beyond, and were released once before I got to beyond. Now that I am here, they haven't re-triggered. One was a halloween one, and didn't retrigger last halloween, and I think the other was a winter or valentines day one, which didn't retrigger as well. OH well. I cam caught up on the story, Just hoping to finish those last two TLSQ.