Hard Light Productions Forums

Modding, Mission Design, and Coding => The FRED Workshop => Topic started by: Data45000 on September 22, 2012, 06:19:27 pm

Title: FRED 2 Mission crashes Freespace 2
Post by: Data45000 on September 22, 2012, 06:19:27 pm
Hey guys,

i wnat to make own missions but when i start them, the game crashes.

Quote
Assert: ship_index != -1
File: missionweaponchoice.cpp
Line: 1729

ntdll.dll! ZwWaitForSingleObject + 21 bytes
kernel32.dll! WaitForSingleObjectEx + 67 bytes
kernel32.dll! WaitForSingleObject + 18 bytes
fs2_open_3_6_12d_INF.exe! SCP_DumpStack + 354 bytes
fs2_open_3_6_12d_INF.exe! WinAssert + 208 bytes
fs2_open_3_6_12d_INF.exe! wl_get_default_weapons + 334 bytes
fs2_open_3_6_12d_INF.exe! wl_fill_slots + 151 bytes
fs2_open_3_6_12d_INF.exe! weapon_select_init_team + 85 bytes
fs2_open_3_6_12d_INF.exe! weapon_select_common_init + 115 bytes
fs2_open_3_6_12d_INF.exe! common_select_init + 259 bytes
fs2_open_3_6_12d_INF.exe! brief_init + 529 bytes
fs2_open_3_6_12d_INF.exe! game_enter_state + 701 bytes
fs2_open_3_6_12d_INF.exe! gameseq_set_state + 310 bytes
fs2_open_3_6_12d_INF.exe! game_process_event + 318 bytes
fs2_open_3_6_12d_INF.exe! gameseq_process_events + 152 bytes
fs2_open_3_6_12d_INF.exe! game_main + 782 bytes
fs2_open_3_6_12d_INF.exe! WinMain + 330 bytes
fs2_open_3_6_12d_INF.exe! __tmainCRTStartup + 358 bytes
fs2_open_3_6_12d_INF.exe! WinMainCRTStartup + 15 bytes
kernel32.dll! BaseThreadInitThunk + 18 bytes
ntdll.dll! RtlInitializeExceptionChain + 99 bytes
ntdll.dll! RtlInitializeExceptionChain + 54 bytes

Fresh install, i'm using MediaVPS_3612.



[attachment removed and sold on the black market]
Title: Re: FRED 2 Mission crashes Freespace 2
Post by: Madrox on September 23, 2012, 12:46:12 am
Did you used the .12 build of FRED 2?

The build of the FRED you used must match the build you use to run FS2 on the launcher.

This is as far as i known about this kind of error.
Title: Re: FRED 2 Mission crashes Freespace 2
Post by: Data45000 on September 23, 2012, 05:08:16 am
Where can I find it?

If you mean the fred2_open_3_6_12d_INF.exe - Yes i used it!
Title: Re: FRED 2 Mission crashes Freespace 2
Post by: Madrox on September 23, 2012, 05:22:52 am
For example: i use the .14 RC8 build to play in most cases, so i use the launcher on fs2_open_3_6_14_RC8.exe, and when i do FREDing, i do in fred2_open_3_6_14_RC8.exe. so everything works out in most cases.

Just do the same thing to the .12 builds

I remebered another thing: Did you used some mod onlaucher? the FRED recognizes the mdoels, tables and everything based on your lastedt mod used on the launcher, you don´t need to actually play the mod, just select the mod. if you did, this mabe the cause of your problems, maybe...
Title: Re: FRED 2 Mission crashes Freespace 2
Post by: Data45000 on September 23, 2012, 05:24:47 am
I found the problem....  i am using d Version of Freespace 2 too, but i have to use fred2_open_3_6_12r_INF.exe - then it works.

Thanks.^^

Edit: New Problem:
Quote
---------------------------
Warning!
---------------------------
Weapon type "Harpoon#Weak" found in loadout of mission file. This class is not marked as a player allowed weapon...skipping
ntdll.dll! ZwWaitForSingleObject + 21 bytes
kernel32.dll! WaitForSingleObjectEx + 67 bytes
kernel32.dll! WaitForSingleObject + 18 bytes
fs2_open_3_6_12d_INF.exe! SCP_DumpStack + 354 bytes
fs2_open_3_6_12d_INF.exe! Warning + 430 bytes
fs2_open_3_6_12d_INF.exe! stuff_loadout_list + 614 bytes
fs2_open_3_6_12d_INF.exe! parse_player_info2 + 854 bytes
fs2_open_3_6_12d_INF.exe! parse_player_info + 299 bytes
fs2_open_3_6_12d_INF.exe! parse_mission + 489 bytes
fs2_open_3_6_12d_INF.exe! parse_main + 449 bytes
fs2_open_3_6_12d_INF.exe! mission_load + 215 bytes
fs2_open_3_6_12d_INF.exe! game_start_mission + 198 bytes
fs2_open_3_6_12d_INF.exe! game_enter_state + 482 bytes
fs2_open_3_6_12d_INF.exe! gameseq_set_state + 310 bytes
fs2_open_3_6_12d_INF.exe! game_process_event + 242 bytes
fs2_open_3_6_12d_INF.exe! gameseq_process_events + 152 bytes
fs2_open_3_6_12d_INF.exe! game_main + 782 bytes
fs2_open_3_6_12d_INF.exe! WinMain + 330 bytes
fs2_open_3_6_12d_INF.exe! __tmainCRTStartup + 358 bytes
fs2_open_3_6_12d_INF.exe! WinMainCRTStartup + 15 bytes
kernel32.dll! BaseThreadInitThunk + 18 bytes
ntdll.dll! RtlInitializeExceptionChain + 99 bytes
ntdll.dll! RtlInitializeExceptionChain + 54 bytes

[ This info is in the clipboard so you can paste it somewhere now ]


Use Yes to break into Debugger, No to continue.
and Cancel to Quit

---------------------------
Ja   Nein   Abbrechen   
---------------------------
Title: Re: FRED 2 Mission crashes Freespace 2
Post by: Madrox on September 23, 2012, 05:29:21 am
I found the problem....  i am using d Version of Freespace 2 too, but i have to use fred2_open_3_6_12r_INF.exe - then it works.

Thanks.^^

Edit: New Problem:
Quote
---------------------------
Warning!
---------------------------
Weapon type "Harpoon#Weak" found in loadout of mission file. This class is not marked as a player allowed weapon...skipping
ntdll.dll! ZwWaitForSingleObject + 21 bytes
kernel32.dll! WaitForSingleObjectEx + 67 bytes
kernel32.dll! WaitForSingleObject + 18 bytes
fs2_open_3_6_12d_INF.exe! SCP_DumpStack + 354 bytes
fs2_open_3_6_12d_INF.exe! Warning + 430 bytes
fs2_open_3_6_12d_INF.exe! stuff_loadout_list + 614 bytes
fs2_open_3_6_12d_INF.exe! parse_player_info2 + 854 bytes
fs2_open_3_6_12d_INF.exe! parse_player_info + 299 bytes
fs2_open_3_6_12d_INF.exe! parse_mission + 489 bytes
fs2_open_3_6_12d_INF.exe! parse_main + 449 bytes
fs2_open_3_6_12d_INF.exe! mission_load + 215 bytes
fs2_open_3_6_12d_INF.exe! game_start_mission + 198 bytes
fs2_open_3_6_12d_INF.exe! game_enter_state + 482 bytes
fs2_open_3_6_12d_INF.exe! gameseq_set_state + 310 bytes
fs2_open_3_6_12d_INF.exe! game_process_event + 242 bytes
fs2_open_3_6_12d_INF.exe! gameseq_process_events + 152 bytes
fs2_open_3_6_12d_INF.exe! game_main + 782 bytes
fs2_open_3_6_12d_INF.exe! WinMain + 330 bytes
fs2_open_3_6_12d_INF.exe! __tmainCRTStartup + 358 bytes
fs2_open_3_6_12d_INF.exe! WinMainCRTStartup + 15 bytes
kernel32.dll! BaseThreadInitThunk + 18 bytes
ntdll.dll! RtlInitializeExceptionChain + 99 bytes
ntdll.dll! RtlInitializeExceptionChain + 54 bytes

[ This info is in the clipboard so you can paste it somewhere now ]


Use Yes to break into Debugger, No to continue.
and Cancel to Quit

---------------------------
Ja   Nein   Abbrechen   
---------------------------

You are using r version to freding and d version to play.
they are uncompatible...did you tried to change the build on the launcher to the r version already?
Title: Re: FRED 2 Mission crashes Freespace 2
Post by: General Battuta on September 23, 2012, 05:32:32 am
You should be able to load any clean mission in the D version without trouble, they're not incompatible at all.

Just remove Harpoon#weak from the mission loadout.
Title: Re: FRED 2 Mission crashes Freespace 2
Post by: Data45000 on September 23, 2012, 05:34:19 am
I switched to r version now, and it works fine - the d version crashes... i hope my missions will work now...^^
Title: Re: FRED 2 Mission crashes Freespace 2
Post by: General Battuta on September 23, 2012, 05:37:25 am
I switched to r version now, and it works fine - the d version crashes... i hope my missions will work now...^^

You should never ignore what the D version is telling you. Just fix the error as I described above.
Title: Re: FRED 2 Mission crashes Freespace 2
Post by: headdie on September 23, 2012, 05:41:15 am
Did you used the .12 build of FRED 2?

The build of the FRED you used must match the build you use to run FS2 on the launcher.

This is as far as i known about this kind of error.

firstly no, it's a good idea but, best practice even, but there is nothing stopping you from using different versions of fred to fs2 otherwise how come 3.6.10 developed mods work on 3.6.14 RC?

secondly why are you trying to error fix without reading the damn log files that for once have been provided so much qudos to Data45000 for actually doing that.

As for the Harpoon#Weak issue go into your load out editor and uncheck it from the list

Title: Re: FRED 2 Mission crashes Freespace 2
Post by: Data45000 on September 23, 2012, 05:42:11 am
As for the Harpoon#Weak issue go into your load out editor and uncheck it from the list

Where exactly i have to do it?
Title: Re: FRED 2 Mission crashes Freespace 2
Post by: Madrox on September 23, 2012, 06:23:52 am
Did you used the .12 build of FRED 2?

The build of the FRED you used must match the build you use to run FS2 on the launcher.

This is as far as i known about this kind of error.

firstly no, it's a good idea but, best practice even, but there is nothing stopping you from using different versions of fred to fs2 otherwise how come 3.6.10 developed mods work on 3.6.14 RC?

secondly why are you trying to error fix without reading the damn log files that for once have been provided so much qudos to Data45000 for actually doing that.

As for the Harpoon#Weak issue go into your load out editor and uncheck it from the list

Ok, sorry for trying to help!
That was very blunt. I admit i made a mistake here, but nothing justifies that kind of thing.

 :mad:
Title: Re: FRED 2 Mission crashes Freespace 2
Post by: karajorma on September 23, 2012, 06:40:44 am
Okay, let's calm down a bit.

Madrox, you have to be very careful about giving out bad advice. It's not a good idea to ever ignore an error from the debug version unless you're 100% certain you know what it means. Headdie was blunt but to be honest, his post was fairly mild.
Title: Re: FRED 2 Mission crashes Freespace 2
Post by: Data45000 on September 23, 2012, 07:40:54 am
Hmm,... i have an other problem. Event "send-message" is not avirabel - i cannot select it. Why it is so?
Never mind...^^
Title: Re: FRED 2 Mission crashes Freespace 2
Post by: Madrox on September 23, 2012, 11:48:56 am
Okay, let's calm down a bit.

Madrox, you have to be very careful about giving out bad advice. It's not a good idea to ever ignore an error from the debug version unless you're 100% certain you know what it means. Headdie was blunt but to be honest, his post was fairly mild.

Im sorry, but im a little sensitive to this,i do not like to be treated like some idiot.
Again, i do not think something could justify this kind of thing.
i was only trying to being helpful, if a gave bad advice, say so.
i will not make such attempts in the future.
:/
Title: Re: FRED 2 Mission crashes Freespace 2
Post by: headdie on September 23, 2012, 12:04:13 pm
I am sorry for jumping on you like that.  Help from new members is usually welcome, but as Kara says it needs to be correct. 

To explain my attitude you were drawing incorrect conclusions based on just the error messages when the log files were attached and until I downloaded them were registering 0 downloads thus were unread.  The log files generally contain key information when bug fixing not included in the on screen error messages.
Title: Re: FRED 2 Mission crashes Freespace 2
Post by: Madrox on September 23, 2012, 12:22:12 pm
I am sorry for jumping on you like that.  Help from new members is usually welcome, but as Kara says it needs to be correct. 

To explain my attitude you were drawing incorrect conclusions based on just the error messages when the log files were attached and until I downloaded them were registering 0 downloads thus were unread.  The log files generally contain key information when bug fixing not included in the on screen error messages.

Its ok for you to say im wrong, just don´t start which such aggressiveness, i will not listen better to your complaint if you are blunt.

Yes, they do, but for this very reason, i thought it was  version problem, not the Harpoon on the loadout.


Title: Re: FRED 2 Mission crashes Freespace 2
Post by: karajorma on September 23, 2012, 06:13:39 pm
If you think Headdie's post was bad, you're not going to last 5 minutes around here.

Lots of people speak quite bluntly cause a lot of responses are off the cuff responses which haven't been written too carefully.
Title: Re: FRED 2 Mission crashes Freespace 2
Post by: Madrox on September 23, 2012, 08:53:15 pm
If you think Headdie's post was bad, you're not going to last 5 minutes around here.

Lots of people speak quite bluntly cause a lot of responses are off the cuff responses which haven't been written too carefully.

I see. yes, i didn´t lliked it.
But maybe i did overreacted a bit. but thats the way i am.
i will try not to care much about it in the future...
:/
Title: Re: FRED 2 Mission crashes Freespace 2
Post by: jr2 on September 24, 2012, 10:30:50 pm
You see, this is why we should still be using the Welcome SpeechTM...  :nervous:
Title: Re: FRED 2 Mission crashes Freespace 2
Post by: karajorma on September 25, 2012, 12:53:58 am
I'll assume that was sarcasm. :p
Title: Re: FRED 2 Mission crashes Freespace 2
Post by: jr2 on September 27, 2012, 06:46:08 pm
... with just a pinch of nostalgia.  :(