Jump to content

  •  

perculis

Member Since 02 Oct 2013
Offline Last Active Private
-----

Topics I've Started

Custom Quests Lists (bad argument #1 to 'ipairs')

07 December 2013 - 04:45 PM

I vaguely remember a thread about the exact same issue I'm facing these days, but I can't find it using either the forum's search engine or Google, so I apologize in advance if this was already answered somewhere else. My problem, however, is not only the common "bad arguments to ipairs", which I believe deals with a missing list table, but not knowing how to customize the lists (dropdown menus) to my liking.

 

For a few days now I've been trying to put the new quest window to good use, adding new missions and the like. However, I'd like to also be able to insert new lists in the episode tab, local and so forth. So, as a form of test list, I created a file called local_testequest_list.lub, following the steps of the official Dewata's quest list, only changing the scrfilename = [[TesteQuest]] followed by a new entry in the quest/quest_function.lub file.

 

I'm using the 2013-03-20eRagexe client and my files are in the data folder instead of some grf file. As far as troubleshooting goes I tried changing back and forth to .lua files, another version for the quest_function.lub as well as comparing names, to make sure that I didn't get the syntax wrong. Sadly, nothing seems to solve my issue. :(

 

quest_function.lub: http://upaste.me/bf4f92077fc5050f

 

localquest/local_testequest_list.lub: http://upaste.me/618a92063f1e1c58

 

localquest/questinfo/l_teste_list.lub: http://upaste.me/2f83920824db004b

 

I'm not sure if custom lists are even possible since I noticed that the local_begintutorialquest_list.lub that comes with the folder will cause  errors too. I haven't seen any private serves using the new quest window to its fullest extent so I also apologize if this is not possible due to client restrictions.

 

Thank you in advance to anyone who bothers to read this.