[Dev] Decompiling the script files

04/24/2012 16:20 pH33n1x<3#1
Anyone know how to decompile the files in Script\VIETNAM folder? Especially Quest.sct and QuestList.sct
What we know, that they are LUA bytecodes. I tried some decompiler, but none of them worked.
04/24/2012 16:31 jumalauta#2
Fire up your favorite debugger and try to figure out how the GameServer parse them, this should be easily reversed then to make a decompiler.
04/24/2012 16:47 sandzo187#3
adding new lines with lua editor works fine^^
04/24/2012 16:48 pH33n1x<3#4
Quote:
Originally Posted by sandzo187 View Post
adding new lines with lua editor works fine^^
And may I ask which LUA editor are you using?
04/24/2012 17:23 sandzo187#5
LuaEdit 2010

rename .sct to .lua and open it.
Once it opened, copy the lines and edit it.
04/24/2012 17:28 pH33n1x<3#6
Quote:
Originally Posted by sandzo187 View Post
LuaEdit 2010

rename .sct to .lua and open it.
Once it opened, copy the lines and edit it.

Hmm.. but it shows so many weird characters/symbols
[Only registered and activated users can see links. Click Here To Register...]
04/24/2012 17:34 sandzo187#7
Thats right, now figure out, how 1 quest starts, then copy all lines and paste it and rename.
04/24/2012 18:04 Neko*#8
Tried this way .. and head to a fail ..
btw .. symbols = it is not working yet ..
i found another way .. but sorry i will not share :D
04/24/2012 18:10 LastThief*#9
Quote:
Originally Posted by Neko* View Post
Tried this way .. and head to a fail ..
btw .. symbols = it is not working yet ..
i found another way .. but sorry i will not share :D
no one need anything from you dickhead I already started building up my custom decompiler with C# so please gtfo.
04/24/2012 20:29 sandzo187#10
Quote:
Originally Posted by LastThief* View Post
no one need anything from you dickhead I already started building up my custom decompiler with C# so please gtfo.
Will be really usefull if you release, for myself it worked once with this method.
But its rly complicated and fucking up my head, sometimes gameserver cant read any quest anymore....
04/24/2012 20:32 rushcrush#11
i perefer for who cant make tool so can make new quests .etc
just edit old quests better then nth ^^
04/24/2012 20:46 vorosmihaly#12
those scripts are compiled lua scripts,that's why they have weird symbols if you open them via notepad or w/e..
04/24/2012 21:04 Neko*#13
Quote:
Originally Posted by rushcrush View Post
i perefer for who cant make tool so can make new quests .etc
just edit old quests better then nth ^^
Quote:
Originally Posted by LastThief* View Post
no one need anything from you dickhead I already started building up my custom decompiler with C# so please gtfo.



Problem ??
04/24/2012 21:07 Shifty*#14
Quote:
Originally Posted by Neko* View Post
Problem ??

[Only registered and activated users can see links. Click Here To Register...]
He said none needs shit from you. This thread is made for sharing and you said you won't share how you decompiled you can sincerly just gtfo from this thread.
04/24/2012 21:10 vorosmihaly#15
Quote:
Originally Posted by Shifty* View Post
He said none needs shit from you. This thread is made for sharing and you said you won't share how you decompiled you can sincerly just gtfo from this thread.
it's not a big deal..you just download an app called "luadec" using google,and that's it...I've had those like months ago,omg,lol'd at that guy,showing off with this shit which doesn't take more than like 5 minutes..