[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.
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_...).
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!
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....
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
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_...).
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 ?
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