Gque Posted March 14, 2020 Share Posted March 14, 2020 Hello guys , i am trying to compile my old .uc files into interface.u but i am facing a few errors like that on multiple files , example : Error:..\Interface\Classes\ChatWnd.uc(16) : Error, Unrecognized type 'ChatFilterInfo' Log: Compile aborted due to errors. Log: Failure - 1 error(s), 0 warning(s) The weird thing is that about a year ago i could compile these files , the same files without errors. Anyone have any advice on that? Link to comment Share on other sites More sharing options...
SGER@fjs Posted March 14, 2020 Share Posted March 14, 2020 show your log file and "ChatWnd.uc" or try with this compiler https://www.mediafire.com/file/3t15wz7eqx8ia8l/ILCompiler.zip/file Link to comment Share on other sites More sharing options...
Gque Posted March 14, 2020 Author Share Posted March 14, 2020 (edited) I found a solution. Thanks for helping. lock. Spoiler Spoiler Edited March 15, 2020 by Gque problem solved Link to comment Share on other sites More sharing options...
justas405 Posted May 24, 2020 Share Posted May 24, 2020 @Gque Hey can you help me? how did you solve it? I have similar problem UICommonAPI.uc(41) : Error, Missing variable nameCompile aborted due to errors.Failure - 1 error(s), 0 warning(s) @SGER@fjs Hey can you help me?:) UICommonAPI.uc(41) : Error, Missing variable nameCompile aborted due to errors.Failure - 1 error(s), 0 warning(s) Link to comment Share on other sites More sharing options...
NevesOma Posted May 25, 2020 Share Posted May 25, 2020 20 hours ago, justas405 said: @Gque Hey can you help me? how did you solve it? I have similar problem UICommonAPI.uc(41) : Error, Missing variable nameCompile aborted due to errors.Failure - 1 error(s), 0 warning(s) @SGER@fjs Hey can you help me?:) UICommonAPI.uc(41) : Error, Missing variable nameCompile aborted due to errors.Failure - 1 error(s), 0 warning(s) Can you show UICOmmonAPI.uc ? The error says that you do not have a variable name in line 41. Check this line. Link to comment Share on other sites More sharing options...
justas405 Posted May 25, 2020 Share Posted May 25, 2020 @NevesOma Hello thanks for answer, thats screenshot of UICOmmomAPI.uc https://ibb.co/WWVLZC0 Link to comment Share on other sites More sharing options...
NevesOma Posted May 26, 2020 Share Posted May 26, 2020 On 5/25/2020 at 4:27 PM, justas405 said: @NevesOma Hello thanks for answer, thats screenshot of UICOmmomAPI.uc https://ibb.co/WWVLZC0 You should have something like this: static function DialogShow (EDialogModalType modalType, EDialogType dialogType, string strMessage, string strControlName, optional int dialogWeight, optional int dialogHeight, optional bool bUseHtml, optional string customIconTexture) { local DialogBox script; script = DialogBox(GetScript("DialogBox")); script.ShowDialog(modalType,dialogType,strMessage,strControlName,dialogWeight,dialogHeight,bUseHtml); if ( customIconTexture != "" ) { script.setIconTexture(customIconTexture); } } local DialogBox script; - this should be your line (41) Please tell me how did you get the interface decompilation? Link to comment Share on other sites More sharing options...
justas405 Posted May 29, 2020 Share Posted May 29, 2020 @NevesOma I decompiled it with program WOTgrealExporter and I got a lot of .uc files :) @NevesOmacan you recomend any better program for it? Link to comment Share on other sites More sharing options...
Recommended Posts