-
How To Creat your own Quest
Program you will need to Work with script program
Download: Visual C++ 2008 Redistributable Package (x64) - Microsoft Download Center - Download Details
Download: Visual C++ 2008 Redistributable Package (x86) - Microsoft Download Center - Download Details
Download: Microsoft .NET Framework 4 (Standalone Installer) - Microsoft Download Center - Download Details
Notepad++ v6.1.8 - Current Version
If you already have This Program Good don't Download this:thumbup1:
Download:
Silkroad lua scripts:
Silkroad_Scripts.rar
1st step - lua scripts
Ok, first of all you'll have to create the lua script file for your new quest. To do that you create a new lua file in the "Quest" directory. I call it "@SN_QNO_TEST_QUEST.lua", but you can call it however you want I think. (I don't know if the "@" is really necessary but I'll be using it anyway)
Now open the file with any text editor (I'm using notepad++) and enter the following
PHP Code:
function QNO_TEST_QUEST() -- you should match this with your filename!
QUESTID = LuaGetQuestID("QNO_TEST_QUEST") -- IMPORTANT: must match with the name in your database
LuaSetStartCodition(2, QSC_QUEST, QSC_LEVEL, 1, 1)
QM_CONVERSATION = 1
LuaSetStartMethod(QM_CONVERSATION, 1, "NPC_CH_SMITH")
LuaInsertMissionOrCompleteNpc("NPC_CH_SMITH")
LuaQuestInsertNpc(1, "NPC_CH_SMITH")
LuaSetAchievementLimit(1)
LuaSetMissionDataSize(QUESTID, 1)
LuaSetMissionData_EX(QUESTID, 0, MISSION_TYPE_KILL_MONSTER, "SN_CON_QNO_TEST_QUEST", 1, "MOB_CH_MANGNYANG", 0, 20, 0, 1)
InsertQuestMenuStringList("NPC_CH_SMITH", 8, "BASIC_MENUSTRING_GREETING", "SN_NPC_CH_POTION_QS", "BASIC_MENUSTRING_REQUEST_ACCEPT_QUEST", "SN_TALK_QNO_TEST_QUEST_01", "BASIC_MENUSTRING_AT_ACCEPT", "SN_TALK_QNO_TEST_QUEST_02", "BASIC_MENUSTRING_AT_DENY", "SN_TALK_QNO_TEST_QUEST_03", "BASIC_MENUSTRING_NOT_ACHIEVED", "SN_TALK_QNO_TEST_QUEST_04", "BASIC_MENUSTRING_INVENTORY_FULL", "SN_TALK_QNO_TEST_QUEST_05", "BASIC_MENUSTRING_ACHIEVED", "SN_TALK_QNO_TEST_QUEST_06", "BASIC_MENUSTRING_ACHIEVED_NOW", "SN_TALK_QNO_TEST_QUEST_07")
LuaSetMissionCompleteNum(0)
PAY_ITEM_METHOD_EXACT = 1
LuaSetAchievedItem(1, 7200, 0, 0, 1, "ITEM_MALL_GLOBAL_CHATTING", 10)
LuaSetAchievedSkillPont(0)
end
I'm not going to explain the whole lua code, just a few tips:
- LuaGetQuestID("QNO_TEST_QUEST") must match with the quest name in your database!
- LuaSetStartCodition(2, QSC_QUEST, QSC_LEVEL, 1, 1) describes that the quest with the questId "1" & char level "1" is required to start the
quest
- LuaSetAchievedItem(1, 7200, 0, 0, 1, "ITEM_MALL_GLOBAL_CHATTING", 10) selfexplaining, if you finish the quest you'll get 7200 exp & 10 global chattings
Just look around in other quest files and it'll become clear.
Now save the file and open "QuestList.lua"
Add a new line to the end of the file with the following
PHP Code:
LuaInsertQuest(TYPE_ID, "SN_QNO_TEST_QUEST.lua", "QNO_TEST_QUEST")
http://www13.0zz0.com/2012/09/27/04/465857341.png
The second & third parameter should of course match the filename & the function name of your quest!
Now, if you are done with that, execute make_questlist.bat and make_quest.bat. This should create two new files, QuestList.sct and Quest.sct. Copy them to YOURSERVER\Script\VIETNAM or YOURSERVER\Script\THAILAND if you are using black rogue files. (make sure you made a backup of the old files)
2nd step - database
Insert the following lines to the shard database:
_RefQuest
Code:
1 816 QNO_TEST_QUEST 0 <??>???? ?? SN_QNO_TEST_QUEST SN_PAY_QNO_TEST_QUEST xxx SN_PAYCON_QNO_TEST_QUEST SN_NN_QNO_TEST_QUEST SN_NC_QNO_TEST_QUEST
QNO_TEST_QUEST should match your quest name!
_RefQuestReward
Code:
1 [ID] QNO_TEST_QUEST 1 1 1 0 0 0 0 0 7200 0 0 0 xxx 0 0 0 0 0 xxx 0 xxx 0 xxx
[ID] of _RefQuest table
_RefQuestRewardItems (only if item reward, in my case the reward will be 10 global chattings)
Code:
1 [ID] QNO_TEST_QUEST 0 ITEM_MALL_GLOBAL_CHATTING xxx 0 10 xxx 0 xxx 0 xxx
[ID] of _RefQuest table
NOTE: If you want to reward multiple items then you'll also have to add multiple lines to the table. (of course, you'll have to modify the lua script too)
Ok, now you are done with the database! If you now start your gameserver you'll hopefully see a new quest initialization!
http://www6.0zz0.com/2012/09/27/04/299368006.png
If you cannot see that, or it shows quest initialize[0][questname], then you have obviously did something wrong
3rd step - client
You have completely added a new quest now! Wait... but only server sided, you'll have to add the quest in the client too. I'm going to show you how to do that. (because I'm great, haha)
Anyways, just follow me, I'm not going to explain everything.
You have to insert a couple of lines. So let's start with the file:
(by the way all files are located at media\server_dep\silkroad\textdata)
questdata.txt
Code:
1 [ID] QNO_TEST_QUEST 0 <??>???? ?? SN_QNO_TEST_QUEST SN_PAY_QNO_TEST_QUEST xxx SN_PAYCON_QNO_TEST_QUEST SN_NN_QNO_TEST_QUEST SN_NC_TEST_QUEST
[ID] of _RefQuest table
Here too, match QNO_TEST_QUEST with your quest name!
questcontentsdata.txt
Code:
QNO_TEST_QUEST 0 0 xxx 1 SN_CON_QNO_TEST_QUEST xxx xxx xxx xxx xxx xxx xxx 0 xxx xxx 0
refqusetreward.txt
Code:
[ID] QNO_TEST_QUEST 1 1 1 0 0 0 0 0 0 7200 0 0 0 xxx 0 0 0 0 xxx 0 xxx 0 xxx
[ID] column of _RefQuest table
Well, basically it's the same as _RefQuestReward table in your database.
refquestrewarditems.txt
Code:
[ID] QNO_TEST_QUEST 0 ITEM_MALL_GLOBAL_CHATTING xxx xxx 0 10 0 xxx 0 xxx
[ID] column of _RefQuest table
It's the same as _RefQuestRewardItems in your database.
Remember, multiple item rewards = multiple lines!
See the number "10"? This is the amount of global chattings
textquest_queststring.txt
Code:
1 SN_TALK_QNO_TEST_QUEST_01 0 0 0 0 0 0 Kill 15 mangyangs lols. 0 0 0 0 0 0 0
1 SN_TALK_QNO_TEST_QUEST_02 0 0 0 0 0 0 Good. I knew that you would agree to do this. I'll reward you more than enough, of course. 0 0 0 0 0 0 0
1 SN_TALK_QNO_TEST_QUEST_03 0 0 0 0 0 0 Hmm. I've misjudged you. 0 0 0 0 0 0 0
1 SN_TALK_QNO_TEST_QUEST_04 0 0 0 0 0 0 Please kill a few more mangyangs please. 0 0 0 0 0 0 0
1 SN_TALK_QNO_TEST_QUEST_05 0 0 0 0 0 0 I want to reward you but your inventory is full. Please dispose of some unneccessary items first. 0 0 0 0 0 0 0
1 SN_TALK_QNO_TEST_QUEST_06 0 0 0 0 0 0 Thank you. Now I can sleep well. This is your reward. Take this. 0 0 0 0 0 0 0
1 SN_TALK_QNO_TEST_QUEST_07 0 0 0 0 0 0 The hunting of Mangyangs is completed. Go and report to Chulsan. 0 0 0 0 0 0 0
These are the different tabs in the NPC, write whatever you want.
textquest_speech&name.txt
Code:
1 SN_QNO_TEST_QUEST 0 0 0 0 0 0 Test quest 0 0 0 0 0 0 0
1 SN_PAY_QNO_TEST_QUEST 0 0 0 0 0 0 Test quest 0 0 0 0 0 0 0
1 SN_CON_QNO_TEST_QUEST 0 0 0 0 0 0 Hunt 20 Mangyang (%d) 0 0 0 0 0 0 0
Your quest name and the task.
http://www13.0zz0.com/2012/09/27/04/275011627.png
Done!
Credits Me & Stratti
-
Re: How To Creat your own Quest
-
Re: How To Creat your own Quest
-
Re: How To Creat your own Quest
Quote:
Originally Posted by
nourayman
thank you :):
Your Welcome
Quote:
Originally Posted by
InsaneDev
keep it up
Hope i helped :)
-
Re: How To Creat your own Quest
-
Re: How To Creat your own Quest
Quote:
Originally Posted by
longong
Thx So much
Your Welcome :)
-
Re: How To Creat your own Quest
-
Re: How To Creat your own Quest
Sure so useful for peoples who want add some new quests in game. Keep sharing dude.
-
Re: How To Creat your own Quest
-
Re: How To Creat your own Quest
Quote:
Originally Posted by
loveme
ecsro for Scripts have ?
Sorry this Scripts for Black rogue, Vsro And New Vsro Files
-
Re: How To Creat your own Quest
Quote:
Originally Posted by
MaDenGo
Sorry this Scripts for Black rogue, Vsro And New Vsro Files
ecsro new quest where Created ?
-
Re: How To Creat your own Quest
-
Re: How To Creat your own Quest
Very Thanks , I'm Waiting This Release From a Long Time ^^
-
Re: How To Creat your own Quest
Quote:
Originally Posted by
Statiic
old...
Maybe old for you but there's alot don't ever hear about this :)
And There's alot Need This :)
-
Re: How To Creat your own Quest
-
Re: How To Creat your own Quest
-
Re: How To Creat your own Quest
How to decrypt files (. SCT ->. Lua)
-
Re: How To Creat your own Quest
Quote:
Originally Posted by
kelly2009
How to decrypt files (. SCT ->. Lua)
Notepad++ can Open Any file by Right click :) Just download it
-
Re: How To Creat your own Quest
-
Re: How To Creat your own Quest
Quote:
Originally Posted by
NoMore
Good Job
Thanks :)
-
Re: How To Creat your own Quest
Quote:
Originally Posted by
MaDenGo
Notepad++ can Open Any file by Right click :) Just download it
He meant th already compiled files, since the files this archive has (got it from epvp along time ago) are incomplete. You can build your own decompiler. that's how i decompiled the event scripts wich contain all events. visit the official lua site for infos on that.
-
Re: How To Creat your own Quest
Quote:
Originally Posted by
Xia
He meant th already compiled files, since the files this archive has (got it from epvp along time ago) are incomplete. You can build your own decompiler. that's how i decompiled the event scripts wich contain all events. visit the official lua site for infos on that.
can you share events
-
Re: How To Creat your own Quest
Quote:
Originally Posted by
InsaneDev
can you share events
+1 :) i need this too i tried alot to add HAPPY EVENT Snow Flake etc :)
-
Re: How To Creat your own Quest
-
Re: How To Creat your own Quest
Quote:
Originally Posted by
3oOomar
Good ThankYou
Your Welcome :)
-
Re: How To Creat your own Quest
-
Re: How To Creat your own Quest
Quote:
Originally Posted by
Mago
good job:thumbup:
Thank you :) Enjoy
-
Re: How To Creat your own Quest
Quote:
Originally Posted by
MaDenGo
+1 :) i need this too i tried alot to add HAPPY EVENT Snow Flake etc :)
Snowflake event is DB only. Its the refserverevent** entries.
-
Re: How To Creat your own Quest
Quote:
Originally Posted by
Xia
Snowflake event is DB only. Its the refserverevent** entries.
maybe you can make Release for this :) this will help alot
-
1 Attachment(s)
Re: How To Creat your own Quest
all workings perfect
But when i want bring the quest back to chulsan and he show mew up the rewards i see sun sword ch d7 and 10 Globals why he show me sun sword d7 ??
Attachment 114606
i cant found any information DB side or Client side for this sun sword what i can do to removed it THX
#Edit : Fixed Found the problem
-
Re: How To Creat your own Quest
-
Re: How To Creat your own Quest
Quote:
Originally Posted by
heizung124
nice thanx
Your Welcome
-
Re: How To Creat your own Quest
How would you create a custom quests with multiple rewards (items) when I tried it, I crash everytime i try to enter the npc
-
Re: How To Creat your own Quest
First many thx
But i got some problems i created the lua file. Executed make_questlist (works) and make quest which give me no quest.sct.
can some pls tell me what im doin wrong?
Thx
-
Re: How To Creat your own Quest
Quote:
Originally Posted by
TanteKaethe
First many thx
But i got some problems i created the lua file. Executed make_questlist (works) and make quest which give me no quest.sct.
can some pls tell me what im doin wrong?
Thx
that happen when you got something wrong in your Lua script make sure on there
Quote:
Originally Posted by
FuriousRage
How would you create a custom quests with multiple rewards (items) when I tried it, I crash everytime i try to enter the npc
you can add your Reward items unlimited as you like 3,4,5 or 6 reward on RefQuestRewardItem and take care about lines on there on DB and write them on Media too and Test it , if you got any more problem just replay xD
-
Re: How To Creat your own Quest
Quote:
Originally Posted by
MaDenGo
that happen when you got something wrong in your Lua script make sure on there
you can add your Reward items unlimited as you like 3,4,5 or 6 reward on RefQuestRewardItem and take care about lines on there on DB and write them on Media too and Test it , if you got any more problem just replay xD
Good work ya abo 512kb/s :P
-
Re: How To Creat your own Quest
Quote:
Originally Posted by
InsaneDev
Good work ya abo 512kb/s :P
Fixed :) 1mg/s atm xD hehe :ott1::ott1::ott1:
-
Re: How To Creat your own Quest
all workings perfect
But when i want bring the quest back to chulsan and he show mew up the rewards i see sun sword ch d7 and 10 Globals why he show me sun sword d7 ??
i cant found any information DB side or Client side for this sun sword what i can do to removed it THX
i cant not found this shit
-
Re: How To Creat your own Quest
Quote:
Originally Posted by
coldmanix
all workings perfect
But when i want bring the quest back to chulsan and he show mew up the rewards i see sun sword ch d7 and 10 Globals why he show me sun sword d7 ??
i cant found any information DB side or Client side for this sun sword what i can do to removed it THX
i cant not found this shit
Check refQuestRewardItem on Media or DB
-
Re: How To Creat your own Quest
-
Re: How To Creat your own Quest
Quote:
Originally Posted by
K4bo
give credits -.-
to who ?
-
Re: How To Creat your own Quest
Big Thx :-) I Love tis ! all workings perfect
-
Re: How To Creat your own Quest
Quote:
Originally Posted by
Sorry007
Big Thx :-) I Love tis ! all workings perfect
Great, Have fun
-
Re: How To Creat your own Quest
Quote:
Originally Posted by
infor
GZ thx
Np , Enjoy!
-
1 Attachment(s)
Re: How To Creat your own Quest
Attachment 120385when i add the new Quest i got error in game server Its C++
-
Re: How To Creat your own Quest
-
Re: How To Creat your own Quest
Quote:
Originally Posted by
longway
Make Sure in Server Script on Server Files --> The Problem on QuestList.lua or Lua Script (Quest Script) Check them again and make sure
-
Re: How To Creat your own Quest
iam Sure MaDenGo Its in Server File
-
Re: How To Creat your own Quest
thxxxxxx
i did all right from the first time ^_^
but i have 2 problems
1 - everything ( words ) = 0 no any letters but this is not important i will fix it
2 - nothing appear to me when i choose reward although when i click it i got the 10 globals but nothing appear
screen :
http://im19.gulfup.com/UMZK1.png
-
Re: How To Creat your own Quest
thanks alot brother
but 1 problem how can i change the quest requeat
i dont want them to attack 20 mngyang i want to create my own
any ideas ? :D
and another thing like thebigbody
i have everything writes in 0
no words or anything thanks
i think in th tab i must edit textusystem or iam wrong ?
-
Re: How To Creat your own Quest
Quote:
Originally Posted by
xAnasx
thanks alot brother
but 1 problem how can i change the quest requeat
i dont want them to attack 20 mngyang i want to create my own
any ideas ? :D
and another thing like thebigbody
i have everything writes in 0
no words or anything thanks
i think in th tab i must edit textusystem or iam wrong ?
Code:
function QNO_TEST_QUEST() -- you should match this with your filename!
QUESTID = LuaGetQuestID("QNO_TEST_QUEST") -- IMPORTANT: must match with the name in your database
LuaSetStartCodition(2, QSC_QUEST, QSC_LEVEL, 1, 1)
QM_CONVERSATION = 1
LuaSetStartMethod(QM_CONVERSATION, 1, "NPC_CH_SMITH")
LuaInsertMissionOrCompleteNpc("NPC_CH_SMITH")
LuaQuestInsertNpc(1, "NPC_CH_SMITH")
LuaSetAchievementLimit(1)
LuaSetMissionDataSize(QUESTID, 1)
LuaSetMissionData_EX(QUESTID, 0, MISSION_TYPE_KILL_MONSTER, "SN_CON_QNO_TEST_QUEST", 1, "MOB_CH_MANGNYANG", 0, 20, 0, 1)
InsertQuestMenuStringList("NPC_CH_SMITH", 8, "BASIC_MENUSTRING_GREETING", "SN_NPC_CH_POTION_QS", "BASIC_MENUSTRING_REQUEST_ACCEPT_QUEST", "SN_TALK_QNO_TEST_QUEST_01", "BASIC_MENUSTRING_AT_ACCEPT", "SN_TALK_QNO_TEST_QUEST_02", "BASIC_MENUSTRING_AT_DENY", "SN_TALK_QNO_TEST_QUEST_03", "BASIC_MENUSTRING_NOT_ACHIEVED", "SN_TALK_QNO_TEST_QUEST_04", "BASIC_MENUSTRING_INVENTORY_FULL", "SN_TALK_QNO_TEST_QUEST_05", "BASIC_MENUSTRING_ACHIEVED", "SN_TALK_QNO_TEST_QUEST_06", "BASIC_MENUSTRING_ACHIEVED_NOW", "SN_TALK_QNO_TEST_QUEST_07")
LuaSetMissionCompleteNum(0)
PAY_ITEM_METHOD_EXACT = 1
LuaSetAchievedItem(1, 7200, 0, 0, 1, "ITEM_MALL_GLOBAL_CHATTING", 10)
LuaSetAchievedSkillPont(0)
end
You See The
1- MOB_CH_MANGNYANG this is Mob code you can change to mob code you want to make it on Quest
2- The Red Number [ 20 ] is the How much mob need to complete the quest
3- about everything appear ( 0 )
Check Media lines you added and try to change to letter then import and keep test :)
Quote:
Originally Posted by
thebigbody
thxxxxxx
i did all right from the first time ^_^
but i have 2 problems
1 - everything ( words ) = 0 no any letters but this is not important i will fix it
2 - nothing appear to me when i choose reward although when i click it i got the 10 globals but nothing appear
screen :
http://im19.gulfup.com/UMZK1.png
You added RefQuestRewardItem
Code:
1 [ID] QNO_TEST_QUEST 0 ITEM_MALL_GLOBAL_CHATTING xxx 0 10 xxx 0 xxx 0 xxx
On your Media on Server_deb--> Silkroad --> Textdata --> RefQuestRewardItem.txt
-
Re: How To Creat your own Quest
Quote:
Originally Posted by
MaDenGo
Code:
function QNO_TEST_QUEST() -- you should match this with your filename!
QUESTID = LuaGetQuestID("QNO_TEST_QUEST") -- IMPORTANT: must match with the name in your database
LuaSetStartCodition(2, QSC_QUEST, QSC_LEVEL, 1, 1)
QM_CONVERSATION = 1
LuaSetStartMethod(QM_CONVERSATION, 1, "NPC_CH_SMITH")
LuaInsertMissionOrCompleteNpc("NPC_CH_SMITH")
LuaQuestInsertNpc(1, "NPC_CH_SMITH")
LuaSetAchievementLimit(1)
LuaSetMissionDataSize(QUESTID, 1)
LuaSetMissionData_EX(QUESTID, 0, MISSION_TYPE_KILL_MONSTER, "SN_CON_QNO_TEST_QUEST", 1, "MOB_CH_MANGNYANG", 0, 20, 0, 1)
InsertQuestMenuStringList("NPC_CH_SMITH", 8, "BASIC_MENUSTRING_GREETING", "SN_NPC_CH_POTION_QS", "BASIC_MENUSTRING_REQUEST_ACCEPT_QUEST", "SN_TALK_QNO_TEST_QUEST_01", "BASIC_MENUSTRING_AT_ACCEPT", "SN_TALK_QNO_TEST_QUEST_02", "BASIC_MENUSTRING_AT_DENY", "SN_TALK_QNO_TEST_QUEST_03", "BASIC_MENUSTRING_NOT_ACHIEVED", "SN_TALK_QNO_TEST_QUEST_04", "BASIC_MENUSTRING_INVENTORY_FULL", "SN_TALK_QNO_TEST_QUEST_05", "BASIC_MENUSTRING_ACHIEVED", "SN_TALK_QNO_TEST_QUEST_06", "BASIC_MENUSTRING_ACHIEVED_NOW", "SN_TALK_QNO_TEST_QUEST_07")
LuaSetMissionCompleteNum(0)
PAY_ITEM_METHOD_EXACT = 1
LuaSetAchievedItem(1, 7200, 0, 0, 1, "ITEM_MALL_GLOBAL_CHATTING", 10)
LuaSetAchievedSkillPont(0)
end
You See The
1-
MOB_CH_MANGNYANG this is Mob code you can change to mob code you want to make it on Quest
2- The Red Number [ 20 ] is the How much mob need to complete the quest
3- about everything appear ( 0 )
Check Media lines you added and try to change to letter then import and keep test :)
You added RefQuestRewardItem
Code:
1 [ID] QNO_TEST_QUEST 0 ITEM_MALL_GLOBAL_CHATTING xxx 0 10 xxx 0 xxx 0 xxx
On your Media on Server_deb--> Silkroad --> Textdata --> RefQuestRewardItem.txt
Thx For The Type Quest ( Mob ) Worked
But The ( 0 )
the same :(
-
Re: How To Creat your own Quest
I Want To Make It Many Times Not Just One
How ?
-
Re: How To Creat your own Quest
Quote:
Originally Posted by
thebigbody
I Want To Make It Many Times Not Just One
How ?
you know , i didn't tested with many times but i think it's easy
Just change :
LuaSetAchievementLimit(1)
Change 1 to --> bla bla bla
and Tell me if Work
-
Re: How To Creat your own Quest
Quote:
Originally Posted by
MaDenGo
you know , i didn't tested with many times but i think it's easy
Just change :
LuaSetAchievementLimit(1)
Change 1 to --> bla bla bla
and Tell me if Work
It Worked Yeeeeeeeeah :D
And I Guess To Make Many Reward Must Change The PAY_ITEM_METHOD_EXACT = ( 1 )
Change This 1 To Any Thing U Want Isn't It
-
Re: How To Creat your own Quest
Quote:
Originally Posted by
thebigbody
It Worked Yeeeeeeeeah :D
And I Guess To Make Many Reward Must Change The PAY_ITEM_METHOD_EXACT = ( 1 )
Change This 1 To Any Thing U Want Isn't It
No :) if you add for example 2 items for reward on quest
On RefRewardQuestItem
Make 2 Lines with same Quest id and same on media
And Done :)
-
Re: How To Creat your own Quest
Quote:
Originally Posted by
MaDenGo
No :) if you add for example 2 items for reward on quest
On RefRewardQuestItem
Make 2 Lines with same Quest id and same on media
And Done :)
aha ok cool
ty alot
-
Re: How To Creat your own Quest
Quote:
Originally Posted by
thebigbody
aha ok cool
ty alot
Np :) Add like if i helped xD :D
-
Re: How To Creat your own Quest
Lol copy past and credits to you for posting it here?xD
-
Re: How To Creat your own Quest
Quote:
Originally Posted by
Luy
Lol copy past and credits to you for posting it here?xD
huh.. Tell me who's the guy i coped from him ?!
huh
-
Re: How To Creat your own Quest
hay bro i add every thing like you say and its work in SR_Game but when i login in client i cant Found the Quest Can you help me in this Error
-
Re: How To Creat your own Quest
thank you
apology friend where I have to insert this code
PHP cone
function QNO_TEST_QUEST() -- you should match this with your filename!
QUESTID = LuaGetQuestID("QNO_TEST_QUEST") -- IMPORTANT: must match with the name in your database
LuaSetStartCodition(2, QSC_QUEST, QSC_LEVEL, 1, 1)
QM_CONVERSATION = 1
LuaSetStartMethod(QM_CONVERSATION, 1, "NPC_CH_SMITH")
LuaInsertMissionOrCompleteNpc("NPC_CH_SMITH")
LuaQuestInsertNpc(1, "NPC_CH_SMITH")
LuaSetAchievementLimit(1)
LuaSetMissionDataSize(QUESTID, 1)
LuaSetMissionData_EX(QUESTID, 0, MISSION_TYPE_KILL_MONSTER, "SN_CON_QNO_TEST_QUEST", 1, "MOB_CH_MANGNYANG", 0, 20, 0, 1)
InsertQuestMenuStringList("NPC_CH_SMITH", 8, "BASIC_MENUSTRING_GREETING", "SN_NPC_CH_POTION_QS", "BASIC_MENUSTRING_REQUEST_ACCEPT_QUEST", "SN_TALK_QNO_TEST_QUEST_01", "BASIC_MENUSTRING_AT_ACCEPT", "SN_TALK_QNO_TEST_QUEST_02", "BASIC_MENUSTRING_AT_DENY", "SN_TALK_QNO_TEST_QUEST_03", "BASIC_MENUSTRING_NOT_ACHIEVED", "SN_TALK_QNO_TEST_QUEST_04", "BASIC_MENUSTRING_INVENTORY_FULL", "SN_TALK_QNO_TEST_QUEST_05", "BASIC_MENUSTRING_ACHIEVED", "SN_TALK_QNO_TEST_QUEST_06", "BASIC_MENUSTRING_ACHIEVED_NOW", "SN_TALK_QNO_TEST_QUEST_07")
LuaSetMissionCompleteNum(0)
PAY_ITEM_METHOD_EXACT = 1
LuaSetAchievedItem(1, 7200, 0, 0, 1, "ITEM_MALL_GLOBAL_CHATTING", 10)
LuaSetAchievedSkillPont(0)
end
-
Re: How To Creat your own Quest
Can someone release maybe a descripter which works?
Would be great. Ive edit mine but need to change something
-
Re: How To Creat your own Quest
Quote:
Originally Posted by
irving1201
thank you
apology friend where I have to insert this code
PHP cone
function QNO_TEST_QUEST() -- you should match this with your filename!
QUESTID = LuaGetQuestID("QNO_TEST_QUEST") -- IMPORTANT: must match with the name in your database
LuaSetStartCodition(2, QSC_QUEST, QSC_LEVEL, 1, 1)
QM_CONVERSATION = 1
LuaSetStartMethod(QM_CONVERSATION, 1, "NPC_CH_SMITH")
LuaInsertMissionOrCompleteNpc("NPC_CH_SMITH")
LuaQuestInsertNpc(1, "NPC_CH_SMITH")
LuaSetAchievementLimit(1)
LuaSetMissionDataSize(QUESTID, 1)
LuaSetMissionData_EX(QUESTID, 0, MISSION_TYPE_KILL_MONSTER, "SN_CON_QNO_TEST_QUEST", 1, "MOB_CH_MANGNYANG", 0, 20, 0, 1)
InsertQuestMenuStringList("NPC_CH_SMITH", 8, "BASIC_MENUSTRING_GREETING", "SN_NPC_CH_POTION_QS", "BASIC_MENUSTRING_REQUEST_ACCEPT_QUEST", "SN_TALK_QNO_TEST_QUEST_01", "BASIC_MENUSTRING_AT_ACCEPT", "SN_TALK_QNO_TEST_QUEST_02", "BASIC_MENUSTRING_AT_DENY", "SN_TALK_QNO_TEST_QUEST_03", "BASIC_MENUSTRING_NOT_ACHIEVED", "SN_TALK_QNO_TEST_QUEST_04", "BASIC_MENUSTRING_INVENTORY_FULL", "SN_TALK_QNO_TEST_QUEST_05", "BASIC_MENUSTRING_ACHIEVED", "SN_TALK_QNO_TEST_QUEST_06", "BASIC_MENUSTRING_ACHIEVED_NOW", "SN_TALK_QNO_TEST_QUEST_07")
LuaSetMissionCompleteNum(0)
PAY_ITEM_METHOD_EXACT = 1
LuaSetAchievedItem(1, 7200, 0, 0, 1, "ITEM_MALL_GLOBAL_CHATTING", 10)
LuaSetAchievedSkillPont(0)
end
it's not code bro it's Quest Script
Read my Release again to understand
-
Re: How To Creat your own Quest
Quote:
Originally Posted by
FantasiaSRO
Can someone release maybe a descripter which works?
Would be great. Ive edit mine but need to change something
No one has?
-
1 Attachment(s)
Re: How To Creat your own Quest
yes thanks 100% hermano Attachment 122866
-
Re: How To Creat your own Quest
Quote:
Originally Posted by
irving1201
Give a Like if i Helped
-
Re: How To Creat your own Quest
hey .. how can i change the limit of quest cuz when i make it 999 its stay 7 in game .. thx
-
Re: How To Creat your own Quest
Quote:
Originally Posted by
Mada Ahmed
hey .. how can i change the limit of quest cuz when i make it 999 its stay 7 in game .. thx
What meant !?
The Quest Repeat !
-
Re: How To Creat your own Quest
hay any one help me i add ever thing like you say and SR_Game Say Quest Work But When Login into game Found Quest = 0 and When Accept to Do it i Got Crash and Char Not Work
-
Re: How To Creat your own Quest
Quote:
Originally Posted by
MaDenGo
it's not code bro it's Quest Script
Read my Release again to understand
"My release"?You just copy paste from epvp lol like you made the guide
-
Re: How To Creat your own Quest
i add the Quest But Every thing = 0 In Quest Can help me
-
Re: How To Creat your own Quest
Quote:
Originally Posted by
fantasiasro
can someone release maybe a descripter which works?
Would be great. Ive edit mine but need to change something
no one has it?!
-
Re: How To Creat your own Quest
Quote:
Originally Posted by
FantasiaSRO
no one has it?!
Only Stratti(The releaser of this guide) got it, or someone else made a decrypter for the .lua files from joymax
-
Re: How To Creat your own Quest
thx bro...How i can set for example, 3 rewards, but players can chose only one?
regards
-
Re: How To Creat your own Quest
Quote:
Originally Posted by
mayc0n
thx bro...How i can set for example, 3 rewards, but players can chose only one?
regards
Compare it with the "Beginner quest", or any other quest that has the same feature
-
Re: How To Creat your own Quest
Quote:
Originally Posted by
Luy
Compare it with the "Beginner quest", or any other quest that has the same feature
Thnx Bro...i'll try now :)
-
Re: How To Creat your own Quest
How i can decrypt .SCT? i dont made BK lol
-
Re: How To Creat your own Quest
Good morning guys,
I created about 12 quests, but I lost the files .LUA, I only got .SCT.
Yesterday I created 2 more quests. I tried google, I found the tutorials didn't help.
The most i could do was file .SCT be again .LUA, but the content is ecrypted, haz many strange symbols.
Someone I know decompile to recover the files?
Regards
-
Re: How To Creat your own Quest
-
Re: How To Creat your own Quest
Quote:
Originally Posted by
Russlander
Here, have my "Like"
Thanks
-
3 Attachment(s)
Re: How To Creat your own Quest
i have same problem with 0.
i have do all what u say in u tut . quest works but no text.
here all my txt data and a pic..i hope any 1 can help me
-
Re: How To Creat your own Quest
Quote:
Originally Posted by
Ronny Breil
i have same problem with 0.
i have do all what u say in u tut . quest works but no text.
here all my txt data and a pic..i hope any 1 can help me
Try change any 0 and import media and test :) use your brain.exe
-
Re: How To Creat your own Quest
for some reason i cant get a reward be a 'title' instead of items. so any body knows how ?
-
Re: How To Creat your own Quest
Quote:
Originally Posted by
P0kemonMast
for some reason i cant get a reward be a 'title' instead of items. so any body knows how ?
There is Hwan level on _RefQuestReward check hwan lvl you want and write it on this row and also on Media
-
Re: How To Creat your own Quest
Quote:
Originally Posted by
MaDenGo
There is Hwan level on _RefQuestReward check hwan lvl you want and write it on this row and also on Media
I did , but for some reason doesnt do it. Maybe im writing down the lua script wrong or something. mind showing a reward section of the lua script containing the title reward?
-
Re: How To Creat your own Quest
Quote:
Originally Posted by
P0kemonMast
I did , but for some reason doesnt do it. Maybe im writing down the lua script wrong or something. mind showing a reward section of the lua script containing the title reward?
no no
just ignore the lua script reward
rewards on Database only
Lua script for add quest in npc and which mob/unique you selected
-
Re: How To Creat your own Quest
Quote:
Originally Posted by
MaDenGo
to who ?
easy,from the forum that you copied from it the whole thread
stratti from epvp,he is the first one who share it to public
-
Re: How To Creat your own Quest
MaDenGo i want make the Quest Collect Quest Not Hunt Can tell Me From Where ?
-
Re: How To Creat your own Quest
-
Re: How To Creat your own Quest
-
Re: How To Creat your own Quest
can i do questreward silk??
-
Re: How To Creat your own Quest
Quote:
Originally Posted by
Ronny Breil
can i do questreward silk??
Almost Silk no , but you can make your quest reward silk items it's ok :)
-
Re: How To Creat your own Quest
What can be Wrong i followed your guide with the test quest, all is fine, now i copy the quest 3 times so i have 4 quests i changed the names everywhere, gameServer loading the quests, the npc tell my Inventory is full but ist not O.o ?
also changed the reward and the mob that mus be hunt
what can be the Problem ?
Code:
function QNO_ADVACC() -- you should match this with your filename!
QUESTID = LuaGetQuestID("QNO_ADVACC") -- IMPORTANT: must match with the name in your database
LuaSetStartCodition(2, QSC_QUEST, QSC_LEVEL, 120, 120)
QM_CONVERSATION = 1
LuaSetStartMethod(QM_CONVERSATION, 1, "NPC_SCARY_MALL1")
LuaInsertMissionOrCompleteNpc("NPC_SCARY_MALL1")
LuaQuestInsertNpc(1, "NPC_SCARY_MALL1")
LuaSetAchievementLimit(4)
LuaSetMissionDataSize(QUESTID, 1)
LuaSetMissionData_EX(QUESTID, 0, MISSION_TYPE_KILL_MONSTER, "SN_CON_QNO_ADVACC", 1, "MOB_JUPITER_JUPITER", 0, 1, 0, 1)
InsertQuestMenuStringList("NPC_SCARY_MALL1", 8, "BASIC_MENUSTRING_GREETING", "SN_NPC_CH_POTION_QS", "BASIC_MENUSTRING_REQUEST_ACCEPT_QUEST", "SN_TALK_QNO_ADVACC_01", "BASIC_MENUSTRING_AT_ACCEPT", "SN_TALK_QNO_ADVACC_02", "BASIC_MENUSTRING_AT_DENY", "SN_TALK_QNO_ADVACC_03", "BASIC_MENUSTRING_NOT_ACHIEVED", "SN_TALK_QNO_ADVACC_04", "BASIC_MENUSTRING_INVENTORY_FULL", "SN_TALK_QNO_ADVACC_05", "BASIC_MENUSTRING_ACHIEVED", "SN_TALK_QNO_ADVACC_06", "BASIC_MENUSTRING_ACHIEVED_NOW", "SN_TALK_QNO_ADVACC_07")
LuaSetMissionCompleteNum(0)
PAY_ITEM_METHOD_EXACT = 1
LuaSetAchievedItem(1, 7200, 0, 0, 1, "ITEM_ETC_ARCHEMY_UPPER_REINFORCE_RECIPE_AC_RARE_C_12", 1)
LuaSetAchievedSkillPont(0)
end
Code:
1 1042 QNO_ADVACC 1 1 1 0 0 0 0 0 7200 0 0 0 xxx 0 0 0 0 0 xxx 0 xxx 0 xxx
Code:
1 1042 QNO_ADVACC 120 <??>???? ?? SN_QNO_ADVACC SN_PAY_QNO_ADVACC xxx SN_PAYCON_QNO_ADVACC SN_NN_QNO_ADVACC SN_NC_QNO_ADVACC
Code:
1 1042 QNO_ADVACC 0 ITEM_ETC_ARCHEMY_UPPER_REINFORCE_RECIPE_AC_RARE_C_12 xxx 0 1 xxx 0 xxx 0 xxx
-
2 Attachment(s)
Re: How To Creat your own Quest
Attachment 138099
_RefQuest:
Code:
1 992 QNO_TEST_QUEST 0 <??>???? ?? SN_QNO_TEST_QUEST SN_PAY_QNO_TEST_QUEST xxx SN_PAYCON_QNO_TEST_QUEST SN_NN_QNO_TEST_QUEST SN_NC_QNO_TEST_QUEST
what i did wrong? (its black rogue server files)
Attachment 138100
quest have no content when i add them manuelly to my char
PHP Code:
function QNO_TEST_QUEST()
QUESTID = LuaGetQuestID("QNO_TEST_QUEST")
LuaSetStartCodition(2, QSC_QUEST, QSC_LEVEL, 1, 1)
QM_CONVERSATION = 1
LuaSetStartMethod(QM_CONVERSATION, 1, "NPC_CH_SMITH")
LuaInsertMissionOrCompleteNpc("NPC_CH_SMITH")
LuaQuestInsertNpc(1, "NPC_CH_SMITH")
LuaSetAchievementLimit(1)
LuaSetMissionDataSize(QUESTID, 1)
LuaSetMissionData_EX(QUESTID, 0, MISSION_TYPE_KILL_MONSTER, "SN_CON_QNO_TEST_QUEST", 1, "MOB_CH_MANGNYANG", 0, 20, 0, 1)
InsertQuestMenuStringList("NPC_CH_SMITH", 8, "BASIC_MENUSTRING_GREETING", "SN_NPC_CH_POTION_QS", "BASIC_MENUSTRING_REQUEST_ACCEPT_QUEST", "SN_TALK_QNO_TEST_QUEST_01", "BASIC_MENUSTRING_AT_ACCEPT", "SN_TALK_QNO_TEST_QUEST_02", "BASIC_MENUSTRING_AT_DENY", "SN_TALK_QNO_TEST_QUEST_03", "BASIC_MENUSTRING_NOT_ACHIEVED", "SN_TALK_QNO_TEST_QUEST_04", "BASIC_MENUSTRING_INVENTORY_FULL", "SN_TALK_QNO_TEST_QUEST_05", "BASIC_MENUSTRING_ACHIEVED", "SN_TALK_QNO_TEST_QUEST_06", "BASIC_MENUSTRING_ACHIEVED_NOW", "SN_TALK_QNO_TEST_QUEST_07")
LuaSetMissionCompleteNum(0)
PAY_ITEM_METHOD_EXACT = 1
LuaSetAchievedItem(1, 7200, 0, 0, 1, "ITEM_MALL_GLOBAL_CHATTING", 10)
LuaSetAchievedSkillPont(0)
end
-
Re: How To Creat your own Quest
-
Re: How To Creat your own Quest
Quote:
Originally Posted by
yxc001
Attachment 138099
_RefQuest:
Code:
1 992 QNO_TEST_QUEST 0 <??>???? ?? SN_QNO_TEST_QUEST SN_PAY_QNO_TEST_QUEST xxx SN_PAYCON_QNO_TEST_QUEST SN_NN_QNO_TEST_QUEST SN_NC_QNO_TEST_QUEST
what i did wrong? (its black rogue server files)
Attachment 138100
quest have no content when i add them manuelly to my char
PHP Code:
function QNO_TEST_QUEST()
QUESTID = LuaGetQuestID("QNO_TEST_QUEST")
LuaSetStartCodition(2, QSC_QUEST, QSC_LEVEL, 1, 1)
QM_CONVERSATION = 1
LuaSetStartMethod(QM_CONVERSATION, 1, "NPC_CH_SMITH")
LuaInsertMissionOrCompleteNpc("NPC_CH_SMITH")
LuaQuestInsertNpc(1, "NPC_CH_SMITH")
LuaSetAchievementLimit(1)
LuaSetMissionDataSize(QUESTID, 1)
LuaSetMissionData_EX(QUESTID, 0, MISSION_TYPE_KILL_MONSTER, "SN_CON_QNO_TEST_QUEST", 1, "MOB_CH_MANGNYANG", 0, 20, 0, 1)
InsertQuestMenuStringList("NPC_CH_SMITH", 8, "BASIC_MENUSTRING_GREETING", "SN_NPC_CH_POTION_QS", "BASIC_MENUSTRING_REQUEST_ACCEPT_QUEST", "SN_TALK_QNO_TEST_QUEST_01", "BASIC_MENUSTRING_AT_ACCEPT", "SN_TALK_QNO_TEST_QUEST_02", "BASIC_MENUSTRING_AT_DENY", "SN_TALK_QNO_TEST_QUEST_03", "BASIC_MENUSTRING_NOT_ACHIEVED", "SN_TALK_QNO_TEST_QUEST_04", "BASIC_MENUSTRING_INVENTORY_FULL", "SN_TALK_QNO_TEST_QUEST_05", "BASIC_MENUSTRING_ACHIEVED", "SN_TALK_QNO_TEST_QUEST_06", "BASIC_MENUSTRING_ACHIEVED_NOW", "SN_TALK_QNO_TEST_QUEST_07")
LuaSetMissionCompleteNum(0)
PAY_ITEM_METHOD_EXACT = 1
LuaSetAchievedItem(1, 7200, 0, 0, 1, "ITEM_MALL_GLOBAL_CHATTING", 10)
LuaSetAchievedSkillPont(0)
end
help , my server the same
-
Re: How To Creat your own Quest
umm ur the best bro but My Sr_Gameserver didn`t find the quest !!
done solved :D i forgot add the Lua at Script file
-
Re: How To Creat your own Quest
-
Re: How To Creat your own Quest
what about if i want to make it
5 Power instead of Kill Monster ?
Like 5 Power weapons = 1 Fight how ?
sorry for my English