Jump to content

Simple_signal4121

Member
  • Posts

    1
  • Joined

  • Last visited

About Simple_signal4121

Simple_signal4121's Achievements

New

New (1/20)

0

Reputation

  1. **I solved this myself, it was a user mistake. For those who need a solution: in select.def, the name(not the displayname) cannot have spaces.** in IKEMEN, everytime i try to launch Chapter 1 of the story mode I made, it always gives me this error: external/script/main.lua:3183: attempt to index a non-table object(nil) with key 'loop' stack traceback: external/script/main.lua:3183: in function 'loop' external/script/main.lua:3189: in function 'loop' external/script/main.lua:4156: in main chunk [G]: ? When launching my prologue, that's the only working thing, but any other chapter is broken. Here's the chapter 1 lua for reference: launchFight{ p1char = {"Kratos"}, p1numchars = 1, p1teammode = "single", p2char = {"Kratos"}, p2numchars = 1, p2teammode = "single", p2rounds = 1, stage = "stages/fallingcliffs.def", } local ok = launchFight{ p1char = {"Kratos"}, p1numchars = 1, p1teammode = "single", p2char = {"Kratos"}, p2numchars = 1, p2teammode = "single", p2rounds = 1, stage = "stages/fallingcliffs.def", } setMatchNo(-1) and the prologue .lua for reference: launchStoryboard('chars/kfm/intro.def') launchFight{ p1char = {"kfm720"}, p1numchars = 1, p1teammode = "single", p2char = {"kfm720"}, p2numchars = 1, p2teammode = "single", p2rounds = 1, stage = "stages/kfm.def", } launchStoryboard('chars/kfm/ending.def') local ok = launchFight{ p1char = {"kfm720"}, p1numchars = 1, p1teammode = "single", p2char = {"BOSS Master Hand"}, p2numchars = 1, p2teammode = "single", p2rounds = 1, stage = "stages/kfm.def", } launchStoryboard('data/story/prologue.def') setMatchNo(-1) If you need to access lines 3183 to 4156 of the main.lua, it's here: and if you need to access the entire main.lua, it's here (Quite long, warning!): I'm not a very good lua coder, so I can't debug this on my own. Sorry for any inconvienience, and I'm grateful for any help, thanks. PS: To make sure that it wasn't the chapter script, i pasted the contents of the prologue.lua into chapterONE.lua, and that still didn't work. I also tried changing the displayname and name of the chapter in select.def to have no numbers, and that also did not work
×
×
  • Create New...