Page 1 of 1
Need help on coding problem
Posted: Thu Apr 17, 2025 2:04 am
by nattanang
My mod crashed on line 42 about "amount". All of ingredient have amount value, but the problem is there're a nil value. could anybody solve my coding problem. Thanks in advanced.
Re: Need help on coding problem
Posted: Thu Apr 17, 2025 2:08 am
by nattanang
Ps. The line 42 problem is about "wr-beacon-3" ingredient & cost multiplier
Re: Need help on coding problem
Posted: Thu Apr 17, 2025 3:13 am
by DaveMcW
You are looking at line 42 in the wrong file.
Fix the file at the top of the error message, prototypes/compatibility/bobs_modules.lua
Re: Need help on coding problem
Posted: Thu Apr 17, 2025 8:19 am
by Natha
Re: Need help on coding problem
Posted: Thu May 22, 2025 6:13 am
by Stargateur
first lesson of codding, no screenshot of code
Re: Need help on coding problem
Posted: Thu May 22, 2025 7:47 am
by Pirate
You obviously have a GitHub repo - just link to it and show the error message.
And yes, you are looking at the wrong file.