View Single Post
Old 05-03-2006, 03:49 PM   #13
Athanasios's Avatar
Join Date: Oct 2005
Location: Thessaloniki, Greece
Posts: 561
Originally Posted by squeegee
I figured out the luadec crash: It's because of the lack of local information.

I coded around it by using _TEMP_ for all local variable names. At least that got me able to decompile everything I've tried it on so far, but make no mistake, it's a kluge (for example, if there are 5 locals, all 5 are named _TEMP_ - not good!).

Email me if you want a copy of the modified source (no place to put it online...).

I will work on a proper solution to the local variable issue next. I just have to do some heavy code reading to understand luadec parse structure...
Can't you set a generator for random naming of local variables?

I have no clue of LUA coding, but in C, C++, Java and such this is doable. Either with matrices of strings or pointers.

EaW: Total Realism
TR mod team status: TR Leader, programmer, map maker, Multimedia & Website developer & administrator, Public Relations manager
Athanasios is offline   you may: quote & reply,