Jump to content

dcs.log Help!!


Go to solution Solved by Lineaxe,

Recommended Posts

Posted (edited)

Hi , I am really stuck when I get this particular error message from the dcs.log . I don't know what line in my code has caused it and I have quite a few scheduled functions going on . So how can I find out which one of them is causing the attempt to index field '?' (a nil value)  error?  Out of those messages How can I use the stack traceback to show me which line Or where Or when Or what Or why (or even who? , although I suspect that might be me )   . Help ? 🤪🤒

 

2021-12-10 17:29:40.930 INFO    SCRIPTING: Error in SCHEDULER function:[string "C:\Users\username\AppData\Local\Temp\DCS.openbeta\/~mis00004FCC.lua"]:66209: attempt to index field '?' (a nil value)
2021-12-10 17:29:40.930 INFO    SCRIPTING: stack traceback:
	[string "C:\Users\username\AppData\Local\Temp\DCS.openbeta\/~mis00004FCC.lua"]:9725: in function <[string "C:\Users\username\AppData\Local\Temp\DCS.openbeta\/~mis00004FCC.lua"]:9721>
	[string "C:\Users\username\AppData\Local\Temp\DCS.openbeta\/~mis00004FCC.lua"]:66209: in function <[string "C:\Users\username\AppData\Local\Temp\DCS.openbeta\/~mis00004FCC.lua"]:66177>
	(tail call): ?
	[C]: in function 'xpcall'
	[string "C:\Users\username\AppData\Local\Temp\DCS.openbeta\/~mis00004FCC.lua"]:10078: in function 'onEvent'
	[string "Scripts/World/EventHandlers.lua"]:13: in function <[string "Scripts/World/EventHandlers.lua"]:11>
Edited by Lineaxe
Posted

Hi. Try this:

  1. Go here: "C:\Users\username\AppData\Local\Temp\DCS.openbeta\".
  2. Remove the content of the folder.
  3. Run DCS and retry your mission.

This might not be enough. If you're still stuck, please attach the whole dcs.log file.

---

  • Solution
Posted (edited)

Heh, I think I have written some code that is causing this problem. Now I have over 3500 lines of code and several Schedules, functions and tons of Variables sprinkled liberally about in the code , most of them behaving nice enough 🙂

 

update:  Amazing it cleared those weird messages right up !   err it says its my solution , but it's not   !! ...   

Edited by Lineaxe
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...