{"action":"opened","issue":{"url":"https://api.github.com/repos/KSP-KOS/KOS/issues/781","labels_url":"https://api.github.com/repos/KSP-KOS/KOS/issues/781/labels{/name}","comments_url":"https://api.github.com/repos/KSP-KOS/KOS/issues/781/comments","events_url":"https://api.github.com/repos/KSP-KOS/KOS/issues/781/events","html_url":"https://github.com/KSP-KOS/KOS/issues/781","id":67856745,"number":781,"title":"HUDTEXT gives 'Argument is out of range.' when used in boot.","user":{"login":"MisterInSayne","id":11808737,"avatar_url":"https://avatars.githubusercontent.com/u/11808737?v=3","gravatar_id":"","url":"https://api.github.com/users/MisterInSayne","html_url":"https://github.com/MisterInSayne","followers_url":"https://api.github.com/users/MisterInSayne/followers","following_url":"https://api.github.com/users/MisterInSayne/following{/other_user}","gists_url":"https://api.github.com/users/MisterInSayne/gists{/gist_id}","starred_url":"https://api.github.com/users/MisterInSayne/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MisterInSayne/subscriptions","organizations_url":"https://api.github.com/users/MisterInSayne/orgs","repos_url":"https://api.github.com/users/MisterInSayne/repos","events_url":"https://api.github.com/users/MisterInSayne/events{/privacy}","received_events_url":"https://api.github.com/users/MisterInSayne/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-04-12T01:25:07Z","updated_at":"2015-04-12T01:25:07Z","closed_at":null,"body":"[LOG 03:02:00.880] kOS: At boot.ks on archive, line 9\r\n\tHUDTEXT(\"Loading bootup in T\"+ROUND((TIME-START):SECONDS), 1, 4, 40, rgb(1,1,0.5), FALSE).\r\n                                                                                    ^\r\nCalled from boot on archive, line 1\r\n// +----------------+\r\n^\r\n\r\n[LOG 03:02:00.883] System.ArgumentOutOfRangeException: Argument is out of range.\r\nParameter name: index\r\n  at System.Collections.Generic.List`1[System.Object].get_Item (Int32 index) [0x00000] in <filename unknown>:0 \r\n  at kOS.Execution.Stack.Pop () [0x00000] in <filename unknown>:0 \r\n  at kOS.Execution.CPU.PopStack () [0x00000] in <filename unknown>:0 \r\n  at kOS.Execution.CPU.PopValue (Boolean barewordOkay) [0x00000] in <filename unknown>:0 \r\n  at kOS.Safe.Compilation.OpcodePop.Execute (ICpu cpu) [0x00000] in <filename unknown>:0 \r\n  at kOS.Execution.CPU.ExecuteInstruction (kOS.Execution.ProgramContext context) [0x00000] in <filename unknown>:0 \r\n  at kOS.Execution.CPU.ContinueExecution () [0x00000] in <filename unknown>:0 \r\n  at kOS.Execution.CPU.Update (Double deltaTime) [0x00000] in <filename unknown>:0 \r\n[LOG 03:02:00.889] Code Fragment\r\nFile                 Line:Col IP   opcode operand\r\n----                 ----:--- ---- --------------------- \r\narchive/boot.ks         9:39  0066 push $time \r\narchive/boot.ks         9:44  0067 push $start \r\narchive/boot.ks         9:43  0068 sub \r\narchive/boot.ks         9:51  0069 push seconds \r\narchive/boot.ks         9:51  0070 getmember \r\narchive/boot.ks         9:51  0071 call roundnearest() \r\narchive/boot.ks         9:31  0072 add \r\narchive/boot.ks         9:61  0073 push 1 \r\narchive/boot.ks         9:64  0074 push 4 \r\narchive/boot.ks         9:67  0075 push 40 \r\narchive/boot.ks         9:75  0076 push 1 \r\narchive/boot.ks         9:77  0077 push 1 \r\narchive/boot.ks         9:79  0078 push 0.5 \r\narchive/boot.ks         9:79  0079 call rgb() \r\narchive/boot.ks         9:85  0080 push False \r\narchive/boot.ks         9:85  0081 call hudtext() \r\narchive/boot.ks         9:85  0082 pop <<--INSTRUCTION POINTER--\r\narchive/boot.ks        10:7   0083 push 1 \r\narchive/boot.ks        10:7   0084 wait \r\narchive/boot.ks        11:1   0085 jump -25 \r\narchive/boot.ks        13:4   0086 push $ship \r\narchive/boot.ks        13:9   0087 push name \r\narchive/boot.ks        13:9   0088 getmember \r\narchive/boot.ks        13:16  0089 push AutoProbeBuddy \r\narchive/boot.ks        13:14  0090 eq \r\narchive/boot.ks        13:14  0091 br.false 9 \r\narchive/boot.ks        14:7   0092 push $autoprobebuddy \r\narchive/boot.ks        14:7   0093 push to \r\narchive/boot.ks        14:25  0094 push 1 \r\narchive/boot.ks        14:25  0095 call copy() \r\narchive/boot.ks        15:12  0096 push 1 \r\narchive/boot.ks        15:12  0097 call switch() \r\narchive/boot.ks        16:2   0098 call 25 \r\n\r\n[LOG 03:02:00.901] kOS: Stack dump:\r\n001      SubroutineContext: {CameFromInstPtr 16}\r\n000      SubroutineContext: {CameFromInstPtr 11}\r\n\r\n[LOG 03:02:00.903] kOS: Popping context 2\r\n[LOG 03:02:00.904] kOS: Removed Context File                 Line:Col IP   opcode operand\r\n[LOG 03:02:00.905] kOS: Deleting 0 pointers and restoring 0 pointers\r\n[LOG 03:02:00.906] kOS: New current context File                 Line:Col IP   opcode operand"}}