ecounlimited
New Member
- Joined
- Aug 7, 2013
- Messages
- 53
- Reaction score
- 3
So I followed the tutorial here:
http://otland.net/threads/how-to-quests.148708/
I'm using TFS Crying Damson 8.6.
The error I get:
[14/10/2013 18:55:19] [Error - LuaScriptInterface::loadFile] data/actions/scripts/quests/system.lua:3: '}' expected (to close '{' at line 1) near '['
[14/10/2013 18:55:19] [Warning - Event::loadScript] Cannot load script (data/actions/scripts/quests/system.lua)
[14/10/2013 18:55:19] data/actions/scripts/quests/system.lua:3: '}' expected (to close '{' at line 1) near '['
[14/10/2013 18:55:19] [Error - LuaScriptInterface::loadFile] data/actions/scripts/quests/system.lua:3: '}' expected (to close '{' at line 1) near '['
[14/10/2013 18:55:19] [Warning - Event::loadScript] Cannot load script (data/actions/scripts/quests/system.lua)
[14/10/2013 18:55:19] data/actions/scripts/quests/system.lua:3: '}' expected (to close '{' at line 1) near '['
[14/10/2013 18:55:19] [Error - LuaScriptInterface::loadFile] data/actions/scripts/quests/system.lua:3: '}' expected (to close '{' at line 1) near '['
[14/10/2013 18:55:19] [Warning - Event::loadScript] Cannot load script (data/actions/scripts/quests/system.lua)
[14/10/2013 18:55:19] data/actions/scripts/quests/system.lua:3: '}' expected (to close '{' at line 1) near '['
What I did:
I have no idea what I'm doing when it comes to scripting, so I followed the tutorial and basically mimicked exactly what I saw in the LUA file already. (http://puu.sh/4QhT7.png) Wand13 is the quest I tried to make. The player gets to choose his level 13 weapon, whether it is the wand of dragonbreath or moonlight rod; but only one. After that, I went into data/actions/actions.xml like the tutorial says to and I added my quest line (http://puu.sh/4Qi1H.png). Mine is the one for actionid 2002, and I just mimicked the other lines I saw in there.
http://otland.net/threads/how-to-quests.148708/
I'm using TFS Crying Damson 8.6.
The error I get:
[14/10/2013 18:55:19] [Error - LuaScriptInterface::loadFile] data/actions/scripts/quests/system.lua:3: '}' expected (to close '{' at line 1) near '['
[14/10/2013 18:55:19] [Warning - Event::loadScript] Cannot load script (data/actions/scripts/quests/system.lua)
[14/10/2013 18:55:19] data/actions/scripts/quests/system.lua:3: '}' expected (to close '{' at line 1) near '['
[14/10/2013 18:55:19] [Error - LuaScriptInterface::loadFile] data/actions/scripts/quests/system.lua:3: '}' expected (to close '{' at line 1) near '['
[14/10/2013 18:55:19] [Warning - Event::loadScript] Cannot load script (data/actions/scripts/quests/system.lua)
[14/10/2013 18:55:19] data/actions/scripts/quests/system.lua:3: '}' expected (to close '{' at line 1) near '['
[14/10/2013 18:55:19] [Error - LuaScriptInterface::loadFile] data/actions/scripts/quests/system.lua:3: '}' expected (to close '{' at line 1) near '['
[14/10/2013 18:55:19] [Warning - Event::loadScript] Cannot load script (data/actions/scripts/quests/system.lua)
[14/10/2013 18:55:19] data/actions/scripts/quests/system.lua:3: '}' expected (to close '{' at line 1) near '['
What I did:
I have no idea what I'm doing when it comes to scripting, so I followed the tutorial and basically mimicked exactly what I saw in the LUA file already. (http://puu.sh/4QhT7.png) Wand13 is the quest I tried to make. The player gets to choose his level 13 weapon, whether it is the wand of dragonbreath or moonlight rod; but only one. After that, I went into data/actions/actions.xml like the tutorial says to and I added my quest line (http://puu.sh/4Qi1H.png). Mine is the one for actionid 2002, and I just mimicked the other lines I saw in there.