The Binding of Isaac: Rebirth

The Binding of Isaac: Rebirth

[AB+|Rep(+)] External Item Descriptions
This topic has been locked
seln.b 19 Jun, 2024 @ 1:21pm
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?
< >
Showing 1-11 of 11 comments
Wofsauge  [developer] 19 Jun, 2024 @ 1:25pm 
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 Jun, 2024 @ 1:33pm 
It's the only mod installed and this file indeed exist in the game files.
seln.b 19 Jun, 2024 @ 1:37pm 
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  [developer] 19 Jun, 2024 @ 1:42pm 
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  [developer] 19 Jun, 2024 @ 1:46pm 
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 Jun, 2024 @ 1:48pm 
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 Jun, 2024 @ 1:51pm 
I have: [INFO] - Binding of Isaac: Repentance v1.7.8a.J746
Wofsauge  [developer] 19 Jun, 2024 @ 1:52pm 
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 Jun, 2024 @ 1:56pm 
It worked! Thank you soooo much for your help. But why is my version not compatible with le latest version of the mod?
Last edited by seln.b; 19 Jun, 2024 @ 1:56pm
Wofsauge  [developer] 19 Jun, 2024 @ 1:59pm 
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 Jun, 2024 @ 2:01pm 
Oh i didn't know that. Thank you so much for your time and your help, have a great day!
< >
Showing 1-11 of 11 comments
Per page: 1530 50