Hard Light Productions Forums

Modding, Mission Design, and Coding => FS2 Open Coding - The Source Code Project (SCP) => Topic started by: Turambar on January 30, 2005, 07:54:32 am

Title: um... WTF???
Post by: Turambar on January 30, 2005, 07:54:32 am
Error: Could not generate model->indexed_vertex_buffer
File:e:\cvs\fs2_open\code\model\modelinterp.cpp
Line: 5262

Call stack:
------------------------------------------------------------------
    fs2_open_C01292005_d.exe 007e47c6()
    fs2_open_C01292005_d.exe 007e82cf()
    fs2_open_C01292005_d.exe 008387d5()
    fs2_open_C01292005_d.exe 0083c218()
    fs2_open_C01292005_d.exe 00669bcf()
    fs2_open_C01292005_d.exe 007f2c01()
    fs2_open_C01292005_d.exe 0066b216()
    fs2_open_C01292005_d.exe 0066b40c()
    fs2_open_C01292005_d.exe 00a2c597()
    kernel32.dll 7c816d4f()
------------------------------------------------------------------


this is recent, and it has a problem with every new build, so i think that I broke something...

could someone tell me what?
Title: Re: um... WTF???
Post by: taylor on January 30, 2005, 08:13:39 am
Quote
Originally posted by Turambar
this is recent, and it has a problem with every new build, so i think that I broke something...

could someone tell me what?

Are you using OGL or D3D?  What mission/mod are you trying?  It looks like it's running out of vertex_buffers[] so I would make a quick guess and say that it's a particular model that's causing the problem.
Title: um... WTF???
Post by: Turambar on January 30, 2005, 08:17:01 am
D3D and it looks like its the Perseus

I tried replacing and deleting but both don't work so i'm comtinuing trying to sort things out
Title: um... WTF???
Post by: WMCoolmon on January 30, 2005, 12:59:58 pm
Amazing, I just added that error. :p

What it means is that gr_make_buffer was called and list->n_verts was equal to 0. This seemed to be the cause of a CTD with the Perseus, so I added an error to check if the function returns -1, which it will if list->n_verts is 0 or find_first_empty_buffer() returns -1.
Title: um... WTF???
Post by: Turambar on January 30, 2005, 01:04:55 pm
ok, now for my other error

whenever i attempt to load a Cain cruiser into memory, the screen freezes where it is, and the normal windows mouse appears and can move around

Edit, wait, it does this now, so i can show you the error

Error: Can't open file
File:C:\projects\fs2_open\code\Model\ModelRead.cpp
Line: 1559

Call stack:
------------------------------------------------------------------
    model_load()    techroom_select_new_entry()    techroom_do_frame()    game_do_state()    gameseq_process_events()    WinMainSub()    WinMain()    WinMainCRTStartup()    kernel32.dll 7c816d4f()
------------------------------------------------------------------
Title: um... WTF???
Post by: WMCoolmon on January 30, 2005, 01:08:40 pm
http://www.hard-light.net/forums/index.php/topic,29938.0.html

I made a mistake in removing 'unneccessary' model files from the mVP. :p
Title: um... WTF???
Post by: Turambar on January 30, 2005, 01:25:04 pm
now i get this

i hate bugs, i never used to get them but now, for some reason
past that bug, when i try to run a mission that doesnt need the Perseus, i usually crash while loading, after deleting the zpack, i got as far as hitting the commit button on the mission, then i got this

Assert: (objp->type == OBJ_SHIP) || (objp->type == OBJ_START)
File: C:\projects\fs2_open\code\object\objectdock.cpp
Line: 344

Call stack:
------------------------------------------------------------------
    obj_move_all()    game_simulation_frame()    game_frame()    game_do_frame()    game_do_state()    gameseq_process_events()    WinMainSub()    WinMain()    WinMainCRTStartup()    kernel32.dll 7c816d4f()
------------------------------------------------------------------

Edit: re-downloaded the .exe files, works again