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:49

  • 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 03/23/2015, 09:41   #76
 
Xavius Nemesis's Avatar
 
elite*gold: 3
Join Date: Mar 2015
Posts: 106
Received Thanks: 44
original knight-captain quest in this file? or i need edit from game server?
Xavius Nemesis is offline  
Old 03/24/2015, 10:34   #77
 
elite*gold: 0
Join Date: Mar 2015
Posts: 175
Received Thanks: 16
Thanks for release
Duty* is offline  
Old 05/07/2015, 18:55   #78
 
elite*gold: 0
Join Date: Jan 2008
Posts: 79
Received Thanks: 8
wanna make daily quest from where to edit this setting
answer me please ty
raptter is offline  
Old 05/09/2015, 22:57   #79
 
elite*gold: 2
Join Date: Aug 2011
Posts: 833
Received Thanks: 1,130
Quote:
Originally Posted by blapanda View Post
Aha, yeah, whatever your problem is, have fun with it.
Mastering the art of whatever by recalling the nonsense that people spreading here from other threads. If acting against such sounds stupid to you, than you are the only one who thinks that way.
Other than that, don't prejudice or judge without previous context, or if you didn't understand anything related to the recalled point.
If you where not a **** about it, I would of given you the answer... and its very very simple... I guess however not every idiot can figure it out.
Timlock is offline  
Old 02/14/2016, 08:54   #80
 
Black Shield's Avatar
 
elite*gold: 0
Join Date: Feb 2013
Posts: 46
Received Thanks: 6
Hello guys any body still here

i trying to add new Quest but the problem is, it dose not appear at the NPC
the Quest File in the topic (Vsro new) have 637 file for 637 Quest
and my Database _RefQuest Got 1042 Quest without my new Quest
GameServer.exe (Loading Logs)
Black Shield is offline  
Old 05/29/2016, 14:08   #81
 
elite*gold: 10
Join Date: Jan 2010
Posts: 48
Received Thanks: 251
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
Attached Files
File Type: zip bin.zip (122.3 KB, 600 views)
File Type: zip src.zip (72.5 KB, 308 views)
Stratti is offline  
Thanks
19 Users
Old 05/30/2016, 21:15   #82

 
Bocc1337's Avatar
 
elite*gold: 737
Join Date: Oct 2007
Posts: 730
Received Thanks: 133
thx was looking for something like this.
Bocc1337 is offline  
Old 11/04/2016, 23:38   #83
 
spinal2's Avatar
 
elite*gold: 0
Join Date: Dec 2007
Posts: 241
Received Thanks: 16
Thanks Alot
spinal2 is offline  
Old 11/06/2016, 19:11   #84
 
lepitismak's Avatar
 
elite*gold: 0
Join Date: Oct 2007
Posts: 479
Received Thanks: 63
I can put more than one requirement in each quest? For example:

Kill 10x mob A
Kill 10x mob B

?
lepitismak is offline  
Old 11/06/2016, 19:57   #85
 
blapanda's Avatar
 
elite*gold: 0
Join Date: Jul 2009
Posts: 1,860
Received Thanks: 757
Quote:
Originally Posted by lepitismak View Post
I can put more than one requirement in each quest? For example:

Kill 10x mob A
Kill 10x mob B

?
Yes, you can.



Should be self explanatory.
blapanda is offline  
Old 11/06/2016, 20:54   #86
 
lepitismak's Avatar
 
elite*gold: 0
Join Date: Oct 2007
Posts: 479
Received Thanks: 63
Quote:
Originally Posted by blapanda View Post
Yes, you can.



Should be self explanatory.

Thank you very much
I will do this.

About the awards, I Brochure Add more than one? A roller for example.

Quote:
Originally Posted by blapanda View Post
Yes, you can.



Should be self explanatory.
in this case it shows quest to collect certain item of the mob. in my case I need to account for the kill.

100x The mob
100x mob B

You know how to do this?

you use this: "MISSION_TYPE_GATHER_ITEM_FROM_MONSTER"
i will use this: "MISSION_TYPE_KILL_MONSTER"

and when i use this with mutiple mobs quest dont show on npc
lepitismak is offline  
Old 11/06/2016, 22:49   #87
 
spinal2's Avatar
 
elite*gold: 0
Join Date: Dec 2007
Posts: 241
Received Thanks: 16
Thumbs up


Its a Hard Work to do, due need be a large pool with others Luamission.

I can do it for you for $USD !
spinal2 is offline  
Old 12/20/2016, 01:32   #88
 
elite*gold: 0
Join Date: Jun 2011
Posts: 802
Received Thanks: 393
You ppl are amazing asking money for some **** you can figure out in 2 minutes, opening random lua scripts. You can bind all the files into one and go through all of them really fast..hard work really

Now to add conditions like kill 100 x mob a, kill 100x mob b

LuaSetMissionData_EX(QUESTID, 0, MISSION_TYPE_KILL_MONSTER, "SN_CON_QNO_TEST_QUEST", 1, "MOB_A", 0, 100, 0, 1)
LuaSetMissionData_EX(QUESTID, 0, MISSION_TYPE_KILL_MONSTER, "SN_CON_QNO_TEST_QUEST", 1, "MOB_B", 0, 100, 0, 1)
H34D_B4NG3R is offline  
Old 01/14/2017, 02:58   #89
 
elite*gold: 0
Join Date: May 2007
Posts: 193
Received Thanks: 46
Just in case someone is wondering how to let the quests show up on Help-Questlist. It's the gameguidedata.txt
sonniboy is offline  
Thanks
1 User
Old 01/19/2017, 12:09   #90
 
elite*gold: 0
Join Date: Mar 2008
Posts: 159
Received Thanks: 59
Quote:
Originally Posted by Stratti View Post
Hello,
...
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
Hi Stratti, your tool is working smoothly for quests and list files.
Using it to decode the event.sct will fail for me with a string out of index error. Could you please check it?



guckguck 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 +2. The time now is 19:49.


Powered by vBulletin®
Copyright ©2000 - 2024, 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 ©2024 elitepvpers All Rights Reserved.