and where's the lua editor function?:(
yeah.Quote:
Missing that too. Stop doing stupid query executers and try to make a .lua decompiler/compiler so we can start doing more interesting stuff with the files.
functionQNO_AM_FERRY1_1 = function()
QUESTID = LuaGetQuestID("QNO_AM_FERRY1_1")
LuaSetStartCodition(2, QSC_QUEST, QSC_LEVEL, 23, 13)
QM_CONVERSATION = 1
LuaSetStartMethod(QM_CONVERSATION, 1, "NPC_AM_FERRY1")
LuaInsertMissionOrCompleteNpc("NPC_AM_FERRY1")
LuaQuestInsertNpc(1, "NPC_AM_FERRY1")
LuaSetAchievementLimit(3)
LuaSetDifferentString(1)
LuaSetMissionDataSize(QUESTID, 2)
LuaSetMissionData_EX(QUESTID, 0, MISSION_TYPE_KILL_MONSTER, "SN_CON_QNO_AM_FERRY1_1_01", 1, "MOB_AM_CRAB", 1, MONSTER_CLASS_NORMAL, 30, 1, 1)
LuaSetMissionData_EX(QUESTID, 1, MISSION_TYPE_KILL_MONSTER, "SN_CON_QNO_AM_FERRY1_1_02", 1, "MOB_AM_CRAB", 1, MONSTER_CLASS_CHAMPION, 10, 1, 1)
InsertQuestMenuStringList("NPC_AM_FERRY1", 8, "BASIC_MENUSTRING_GREETING", "SN_QNO_AM_FERRY1_QS", "BASIC_MENUSTRING_REQUEST_ACCEPT_QUEST", "SN_TALK_QNO_AM_FERRY1_1_01", "BASIC_MENUSTRING_AT_ACCEPT", "SN_TALK_QNO_AM_FERRY1_1_03", "BASIC_MENUSTRING_AT_DENY", "SN_TALK_QNO_AM_FERRY1_1_04", "BASIC_MENUSTRING_NOT_ACHIEVED", "SN_TALK_QNO_AM_FERRY1_1_05", "BASIC_MENUSTRING_ACCEPT_AFTER_ONE_CLEAR", "SN_TALK_QNO_AM_FERRY1_1_02", "BASIC_MENUSTRING_ACHIEVED", "SN_TALK_QNO_AM_FERRY1_1_06", "BASIC_MENUSTRING_ACHIEVED_NOW", "SN_TALK_QNO_AM_FERRY1_1_07")
LuaSetMissionCompleteNum(0)
PAY_ITEM_METHOD_EXACT = 1
LuaSetAchievedItem(0, 176120, 0, 7000, 0, 0)
LuaSetAchievedSkillPont(0)
end
Yeah I tested it too. But it has some decompiler errors on the Quest.sct file, so you can't compile it back.Quote:
yeah.
btw,there's a lua decompiler,as far as I can remember it's called luadec,and it decompiles them partly,so that could be a starting point,and it's open source,I think.
this was a decompiled quest:
I know it's not perfect,but it's still could be a starting point to get started with :)Code:functionQNO_AM_FERRY1_1 = function() QUESTID = LuaGetQuestID("QNO_AM_FERRY1_1") LuaSetStartCodition(2, QSC_QUEST, QSC_LEVEL, 23, 13) QM_CONVERSATION = 1 LuaSetStartMethod(QM_CONVERSATION, 1, "NPC_AM_FERRY1") LuaInsertMissionOrCompleteNpc("NPC_AM_FERRY1") LuaQuestInsertNpc(1, "NPC_AM_FERRY1") LuaSetAchievementLimit(3) LuaSetDifferentString(1) LuaSetMissionDataSize(QUESTID, 2) LuaSetMissionData_EX(QUESTID, 0, MISSION_TYPE_KILL_MONSTER, "SN_CON_QNO_AM_FERRY1_1_01", 1, "MOB_AM_CRAB", 1, MONSTER_CLASS_NORMAL, 30, 1, 1) LuaSetMissionData_EX(QUESTID, 1, MISSION_TYPE_KILL_MONSTER, "SN_CON_QNO_AM_FERRY1_1_02", 1, "MOB_AM_CRAB", 1, MONSTER_CLASS_CHAMPION, 10, 1, 1) InsertQuestMenuStringList("NPC_AM_FERRY1", 8, "BASIC_MENUSTRING_GREETING", "SN_QNO_AM_FERRY1_QS", "BASIC_MENUSTRING_REQUEST_ACCEPT_QUEST", "SN_TALK_QNO_AM_FERRY1_1_01", "BASIC_MENUSTRING_AT_ACCEPT", "SN_TALK_QNO_AM_FERRY1_1_03", "BASIC_MENUSTRING_AT_DENY", "SN_TALK_QNO_AM_FERRY1_1_04", "BASIC_MENUSTRING_NOT_ACHIEVED", "SN_TALK_QNO_AM_FERRY1_1_05", "BASIC_MENUSTRING_ACCEPT_AFTER_ONE_CLEAR", "SN_TALK_QNO_AM_FERRY1_1_02", "BASIC_MENUSTRING_ACHIEVED", "SN_TALK_QNO_AM_FERRY1_1_06", "BASIC_MENUSTRING_ACHIEVED_NOW", "SN_TALK_QNO_AM_FERRY1_1_07") LuaSetMissionCompleteNum(0) PAY_ITEM_METHOD_EXACT = 1 LuaSetAchievedItem(0, 176120, 0, 7000, 0, 0) LuaSetAchievedSkillPont(0) end
ps.: once I checked the gameserver for these Lua functions,and there were like a hundred of them,so there are many stuffs that you can do with a lua script :)
Yeah,there are some errors with that one,but the other ones are just fine,soQuote:
Yeah I tested it too. But it has some decompiler errors on the Quest.sct file, so you can't compile it back.
Stop being sarcastic about someone else work and do it yourself...Quote:
Missing that too. Stop doing stupid query executers and try to make a .lua decompiler/compiler so we can start doing more interesting stuff with the files.
I expect boobs, but my expectations are never accomplished here =(Quote:
Stop being sarcastic about someone else work and do it yourself...
Also that's the first day of the work what do you expect ?
roflmaoQuote:
I expect boobs, but my expectations are never accomplished here =(
GIMME MAH FAKING BOOBS!
I was half sarcastic, the tool is useful, but I'm tired of seeing tools that do querys to the DB, dunno the files are out since 6 months already, I was expecting that someone starts doing something else than querys. =(
this has to be a epic quote right here in a long time, you are in my quote collections(no offense, but it is epic)Quote:
I expect boobs, but my expectations are never accomplished here =(
GIMME MAH FAKING BOOBS!
I was half sarcastic, the tool is useful, but I'm tired of seeing tools that do querys to the DB, dunno the files are out since 6 months already, I was expecting that someone starts doing something else than querys. =(
#Reported Reason: PornQuote: