sovietspaceship / souls-bug-reports

Bug reports for some of my apps (Elden Ring Build & Inventory Planner, Elden Ring Frame Data Explorer, Dark Souls III Inventory Tool, etc.)
https://nyasu.business
0 stars 0 forks source link

[Elden Ring Inventory Tool] MassItemGib export causes CE to loop with error after executing #2

Closed sovietspaceship closed 1 year ago

sovietspaceship commented 1 year ago

Application

Describe the bug An error box appears repeatedly after successfully running the Load/Save -> MassItemGib output script

To Reproduce Run MassItemGib output in CE

Expected behavior CE should be usable after running the script

Example

alloc(MassItemGib_EldenRingInventoryTool,$2000,eldenring.exe)
createthread(MassItemGib_EldenRingInventoryTool)

MassItemGib_EldenRingInventoryTool:
sub rsp,28
mov rcx,ItemGibArray_EldenRingInventoryTool
call ItemGib
mov rax,MassItemGib_EldenRingInventoryTool_Data
mov dword ptr [rax],00000001
add rsp,28
ret

MassItemGib_EldenRingInventoryTool_Data:
registerSymbol(MassItemGib_EldenRingInventoryTool_Data)
dd 00000000

ItemGibArray_EldenRingInventoryTool:
dd 000FDE80 00000001 FFFF0000 FFFFFFFF // Regular Reduvia 1040000
dd 00116908 00000001 FFFF0000 80004FB0 // Poison Bloodstained Dagger 1141000
dd 0010EFF0 00000001 FFFF0000 FFFFFFFF // Regular Cinquedea 1110000
dd 000F6950 00000001 FFFF0000 FFFFFFFF // Regular Black Knife 1010000
dd 007B4E04 00000001 FFFF0000 800058AC // Cold Beastman's Cleaver 8080900
dd 0131A230 00000001 FFFF0000 FFFFFFFF // Regular Magma Whip Candlestick 20030000
dd 00000000 00000000 00000000 FFFFFFFF

{$lua}
if not syntaxcheck then disableMemrec(memrec, 'MassItemGib_EldenRingInventoryTool') end
{$asm}
[DISABLE]
dealloc(MassItemGib_EldenRingInventoryTool)
unregisterSymbol(MassItemGib_EldenRingInventoryTool)

generated by https://er-inventory.nyasu.business/?b=3caf87577944a2

sovietspaceship commented 1 year ago

was missing

registerSymbol(MassItemGib_EldenRingInventoryTool)

at the start