Npc Problem...

Started by GameboyArda, January 28, 2016, 07:47:14 PM

Previous topic - Next topic
I have the problem on my npc that gives this error...
You know that nearly all of use strugled once
with RPG maker. But now we make with
Solarus! 8)

You need to learn to understand these errors to solve them by yourself, it's very easy and necessary.

Anyway, in your case:
1. In your monsters encyclopedia script at line 68, you are trying to concatenate (to some string) something that is nil (check your variables there). A nil value cannot be concatenated.
2. In your map script "map/out/a1.lua", at line 4, you are using a "game" variable that has not been defined, so it's nil. A nil value cannot be indexed or accessed like a table, obviously.
"If you make people think they're thinking, they'll love you. But if you really make them think, they'll hate you."

Hmmm, since you got this from ROTHSE, you might check the NPC that manage this from this game, this error seems related.
Or, a value isn't initialized at the begining.
For the "game" error, it's simple, you need to define what the "game" object is.

I fixed the problem and now will make youtube video of maping! :)
You know that nearly all of use strugled once
with RPG maker. But now we make with
Solarus! 8)