Jump to content

Unexpected symbol error mod crash


Recommended Posts

Hello, I accidently made the previous thread in DS single player section.  I created my own basic mod with basic tweaks but I cant make it work. Can anyone advices me on how can I make it work?

Here are the mod folder and .log files. I'm sure it's easily solveable but I couldnt figure out how can I make it work.

 

 

 

 

Kendi Modum.rar

client_log.txt

Edited by Car4057
Link to comment
Share on other sites

I'm not exactly sure what you're trying to do in line 5 and downwards in your modmain. I mean, I'm not the grandmaster of lua, but that doesn't look like any lua I've seen before. Just variables being set to values, but comma-separated. It looks like something that should be enclosed in a list/array.

It looks like you just copied a section of the Tuning variables in there. You can't just do that. Each one needs its own line, with no comma at the end.

E.g.
 

GLOBAL.TUNING.MULTITOOL_AXE_PICKAXE_USES = 2400
GLOBAL.TUNING.RUINS_BAT_USES = 850
GLOBAL.TUNING.NIGHTSWORD_USES = 700

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...