wofsauge / External-Item-Descriptions

A mod for the game "The Binding of Isaac: Rebirth" that displays useful informations for items, trinkets, rooms and more!
209 stars 121 forks source link

eid_api.lua:310: bad arguments #2 to 'Load' (string expected, got no value) #552

Closed ArliArdevlirn closed 1 year ago

ArliArdevlirn commented 1 year ago

The mod is not working, debugconsole show this error: eid_api.lua:310: bad arguments #2 to 'Load' (string expected, got no value)

PS: Decided to try fixing it myself, since the documentation doesn't mention any 2nd argument for the font:Load() function and the error thrown want a 2nd argument being a string i added a "test" string as second argument to see what error would be thrown and get a clue of what is expected from this argument. Turn out just adding "test" as 2nd argument doesn't throw any error and allow the mod to work properly.

epfly6 commented 1 year ago

Hi, something to confirm. Are you playing the GoG version of the game or the Steam version?

ArliArdevlirn commented 1 year ago

GoG version of the game, Also i do not have the Repentance DLC, only have rebirth+ afterbirth and afterbirth plus

epfly6 commented 1 year ago

I knew it. Someone messed up some tech stuff for Lua in GoG version. If you pass second string as you mentioned, it should do the trick and fix Load function

wofsauge commented 1 year ago

Fixed with commit 7a74260