Help About Quest

05/08/2017 13:26 MeteorSro#1
Hello Epvp,
I need To Extract Script File Server. . For i Can Easly Edit Quest .. If any one got some way can Release for me .. thanks for help !
05/09/2017 02:30 ZαKuRα#2
[Only registered and activated users can see links. Click Here To Register...]
05/09/2017 10:08 m0nkie#3
use extractor
05/12/2017 13:56 MeteorSro#4
Guys .. i understand how i made quest .. ! but how i made some edit with script already made it ! ... like i add quest in some script ! how i do edit more quest .. with that script i use it at first time and add quest or edit one ..
05/12/2017 14:19 blapanda#5
You have to be more clear, about which quests you are talking about!
Do you mean: The beginner quests, weapon quests, etc.? If you mean those, they are hard-coded inside the gameserver. You cannot edit them.
05/12/2017 20:20 Snow*#6
If you are using a clean server files with no custom quests you can download the ones in this thread [Only registered and activated users can see links. Click Here To Register...] and edit them *they are the default quests*

If you have a custom quests in the server and want to edit them
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 [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
Bins/src
[Only registered and activated users can see links. Click Here To Register...]
[Only registered and activated users can see links. Click Here To Register...]

Post [Only registered and activated users can see links. Click Here To Register...]
05/12/2017 20:42 MeteorSro#7
guys please .. understand what did i mean !!
i got a locked script ! and got some quests ... and i don't need to know how i made quest cuz i already know how i do ! i want some way to extract this .. look at the image ..
[Only registered and activated users can see links. Click Here To Register...]
05/12/2017 20:47 leo2111#8
.sct -> @[Only registered and activated users can see links. Click Here To Register...]
05/12/2017 20:49 MeteorSro#9
Quote:
Originally Posted by Snow* View Post
If you are using a clean server files with no custom quests you can download the ones in this thread [Only registered and activated users can see links. Click Here To Register...] and edit them *they are the default quests*

If you have a custom quests in the server and want to edit them
[URL="http://www.elitepvpers.com/forum/private-sro-exploits-hacks-bots-guides/1868190-release-silkroad-lua-scripts-new-quests-more-6.html#post34574732"]
Bins/src
[Only registered and activated users can see links. Click Here To Register...]
[Only registered and activated users can see links. Click Here To Register...]

Post [Only registered and activated users can see links. Click Here To Register...]
sorry but i didn't know how i can use that file u sended !
05/12/2017 21:41 Snow*#10
Shift + right click on the folder that has the script (.sct) and the unluac.jar then choose open command window here
write this command and the sct you want to extract then hit enter and you are done
java -jar unluac.jar file-name.sct
[Only registered and activated users can see links. Click Here To Register...]
05/13/2017 02:24 MeteorSro#11
Quote:
Originally Posted by Snow* View Post
Shift + right click on the folder that has the script (.sct) and the unluac.jar then choose open command window here
write this command and the sct you want to extract then hit enter and you are done
java -jar unluac.jar file-name.sct
[Only registered and activated users can see links. Click Here To Register...]
can u join t.v with me or same like for show me .. cuz when i try to shieft + right click .. found no thing .. and can't understand what u mean already !
05/13/2017 07:08 Snow*#12
Quote:
Originally Posted by MeteorSro View Post
can u join t.v with me or same like for show me .. cuz when i try to shieft + right click .. found no thing .. and can't understand what u mean already !
Right click + shift > Open command window here
[Only registered and activated users can see links. Click Here To Register...]
05/13/2017 10:33 MeteorSro#13
After select the both folders quest.sct and unluc right click + shift and choices command line?
05/13/2017 13:13 MeteorSro#14
Thanks sir I get your point.. And I try it's work.. Thanks for help and waiting to explain your point to me