|
You last visited: Today at 14:23
Advertisement
[Release] Silkroad lua scripts - new quests & more
Discussion on [Release] Silkroad lua scripts - new quests & more within the SRO PServer Guides & Releases forum part of the SRO Private Server category.
05/06/2012, 19:12
|
#16
|
elite*gold: 60
Join Date: Jan 2010
Posts: 48
Received Thanks: 253
|
Quote:
Originally Posted by tamer15
still w8ing ur answer
|
Open a texteditor, write the lua code inside it and save the file with .lua extension?
Quote:
Originally Posted by Mokho
if there a button which gives 100 thanks. i would have spammed it till morning. Many thanks for something only known by few people. -Mykha
|
haha thx man
|
|
|
05/06/2012, 19:51
|
#17
|
elite*gold: 0
Join Date: Nov 2011
Posts: 303
Received Thanks: 44
|
very nice share thnx you
is it possible so theres a few items on the reward list but player can choose only 1 item on each completion of the quest?
|
|
|
05/06/2012, 19:56
|
#18
|
elite*gold: 60
Join Date: Jan 2010
Posts: 48
Received Thanks: 253
|
Quote:
Originally Posted by Serenduk
very nice share thnx you
is it possible so theres a few items on the reward list but player can choose only 1 item on each completion of the quest?
|
Hmm I really don't know ;(. Could be possible but I dont know.
|
|
|
05/06/2012, 23:07
|
#19
|
elite*gold: 325
Join Date: Dec 2008
Posts: 14,546
Received Thanks: 8,721
|
Private SRO Main Discussions / Questions -> Private SRO Exploits/Hacks/Bots/Guides
#moved
Very nice release. Thanks alot for sharing it with the epvp community.
|
|
|
05/06/2012, 23:17
|
#20
|
elite*gold: 0
Join Date: Apr 2009
Posts: 123
Received Thanks: 28
|
Quote:
Originally Posted by tamer15
really useful guide thx man , but when i create a files it shows me txt normal lolz !
|
u forgot .lua
atm the Quest Text is my problem  3
i need good way to add text string to the Quest that wont work that u add bro
|
|
|
05/07/2012, 04:05
|
#21
|
Chat Killer In Duty
elite*gold: 5
Join Date: May 2008
Posts: 16,399
Received Thanks: 6,509
|
wow this is really a great release
just one question
have checked them already
i mean, are you 100% able to create a quest from scratch?
Quote:
Originally Posted by Mokho
if there a button which gives 100 thanks. i would have spammed it till morning. Many thanks for something only known by few people. -Mykha
|
9000 thnx is ENOUGH XD
|
|
|
05/07/2012, 14:31
|
#22
|
elite*gold: 60
Join Date: Jan 2010
Posts: 48
Received Thanks: 253
|
Quote:
Originally Posted by PortalDark
wow this is really a great release
just one question
have checked them already
i mean, are you 100% able to create a quest from scratch?
9000 thnx is ENOUGH XD
|
Basically you can add a quest "from scratch". But your possibilities are limited, you cannot do everything
|
|
|
05/07/2012, 15:13
|
#23
|
elite*gold: 0
Join Date: Nov 2007
Posts: 959
Received Thanks: 602
|
btw,these are all the functions that you can use:
Quote:
LuaSetStartCodition
LuaSetJobTypeStartCondition
LuaSetStartMethod
LuaInsertMissionOrCompleteNpc
LuaSetMissionDataSize
LuaSetMissionData
LuaSetMissionCompleteNum
LuaSetAchievedItem
InsertQuestMenuStringList
LuaInsertQuest
LuaQuestShowMenu
LuaQuestShowMenuCommon
LuaInsertQuestNeedItem
LuaGetQuestCurPage
LuaGetMenuResponse
LuaSaveQuestNow
LuaTerminateQuestMenu
LuaSendQuestEventMessage
LuaGetQuestStatus
LuaInsertQuestFunctionStringList
LuaInsertDependancyQuests
LuaSetMissionDifferentQuestData
LuaInQuireSameItem
LuaSetPayStep
LuaSaveLocalQuestNow
LuaEnablePayQuestItem
LuaSetStep
LuaPayQuest
LuaDelItemEXT
LuaSendAchieveMessage
LuaSetupCompleteProviso
LuaSetOtherStartCondition
LuaSetInstanceWorldConfig
LuaCheckEntranceCondition
LuaGetJobState
LuaGoInstanceDungeonInQuest
LuaGetWorldID
LuaCheckQuestAchieveCondition
LuaPrepareQuestData
LuaSaveCurPosAsLastTelPosition
LuabSetPayQuest
LuaGObjAppearedInSight
LuaGetInsDungeon
LuaGetTeleportState
LuaSetAbortQuest
LuaSetUpdateQuestTimeLimit
LuaLocalTimer
LuaGetQuestID
LuaEventRegister
LuaGetNameQuestID
LuaQuestStart
LuaSetWorldConfig
LuaFixEventRegister
LuaQuestTimeSet
LuaIndeonInitializeData
LuaIndeonAllUserRelease
LuaFindCharName
LuaIndeonRelease
LuaIndeonUpdateInitializeData
LuaGetQuestStep
LuaGetElapsedTime
LuaGetNextSpawnObjTime
LuaGetNextEventTime
LuaSetQuestStep
LuaMobSpawn
LuaSetEventNextTime
LuaSetOrgUpdateTimeLimit
LuaSetNextSpawnObjTime
LuaForceComplete
LuaCloseInstanceDungeonInQuest
LuaQuestChk
LuaGetLastTime
LuaGetTickCount
LuaSetLastTime
LuaSetElapsedTime
LuaSetAchievementLimit
LuaQuestInsertNpc
LuaSetCollectionItemMissionData
LuaSetDialLogMissionData"
LuaSetDeliverMissionData
LuaSetDeliverMissionData_EX
LuaInsertMissionNPC
LuaSetLimitTimeStartCondition
LuaGetQuestAchievementCount
LuaSetDifferentString
LuaSetCollectionItemMissionData_EX
LuaSetDependencyQuestCount
LuaSetDayOrNight
LuaStartDayLimit
LuaGetStep
LuaSetMissionData_EX
LuaQuestGiveEventPoint_EXP_Gold
LuaSetJobTypeStartCondition
LuaSetHwanLevel
LuaSetKillPlayerMissionData
LuaSetAchievedPoint
LuaSetAchievedSkillPont
LuaInsertDependancyQuestsOneClear
LuaSetRaceStartCodition
LuaGetQuestMenuResponse
LuaQuestAddItem_EXT
LuaGetCurRegionID
LuaCmpCodeName
LuaQuestSetStartHandler
LuaQuestSetDeleteHandler
LuaSetQuestCurPage
LuaQuestShowRewardWindow
LuaSetRealTime
LuaSetTalismanMissionData
LuaSetDivideType
LuaSetDisableQuest
LuaSetFlagRewardInProgress
LuaInsertMissionCompleteNpcList
LuaQuestGetCountEmptyInventory
|
I don't know the function of each of these functions,but it might be useful :P
|
|
|
05/07/2012, 15:54
|
#24
|
elite*gold: 0
Join Date: Sep 2010
Posts: 783
Received Thanks: 921
|
seems interesting
|
|
|
05/07/2012, 17:16
|
#25
|
elite*gold: 0
Join Date: Dec 2011
Posts: 1,121
Received Thanks: 1,320
|
Well, time to learn this shiat ^^. Just gotta study the current scripts and try to learn from them.
|
|
|
05/07/2012, 20:56
|
#26
|
elite*gold: 0
Join Date: Feb 2011
Posts: 38
Received Thanks: 1
|
just a question, can this script (event) be able to start the events from servers? btw thank you for that guide and all.! Nice Release =)
|
|
|
05/09/2012, 19:08
|
#27
|
elite*gold: 220
Join Date: Jul 2008
Posts: 1,080
Received Thanks: 575
|
Awesome release , I tried to do it but I couldn't actually and I gave up.
Good Job.
|
|
|
05/10/2012, 06:53
|
#28
|
elite*gold: 0
Join Date: Apr 2009
Posts: 123
Received Thanks: 28
|
Did it xDD
Kill 10 DS Get a Title + 100GLobals ...
Titles is in Db guys not in the Quest.sct
|
|
|
05/10/2012, 15:35
|
#29
|
elite*gold: 60
Join Date: Jan 2010
Posts: 48
Received Thanks: 253
|
Quote:
Originally Posted by eldanger08
Did it xDD
Kill 10 DS Get a Title + 100GLobals ...
Titles is in Db guys not in the Quest.sct
|
Nice to see that you are developing own quests
|
|
|
05/15/2012, 16:21
|
#30
|
elite*gold: 0
Join Date: May 2011
Posts: 425
Received Thanks: 25
|
Quote:
Originally Posted by Stratti
[/code]
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 code:
Code:
LuaInsertQuest(TYPE_ID, "SN_QNO_TEST_QUEST.lua", "QNO_TEST_QUEST")

|
LuaSetAchievedItem(1, 7200, 0, 0, 1, "ITEM_MALL_GLOBAL_CHATTING", 10)
can me add new line for example , like that
LuaSetAchievedItem(1, 7200, 0, 0, 1, "ITEM_MALL_GLOBAL_CHATTING", 10)
LuaSetAchievedItem(1, 7200, 0, 0, 1, "ITEM_MALL_SAYTAN_DRESS", 1)
?
|
|
|
Similar Threads
|
[Release] Collection of silkroad intro scripts
06/11/2021 - SRO PServer Guides & Releases - 18 Replies
-- removed --
|
PLANET SILKROAD|11DG|CH/EU|BALANCED|LOWRATE|OLDSCHOOL JOB|IMPROVED QUESTS|HARDCORE
10/23/2015 - SRO PServer Advertising - 101 Replies
Grand Opening of our server will be on the 25-09-2015 at 15:00 BERLIN TIME
http://i.epvpimg.com/bPh7d.jpg
http://i.epvpimg.com/M0oXg.jpg
http://i.epvpimg.com/yiqTf.png
http://i.epvpimg.com/WX8tf.jpg
http://i.epvpimg.com/QrmOc.jpg
Homepage| Registration | Downloads | Facebook
|
[Realise]Silkroad Bot Scripts
06/25/2015 - Silkroad Online - 21 Replies
*SilkroadOnline Bot Scripts*
I see a lot of people who need Cripts and cant find it?
here you go about 400cripts.
Work on : Mbot, Ibot, RIbot,
If someone can, test on what more bots it work,write here.
Files Attached
|
All times are GMT +1. The time now is 14:23.
|
|