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!Quote:
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:
[Only registered and activated users can see links. Click Here To Register...]
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:
[Only registered and activated users can see links. Click Here To Register...]
- 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_...).
i tried but it did not work, can you help me.Quote:
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 [Only registered and activated users can see links. Click Here To Register...] 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 [Only registered and activated users can see links. Click Here To Register...] (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
It might be a problem with end character formatting of your textfiles.Quote:
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 :D
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 ?Quote:
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_...).