• “Just being a mediocre driver has never been my ambition. That's not my style” ― Michael Schumacher
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. Have a chance to win a copy of F1 2017 The Game (PC) by following RaceDepartment on Twitter, Facebook, Instagram, Twitch, Steam and / or YouTube.

error when exporting

Discussion in 'Bob's Track Builder' started by mattrix_6996, Jun 6, 2009.

  1. mattrix_6996


    I have been working on a track a while .... but now when i go to export i get a message saying something about 0. here is the log

    See the end of this message for details on invoking
    just-in-time (JIT) debugging instead of this dialog box.

    ************** Exception Text **************
    System.DivideByZeroException: Attempted to divide by zero.
    at BobsBits.BObject.SetGMTLimits()
    at BobsBits.BObjects.SetGMTLimits()
    at BobsBits.ISIEngine.rFactor_Venue.AddObjects()
    at BobsBits.ISIEngine.rFactor_Venue.CreateAll(Vector3 Offset, String VenueFolder, String TrackFolder)
    at BobsBits.Venue.ExportForrFactor(String ExePath, String VenueFolder, String TrackFolder, String VenueName, String TrackName, Boolean OverwriteTDF, Boolean OverwriteGDB, Boolean OverwriteSCN, Boolean OverwriteAIW, Boolean OverwriteCAM)
    at BobsTrackBuilder.frmExport.butrFactorExport_Click(Object sender, EventArgs e)
    at System.Windows.Forms.Control.OnClick(EventArgs e)
    at System.Windows.Forms.Button.OnClick(EventArgs e)
    at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
    at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
    at System.Windows.Forms.Control.WndProc(Message& m)
    at System.Windows.Forms.ButtonBase.WndProc(Message& m)
    at System.Windows.Forms.Button.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)

    ************** Loaded Assemblies **************
  2. banger


    check your textures are of power of 2.

    2,4,8,16,32,64,128,256,1024,2048 doesn't need to same on height/width has long has they meet the numbers above.
  3. mattrix_6996


    The textures are all the right size. They are mostly from rfactor or simbin stuff. I am really peeved at why this is happening, its such a great track i don't want to lose.