Hard Light Productions Forums

Modding, Mission Design, and Coding => The Modding Workshop => Topic started by: aeon48m on April 20, 2012, 11:31:43 am

Title: Ships.tbl error
Post by: aeon48m on April 20, 2012, 11:31:43 am
Trying to get a new fighter in-game, copy+paste the Atalanta tables from BP2 and modify it accordingly but this happens.
Code: [Select]
wmt-shp.tbm(line 138:
Error: Required token = [#End], [$Subsystem:], [$Name], or [$Template], found [+Tech Description:           XST].

ntdll.dll! KiFastSystemCallRet
kernel32.dll! WaitForSingleObjectEx + 67 bytes
kernel32.dll! WaitForSingleObject + 18 bytes
fred2_open_3_6_14_RC5_DEBUG.exe! SCP_DumpStack + 354 bytes
fred2_open_3_6_14_RC5_DEBUG.exe! Error + 229 bytes
fred2_open_3_6_14_RC5_DEBUG.exe! error_display + 427 bytes
fred2_open_3_6_14_RC5_DEBUG.exe! required_string_4 + 388 bytes
fred2_open_3_6_14_RC5_DEBUG.exe! parse_ship_values + 22221 bytes
fred2_open_3_6_14_RC5_DEBUG.exe! parse_ship + 1013 bytes
fred2_open_3_6_14_RC5_DEBUG.exe! parse_shiptbl + 374 bytes
fred2_open_3_6_14_RC5_DEBUG.exe! parse_modular_table + 267 bytes
fred2_open_3_6_14_RC5_DEBUG.exe! ship_init + 578 bytes
fred2_open_3_6_14_RC5_DEBUG.exe! fred_init + 935 bytes
fred2_open_3_6_14_RC5_DEBUG.exe! CFREDView::OnCreate + 103 bytes
fred2_open_3_6_14_RC5_DEBUG.exe! CWnd::OnWndMsg + 2076 bytes
fred2_open_3_6_14_RC5_DEBUG.exe! CWnd::WindowProc + 50 bytes
fred2_open_3_6_14_RC5_DEBUG.exe! AfxCallWndProc + 240 bytes
fred2_open_3_6_14_RC5_DEBUG.exe! AfxWndProc + 166 bytes
USER32.dll! gapfnScSendMessage + 463 bytes
USER32.dll! SetPropW + 474 bytes
USER32.dll! GetScrollBarInfo + 253 bytes
USER32.dll! SendMessageTimeoutW + 1329 bytes
ntdll.dll! KiUserCallbackDispatcher + 46 bytes
USER32.dll! SendMessageTimeoutW + 2043 bytes
USER32.dll! CreateWindowExA + 51 bytes
fred2_open_3_6_14_RC5_DEBUG.exe! AfxCtxCreateWindowExA + 163 bytes
fred2_open_3_6_14_RC5_DEBUG.exe! CWnd::CreateEx + 332 bytes
fred2_open_3_6_14_RC5_DEBUG.exe! CWnd::Create + 153 bytes
fred2_open_3_6_14_RC5_DEBUG.exe! CFrameWnd::CreateView + 352 bytes
fred2_open_3_6_14_RC5_DEBUG.exe! CFrameWnd::OnCreateClient + 40 bytes
fred2_open_3_6_14_RC5_DEBUG.exe! CFrameWnd::OnCreateHelper + 57 bytes
fred2_open_3_6_14_RC5_DEBUG.exe! CFrameWnd::OnCreate + 88 bytes
fred2_open_3_6_14_RC5_DEBUG.exe! CMainFrame::OnCreate + 55 bytes
fred2_open_3_6_14_RC5_DEBUG.exe! CWnd::OnWndMsg + 2076 bytes
fred2_open_3_6_14_RC5_DEBUG.exe! CWnd::WindowProc + 50 bytes
fred2_open_3_6_14_RC5_DEBUG.exe! AfxCallWndProc + 240 bytes
fred2_open_3_6_14_RC5_DEBUG.exe! AfxWndProc + 166 bytes
USER32.dll! gapfnScSendMessage + 463 bytes
USER32.dll! SetPropW + 474 bytes
USER32.dll! GetScrollBarInfo + 253 bytes
USER32.dll! SendMessageTimeoutW + 1329 bytes
ntdll.dll! KiUserCallbackDispatcher + 46 bytes
USER32.dll! SendMessageTimeoutW + 2043 bytes
USER32.dll! CreateWindowExA + 51 bytes
fred2_open_3_6_14_RC5_DEBUG.exe! AfxCtxCreateWindowExA + 163 bytes
fred2_open_3_6_14_RC5_DEBUG.exe! CWnd::CreateEx + 332 bytes
fred2_open_3_6_14_RC5_DEBUG.exe! CFrameWnd::Create + 225 bytes
fred2_open_3_6_14_RC5_DEBUG.exe! CFrameWnd::LoadFrame + 318 bytes
fred2_open_3_6_14_RC5_DEBUG.exe! CDocTemplate::CreateNewFrame + 388 bytes
fred2_open_3_6_14_RC5_DEBUG.exe! CSingleDocTemplate::OpenDocumentFile + 370 bytes
fred2_open_3_6_14_RC5_DEBUG.exe! CDocManager::OnFileNew + 348 bytes
fred2_open_3_6_14_RC5_DEBUG.exe! CWinApp::OnFileNew + 37 bytes
fred2_open_3_6_14_RC5_DEBUG.exe! CFREDApp::InitInstance + 1582 bytes
fred2_open_3_6_14_RC5_DEBUG.exe! AfxWinMain + 132 bytes
fred2_open_3_6_14_RC5_DEBUG.exe! WinMain + 26 bytes
fred2_open_3_6_14_RC5_DEBUG.exe! __tmainCRTStartup + 358 bytes
fred2_open_3_6_14_RC5_DEBUG.exe! WinMainCRTStartup + 15 bytes
kernel32.dll! BaseThreadInitThunk + 18 bytes
ntdll.dll! RtlInitializeExceptionChain + 239 bytes
ntdll.dll! RtlInitializeExceptionChain + 194 bytes
And so on. It gives me an error about how it's an invalid token every line, and breaks debug builds by simply having too much error in it.
I have no idea why this is happening, and I tried plainly copy+pasting the BP2 table and simply changing the name, but that breaks it too.  :banghead:

Both the debug log and the full ship table are attached.

[attachment deleted by a ninja]
Title: Re: Ships.tbl error
Post by: The E on April 20, 2012, 11:39:30 am
The Mirage entry is missing a closing brace on line 134.
Title: Re: Ships.tbl error
Post by: Fury on April 20, 2012, 11:41:57 am
^what he said and you're missing $Short name after $Name.
Title: Re: Ships.tbl error
Post by: headdie on April 20, 2012, 11:45:58 am
To add one ship all you need is

#ship classes

[ship info]

#end

by copying the BP file you have duplicated things that the Engine dosent like duplicating like engine wash, also BP and FSO 3.6.14 RC5 dont play well together.

I suggest you wipe out everything in the file, enter "#ship classes" a couple of hard returns and "#end" (Without the speach marks, then copy the entry for 1 fighter and paste it in between,  then edit the entry as needed.  this way you keep it simple, you are less likely to duplicate things and errors are easier to find, if you need another ship once you have got the current one working just past it between the #lines work away on it
Title: Re: Ships.tbl error
Post by: aeon48m on April 20, 2012, 11:53:43 am
Trying to add more than one ship, and modify all the others to not shoot through hulls.
I only copied the table for the Atalanta, not the entire BP file, and what I'm trying to make isn't related to BP.

However, I tried what you said and that actually did the trick. Thanks again!  :)
Title: Re: Ships.tbl error
Post by: LordPomposity on April 20, 2012, 12:04:08 pm
I'm just going to pop in and say that I love the GTD Armageddon's tech description.
Title: Re: Ships.tbl error
Post by: Legate Damar on April 20, 2012, 12:46:11 pm
by copying the BP file you have duplicated things that the Engine dosent like duplicating like engine wash, also BP and FSO 3.6.14 RC5 dont play well together.

Really? This is troublesome