Space Engineers

Space Engineers

Dhr's bomb drop prediction script
 此主题已被置顶,因此可能具有重要性
Dhr  [开发者] 2022 年 4 月 22 日 下午 9:57
Help/Questions
Use this discussion for reporting bugs or any questions about the script. If you are reporting the bug make sure to give information on what the bug is.
< >
正在显示第 1 - 15 条,共 26 条留言
TONK THE PROTO 2022 年 4 月 23 日 上午 12:43 
soo i cant seem to figure out how to use this, it says

vehicle height mode
Caught exception during execution of script: Object reference not set to an instance of an object. At program.main(string argument,updatetype updateSource) at

Sandbox.game.entities.blocks.myprogrammebleblock.<>cDisplayClass42_0.<execute code>b0(mygridProgramprogram)

At Sandbox.game.entities.blocks.myProgrammableBlock.RunSandboxedProgramActionCore(Action'1
Action,
String&
(Response)


did i miss something in setting up the script?
edit its the same when in the sky
最后由 TONK THE PROTO 编辑于; 2022 年 4 月 23 日 上午 12:45
Dhr  [开发者] 2022 年 4 月 23 日 上午 1:17 
Ok, this error is because the script is having trouble trying to find one of the blocks, so check that all of your blocks are there, and are named EXACTLY how I have set out in the program, everything must be exact, with no extra letters and all capitals correct.

I'll see what I can do about maybe making this system less stringent on the naming requirements, but that will take time.

Also Side note: you can copy and paste the error code in the of the programmable block, there should be a copy button. Well at least I think you typed it out, as there were a few missing capitals and what not, although nothing to large.

EDIT: For now I think I will quickly release an update that will give an actually nice error message if you name something wrong.


引用自 TONKIE
soo i cant seem to figure out how to use this, it says

vehicle height mode
Caught exception during execution of script: Object reference not set to an instance of an object. At program.main(string argument,updatetype updateSource) at

Sandbox.game.entities.blocks.myprogrammebleblock.<>cDisplayClass42_0.<execute code>b0(mygridProgramprogram)

At Sandbox.game.entities.blocks.myProgrammableBlock.RunSandboxedProgramActionCore(Action'1
Action,
String&
(Response)


did i miss something in setting up the script?
edit its the same when in the sky
最后由 Dhr 编辑于; 2022 年 4 月 23 日 上午 1:19
TONK THE PROTO 2022 年 4 月 23 日 上午 1:23 
引用自 Dhr
Ok, this error is because the script is having trouble trying to find one of the blocks, so check that all of your blocks are there, and are named EXACTLY how I have set out in the program, everything must be exact, with no extra letters and all capitals correct.

I'll see what I can do about maybe making this system less stringent on the naming requirements, but that will take time.

Also Side note: you can copy and paste the error code in the of the programmable block, there should be a copy button. Well at least I think you typed it out, as there were a few missing capitals and what not, although nothing to large.

EDIT: For now I think I will quickly release an update that will give an actually nice error message if you name something wrong.


引用自 TONKIE
soo i cant seem to figure out how to use this, it says

vehicle height mode
Caught exception during execution of script: Object reference not set to an instance of an object. At program.main(string argument,updatetype updateSource) at

Sandbox.game.entities.blocks.myprogrammebleblock.<>cDisplayClass42_0.<execute code>b0(mygridProgramprogram)

At Sandbox.game.entities.blocks.myProgrammableBlock.RunSandboxedProgramActionCore(Action'1
Action,
String&
(Response)


did i miss something in setting up the script?
edit its the same when in the sky



so i have everything hinge,camera,control seat and named exactly like on the steam page but still the same error

edit this may help
https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=2798437150
this is the plane i use
最后由 TONK THE PROTO 编辑于; 2022 年 4 月 23 日 上午 1:25
Dhr  [开发者] 2022 年 4 月 23 日 上午 1:49 
引用自 TONKIE
引用自 Dhr
Ok, this error is because the script is having trouble trying to find one of the blocks, so check that all of your blocks are there, and are named EXACTLY how I have set out in the program, everything must be exact, with no extra letters and all capitals correct.

I'll see what I can do about maybe making this system less stringent on the naming requirements, but that will take time.

Also Side note: you can copy and paste the error code in the of the programmable block, there should be a copy button. Well at least I think you typed it out, as there were a few missing capitals and what not, although nothing to large.

EDIT: For now I think I will quickly release an update that will give an actually nice error message if you name something wrong.




so i have everything hinge,camera,control seat and named exactly like on the steam page but still the same error

edit this may help
https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=2798437150
this is the plane i use


Alright give me a second ill look at your thingy
Dhr  [开发者] 2022 年 4 月 23 日 上午 1:52 
引用自 TONKIE
引用自 Dhr
Ok, this error is because the script is having trouble trying to find one of the blocks, so check that all of your blocks are there, and are named EXACTLY how I have set out in the program, everything must be exact, with no extra letters and all capitals correct.

I'll see what I can do about maybe making this system less stringent on the naming requirements, but that will take time.

Also Side note: you can copy and paste the error code in the of the programmable block, there should be a copy button. Well at least I think you typed it out, as there were a few missing capitals and what not, although nothing to large.

EDIT: For now I think I will quickly release an update that will give an actually nice error message if you name something wrong.




so i have everything hinge,camera,control seat and named exactly like on the steam page but still the same error

edit this may help
https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=2798437150
this is the plane i use

what mods are you using for the plane? It won't appear in my world
TONK THE PROTO 2022 年 4 月 23 日 上午 2:12 
引用自 Dhr
引用自 TONKIE



so i have everything hinge,camera,control seat and named exactly like on the steam page but still the same error

edit this may help
https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=2798437150
this is the plane i use

what mods are you using for the plane? It won't appear in my world


plane parts
plane parts plus (1x1x1 propelor box)
Dhr  [开发者] 2022 年 4 月 23 日 上午 2:22 
引用自 TONKIE
引用自 Dhr

what mods are you using for the plane? It won't appear in my world


plane parts
plane parts plus (1x1x1 propelor box)


I don't seem to have all the blocks, as it is missing a cockpit for controller the vehicle. But your problem is that you haven't capitalised the starting letters of each name.

Also side note, this plane is awesome, if you can get it working i'll gladly use this thing on the workshop
最后由 Dhr 编辑于; 2022 年 4 月 23 日 上午 2:25
TONK THE PROTO 2022 年 4 月 23 日 上午 2:27 
引用自 Dhr
引用自 TONKIE


plane parts
plane parts plus (1x1x1 propelor box)


I don't seem to have all the blocks, as it is missing a cockpit for controller the vehicle. But your problem is that you haven't capitalised the starting letters of each name.

Also side note, this plane is awesome, if you can get it working i'll gladly use this thing on the workshop

oh yeah sorry i forgot "spacebars cockpit imporium
edit i have updated the blueprint and it still dont work
最后由 TONK THE PROTO 编辑于; 2022 年 4 月 23 日 上午 2:32
Dhr  [开发者] 2022 年 4 月 23 日 上午 2:31 
引用自 TONKIE
引用自 Dhr


I don't seem to have all the blocks, as it is missing a cockpit for controller the vehicle. But your problem is that you haven't capitalised the starting letters of each name.

Also side note, this plane is awesome, if you can get it working i'll gladly use this thing on the workshop

oh yeah sorry i forgot "spacebars cockpit imporium

Yup, so to fix it you just need to capitalise the first letter of each word and it should work.

If you want I could also fix the thing, give it to you through the workshop or something, then delete it from my profile.
Dhr  [开发者] 2022 年 4 月 23 日 上午 2:43 
引用自 TONKIE
引用自 Dhr


I don't seem to have all the blocks, as it is missing a cockpit for controller the vehicle. But your problem is that you haven't capitalised the starting letters of each name.

Also side note, this plane is awesome, if you can get it working i'll gladly use this thing on the workshop

oh yeah sorry i forgot "spacebars cockpit imporium
edit i have updated the blueprint and it still dont work


Update: I have got the script on your plane working
TONK THE PROTO 2022 年 4 月 23 日 上午 2:45 
引用自 Dhr
引用自 TONKIE

oh yeah sorry i forgot "spacebars cockpit imporium
edit i have updated the blueprint and it still dont work


Update: I have got the script on your plane working

what did i do wrong?
Dhr  [开发者] 2022 年 4 月 23 日 上午 2:48 
引用自 TONKIE
引用自 Dhr


Update: I have got the script on your plane working

what did i do wrong?


You wrote the names without capital letters, so "control seat" vs "Control Seat," and that caused an issue.

But something else, that might have stopped it from working, is that the programmable block, for whatever reason broke and I had to replace it cause it kept on saying there was an error that didn't exist. So rename all the blocks with capitals, and after delete that programmable block, place another down and run it again.
Dhr  [开发者] 2022 年 4 月 23 日 上午 2:59 
引用自 TONKIE
引用自 Dhr


Update: I have got the script on your plane working

what did i do wrong?

You get your plane working?
TONK THE PROTO 2022 年 4 月 23 日 上午 3:07 
引用自 Dhr
引用自 TONKIE

what did i do wrong?

You get your plane working?

wel it flys but the bomb sight still dont work
Dhr  [开发者] 2022 年 4 月 23 日 上午 3:09 
引用自 TONKIE
引用自 Dhr

You get your plane working?

wel it flys but the bomb sight still dont work


Do you want me to send you a blueprint to a working plane?
< >
正在显示第 1 - 15 条,共 26 条留言
每页显示数: 1530 50