nicktheduke Posted April 6, 2016 Share Posted April 6, 2016 Did anyone ever figure out a fix for the "too few args" error in console when using latest version RTI? Really want to use CGO mod which requires it but afraid of error display I get. Other users have had same problem: http://forums.nexusmods.com/index.php?/topic/414258-modders-resource-real-time-interactions/page-2&do=findComment&comment=4465030 http://forums.nexusmods.com/index.php?/topic/414258-modders-resource-real-time-interactions/page-3&do=findComment&comment=5448626 I get the error through a variation of load order. Seems to be RTI itself. Can't go to Reneer's Guard Overhaul so hopefully this can be fixed. Please help! Link to comment Share on other sites More sharing options...
nicktheduke Posted April 6, 2016 Author Share Posted April 6, 2016 Hi. I found the script in RTI that's giving me an error. It's the initialization script. Maskar said there might be something missing. Could someone take a look and let me know if you see anything? scn pm0init0 short Restarted short tsAshort tsBshort tsCref trAstring_var StrAstring_var StrB Begin Function { Restarted } if pm0.Modeset pm0.CancelTime to 5endifset pm0init.SaveTimer to 0set pm0.LoadDoorTime to 0set pm0.SaveNow to 0RunBatchScript "data\ini\pmRTISettings.ini"if pm0.UseFKeysDisableKey 59DisableKey 60DisableKey 61DisableKey 62endifif pm0.Debug && pm0.DebugOn == 0SetDebugMode 1elseif pm0.Debug == 0 && pm0.DebugOnSetDebugMode 0endifif pm0init.Version < 0.9AddTopic pm0EngageTopicset pm0init.Version to 0.9endifif pm0init.Version < 1.05Let pm0.DialogLocked := ar_Construct StringMapendifif pm0init.Version < 1.1Let pm0.NPCNames := ar_Construct StringMapCall pm0NPCExceptionsendifif pm0init.Version < 1.13Let pm0.CityMarkersX := ar_Map 1::28646 2::-187990 3::64939 4::26781 5::121580 6::-64346 7::85246 8::-67819Let pm0.CityMarkersY := ar_Map 1::63416 2::-31912 3::-36087 4::146988 5::91879 6::95201 7::-139375 8::4606set pm0GetLocationData.fQuestDelayTime to 1Let pm0.RegionSpaces := ar_Construct Mapendif set pm0init.Version to 1.13 Let pm0.Options := ar_Construct arrayLet pm0.Engages := ar_Construct arrayLet pm0.NonTargOpt := ar_Construct arrayLet pm0.DialogEligs := ar_Construct arrayLet pm0.Options [0] := ar_Construct StringMapLet pm0.Options [0] ["FnCheckElig"] := pm0EngagesEligLet pm0.Options [0] ["FnActivate"] := pm0EngagesActivateLet pm0.Options [0] ["HUD"] := sv_Construct "pm0.EngagesHUD"Let pm0.Engages [0] := ar_Construct StringMapLet pm0.Engages [0] ["FnCheckElig"] := pm0DialogCheckEligLet pm0.Engages [0] ["FnActivate"] := pm0DialogActivateLet pm0.Engages [0] ["FnKeyA"] := pm0DialogKeyALet pm0.Engages [0] ["FnKeyB"] := pm0DialogKeyBLet pm0.Engages [0] ["FnKeyX"] := pm0DialogKeyXLet pm0.Engages [0] ["HUD"] := sv_Construct "pm0.DialogHUD"Let pm0.EngagesHUD := ar_Construct ArrayLet pm0.EngagesHUD [0] := ar_Construct StringMapLet pm0.EngagesHUD [0] ["Text"] := sv_Construct "[Engage]"Let pm0.DialogHUD := ar_Construct ArrayLet pm0.DialogHUD [0] := ar_Construct StringMapLet pm0.DialogHUD [1] := ar_Construct StringMapLet pm0.DialogHUD [2] := ar_Construct StringMapLet pm0.DialogHUD [3] := ar_Construct StringMapLet pm0.DialogHUD [0] ["Text"] := " "Let pm0.DialogHUD [1] ["Text"] := " "Let pm0.DialogHUD [2] ["Text"] := " "Let pm0.DialogHUD [3] ["Text"] := " "set pm0.OptionsSize to 1set pm0.EngagesSize to 1set pm0.NonTargOptSize to 0set pm0.DialogEligsSize to 0 Let pm0.CitiesInfo := ar_Construct Map Let pm0init.InitFns := ar_Construct ArrayLet pm0.CellChangeFns := ar_Construct ArrayCall pm0initX RunBatchScript "pmRealTimeInteractions.ini"set tsA to 0set tsB to GetNumLoadedModswhile tsA < tsBset pm0init.Index to tsALet StrA := GetNthModName tsALet tsC := sv_Find ".esp" StrAif tsC > -1sv_Erase StrA tsCset StrB to sv_Construct "data\ini\RTIPlugins\%z.ini" StrAif eval ( FileExists $StrB ) && eval ( StrB != "pmRealTimeInteractions.ini" )set pm0init.FileName to sv_Construct "%z.esp" StrARunBatchScript $StrBsv_Destruct pm0init.FileNameendifendifLet tsA += 1loopsv_Destruct StrAsv_Destruct StrB Let tsA := ar_Size pm0init.InitFnsset tsB to 0if tsA > -1while tsB < tsALet trA := pm0init.InitFns [tsB]Call trALet tsB += 1loopendif if RestartedmqinsertXML "pmRealTimeInteractions\pmRTIrect.xml" 1004mqinsertXML "pmRealTimeInteractions\pmRTItextA.xml|pm0HUDrect" 1004SetMenuFloatValue "pm0HUDrect\pm0HUDtextA\_x" 1004 pm0.DispositionXSetMenuFloatValue "pm0HUDrect\pm0HUDtextA\_y" 1004 pm0.DispositionYendifset pm0.fQuestDelayTime to 0.1PrintC "RTI initialised (%.2f)" pm0init.Versionset pm0.Initialised to 1 End;<CSEBlock>;<CSECaretPos> 254 </CSECaretPos>;</CSEBlock> Link to comment Share on other sites More sharing options...
Recommended Posts