Workshop Duping for version 1.2.4.6, and 1.2.4.10
Script 1 (Setup):
Code:
- aobscanmodule(FuncSig, Fallout76.exe, 48 89 5C 24 70 44 0F B6 FA 4C 8B F1)
- aobscanmodule(CallSig, Fallout76.exe, 40 57 48 83 EC 30 48 C7 44 24 20 FE FF FF FF 48 89 5C 24 50 8B D9)
-
- [ENABLE]
- alloc(FuncPage, $1000)
- label(PageRet)
-
- FuncPage:
- push rsi
- sub rsp, 100
- mov ecx, 0017DBEB
- call CallSig
- cmp rax, 7FFF
- jle PageRet
- mov rsi, rax
- mov ecx, 0001596A
- call CallSig
- cmp rax, 7FFF
- jle PageRet
- mov [rsi+88], rax
- PageRet:
- xor eax, eax
- add rsp, 100
- pop rsi
- ret
-
- FuncSig-15:
- mov rax, FuncPage
- jmp rax
-
- [DISABLE]
- FuncSig-15:
- db 40 55 56 57 41 56 41 57 48 83 EC 40
- dealloc(FuncPage)
Script 2 (Duping):
Code:
- aobscanmodule(FuncSig, Fallout76.exe, 48 89 5C 24 70 44 0F B6 FA 4C 8B F1)
-
- [ENABLE]
- alloc(FuncPage, $1000)
- label(PageRet)
-
- FuncPage:
- push rsi
- cmp rcx, 7FFF
- jle PageRet
- mov rsi, [rcx+160]
- cmp rsi, 7FFF
- jle PageRet
- mov esi, [rsi+20]
- cmp esi, 000B3036
- jne PageRet
- mov sil, 2
- mov [rcx+202], sil
- PageRet:
- xor eax, eax
- pop rsi
- ret
-
- FuncSig-15:
- mov rax, FuncPage
- jmp rax
-
- [DISABLE]
- FuncSig-15:
- db 40 55 56 57 41 56 41 57 48 83 EC 40
- dealloc(FuncPage)
Setup:
Enable the first script
Drop an item
Press E on the item bag
Disable the first script
Enter build mode
Build a foundation
Press R on the foundation, then T (replace)
Select the STASH box, and press E (if it's not in the replace menu, try again from the beginning)
Drop an item (to save character/workshop)
Build a Machinegun Turret
Duping:
Enable the second script
Press E on the Machinegun Turret (if the inventory doesn't load, build a new one and try again)
Disable the second script
Place the items you want to dupe in the Machinegun Turret's inventory
Drop an item (to save character/workshop)
Scrap the STASH box from the Setup process
Use a friend/alt to take the items out of the Machinegun Turret's inventory
Drop an item (you should disconnect, causing a workshop rollback)
The items should now be back in the Machinegun Turret's inventory