1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
Dismiss Notice
Like RaceDepartment on Facebook.

Loading Error 03

Discussion in 'Bob's Track Builder' started by ALVAZ, May 13, 2009.

  1. HI, it happens when trying to load my last proyect.

    BTB VERSION 0.7.0.5
    Pc: intel pentium 2.2 dual core, ati hd2400xt 256 mb, HDD 320 GB, 2 GB RAM, direct x 9C, netframework 2.0
    the problem happens after the addition of Sobjects,
    ************** Exception Text **************
    System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
    Parameter name: index
    at System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource)
    at System.ThrowHelper.ThrowArgumentOutOfRangeException()
    at BobsBits.SObjectPiece.LoadFromBinary(BinReader br)
    at BobsBits.SObjectPieces.LoadFromBinary(BinReader br)
    at BobsBits.SObject.LoadFromBinary(BinReader br)
    at BobsBits.SObjectInstance.LoadFromBinary(BinReader br)
    at BobsBits.SObjectInstances.LoadFromBinary(BinReader br)
    at BobsBits.Venue.LoadFromBinary(String ProjectFolder, String Filename, Boolean ForAnUndo)
    at BobsTrackBuilder.frmMain.OpenVenueFile(String ProjectFolder, String Filename, Boolean ForAnUndo)
    at BobsTrackBuilder.frmMain.mnuFileOpen_Click(Object sender, EventArgs e)
    at System.Windows.Forms.MenuItem.OnClick(EventArgs e)
    at System.Windows.Forms.MenuItem.MenuItemData.Execute()
    at System.Windows.Forms.Command.Invoke()
    at System.Windows.Forms.Command.DispatchID(Int32 id)
    at System.Windows.Forms.Control.WmCommand(Message& m)
    at System.Windows.Forms.Control.WndProc(Message& m)
    at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
    at System.Windows.Forms.ContainerControl.WndProc(Message& m)
    at System.Windows.Forms.Form.WndProc(Message& m)
    at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
    at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
    at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


    Seems to be a problem with the las sobject added, but the question is if can I solve it opening the venue file , and make it non negative.

    I can not venue file upload because of its size, but could be sent to e mail if desired

    Cheers
    ,
     
  2. Brendon Pywell

    Brendon Pywell
    Bob's Track Builder

    Upload your project, XPacks and all and PM me the link. ;)
     
  3. Piddy, the proyect are 342 MB!!, mmmm, It seems you need more than venue file to solve it, dont you?, buff I dont know when i could upload it, I will try and post you something.

    cheers
     
  4. Brendon Pywell

    Brendon Pywell
    Bob's Track Builder

    Any untouched XPacks zip files can be left out, just let me know which ones.
     
  5. Hi, I dont understand you quite good, Im spanish, you mean, I can upload the proyect, oonly with the Xpack that I think is the cause of the problem?

    cheers
     
  6. Brendon Pywell

    Brendon Pywell
    Bob's Track Builder

    Include all XPacks you have created or changed.
     
  7. hi, i ve solved it redoing it, so dont worry.

    I d like you to have a look to this one, posted almost 2 weeks ago.
    The version was 703, but I m afraid the version has nothing to do with the type of the error.

    Im looking forward for your news, thanks

    HI, it happens when trying to load my last proyect.
    BTB VERSION 0.7.0.3
    Pc: intel pentium 2.2 dual core, ati hd2400xt 256 mb, HDD 320 GB, 2 GB RAM, direct x 9C, netframework 2.0
    the problem happens after the addition of many objects, I want to add 50 objects made of groups of five, each object has from 0.5 to 1 MB, and I m testing how to add them so
    here you have my conclusions:
    first proyect, 1st group added, loaded OK
    2nd proyect, 2nd group added, loaded OK
    3th proyect, 3th group added, loaded OK
    4th proyect, 4th group added, loaded OK
    5th proyect, 5th group added, crashes!!!!!! :(
    but in a second test, doing the same, crashes on 4th, I ve tried to reduce the number of objects per groups, but the same.... also, adding Sobjects, Objects instead, and nothing
    seems to be something related to MEMORY, so it maybe something aleatory, because sometimes happens on 5 th, sometimes on 4th.
    Finally, i have to say, that in one of my test, when i was adding objects to the proyect, when i was almost finishing, addind the last group, BTB refused to load Xpacks, telling something about memory again.
    So teh question is: Is it a problem of my system memory or BTB "Memory"?


    Cheers
    ,
    Error in the application.
    -2147024882 (E_OUTOFMEMORY)
    at Microsoft.DirectX.Direct3D.Mesh..ctor(Int32 numFaces, Int32 numVertices, MeshFlags options, VertexElement[] declaration, Device device)
    at BobsBits.SObjectInstance.CreateEmptyMesh(Boolean ShowNonSquishableEnds, Boolean ShowSquishableEnds, Int32 PatternPieces, Boolean ShowNonSquishablePattern, Boolean ShowSquishablePattern)
    at BobsBits.SObjectInstance.Calculate()
    at BobsBits.SObjectInstances.Calculate()
    at BobsBits.Venue.LoadFromBinary(String ProjectFolder, String Filename, Boolean ForAnUndo)
    at BobsTrackBuilder.frmMain.OpenVenueFile(String ProjectFolder, String Filename, Boolean ForAnUndo)
    at BobsTrackBuilder.frmMain.mnuFileOpen_Click(Object sender, EventArgs e)
    at System.Windows.Forms.MenuItem.OnClick(EventArgs e)
    at System.Windows.Forms.MenuItem.MenuItemData.Execute ()
    at System.Windows.Forms.Command.Invoke()
    at System.Windows.Forms.Command.DispatchID(Int32 id)
    at System.Windows.Forms.Control.WmCommand(Message& m)
    at System.Windows.Forms.Control.WndProc(Message& m)
    at System.Windows.Forms.ScrollableControl.WndProc(Mes sage& m)
    at System.Windows.Forms.ContainerControl.WndProc(Mess age& m)
    at System.Windows.Forms.Form.WndProc(Message& m)
    at System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)
    at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message& m)
    at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
     
  8. Brendon Pywell

    Brendon Pywell
    Bob's Track Builder

    As I've already said, please upload your project.
     
  9. hy!!!!

    i can't try my track because when the rbr loaded the track everything are yellow, there are no objets road nothing.....only the yellow space...


    WHY????????
     
  10. Brendon Pywell

    Brendon Pywell
    Bob's Track Builder

  11. dont get angry piddy!!, be very very very patient!! ;)
     
  12. Brendon Pywell

    Brendon Pywell
    Bob's Track Builder

    NO!!

    :laugh2:

    Well I was holding the next patch up until I saw what was going on with your project. Other people might do the angry part.

    But seriously, I can't help unless I see the files.
     
  13. that was the last when i was write here!!