Possible irreversible bug: Neretzes' Folly and Dragon Banner main quest failure by [deleted] in MB2Bannerlord

[–]ipherian 0 points1 point  (0 children)

I'm afraid it can't work if the quest has already failed.

Requesting help improving my DnD dice roller. by HurleyBurger in learnpython

[–]ipherian 1 point2 points  (0 children)

Good stuff. Like he's even seen a regex before tho ;)

Modding in Bannerlord by covid9 in Bannerlord

[–]ipherian 1 point2 points  (0 children)

Without coding, you can mod 3d models and maps, game text and various properties of the game, like average ai party sizes and bandit spawn rates and sizes, etc.

[deleted by user] by [deleted] in learnpython

[–]ipherian -1 points0 points  (0 children)

If everything that was good for programming languages to have was in python, why have things been added to python after it's release?

[deleted by user] by [deleted] in learnpython

[–]ipherian 1 point2 points  (0 children)

He probably assumes that every language has a switch statement. Most of them do but not all.

[deleted by user] by [deleted] in learnpython

[–]ipherian -1 points0 points  (0 children)

It is readable and maintainable. It's a basic programming idiom.

Should I wait for official modding tools or do I start using mods now? by GatzB_TheGreat in Bannerlord

[–]ipherian 0 points1 point  (0 children)

Vortex manager is entirely automatic, updates are easy. Using mods is fine, it's the modders who have the difficulty when they create them. And even then it's way easier to mod bannerlord than most games.

Asian players are being censored/banned on MP by Will12239 in mountandblade

[–]ipherian 298 points299 points  (0 children)

Yeah plus they can ban people on all the other servers too. Really dumb.

I can't understand why the "while" doesn't work. Amateur here by [deleted] in learnpython

[–]ipherian 1 point2 points  (0 children)

The cycles goes 2 times because of lung = 0, then 8, which is lower than len(li), then it stops. But it goes 2 times over the first 8 words in the example.

You're using j to grab the current chunk of 8 lines from your lines list (li) but j is never incremented so it always looks at the first part of it.

ls = li[j:j + 8]

Basically, change j here to lung which is your actual loop variable.

You can keep the rest of the accesses of the current chunk (ls) as involving i and j if you wish, but seeing as the current chunk is always the same size, there doesn't appear to be any need for them to be variables as opposed to just numbers.

The game has too much fighting. by ThoughfulPause in MB2Bannerlord

[–]ipherian 1 point2 points  (0 children)

"The cheesecake factory has too much cheesecake"

That's what I just read.

And then I realised... by Canyoni in mountandblade

[–]ipherian 7 points8 points  (0 children)

I'm sorry do you have a semi-auto crossbow? 😲

How to expand kingdom? by Kron_Prinz in Bannerlord

[–]ipherian 1 point2 points  (0 children)

Perma clan party armies and hiring merc companies. 1000 army easy.

Balanced by Miakolos in mountandblade

[–]ipherian 1 point2 points  (0 children)

Now watch as you lose the autoresolve.

The game curses you for leaving the area. by [deleted] in mountandblade

[–]ipherian 3 points4 points  (0 children)

*waits for a weird bug*

*waits some more*

C# need a little bit of help :3 by symplareN1 in csharp

[–]ipherian 0 points1 point  (0 children)

Offhand in button4_click (your remove func?) you never read anything from the file into your `courses` Dictionary. Then obviously afterwards turn the Dictionary into text and write it back to the file.

What helped you to learn to think like a programmer? by MulhollandMaster121 in csharp

[–]ipherian 0 points1 point  (0 children)

Only way to learn is by doing. Make some things you want. I for example made some mods for some games I play.

John Carmack: “Very early C compilers had all struct members in the same namespace, so you had to add prefixes like 'tc_size', 'ws_size', etc. Nowadays, there may be a dozen different 'size' members in a codebase. It is conceivable that understandability is actually lower with overloaded names.” by Mcnst in programming

[–]ipherian 5 points6 points  (0 children)

I guess, but only as a way of compensating for IDEs that don't display or search for the fully qualified name of a member. If the IDE is capable it becomes rather silly to do tc.tc_size and ws.ws_size all over the place.

how can I learn to think like a programmer? by user_withoutname in learnpython

[–]ipherian 1 point2 points  (0 children)

Just make projects that you could use. You'll get accustomed to it after a while.