The Binding of Isaac: Rebirth

The Binding of Isaac: Rebirth

[AB+|Rep(+)] External Item Descriptions
Denne tråd er blevet låst
seln.b 19. juni 2024 kl. 13:21
Error in debug console.
Hi, i'm playing isaac on gog and i downloaded this mod from GitHub. But i have a huge problem. The mod appears in the menu, seems to be activated but when i find an item there is no description at all. I checked the debug console and the log and i ended up with this:

[INFO] - begin list mods
[INFO] - LOADED MOD c:\program files (x86)\gog galaxy\games\the binding of isaac rebirth/mods/external item descriptions/content/
[INFO] - HQX4 size: 960x540
[INFO] - Running Lua Script: C:\Program Files (x86)\GOG Galaxy\Games\The Binding of Isaac Rebirth/mods/external item descriptions/main.lua
[INFO] - ERR: resources/scripts_rep/main.lua:5: bad argument #4 to 'AddCallback' (number expected, got string)
[INFO] - There was an error running the lua file: C:\Program Files (x86)\GOG Galaxy\Games\The Binding of Isaac Rebirth/mods/external item descriptions/main.lua

What can I do please?
< >
Viser 1-11 af 11 kommentarer
Wofsauge  [udvikler] 19. juni 2024 kl. 13:25 
our mod does not contain such a file path "resources/scripts_rep/main.lua". where does this come from? is it another mod, or is it a folder found in the game files?
seln.b 19. juni 2024 kl. 13:33 
It's the only mod installed and this file indeed exist in the game files.
seln.b 19. juni 2024 kl. 13:37 
function RegisterMod(modname, apiversion)
local mod = {
Name = modname,
AddCallback = function(self, callbackId, fn, entityId)
Isaac.AddCallback(self, callbackId, fn, entityId or -1)
end,
RemoveCallback = function(self, callbackId, fn)
Isaac.RemoveCallback(self, callbackId, fn)
end,
SaveData = function(self, data)
Isaac.SaveModData(self, data)
end,
LoadData = function(self)
return Isaac.LoadModData(self)
end,
HasData = function(self)
return Isaac.HasModData(self)
end,
RemoveData = function(self)
Isaac.RemoveModData(self)
end
}
Isaac.RegisterMod(mod, modname, apiversion)
return mod
end

Here is what I have in "main lua"
Wofsauge  [udvikler] 19. juni 2024 kl. 13:42 
Can you put the following "Isaac.DebugString" line of code into the AddCallback function so that it looks like this? This should print the arguments given to the AddCallback function into your log file.

AddCallback = function(self, callbackId, fn, entityId)
Isaac.DebugString("Added Callback: " .. tostring(callbackId) .. ", " .. tostring(entityId) )
Isaac.AddCallback(self, callbackId, fn, entityId or -1)
end,
Wofsauge  [udvikler] 19. juni 2024 kl. 13:46 
Also, can you send me the version of the game you have installed? that information can be found in the log file. For steam, it looks like this:
[INFO] - Binding of Isaac: Repentance v1.7.9b.J835
seln.b 19. juni 2024 kl. 13:48 
i dit it and this time here is what i got from the log:

[INFO] - begin list mods
[INFO] - LOADED MOD c:\program files (x86)\gog galaxy\games\the binding of isaac rebirth/mods/external item descriptions/content/
[INFO] - HQX4 size: 960x540
[INFO] - Running Lua Script: C:\Program Files (x86)\GOG Galaxy\Games\The Binding of Isaac Rebirth/mods/external item descriptions/main.lua
[INFO] - Lua Debug: Added Callback: 23, 489
[INFO] - Lua Debug: Added Callback: 23, nil
[INFO] - Lua Debug: Added Callback: EIDCallbacks.SEARCH_NAME_CONVERSION, ko_kr
[INFO] - ERR: resources/scripts_rep/main.lua:6: bad argument #4 to 'AddCallback' (number expected, got string)
[INFO] - There was an error running the lua file: C:\Program Files (x86)\GOG Galaxy\Games\The Binding of Isaac Rebirth/mods/external item descriptions/main.lua
seln.b 19. juni 2024 kl. 13:51 
I have: [INFO] - Binding of Isaac: Repentance v1.7.8a.J746
Wofsauge  [udvikler] 19. juni 2024 kl. 13:52 
For version 1.7.8a, you need to install this version of EID:
https://github.com/wofsauge/External-Item-Descriptions/releases/tag/V4.42
seln.b 19. juni 2024 kl. 13:56 
It worked! Thank you soooo much for your help. But why is my version not compatible with le latest version of the mod?
Sidst redigeret af seln.b; 19. juni 2024 kl. 13:56
Wofsauge  [udvikler] 19. juni 2024 kl. 13:59 
The GOG version of the game wasnt updated by the developers for like 2 years already. the only game version that got updates was the steam version. Those updates added new features we, and some other mods are using right now
seln.b 19. juni 2024 kl. 14:01 
Oh i didn't know that. Thank you so much for your time and your help, have a great day!
< >
Viser 1-11 af 11 kommentarer
Per side: 1530 50