Bannerlords M&B

Ask about cheats/tables for single player games here
cocotoon
Cheater
Cheater
Posts: 46
Joined: Sat Oct 06, 2018 11:58 am
Reputation: 0

Re: Bannerlords M&B

Post by cocotoon »

The max of learning rate is 1024. I tried with console mode

LillyanaKabal
Expert Cheater
Expert Cheater
Posts: 207
Joined: Mon Aug 14, 2017 9:07 pm
Reputation: 24

Re: Bannerlords M&B

Post by LillyanaKabal »

I don't know if it is hardcoded and the face value is just increasing without doing anything, but my current learning rate is x3204

cocotoon
Cheater
Cheater
Posts: 46
Joined: Sat Oct 06, 2018 11:58 am
Reputation: 0

Re: Bannerlords M&B

Post by cocotoon »

Interesting, that changed other stats?

wolfsy
Noobzor
Noobzor
Posts: 7
Joined: Mon Mar 27, 2017 4:01 pm
Reputation: 0

Re: Bannerlords M&B

Post by wolfsy »

İ cheeated some troops, moved them left did scan moved them left scaneed again, aftere i had the number, i increased the troops number from 10 to 50 example, workedd fine till i noticed my Troop count was -200 on the map, and my prisoner count is 0/-90.
Now it says you have to many prisoners and wwhen i try to move the game crashes. coudnt find a wway to fix it.
any ssuggestions how i get these numbeers to 0.

Sorry for the typos the keyboard has a issue where it typess ssom letteres doubl and ssome not at all

Airavat
Novice Cheater
Novice Cheater
Posts: 18
Joined: Tue Nov 14, 2017 1:13 pm
Reputation: 2

Re: Bannerlords M&B

Post by Airavat »

I found smithing stamina as a "4 Byte" value. It decreases by 6 each time you refine 2 Hardwood -> 1 Charcoal.
Also interesting to note that once stamina reaches <10 you can't smith without resting.
If you pick up the perk for refining efficiency, the deduction to stamina changes from 6 to 3.

My steps were as follows:
1) Change "Scan Type" to "Unknown initial value" and run "First Scan"
2) Refine 2 Hardwood -> 1 Charcoal, then set "Scan Type" to "Decreased value by ..."
3) Type 6 and run "Next Scan"
4) Repeat steps 2 and 3 until you filter to the stamina value
5) Literally profit I guess

*If you run out of stamina before you find your value, rest until you can smith again. Then your next scan should be "Increased value".
Now you can repeat steps 2 and 3.

So my method is still quite rough but it works, hopefully the experts can "refine" it.

fardriel
Cheater
Cheater
Posts: 34
Joined: Tue Feb 18, 2020 5:03 am
Reputation: 17

Re: Bannerlords M&B

Post by fardriel »

Hm. The birthday and death day thing are interesting. They're labeled as two separate 4byte integers by TW's symbols, but either they're put together into a single 8 byte value, or the first one's an unsigned int and the second one's a signed int.

Living characters have a DeathDay of FFFFFFFF and a DeathDay2 of 7FFFFFFF. Either DeathDay2 is just appended to the first one (7FFFFFFFFFFFFFFF) to get "the end of time" or DeathDay is signed and comes out as -1, meaning "not dead yet"

They also might actually be important to your character progression. I've noticed that, as time goes on, my learning rate goes down. Not sure if that's because of age or because I'm gaining skills, but I've lost a good deal of learning rate after just a single game year.

S2S
What is cheating?
What is cheating?
Posts: 1
Joined: Wed Apr 01, 2020 12:14 am
Reputation: 0

Re: Bannerlords M&B

Post by S2S »

is there a way to also modify Skill points or have a skill point multiplier with the posted table?

FrostbitBait
What is cheating?
What is cheating?
Posts: 3
Joined: Tue Dec 31, 2019 3:10 pm
Reputation: 0

Re: Bannerlords M&B

Post by FrostbitBait »

SODI wrote:
Tue Mar 31, 2020 6:56 pm
Made a table.
Let's you select character, who's stats you want to edit.
open close character menu,
activate the script
Set character Number. 0 should be the player, 1 is the one you recruited next, 2 one after that etc.
open character menu again
Character Found should be set to Yes if it was found

To choose another character set Character Found to No, change character number and open character menu again.



As for character data. TW have it labelled pretty well, I only got few things after digging around. Like gold, level, name, attributes and focus points. Couldn't find values for skill points though. Found something labelled birthday and deathday, but what the values stand for or what type they are is beyond me, feel free to experiment as I included those as well.



First time working with opcode writing several addresses, hope it came out ok and code is not too hard to look at : D
I can't get "Character Found" to auto set to yes, did the hotfix released today break the table?

lcmiracle
Expert Cheater
Expert Cheater
Posts: 57
Joined: Mon Apr 03, 2017 6:16 pm
Reputation: 1

Re: Bannerlords M&B

Post by lcmiracle »

Darkcore wrote:
Tue Mar 31, 2020 6:26 pm
man, I knew there was a body weight slider we didn't seem to have access to, since some npcs seem thinner or heavier than the player character, can't seem to do much about that either, like age it doesn't seem to be able to be edited, pretty sure age starts at 30 by the by.
Yeah I edited the weight value manually and pasted it into the game, doesn't seem to do anything. In fact, weight, build, and age all resets after clicking on "Done". The look does change, however.

The starting age (with the tutorial anyway), is 25.84.

Ferril
Noobzor
Noobzor
Posts: 14
Joined: Sun Nov 03, 2019 12:49 am
Reputation: 1

Re: Bannerlords M&B

Post by Ferril »

FrostbitBait wrote:
Wed Apr 01, 2020 12:57 am
SODI wrote:
Tue Mar 31, 2020 6:56 pm
Made a table.
Let's you select character, who's stats you want to edit.
open close character menu,
activate the script
Set character Number. 0 should be the player, 1 is the one you recruited next, 2 one after that etc.
open character menu again
Character Found should be set to Yes if it was found

To choose another character set Character Found to No, change character number and open character menu again.



As for character data. TW have it labelled pretty well, I only got few things after digging around. Like gold, level, name, attributes and focus points. Couldn't find values for skill points though. Found something labelled birthday and deathday, but what the values stand for or what type they are is beyond me, feel free to experiment as I included those as well.



First time working with opcode writing several addresses, hope it came out ok and code is not too hard to look at : D
I can't get "Character Found" to auto set to yes, did the hotfix released today break the table?
Yep, I was playing the game with this table just fine till I downloaded the hotfix, got the hotfix and now it doesn't work, so the table doesn't work with the newest game version.

fardriel
Cheater
Cheater
Posts: 34
Joined: Tue Feb 18, 2020 5:03 am
Reputation: 17

Re: Bannerlords M&B

Post by fardriel »

I've been using SODI's table just fine with the newest game version. In fact, I didn't ever get to use it with 1.0.0, since 1.0.1 was already out by the time I'd downloaded it.

Bless TaleWorlds for leaving symbols in the game. I found the code that handles health reduction (for example, when you take damage) and it's generic code that applies to everyone. But since they left symbols in, I should be able to easily figure out what values to test to make sure it only affects certain characters. There's no IsPlayer field, sadly, and though there's an IsPlayerGeneral field, it seems to be the same value even for teams that the player isn't the general of. I found a Side value that seems to be "which side of the battle" but I'm not sure if the player's side is always 0, or if the defenders are always 0, or what. But I hope to figure this out soon-ish.

May take longer than anticipated. Seems like the game doesn't like when health doesn't decrease. May be an anti-cheat measure of some kind.

cobaltlotus
Cheater
Cheater
Posts: 36
Joined: Mon Feb 17, 2020 5:33 am
Reputation: 5

Re: Bannerlords M&B

Post by cobaltlotus »

Any chance of there being a script that lets us learn all the weapon parts for smithing stuff?

saucefar
Expert Cheater
Expert Cheater
Posts: 97
Joined: Sat May 06, 2017 7:05 am
Reputation: 18

Re: Bannerlords M&B

Post by saucefar »

Yeah and the learning speed rapidly decreases, leadership is the hardest skill to level up, i got a half level from one siege.

Edit: when i used the table here my leadership suddenly raised as the first skill, i've been in 3 games so far where leadership wouldn't raise much.

[Link]

fardriel
Cheater
Cheater
Posts: 34
Joined: Tue Feb 18, 2020 5:03 am
Reputation: 17

Re: Bannerlords M&B

Post by fardriel »

I think the learning speed decrease thing might be much smaller than you think. It seems to be a visual bug. [Link]

EDIT: Aight, I'm done with this. This is the best infinite HP I can make without it crashing. See the spoiler for more details on the crashing, if anyone wants to take another go at it. For anyone who just wants infinite HP, then this not-spoilered script will load the player's HP into a pointer, and then you can freeze the value and it'll stay there. Also shouldn't crash. Make sure to unfreeze the value before going back to the main map, or weird things will happen.

Code: Select all

<?xml version="1.0" encoding="utf-8"?>
<CheatTable>
  <CheatEntries>
    <CheatEntry>
      <ID>51</ID>
      <Description>"Load mainAgent Pointer"</Description>
      <LastState Activated="1"/>
      <VariableType>Auto Assembler Script</VariableType>
      <AssemblerScript>{ Game   : TaleWorlds.MountAndBlade.Launcher.exe
  Version: 
  Date   : 2020-03-31
  Author : chodn

  This script does blah blah blah
}

[ENABLE]

aobscan(INJECTTEAMHP,C4 E1 78 2E C8 73) // should be unique
alloc(newmem,$1000,INJECTTEAMHP)
//assert(TaleWorlds.MountAndBlade.Agent::set_Health+7F,C4 E1 78 2E C8 73)
//alloc(newmem,$47,TaleWorlds.MountAndBlade.Agent::set_Health+7F)
// assembly symbols don't always get loaded, it seems?

label(code)
label(return)
alloc(mainAgent,8)
registersymbol(mainAgent)

newmem:
  cmp [mainAgent],#0
  jne code
  push r11
  push r12
  mov r11,[rsi+000000A8] //"Team"
  mov r12,[r11+A8] //"MBTeam"
  mov r11,[r12+C8] //"_mainAgent" - always player
  mov [mainAgent],r11
  pop r12
  pop r11
code:
  vucomiss xmm1,xmm0
  jmp return

mainAgent:
  dq 0

//TaleWorlds.MountAndBlade.Agent::set_Health+7F:
INJECTTEAMHP:
  jmp newmem
return:
registersymbol(INJECTTEAMHP)

[DISABLE]

//TaleWorlds.MountAndBlade.Agent::set_Health+7F:
INJECTTEAMHP:
  db C4 E1 78 2E C8

unregistersymbol(INJECTTEAMHP)
unregistersymbol(mainAgent)
dealloc(newmem)
dealloc(mainAgent)

{
// ORIGINAL CODE - INJECTION POINT: 7FFDA25EAF9F

7FFDA25EAF67: EB 02                       -  jmp 7FFDA25EAF6B
7FFDA25EAF69: 33 C9                       -  xor ecx,ecx
7FFDA25EAF6B: C4 E1 60 57 DB              -  vxorps xmm3,xmm3,xmm3
7FFDA25EAF70: C4 E1 62 2A D9              -  vcvtsi2ss xmm3,ebx,ecx
7FFDA25EAF75: C4 E1 78 28 D3              -  vmovaps xmm2,xmm3
7FFDA25EAF7A: C4 E1 7A 10 86 68 01 00 00  -  vmovss xmm0,[rsi+00000168]
7FFDA25EAF83: C4 E1 7A 5C C2              -  vsubss xmm0,xmm0,xmm2
7FFDA25EAF88: C4 E1 7A 10 0D 5F 00 00 00  -  vmovss xmm1,[7FFDA25EAFF0]
7FFDA25EAF91: C4 E1 78 54 C1              -  vandps xmm0,xmm0,xmm1
7FFDA25EAF96: C4 E1 7A 10 0D 59 00 00 00  -  vmovss xmm1,[7FFDA25EAFF8]
// ---------- INJECTING HERE ----------
7FFDA25EAF9F: C4 E1 78 2E C8              -  vucomiss xmm1,xmm0
// ---------- DONE INJECTING  ----------
7FFDA25EAFA4: 73 3D                       -  jae 7FFDA25EAFE3
7FFDA25EAFA6: C4 E1 7A 10 86 68 01 00 00  -  vmovss xmm0,[rsi+00000168]
7FFDA25EAFAF: C4 E1 7A 11 96 68 01 00 00  -  vmovss [rsi+00000168],xmm2
7FFDA25EAFB8: 48 8B 4E 10                 -  mov rcx,[rsi+10]
7FFDA25EAFBC: 48 85 C9                    -  test rcx,rcx
7FFDA25EAFBF: 75 06                       -  jne 7FFDA25EAFC7
7FFDA25EAFC1: 48 83 C4 30                 -  add rsp,30
7FFDA25EAFC5: 5E                          -  pop rsi
7FFDA25EAFC6: C3                          -  ret 
7FFDA25EAFC7: 48 89 4C 24 28              -  mov [rsp+28],rcx
}
</AssemblerScript>
      <CheatEntries>
        <CheatEntry>
          <ID>50</ID>
          <Description>"Player HP"</Description>
          <LastState Value="100" Activated="1" RealAddress="15AD01EABC8"/>
          <VariableType>Float</VariableType>
          <Address>mainAgent</Address>
          <Offsets>
            <Offset>168</Offset>
          </Offsets>
        </CheatEntry>
      </CheatEntries>
    </CheatEntry>
  </CheatEntries>
</CheatTable>
EDIT2: And of course, immediately after I say I'm gonna give up, I figure out the answer. Turns out horses don't have a team, so accessing their Team pointer put me in territory I didn't have read access to. But I seem to have gotten around that. The code below contains a script for infinite HP player, and another one for infinite HP player team (i.e. all of your soldiers, too)

Code: Select all

<?xml version="1.0" encoding="utf-8"?>
<CheatTable>
  <CheatEntries>
    <CheatEntry>
      <ID>47</ID>
      <Description>"Inf HP Player"</Description>
      <LastState/>
      <VariableType>Auto Assembler Script</VariableType>
      <AssemblerScript>{ Game   : TaleWorlds.MountAndBlade.Launcher.exe
  Version:
  Date   : 2020-03-31
  Author : chodn

  This script does blah blah blah
}

[ENABLE]

//aobscan(INJECTTEAMHP,C4 E1 78 2E C8) // should be unique
//alloc(newmem,$1000,INJECTTEAMHP)
assert(TaleWorlds.MountAndBlade.Agent::set_Health+7F,C4 E1 78 2E C8)
alloc(newmem,$100,TaleWorlds.MountAndBlade.Agent::set_Health+7F)
// assembly symbols don't always get loaded, it seems?

label(code)
label(return)

newmem:
  push rax
  mov rax,[rsi+000000A8] //"Team"
  cmp rax,#0
  je code
  mov rax,[rax+A8] //"MBTeam"
  cmp rax,#0
  je code
  mov rax,[rax+C8] //"_mainAgent"
  cmp rsi,rax //check if leader
  jne code
  vmovss xmm0,[rsi+00000168]
  vmovss xmm2,[rsi+00000168]
  vmovss xmm3,[rsi+00000168]
code:
  pop rax
  vucomiss xmm1,xmm0
  jmp return

TaleWorlds.MountAndBlade.Agent::set_Health+7F:
//INJECTTEAMHP:
  jmp newmem
return:
//registersymbol(INJECTTEAMHP)

[DISABLE]

TaleWorlds.MountAndBlade.Agent::set_Health+7F:
//INJECTTEAMHP:
  db C4 E1 78 2E C8

//unregistersymbol(INJECTTEAMHP)
dealloc(newmem)

{
// ORIGINAL CODE - INJECTION POINT: 7FFDA261618F

7FFDA2616150: C4 E1 62 2A D9              -  vcvtsi2ss xmm3,ebx,ecx
7FFDA2616155: C4 E1 78 28 D3              -  vmovaps xmm2,xmm3
7FFDA261615A: C4 E1 7A 10 86 68 01 00 00  -  vmovss xmm0,[rsi+00000168]
7FFDA2616163: C4 E1 7A 5C C2              -  vsubss xmm0,xmm0,xmm2
7FFDA2616168: C4 E1 7A 10 0D 5F 00 00 00  -  vmovss xmm1,[7FFDA26161D0]
7FFDA2616171: C4 E1 78 54 C1              -  vandps xmm0,xmm0,xmm1
7FFDA2616176: C4 E1 7A 10 0D 59 00 00 00  -  vmovss xmm1,[7FFDA26161D8]
// ---------- INJECTING HERE ----------
7FFDA261617F: C4 E1 78 2E C8              -  vucomiss xmm1,xmm0
// ---------- DONE INJECTING  ----------
7FFDA2616184: 73 3D                       -  jae 7FFDA26161C3
7FFDA2616186: C4 E1 7A 10 86 68 01 00 00  -  vmovss xmm0,[rsi+00000168]
7FFDA261618F: C4 E1 7A 11 96 68 01 00 00  -  vmovss [rsi+00000168],xmm2
7FFDA2616198: 48 8B 4E 10                 -  mov rcx,[rsi+10]
7FFDA261619C: 48 85 C9                    -  test rcx,rcx
7FFDA261619F: 75 06                       -  jne 7FFDA26161A7
7FFDA26161A1: 48 83 C4 30                 -  add rsp,30
7FFDA26161A5: 5E                          -  pop rsi
7FFDA26161A6: C3                          -  ret
7FFDA26161A7: 48 89 4C 24 28              -  mov [rsp+28],rcx
7FFDA26161AC: 48 8D 51 08                 -  lea rdx,[rcx+08]
7FFDA26161B0: 48 8B 0A                    -  mov rcx,[rdx]
7FFDA26161B3: 48 8B D6                    -  mov rdx,rsi
}
</AssemblerScript>
    </CheatEntry>
    <CheatEntry>
      <ID>44</ID>
      <Description>"Inf HP Player Team"</Description>
      <LastState Activated="1"/>
      <VariableType>Auto Assembler Script</VariableType>
      <AssemblerScript>{ Game   : TaleWorlds.MountAndBlade.Launcher.exe
  Version:
  Date   : 2020-03-31
  Author : chodn

  This script does blah blah blah
}

[ENABLE]

//aobscan(INJECTTEAMHP,C4 E1 78 2E C8) // should be unique
//registersymbol(INJECTTEAMHP)
//alloc(newmem,$1000,INJECTTEAMHP)
assert(TaleWorlds.MountAndBlade.Agent::set_Health+7F,C4 E1 78 2E C8)
alloc(newmem,$1000,TaleWorlds.MountAndBlade.Agent::set_Health+7F)
// assembly symbols don't always get loaded, it seems?

label(code)
label(return)

alloc(leaderteam,8)
registersymbol(leaderteam)

newmem:
  push rax
  mov rax,[rsi+000000A8] //"Team"
  cmp rax,#0
  je code
  mov rax,[rax+A8] //"MBTeam"
  cmp rax,#0
  je code
  mov rax,[rax+C8] //"_mainAgent"
  mov rax,[rax+A8] //"Team"
  mov rax,[rax+90] //"Side"
  mov [leaderteam],rax //load leader's team
  //we want to do this step every time so the player doesn't need to
  //reactivate the script every single battle. takes a lot longer tho
  mov rax,[rsi+000000A8] //"Team"
  mov rax,[rax+90] //"Side"
  cmp [leaderteam],rax //check if leader's team
  jne code
  vmovss xmm0,[rsi+00000168]
  vmovss xmm2,[rsi+00000168]
  vmovss xmm3,[rsi+00000168]
code:
  pop rax
  vucomiss xmm1,xmm0
  jmp return

leaderteam:
  dq 0

TaleWorlds.MountAndBlade.Agent::set_Health+7F:
//INJECTTEAMHP:
  jmp newmem
return:

[DISABLE]

TaleWorlds.MountAndBlade.Agent::set_Health+7F:
//INJECTTEAMHP:
  db C4 E1 78 2E C8

unregistersymbol(INJECTTEAMHP)
unregistersymbol(leaderteam)
dealloc(newmem)

{
// ORIGINAL CODE - INJECTION POINT: 7FFDA261618F

7FFDA2616150: C4 E1 62 2A D9              -  vcvtsi2ss xmm3,ebx,ecx
7FFDA2616155: C4 E1 78 28 D3              -  vmovaps xmm2,xmm3
7FFDA261615A: C4 E1 7A 10 86 68 01 00 00  -  vmovss xmm0,[rsi+00000168]
7FFDA2616163: C4 E1 7A 5C C2              -  vsubss xmm0,xmm0,xmm2
7FFDA2616168: C4 E1 7A 10 0D 5F 00 00 00  -  vmovss xmm1,[7FFDA26161D0]
7FFDA2616171: C4 E1 78 54 C1              -  vandps xmm0,xmm0,xmm1
7FFDA2616176: C4 E1 7A 10 0D 59 00 00 00  -  vmovss xmm1,[7FFDA26161D8]
// ---------- INJECTING HERE ----------
7FFDA261617F: C4 E1 78 2E C8              -  vucomiss xmm1,xmm0
// ---------- DONE INJECTING  ----------
7FFDA2616184: 73 3D                       -  jae 7FFDA26161C3
7FFDA2616186: C4 E1 7A 10 86 68 01 00 00  -  vmovss xmm0,[rsi+00000168]
7FFDA261618F: C4 E1 7A 11 96 68 01 00 00  -  vmovss [rsi+00000168],xmm2
7FFDA2616198: 48 8B 4E 10                 -  mov rcx,[rsi+10]
7FFDA261619C: 48 85 C9                    -  test rcx,rcx
7FFDA261619F: 75 06                       -  jne 7FFDA26161A7
7FFDA26161A1: 48 83 C4 30                 -  add rsp,30
7FFDA26161A5: 5E                          -  pop rsi
7FFDA26161A6: C3                          -  ret
7FFDA26161A7: 48 89 4C 24 28              -  mov [rsp+28],rcx
7FFDA26161AC: 48 8D 51 08                 -  lea rdx,[rcx+08]
7FFDA26161B0: 48 8B 0A                    -  mov rcx,[rdx]
7FFDA26161B3: 48 8B D6                    -  mov rdx,rsi
}
</AssemblerScript>
    </CheatEntry>
  </CheatEntries>
</CheatTable>

User avatar
rambo99jose
Table Makers
Table Makers
Posts: 211
Joined: Sun Mar 18, 2018 6:24 am
Reputation: 134

Re: Bannerlords M&B

Post by rambo99jose »

I need someone to test "Recruitment Unlimited" please, must be able to recruit enough to test recruitment limit of 23.
I'm working on other cheats on beginner tutorial so can't progress far in story.

World Map pointers should work, but only have gold and party hp so far.

/!\ NOTE TO MODDERS/!\
- Had to remove some bytes from AOB hook point in one of the scripts. If your script wont hook after game restart make sure the last byte is 'E8' if a call is immediately after the hook point
Attachments
M&B2_20200401_v0.1.CT
(7.82 KiB) Downloaded 264 times

Locked

Who is online

Users browsing this forum: Google [Bot]