Register for your free account! | Forgot your password?

Go Back   elitepvpers > Popular Games > Silkroad Online > SRO Private Server > SRO PServer Guides & Releases
You last visited: Today at 19:19

  • Please register to post and access all features, it's quick, easy and FREE!

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.

Reply
 
Old 11/25/2021, 20:04   #121
 
elite*gold: 0
Join Date: Sep 2017
Posts: 73
Received Thanks: 3
i got this problem
pvperz ll is offline  
Old 12/17/2021, 12:03   #122
 
elite*gold: 0
Join Date: Oct 2021
Posts: 6
Received Thanks: 0
About Is there any relevant tool or exe for exporting SCT files
Mr*Zone is offline  
Old 12/17/2021, 13:02   #123
 
elite*gold: 0
Join Date: Jul 2020
Posts: 234
Received Thanks: 230
You can find it here:
OKeks is offline  
Old 12/17/2021, 15:43   #124
 
elite*gold: 0
Join Date: Oct 2021
Posts: 6
Received Thanks: 0
I've read this information, but I'm not very skilled in applying Java
Mr*Zone is offline  
Old 12/17/2021, 22:34   #125
 
elite*gold: 0
Join Date: Jul 2020
Posts: 234
Received Thanks: 230
The only thing you need is to put the sct file and jar file together and run a cmd window, you do not need any java knowledge:
OKeks is offline  
Thanks
1 User
Old 12/21/2021, 11:09   #126
 
Judgelemental's Avatar
 
elite*gold: 0
Join Date: Aug 2013
Posts: 1,532
Received Thanks: 835
Quote:
Originally Posted by Mr*Zone View Post
I've read this information, but I'm not very skilled in applying Java
So, I have tried this method and it decompiles the .sct files.
Before you run it make sure you've got Java installed on your computer and this setting takes place (Right Click -> Open With...)



Step 1. Place YourFile.sct (in my case Event.sct) and unluac.jar in C:/
Step 2. Run cmd (with Administrator rights if it doesn't work without them)
Step 3. Write cd.. then press enter
Step 4. Repeat step 3
Step 5. Your CMD is now in C:\>
Step 6. Type "unluac.jar" "YourFile.sct"
A folder will be created with the .lua scripts inside. The folder has the name of the .sct file

Quote:
Originally Posted by OKeks View Post
The only thing you need is to put the sct file and jar file together and run a cmd window, you do not need any java knowledge:
I made it work thanks to you, otherwise I wouldn't have opened the thread.
Judgelemental is offline  
Thanks
1 User
Old 12/21/2021, 14:58   #127
 
waled951's Avatar
 
elite*gold: 0
Join Date: Oct 2021
Posts: 67
Received Thanks: 13
Link ?
waled951 is offline  
Old 01/02/2022, 16:23   #128
 
cariocas's Avatar
 
elite*gold: 0
Join Date: Oct 2007
Posts: 500
Received Thanks: 103
Hey pros, someone knows command for kill in range for sBot for example in iSro was fgw(17921,6520,25).thx in advance
cariocas is offline  
Old 05/26/2022, 02:24   #129
 
ali2008x's Avatar
 
elite*gold: 0
Join Date: Oct 2010
Posts: 151
Received Thanks: 11
hello vro
bro
i hope you be fine ♥
i was looking to make quest and i see your thread in epvp and it was very useful to me and i was do it step by step
and its working in game but not 100%
when i kill mobs don't count to my quest

PHP Code:
function QNO_QUEST_ODYSSEY() -- you should match this with your filename!
  
QUESTID LuaGetQuestID("QNO_QUEST_ODYSSEY") -- IMPORTANTmust match with the name in your database
  LuaSetStartCodition
(2QSC_QUESTQSC_LEVEL1130)
  
QM_CONVERSATION 1
  LuaSetStartMethod
(QM_CONVERSATION1"NPC_QCH13")
  
LuaInsertMissionOrCompleteNpc("NPC_QCH13")
  
LuaQuestInsertNpc(1"NPC_QCH13")
  
LuaSetMissionDataSize(QUESTID1)
  
LuaSetMissionData_EX(QUESTID0MISSION_TYPE_KILL_MONSTER"SN_CON_QNO_QUEST_ODYSSEY"1"MOB_AR_MANGYANG_PLUNDER1_CLONE"0100001)
  
InsertQuestMenuStringList("NPC_QCH13"8"BASIC_MENUSTRING_GREETING""SN_NPC_QCH13_QS""BASIC_MENUSTRING_REQUEST_ACCEPT_QUEST""SN_TALK_QNO_QUEST_ODYSSEY_01""BASIC_MENUSTRING_AT_ACCEPT""SN_TALK_QNO_QUEST_ODYSSEY_02""BASIC_MENUSTRING_AT_DENY""SN_TALK_QNO_QUEST_ODYSSEY_03""BASIC_MENUSTRING_NOT_ACHIEVED""SN_TALK_QNO_QUEST_ODYSSEY_04""BASIC_MENUSTRING_INVENTORY_FULL""SN_TALK_QNO_QUEST_ODYSSEY_05""BASIC_MENUSTRING_ACHIEVED""SN_TALK_QNO_QUEST_ODYSSEY_06""BASIC_MENUSTRING_ACHIEVED_NOW""SN_TALK_QNO_QUEST_ODYSSEY_07")
  
LuaSetMissionCompleteNum(0)
  
PAY_ITEM_METHOD_EXACT 1
  LuaSetAchievedItem
(17200001"ITEM_SILK_SCROLL_50"1)
  
LuaSetAchievedSkillPont(0)
end 







ali2008x is offline  
Old 05/27/2022, 17:26   #130
 
elite*gold: 28
Join Date: Apr 2021
Posts: 38
Received Thanks: 6


I work like this and it work fine try it!
GlobalSRO2021 is offline  
Old 10/03/2022, 21:16   #131
 
elite*gold: 0
Join Date: Jun 2017
Posts: 83
Received Thanks: 23
Quote:
Originally Posted by Stratti View Post
Hello,

first of all, sorry for bumping this old thread!
Since I have received alot of requests on how to decompile the .sct files I will show you a simple way today.

You should know that the .sct files just contain compiled Lua bytecode. Nothing special. Most of you already tried to decompile the files, but it gets confused. So we'll have to modify it's source code a bit.

However, instead of LuaDec I'll be using (which is an open source Lua decompiler written in Java), which worked better for me.
The problem is that Quest.sct and Event.sct can contain multiple lua files.
So what I did is when a .sct contains multiple "root" functions, save each function to an individual file, otherwise save it into a single file. You can check the modifications by yourself in the attached source (modified files Main.java, LFunction.java, LFunctionType.java).

Keep in mind that this is a very dirty approach in my opinion and should only be used for decompiling silkroad's .sct files!
I have attached a compiled java binary so you can directly use it. I have also attached the modified source code so you can build it on your own.

Usage: java -jar unluac.jar <filetodecompile>


Sincerly yours,
Stratti
Can you update this to work on lua 5.3? this is the version used in the latest leaked ISROR files

Thanks in advance
Ahmed0425 is offline  
Old 09/23/2024, 09:18   #132
 
elite*gold: 0
Join Date: Mar 2022
Posts: 61
Received Thanks: 11
thanks
johnnydung is offline  
Reply


Similar Threads 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 19:20.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.