TES5EditScripts icon indicating copy to clipboard operation
TES5EditScripts copied to clipboard

Getting an error in NPC Generator

Open arkayn71 opened this issue 6 years ago • 2 comments

[00:31] Exception in unit userscript line 484: '$' is not a valid integer value [00:31] Error during Applying script "AT - NPC Generator v1.8": '$' is not a valid integer value

This is on 4.01 version of xEdit, so I will update to the 4.02 version now.

It will generate one character and then gets that error, so it most likely is not actually at that line as there is no $ at that location, at least according to Notepad++.

arkayn71 avatar May 29 '19 18:05 arkayn71

From the exception log file

Time: [54476859] 2019-05-29 11:45:40.184 ExceptionInfo: nil Exception: EConvertError Message: '$' is not a valid integer value Filesize: 24260096 Filedate: 2018-12-19 02:51:02 Computer: User: ThreadID: 6128 ProcessID: 5688 Current Window Caption: [Applying script "AT - NPC Generator v1.8"] Elapsed Time: 00:30 Current Window Class: TfrmMain

Callstack (Frames): [0042791D] System.SysUtils.ConvertErrorFmt (Line 5576, "System.SysUtils.pas") [01128CE5] wbScriptAdapter.IwbFile_RecordByFormID (Line 1419, "wbScriptAdapter.pas") [010BB0C2] JvInterpreter.GetFun (Line 4316, "JvInterpreter.pas") [010BB838] JvInterpreter.TJvInterpreterAdapter.GetValue (Line 4514, "JvInterpreter.pas") [010BFE28] JvInterpreter.TJvInterpreterExpression.GetValue (Line 6277, "JvInterpreter.pas") [010C0A79] JvInterpreter.TJvInterpreterFunction.GetValue (Line 6568, "JvInterpreter.pas") [010C4AC5] JvInterpreter.TJvInterpreterUnit.GetValue (Line 8277, "JvInterpreter.pas") [010BF3A8] JvInterpreter.TJvInterpreterExpression.InternalGetValue (Line 6062, "JvInterpreter.pas") [010BDD99] JvInterpreter.Expression (Line 5620, "JvInterpreter.pas") [010BE964] JvInterpreter.TJvInterpreterExpression.Expression1 (Line 5830, "JvInterpreter.pas") [010C1690] JvInterpreter.TJvInterpreterFunction.InternalSetValue (Line 6932, "JvInterpreter.pas") [010C1980] JvInterpreter.TJvInterpreterFunction.InterpretIdentifier (Line 6989, "JvInterpreter.pas") [010C0C1D] JvInterpreter.TJvInterpreterFunction.InterpretStatement (Line 6606, "JvInterpreter.pas") [010C08B6] JvInterpreter.TJvInterpreterFunction.InFunction (Line 6517, "JvInterpreter.pas") [010C4ED7] JvInterpreter.TJvInterpreterUnit.ExecFunction (Line 8368, "JvInterpreter.pas") [010C4C1F] JvInterpreter.TJvInterpreterUnit.GetValue (Line 8308, "JvInterpreter.pas") [010BF3A8] JvInterpreter.TJvInterpreterExpression.InternalGetValue (Line 6062, "JvInterpreter.pas") [010C1935] JvInterpreter.TJvInterpreterFunction.InterpretIdentifier (Line 6979, "JvInterpreter.pas") [010C0C1D] JvInterpreter.TJvInterpreterFunction.InterpretStatement (Line 6606, "JvInterpreter.pas") [010C0C64] JvInterpreter.TJvInterpreterFunction.InterpretStatement (Line 6616, "JvInterpreter.pas") [010C0C6D] JvInterpreter.TJvInterpreterFunction.InterpretStatement (Line 6618, "JvInterpreter.pas") [010C0C64] JvInterpreter.TJvInterpreterFunction.InterpretStatement (Line 6616, "JvInterpreter.pas") [010C0C6D] JvInterpreter.TJvInterpreterFunction.InterpretStatement (Line 6618, "JvInterpreter.pas") [010C0C6D] JvInterpreter.TJvInterpreterFunction.InterpretStatement (Line 6618, "JvInterpreter.pas") [010C0C6D] JvInterpreter.TJvInterpreterFunction.InterpretStatement (Line 6618, "JvInterpreter.pas") [010C0C64] JvInterpreter.TJvInterpreterFunction.InterpretStatement (Line 6616, "JvInterpreter.pas") [010C0C6D] JvInterpreter.TJvInterpreterFunction.InterpretStatement (Line 6618, "JvInterpreter.pas") [010C0C64] JvInterpreter.TJvInterpreterFunction.InterpretStatement (Line 6616, "JvInterpreter.pas") [010C0C76] JvInterpreter.TJvInterpreterFunction.InterpretStatement (Line 6622, "JvInterpreter.pas") [010C0C64] JvInterpreter.TJvInterpreterFunction.InterpretStatement (Line 6616, "JvInterpreter.pas") [010C0C6D] JvInterpreter.TJvInterpreterFunction.InterpretStatement (Line 6618, "JvInterpreter.pas") [010C08B6] JvInterpreter.TJvInterpreterFunction.InFunction (Line 6517, "JvInterpreter.pas") [010C4ED7] JvInterpreter.TJvInterpreterUnit.ExecFunction (Line 8368, "JvInterpreter.pas") [010C5185] JvInterpreter.TJvInterpreterUnit.CallFunctionEx (Line 8427, "JvInterpreter.pas") [010C5006] JvInterpreter.TJvInterpreterUnit.CallFunction (Line 8390, "JvInterpreter.pas") [011E405C] frmViewMain.TfrmMain.ApplyScript$ActRec.$0$Body (Line 7629, "frmViewMain.pas") [012037F0] frmViewMain.TfrmMain.PerformLongAction (Line 13415, "frmViewMain.pas") [011E4C9E] frmViewMain.TfrmMain.ApplyScript (Line 7618, "frmViewMain.pas") [011E588C] frmViewMain.TfrmMain.mniNavApplyScriptClick (Line 7908, "frmViewMain.pas") [00698D16] Vcl.Menus.TMenuItem.Click (Line 2541, "Vcl.Menus.pas") [0069B641] Vcl.Menus.TPopupList.MainWndProc (Line 4630, "Vcl.Menus.pas") [004D8FB4] System.Classes.StdWndProc (Line 17405, "System.Classes.pas")

arkayn71 avatar May 29 '19 18:05 arkayn71

4.02 of xEdit still had the error, but going back to 3.22 solves the issue.

Some change made to 4.x branch is causing the issue.

arkayn71 avatar May 30 '19 08:05 arkayn71