Jump to content

Recommended Posts

Posted

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?

Posted (edited)

I found a solution. Thanks for helping.
lock.

Spoiler

 

Spoiler

 

Edited by Gque
problem solved
  • 2 months later...
Posted

@Gque Hey can you help me? how did you solve it? I have similar problem


UICommonAPI.uc(41) : Error, Missing variable name
Compile aborted due to errors.
Failure - 1 error(s), 0 warning(s)

@SGER@fjs Hey can you help me?:)


UICommonAPI.uc(41) : Error, Missing variable name
Compile aborted due to errors.
Failure - 1 error(s), 0 warning(s)

Posted
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 name
Compile aborted due to errors.
Failure - 1 error(s), 0 warning(s)

@SGER@fjs Hey can you help me?:)


UICommonAPI.uc(41) : Error, Missing variable name
Compile 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.

Posted
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?

Guest
This topic is now closed to further replies.


×
×
  • Create New...