Battle Brothers
0 of 0

File information

Last updated

Original upload

Created by

Enduriel and MSU Team

Uploaded by

Endur1el

Virus scan

Safe to use

Tags for this mod

40 comments

  1. Endur1el
    Endur1el
    • premium
    • 31 kudos
    Locked
    Sticky
    If you run into issues with modern hooks, be sure to upload your log file (found in Documents/Battle Brothers/log.html) to a file host somewhere, and link it with your report, without your log file there is almost nothing I can do.

    IF THERE ARE MODS THAT REQUIRE MOD HOOKS, YOU WILL STILL NEED TO INCLUDE MOD HOOKS IN YOUR MODLIST. THIS CAN BE SAFELY RUN ALONGSIDE MOD HOOKS

    DOES NOT CONFLICT WITH MODDING SCRIPT HOOKS
  2. AdamMil01
    AdamMil01
    • premium
    • 49 kudos
    Thanks for carrying on the torch. At the time of the original mod_hooks, much was unknown about how the game worked, especially the details and inner workings of its custom class system, and some of what was "known" turned out to be subtly incorrect or broken by later changes to the game. As a result, the original design of mod_hooks was somewhat flawed, but those flawed bits were kept around in the interest of backwards compatibility. It was also unclear what features modders would need; several features were basically never used by anyone, while some useful features were never added...

    It's nice that you can make a clean start with all that we now know. Good luck with the modding and keep up the good work!
    1. Endur1el
      Endur1el
      • premium
      • 31 kudos
      Obviously none of this would have been possible without you, the entire modding community owes you pretty much everything.

      The inner workings of BB are pretty unique with a bunch of weird stuff that goes on so the fact you couldn't get it all in a few months when it took us years is perfectly understandable. (The logic behind WHY some of it is the way it is still escapes me but oh well)

      Modern Hooks 100% learns a lot from mod hooks, and the original API I had in mind for it sucked. It's only with significant feedback from others in the community that it arrived at the form it's at right now, which imo is actually really neat.

      I hope you end up taking another look at modding BB (saw you launch the game a couple times :P) and potentially give some feedback on modern hooks if you're feeling extra generous and decide to use it.

      Wish you all the best and thanks ^^
  3. hamidR7
    hamidR7
    • member
    • 0 kudos
    bro Endur1el,
    thank you so much for all the effort you've put into modding this game, I dont use all your mods but I love the ones I do.
    thanks again and stay healthy <3
  4. Bodiane
    Bodiane
    • member
    • 0 kudos
    Does this somehow conflict with the "modding script hooks" ?
    1. Endur1el
      Endur1el
      • premium
      • 31 kudos
      IF THERE ARE MODS THAT REQUIRE MOD HOOKS, YOU WILL STILL NEED TO INCLUDE MOD HOOKS IN YOUR MODLIST. THIS CAN BE SAFELY RUN ALONGSIDE MOD HOOKS
      I guess that wasn't clear enough, will add does not conflict with modding script hooks
  5. RayEt40
    RayEt40
    • member
    • 0 kudos
    Hello. Tell me, please, how can I use Modern Hooks to edit the asset_manager file, the "local slave" variable of the update function, without completely rewriting the function itself?
    1. Endur1el
      Endur1el
      • premium
      • 31 kudos
      If you'd like specific help like this then you should join the BB Modding Discord and ask around there. Either I or someone else will help you out, I don't really like helping with specific issues in a forum format.
  6. Doncuneo
    Doncuneo
    • member
    • 0 kudos
    Please confirm, does this help with LEGENDs? and its Submod SELSWORDS 

    Why should I use it instead of modding script hooks? 
    1. Doncuneo
      Doncuneo
      • member
      • 0 kudos
      any reply?
       
    2. N4rcus
      N4rcus
      • member
      • 0 kudos
      Unless LEGENDS and SELSWORDS require Modern Hooks, it makes no difference to you.
      But you can assume that new mods or updates will use Modern Hooks, in which case you would also have to use/download Modern Hooks.

      Modern Hooks is for the modders and only indirectly for the players - at least that's how I understand it
    3. Endur1el
      Endur1el
      • premium
      • 31 kudos
      PeterLaMeter is exactly correct, just make sure you download modern hooks for mods that require it. That is all, nothing more complicated there.
  7. blackhuskyy
    blackhuskyy
    • supporter
    • 0 kudos
    Kind of curious what this could do for the future of battle brothers modding.
    1. Endur1el
      Endur1el
      • premium
      • 31 kudos
      So fundamentally, this doesn't really enable anything that would have been impossible before (this is technically untrue but as far as users are concerned mostly accurate), although I say that having experienced years of finding super specific solutions for the edge case scenarios the engine forced onto us, which will mostly be unnecessary using modern hooks. It should make it much easier to start modding, easier to make mods without bugs, and much easier to debug mod compatibility, and specifically that last point is something I could even improve over time as I should be able to add additional validations as people make suggestions.

      On the other hand MSU 1.3 will finally add the ability to persistently store data without bbparser so get TaroEld to work on reviewing stuff so we can release :P
  8. CrackJacks
    CrackJacks
    • member
    • 0 kudos
    tnf_NewChampions is crashing the game due to something about Index "Webknecht" not existing in queue 1
    1. Endur1el
      Endur1el
      • premium
      • 31 kudos
      If you run into issues with modern hooks, be sure to upload your log file (found in Documents/Battle Brothers/log.html) to a file host
      somewhere, and link it with your report, without your log file there is almost nothing I can do.
    2. CrackJacks
      CrackJacks
      • member
      • 0 kudos
    3. Endur1el
      Endur1el
      • premium
      • 31 kudos
      That is frankly the most mind-boggling log I've ever seen. First off there is a bug in retirement home https://www.nexusmods.com/battlebrothers/mods/590. You should show the mod author your log, their scripts/!mods_preload/mod_retirement_home_desensitized requires that Sato's of flesh and faith + be installed, otherwise it will spit out errors in the log and not work. Secondly there does seem to be some error in tnf_NewChampions, but you don't actually seem to have the file in your list

      Unexpected file or directory found: tnf_17FatigueNimble-69-1-1-1566748427.zip
      09:07:00IO
      Unexpected file or directory found: tnf_allPoleAP-69-1-1-1598708912.zip
      09:07:00IO
      Unexpected file or directory found: tnf_ammoThrowSpear-69-1-1-1566748354.zip
      09:07:00IO
      Unexpected file or directory found: tnf_betterEagleEyes-69-1-1555455157.zip
      09:07:00IO
      Unexpected file or directory found: tnf_debugMode-69-1-4-1607140694.zip
      09:07:00IO
      Unexpected file or directory found: tnf_expandedRetinue-69-1-0-1647255576.zip
      09:07:00IO
      Unexpected file or directory found: tnf_fixAmbitionUpdate-69-1-3-1647177601.zip
      09:07:00IO
      Unexpected file or directory found: tnf_greenskinsNamedWeapons-69-1-0-1649426739.zip
      09:07:00IO
      Unexpected file or directory found: tnf_moreMilitia-69-1-1575728144.zip
      09:07:00IO
      Unexpected file or directory found: tnf_namedShields-69-1-3-1649111438.zip
      09:07:00IO
      Unexpected file or directory found: tnf_oldNorseHelmet-69-1-2-1593786690.zip
      09:07:00IO
      Unexpected file or directory found: tnf_resolveConfident-69-1-1554915467.zip
      09:07:00IO
      Unexpected file or directory found: tnf_revisedNamedItems-69-1-0-1649083754.zip
      09:07:00IO
      Unexpected file or directory found: tnf_seedAnalyzer-69-1-1-1575649411.zip
      09:07:00IO
      Unexpected file or directory found: tnf_triesBowyer-69-1-1-1610832280.zip
      09:07:00IO
      Unexpected file or directory found: tnf_trueNightOwl-69-1-1555455263.zip

      None of these are tnf_newChampions, and yet somehow you have their file executing? Finally there is no reference to a Webknecht in the actual tnf_newChampions file, so I have no idea wtf is happening in your modlist. Did you get your tnf_newChampions file somewhere else?

      PS: Please do not convert the html file into a txt file, it makes it much harder to read.
    4. CrackJacks
      CrackJacks
      • member
      • 0 kudos
      my bad man, if I can recall the Mod: Universal Helmets Extended had it integratedm into their mod which I think is where its located.
  9. TomCrane
    TomCrane
    • supporter
    • 0 kudos
    Hey Endur1el, thank you for all the work you've put into BB modding. I consider most of your mods required for my playthroughs.

    I wanted to use some of your updated mods that require Modern Hooks alongside Emo's SellSwords Updated, but I get this error. I only get this when I have Modern Hooks, SSU loads fine without it.
    
    https://imgur.com/BUwHtDV

    Thanks!
    1. Endur1el
      Endur1el
      • premium
      • 31 kudos
      This is an annoying error caused by a bug in squirrel. I'm working on a workaround right now but if anyone else gets something similar try to just restart the game. It should fix itself. Sorry about that
    2. TomCrane
      TomCrane
      • supporter
      • 0 kudos
      Thanks, I'll look out for your fix!
    3. TomCrane
      TomCrane
      • supporter
      • 0 kudos
      Your update seems to have solved this, thanks!
    4. Endur1el
      Endur1el
      • premium
      • 31 kudos
      Happy to hear it, with 0.4.5 I have now fixed all issues that popped up so far, big launches of complicated things are rough lmao
    5. TomCrane
      TomCrane
      • supporter
      • 0 kudos
      Congrats, it looks like quite the undertaking!
  10. tbonex28b
    tbonex28b
    • premium
    • 18 kudos
    Hello and thank you for the Modern Hooks. This very well may be an error on my part. I am using the latest versions of Clever Recruiter, EIMO, and Settlement Situations MSU. I also am using MSU 1.2.7. For some reason, Fatal Errors occur:

    1. Endur1el
      Endur1el
      • premium
      • 31 kudos
      Could you provide your log so I could attempt to solve this?
    2. tbonex28b
      tbonex28b
      • premium
      • 18 kudos
      Yes. I will provide a log. Thank you for your response and help.

      The logs are located here:

      https://file.io/8ObywBTDXtu9
    3. Endur1el
      Endur1el
      • premium
      • 31 kudos
      Unfortunately when I try to open the link I get the error message "The transfer you requested has been deleted."
    4. tbonex28b
      tbonex28b
      • premium
      • 18 kudos
      My apologies. Reuploaded.

      https://filebin.net/zex24wh41tqxhjyf
    5. Endur1el
      Endur1el
      • premium
      • 31 kudos
      I should be able to work with that, but could you explain what you do to the log to change it into a .txt file?
    6. Endur1el
      Endur1el
      • premium
      • 31 kudos
      I see the problem though, this does not replace mod_hooks for mods that require it, and can be run alongside mod hooks. If there are mods that require mod hooks you will still need to have it included in your modlist.

      Edit: this is also why with legends you don't have any issues, because legends has mod_hooks included.
    7. tbonex28b
      tbonex28b
      • premium
      • 18 kudos
      Hello. Thank you for this information.

      To change the log into a txt file, I simply copy the information from the original log over to a .txt document and save.

      Mod hooks need to be included into the modlist? Got it. Thank you so much!

      Edit: Thanks to your guidance, it is working just fine now :).
    8. Endur1el
      Endur1el
      • premium
      • 31 kudos
      I see, just so you're aware, there is no need to do that, and it makes it harder to read the log, just leave the log in it's original format in the future ^^
    9. tbonex28b
      tbonex28b
      • premium
      • 18 kudos
      Good to know. Will leave in original format in the future. Thank you again.
  11. Kageuraufc
    Kageuraufc
    • member
    • 0 kudos
    It seems that it doesn't work with legends because the new settlement notifications msu mod doesn't show the details
    1. Endur1el
      Endur1el
      • premium
      • 31 kudos
      Could you provide your log so I could take a look at solving this?
    2. Kageuraufc
      Kageuraufc
      • member
      • 0 kudos
      When I install modern hooks, the black screen of the legends team appears saying that I didn't need to install a hooks, and when I just install the new msu settlements mod, the details do not appear
    3. Endur1el
      Endur1el
      • premium
      • 31 kudos
      Please provide your log which you can find in Documents/Battle Brothers/log.html, I cannot help you without a log.
    4. Kageuraufc
      Kageuraufc
      • member
      • 0 kudos
      I sent you on discord