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 23:03

  • 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 05/15/2018, 22:00   #106
 
elite*gold: 10
Join Date: Jan 2010
Posts: 48
Received Thanks: 252
Quote:
Originally Posted by lamuathu1989 View Post
reupload
Wat?
Links are still working.
Stratti is offline  
Thanks
1 User
Old 02/14/2019, 11:58   #107
 
elite*gold: 0
Join Date: Sep 2016
Posts: 12
Received Thanks: 1
hi
Help Pls. When i am about to accept quest, client close. Can you tell me where i was wrong? Ty for sharing.
david2511 is offline  
Old 04/21/2019, 23:11   #108
 
elite*gold: 0
Join Date: May 2009
Posts: 32
Received Thanks: 26
My Quest Name is blank with all the supporting files updated. any ideas?
Attached Images
File Type: png quest name.png (2.47 MB, 172 views)
bfwpain is offline  
Old 04/25/2019, 18:41   #109
 
elite*gold: 0
Join Date: Mar 2008
Posts: 159
Received Thanks: 61
It might be a problem with end character formatting of your textfiles.
I would recommend you to get notepad++ and display the end characters of your file:


Make sure you got a "CRLF" at every line, no ending with "LF" only. If you want to remove every single "LF" entry, simply follow this procedure:


- Search for "\r\n"
- Replace with a non used set of chars like "ÜÜÜ"
- Search for "\n" and replace with space char
- Replace back "ÜÜÜ" to "\r\n"

Afterwards you should have every entry in each textfile seperated into a single line only. The old "\n" format chars will be gone in some item description and so on. You do not need them anymore, because text with will be limited automatically.

If it does not display anything please make sure you have lua entries matched to the textfile entries (SN_...).
guckguck is offline  
Thanks
1 User
Old 04/25/2019, 23:44   #110
 
elite*gold: 0
Join Date: May 2009
Posts: 32
Received Thanks: 26
Quote:
Originally Posted by guckguck View Post
It might be a problem with end character formatting of your textfiles.
I would recommend you to get notepad++ and display the end characters of your file:


Make sure you got a "CRLF" at every line, no ending with "LF" only. If you want to remove every single "LF" entry, simply follow this procedure:


- Search for "\r\n"
- Replace with a non used set of chars like "ÜÜÜ"
- Search for "\n" and replace with space char
- Replace back "ÜÜÜ" to "\r\n"

Afterwards you should have every entry in each textfile seperated into a single line only. The old "\n" format chars will be gone in some item description and so on. You do not need them anymore, because text with will be limited automatically.

If it does not display anything please make sure you have lua entries matched to the textfile entries (SN_...).
Yep I found my problem, Since I converted my text over to english the spacing of the lines have to be exact and my spacing was off by one. and in normal notepad you couldn't see that i needed one more <tab> but I fixed the whole entire quest off of that suggestion. I was just used to editing the quick stuff in notepad. and not notepad++. so Thank you a whole lot!
bfwpain is offline  
Thanks
1 User
Old 05/02/2019, 02:44   #111
 
elite*gold: 0
Join Date: May 2017
Posts: 1
Received Thanks: 0
i have problem Describe NPC no have name in my game?
abdallaMohamed2 is offline  
Old 02/26/2020, 22:13   #112
dotCom
 
Devsome's Avatar
 
elite*gold: 9842
The Black Market: 107/0/0
Join Date: Mar 2009
Posts: 16,834
Received Thanks: 4,667
Thanks, good Tutorial
Devsome is offline  
Thanks
2 Users
Old 05/17/2020, 16:44   #113
 
elite*gold: 0
Join Date: Jan 2016
Posts: 9
Received Thanks: 1
Nice <3
MrCheToS is offline  
Old 09/17/2020, 03:20   #114
 
elite*gold: 0
Join Date: Nov 2017
Posts: 22
Received Thanks: 1
dostum bir görevde item verirken male famale itemi karakterın cinsine göre nasıl veiririm ?
ramo19 is offline  
Old 01/07/2021, 09:15   #115
 
elite*gold: 0
Join Date: Jul 2015
Posts: 25
Received Thanks: 6
Asome
amazingback is offline  
Old 01/29/2021, 11:37   #116
 
elite*gold: 0
Join Date: Oct 2020
Posts: 24
Received Thanks: 0
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
i tried but it did not work, can you help me.
Exception in thread "Main" java.lang.UnSupportClassVersion....v.....v....
hunter2051 is offline  
Old 01/29/2021, 13:57   #117
 
elite*gold: 0
Join Date: Jul 2020
Posts: 234
Received Thanks: 230
Please check if you are using the right command:


Otherwise I can also upload the quest files for you or you share your sct files.
Please also check your java version, with java 1.8 it is working.
OKeks is offline  
Old 01/30/2021, 17:02   #118
 
elite*gold: 0
Join Date: Oct 2010
Posts: 103
Received Thanks: 6
Hi, sorry for dig it, I've done to add all futures as above, however in quest list its only appear "blank (0/1)" (please take a look at picture) how do i fix this issue, thank you
Attached Images
File Type: jpg 1.jpg (52.6 KB, 84 views)
tubeo is offline  
Old 01/30/2021, 17:06   #119
 
elite*gold: 0
Join Date: Jul 2020
Posts: 234
Received Thanks: 230
Quote:
Originally Posted by tubeo View Post
Hi, sorry for dig it, I've done to add all futures as above, however in quest list its only appear "blank (0/1)" (please take a look at picture) how do i fix this issue, thank you
It might be a problem with end character formatting of your textfiles.
I would recommend you to get notepad++ and display the end characters of your file:
Link

Make sure you got a "CRLF" at every line, no ending with "LF" only. If you want to remove every single "LF" entry, simply follow this procedure:
Link

- Search for "\r\n"
- Replace with a non used set of chars like "ÜÜÜ"
- Search for "\n" and replace with space char
- Replace back "ÜÜÜ" to "\r\n"

Afterwards you should have every entry in each textfile seperated into a single line only. The old "\n" format chars will be gone in some item description and so on. You do not need them anymore, because text with will be limited automatically.

If it does not display anything please make sure you have lua entries matched to the textfile entries (SN_...).
OKeks is offline  
Old 01/30/2021, 18:35   #120
 
elite*gold: 0
Join Date: Oct 2010
Posts: 103
Received Thanks: 6
Quote:
Originally Posted by OKeks View Post
It might be a problem with end character formatting of your textfiles.
I would recommend you to get notepad++ and display the end characters of your file:
Link

Make sure you got a "CRLF" at every line, no ending with "LF" only. If you want to remove every single "LF" entry, simply follow this procedure:
Link

- Search for "\r\n"
- Replace with a non used set of chars like "ÜÜÜ"
- Search for "\n" and replace with space char
- Replace back "ÜÜÜ" to "\r\n"

Afterwards you should have every entry in each textfile seperated into a single line only. The old "\n" format chars will be gone in some item description and so on. You do not need them anymore, because text with will be limited automatically.

If it does not display anything please make sure you have lua entries matched to the textfile entries (SN_...).
Thank for your fast reply, but i don't really get it. Can you tell me which text file manage the name of quest on quest list tab ?
tubeo 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 23:04.


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.