Need help on coding problem
Need help on coding problem
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.
- Attachments
-
- Screenshot_20250417_083826_com_microsoft_emmx_ChromeTabbedActivity.jpg (463.41 KiB) Viewed 184 times
-
- Screenshot_20250417_083822_com_microsoft_emmx_ChromeTabbedActivity.jpg (415.4 KiB) Viewed 184 times
-
- Screenshot_20250417_083818_com_microsoft_emmx_ChromeTabbedActivity.jpg (429.89 KiB) Viewed 184 times
-
- Screenshot_20250417_083814_com_microsoft_emmx_ChromeTabbedActivity.jpg (389.23 KiB) Viewed 184 times
-
- Screenshot_20250417_083654_com_microsoft_emmx_ChromeTabbedActivity.jpg (340.7 KiB) Viewed 184 times
-
- Screenshot_20250417_083627_com_microsoft_emmx_ChromeTabbedActivity.jpg (470.28 KiB) Viewed 184 times
-
- Screenshot_20250417_083351_io_oslink_link_PreviewActivity.jpg (207.95 KiB) Viewed 184 times
Re: Need help on coding problem
Ps. The line 42 problem is about "wr-beacon-3" ingredient & cost multiplier
Re: Need help on coding problem
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
Fix the file at the top of the error message, prototypes/compatibility/bobs_modules.lua
Re: Need help on coding problem
Why second thread? viewtopic.php?t=128185