#I need help to get this to run.

9 messages · Page 1 of 1 (latest)

earnest vapor
#

Good evening! I need some help to figure out what's bugging my system. Is there any way you could help me?
I've already tried several ways to fix it, but nothing works — not the commands, not anything. :/ I've basically been trying to solve this for about 24 hours and it still doesn't work.

dull prawnBOT
#

Once your ticket has been resolved, please close it with </ticket close:1054771505520717835> command!

earnest vapor
warm barnBOT
#

Paste version of server.log, colony_tiers.js from @earnest vapor

elder meteor
#

line 102; your const colony = player.getColony?.(); is malformed
I have no experience with MineColonies, but you're probably intending for const colony = player?.getColony();

earnest vapor
#

And I think that even if you find the errors, this is never going to work lol. I guess I’ll just give up haha.

elder meteor
#

Yeah, AI generated code will be broken at best. KubeJS is still being actively developed, and just 7.1 -> 7.2 had major internal rewrites. AI will scrape the wiki(s) and generate broken code using outdated information.
Not to even mention anything even referencing Create. AI pretty much always break on because it believes Create should be used as a verb, eg "I am Creating something"

You can use Astages (a 1.21 successor of GameStages) which was built for KubeJS scripting

earnest vapor
#

Is it very hard to program this to work with this mod lol? Because I think if I use all my brainpower I can do it.