lua
|
08-06-2013, 06:48 PM
(This post was last modified: 08-07-2013 10:52 AM by TrioxX.)
Post: #1
|
|||
|
|||
lua
Hi
Is there anyone, who's experienced in lua? I have a function that seems like a "decoding" mechanism: --- And i have an encoded file (see attachments). However, i'm not experienced in lua, so i have no clue how to do that. So... If there's anyone who could try to decode it for me, i would be very thankful. And yes... I'm real! |
|||
08-06-2013, 07:23 PM
Post: #2
|
|||
|
|||
RE: lua
Hi
I am unfamiliar with 'lua' and I have not downloaded your file, but the code you have posted seems to me can be easily converted to PHP: e.g. Code: if i == 1 and t == "AAA" then would probably be: PHP Code: if ($i == 1 && $t == "AAA") { And for the functions you don't understand refer to http://www.lua.org/manual/5.2/ (select version) and php.net (for equivalents). Once you have the code in PHP I am sure you will be able to understand it better and can work from there. |
|||
08-06-2013, 07:41 PM
Post: #3
|
|||
|
|||
RE: lua
Hey TriloxX,
first greetz from ScriptDevilz. Your code does not look complete, so this is not possible to decode with the snippets. |
|||
08-06-2013, 08:07 PM
(This post was last modified: 08-06-2013 09:15 PM by TrioxX.)
Post: #4
|
|||
|
|||
RE: lua
@Cyko
I was thinking about converting it to PHP. @Macro Which one? The attached one? Both codes are untouched I took it from a World of Warcraft Addon. So... If anyone has an idea how to decode that stuff, i can also post the whole addon here. EDIT: Tried to port to PHP, but i guess i failed: PHP Code: function dec($t) { Whatever i try to decode, this is the result: Code: 515151515151515151515151515151515151515151515151515151515151515..... |
|||
08-07-2013, 08:46 AM
(This post was last modified: 08-07-2013 08:51 AM by Macro2k13.)
Post: #5
|
|||
|
|||
RE: lua
Nach dem ich deinen Script noch mal angesehen habe, habe ich folgendes raus bekommen:
After review your code and the lua scripts, i get following: Quote:N Please Read! |N|This achievement is done as a level 84-85 in Twilight Highlands. The mobs that you will encounter come in packs of 2-4, so being under 84 in not advisable.| Hier dein angepasster Quellcode: Your fixed code: TrioxX you dont fail only the wrong functions on the right place PHP Code: <?php |
|||
08-07-2013, 10:30 AM
Post: #6
|
|||
|
|||
RE: lua
Yeah, you are right. I just inverted ord() and chr() Thank you for pointing that out.
|
|||
08-07-2013, 10:49 AM
Post: #7
|
|||
|
|||
RE: lua
You're welcome.
|
|||
10-28-2013, 08:03 AM
Post: #8
|
|||
|
|||
RE: lua
no real tricks in lua,
you can mostly port it straight to php |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)