News:

Please request registration email again and then check your "Spam" folder

Former www.henthighschool.com

[Resources] Trait King mod

Started by neronero, May 16, 2022, 08:26 PM

Previous topic - Next topic

Pekpuuu

Dedicated is defined twice, both as gold and positive trait. Having the same name causes messes with generation and can create original girls with no gold trait. Funnily enough the gold trait is supposed to be worse.

Albatross

This is still working for the latest version?

Jman

Can't see why it shouldn't be.
And with strange aeons even death may die...

Tomsunyu

I'm sorry, but an uncaught exception occurred.

While running game code:
  File "game/Mods/Trait King/Trait King.rpy", line 249, in script
    init python:
  File "game/Mods/Trait King/Trait King.rpy", line 251, in <module>
    traitking_template = Mod(
TypeError: __init__() got an unexpected keyword argument 'early_label'

-- Full Traceback ------------------------------------------------------------

Full traceback:
  File "game/Mods/Trait King/Trait King.rpy", line 249, in script
    init python:
  File "H:\KIKI小屋\楼王\楼王\楼王v3.0\合\楼王v3.0\Brothel_King-pc3.0\renpy\ast.py", line 1138, in execute
    renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
  File "H:\KIKI小屋\楼王\楼王\楼王v3.0\合\楼王v3.0\Brothel_King-pc3.0\renpy\python.py", line 1122, in py_exec_bytecode
    exec(bytecode, globals, locals)
  File "game/Mods/Trait King/Trait King.rpy", line 251, in <module>
    traitking_template = Mod(
TypeError: __init__() got an unexpected keyword argument 'early_label'
I don't know how to solve it

Jman

#124
Use 0.3 and a more current update.
And with strange aeons even death may die...

ducas

I got the same thing im using the 0.3t version. is the problem that the mod hasn't been updated for this version yet?

I'm sorry, but an uncaught exception occurred.

While running game code:
  File "game/Mods/Trait King/Trait King.rpy", line 249, in script
    init python:
  File "game/Mods/Trait King/Trait King.rpy", line 251, in <module>
    traitking_template = Mod(
TypeError: __init__() got an unexpected keyword argument 'early_label'

-- Full Traceback ------------------------------------------------------------

Full traceback:
  File "game/Mods/Trait King/Trait King.rpy", line 249, in script
    init python:
  File "D:\pppp2\Brothel_King-pc-0.3t\Brothel_King-pc\renpy\ast.py", line 823, in execute
    renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
  File "D:\pppp2\Brothel_King-pc-0.3t\Brothel_King-pc\renpy\python.py", line 1178, in py_exec_bytecode
    exec(bytecode, globals, locals)
  File "game/Mods/Trait King/Trait King.rpy", line 251, in <module>
    traitking_template = Mod(
TypeError: __init__() got an unexpected keyword argument 'early_label'

Windows-10-10.0.22631 AMD64
Ren'Py 8.2.0.24012702
Bro King
Tue Mar 25 19:36:12 2025

Jman

#126
Probably not the latest update, since your BK seems to not even have a version. The 'early_label' bit was added later in one of the updates. Merely '0.3t' won't cut it, since this includes something like half a year's worth of patches.

So the problem is that the mod is updated and your game isn't. :)
And with strange aeons even death may die...

Albatross

I am using this in the latest version, seems to be working well for now.

黑白院清罗

I think the probability of golden traits appearing is too low. How can I increase the probability of golden traits appearing in all girls?

Jman

Decrease 'traitking_t1_chance' and 'traitking_t2_chance' (and possibly also other 'traitking_t[number]_chance' entries if you go below 85). Or increase the 'traitking_t[number]_gold' values for those entries that are 0.
And with strange aeons even death may die...

黑白院清罗

I tried to change the values of  'traitking_t1chance' and 'traitking_t2chance'  in   Trait King.rpy  , but still couldn't significantly increase the probability of the golden trait appearing

Jman

#131
What did you change them to?

Only works on a new game, I think. Console 'traitking_t1chance = 50' to alter an ongoing game (and save to make the change stick). Traitking reactivation is probably too problematic to try.
And with strange aeons even death may die...

neroneroTopic starter

Sorry I've been MIA for so long  :'(

I'm doing well, but life has kept me busier than I ever thought I'd be. And I expect it'll stay that way for the rest of this year at least.
My Girl Packs: [ link ] - Trait King mod: [ link ]

Goldo

Quote from: neronero on Jun 09, 2025, 08:47 AMSorry I've been MIA for so long  :'(

I'm doing well, but life has kept me busier than I ever thought I'd be. And I expect it'll stay that way for the rest of this year at least.

Glad to see you anyway!
Maker of BK. Looking for the latest patch for BK 0.2? The link doesn't change, so bookmark it!