Outdated Real-Time Vehicle Editor - Alpha 12 released ! New UI, icons, duplication, plenty of fixes, ...

Discussion in 'Utilities and programming' started by GregBlast, Jan 24, 2014.

Thread Status:
Not open for further replies.
  1. GregBlast

    GregBlast
    Expand Collapse

    Joined:
    Aug 12, 2013
    Messages:
    224
    As I can see this docking suite seems to be working on Windows 8. It's actually version 3 and I was using version 2. Will use that one as soon as I can and post a new release for those on Windows 8.
     
  2. Conner1238

    Conner1238
    Expand Collapse

    Joined:
    Dec 30, 2013
    Messages:
    44
    I keep getting this error when i try to put a vehicle in...
    Can someone please help?
     

    Attached Files:

    • Capture.PNG
  3. 0xsergy

    0xsergy
    Expand Collapse

    Joined:
    Aug 5, 2012
    Messages:
    289
    You have a parsing error in the code somewhere. If a node uses a specific value for it then it fails to parse it and errors out. For example
    HTML:
    ["fr1l", 0.150, -1.18, 0.467{		"nodeWeight":8}],
    errors out because of the nodeweight specified after the node.
     
  4. GregBlast

    GregBlast
    Expand Collapse

    Joined:
    Aug 12, 2013
    Messages:
    224
    That's not problematic I handle what I call "inline properties" which are defined between "{}" inside the node. Your problem there is that those properties were not separated from the Z position with a comma.
    It should be:
    Code:
    ["fr1l", 0.150, -1.18, 0.467[COLOR=#ff0000][SIZE=5][FONT=arial black][B],[/B][/FONT][/SIZE][/COLOR] {        "nodeWeight":8}],
    - - - Updated - - -

    Erm that would mean that path was found in the registry as the game path. Does that folder exist or does it not ? I guess not. When does the error occur exactly ? Immediately after starting the tool ? Or when displaying the vehicle list ? If you can't do anything within the tool you can still update your preferences file by hand if needed. I'll tell you how if you need to if you can answer these few questions.
     
  5. 0xsergy

    0xsergy
    Expand Collapse

    Joined:
    Aug 5, 2012
    Messages:
    289
    Ah, but the game reads it either way(I'm assuming) and I've never included the comma(just like on beams, etc). Maybe make it read either?
     
  6. FZulley

    FZulley
    Expand Collapse

    Joined:
    Aug 10, 2013
    Messages:
    75
    Hey, when trying to load the Ford Crown Victoria by Nadeox, I keep getting the following error:

    Screenshot 2014-02-27 16.56.32.png

    Sorry because of the German Language, but I don't know how to translate it properly. In freestyle German - English translation I would say: The Objectreference was not set to an Objectinstance.
    Version is alpha12 :)
     
  7. GregBlast

    GregBlast
    Expand Collapse

    Joined:
    Aug 12, 2013
    Messages:
    224
    I'm using a library that parses the data and it's that library that throws the error. My code only happens later. So I have no control on that part sorry :(. All I can do is intercept it and warn you about it as I do. But as the error is pretty generic I can't precisely determine what it is by code and update the vehicle accordingly to then reload it.

    I suggest you get the habit of writing it properly. It is a mistake after all. Even if the game doesn't complain about it.

    - - - Updated - - -

    The Crown Victoria has problems related to configuration files (if I remember well). Some things reference the 'fullsize' and shouldn't. Nadeox is aware of it. I could get the car to load in the editor but saving it creates other problems. Front direction gets broken for some reason. I have to investigate that one.

    So I advise you not to try playing around with that car in the editor with this release. I should get it to work for the next release (I hope ^^). But that kind of problem means a lot of trial and error so I need to feel really motivated for that heh.

    - - - Updated - - -

    News
    Also I've got some good news. I am actually using DevExpress libraries at work and have been allowed by my employer to use them in this project ! DevExpress provides tons of really useful and well designed controls and components for .NET. So I think in a future version I will refactor the entire UI this time especially the grids and such to use that awesome library. And as the licence allows for it to be updated each time they release a new version it will always remain up to date.


    Note that I will have to warn users about the copyright. If I ever have any word of someone decompiling the tool to use DevExpress libraries I'll immediately report it. This is gonna be based off of a company licence which costs a lot. So anyone trying to steal it will have to face the consequences.


    Any honest person nothing to fear and will just plainly benefit of it. I will always keep posting a full open source version of the tool for those who want to stick to that. But having a free up to date version of DevExpress tools is a great advantage.
     
  8. kinney911

    kinney911
    Expand Collapse

    Joined:
    Aug 18, 2013
    Messages:
    12
    This tool has evolved so far since I first noticed the V1 thread, fantastic work! :D

    I'm having an issue running the program, and I think it's because I've got my BeamNG installed to a non-default directory (silly small SSD).

    I've got BeamNG in C:\Users\*me*\BeamNG\BeamNG.drive\ instead of the appdata folder, and I notice in the .Config file that %appdata% is explicitly referenced. I don't know if that's an issue or if it's something else, but I'm not familiar enough with code to figure out the correct way to change that directory to the correct one in the .config file.

    Thanks for your help, this program is top notch.
     
  9. FZulley

    FZulley
    Expand Collapse

    Joined:
    Aug 10, 2013
    Messages:
    75
    Thanks for your feedback GregBlast :) No problem at all, take your time, still a very nice tool ! :)
     
  10. GregBlast

    GregBlast
    Expand Collapse

    Joined:
    Aug 12, 2013
    Messages:
    224
    If you can start the tool you can set it manually in the "Preferences" menu. If not then you can still navigate to "C:\Users\<your name>\AppData\Local\DriveBeamEditor\" and edit the file "config.dat" with notepad. It's a simple file with every preferences each on a line that starts with the name followed by a ; then the value.

    Locate the line that starts with "gamePath;" and change the value to the folder in which your game executable is located. For those others reading this that wouldn't know where their game is installed I guess you have a desktop shortcut. Hover it for one second with your mouse and a tooltip will tell you where the executable is located. That's what you should use next to "gamePath;" in the "config.dat" file.

    I will try to reproduce your faulting behaviour and see why it wouldn't locate the game. I bet you had the demo installed first and it locates its folder. But it still shouldn't crash and let you choose another one. So I'll dig into that.
     
  11. kinney911

    kinney911
    Expand Collapse

    Joined:
    Aug 18, 2013
    Messages:
    12
    Huh. For what it's worth, I can't get the editor to start at all.

    I'll re-download it and see if it was just a messed up .zip file.

    EDIT: Just redownloaded it, and I'm getting the same error. Splash screen appears, then disappears; and the window appears, but the program stops responding and the windows "troubleshooter" comes up.

    I'm running Windows 8.1 x64 with all updates and no antivirus.
     
  12. GregBlast

    GregBlast
    Expand Collapse

    Joined:
    Aug 12, 2013
    Messages:
    224
    Sorry I misinterpreted what you said earlier. That you actually had checked the config file already and the correct path was in it. As I told someone previously the docking suite does not seem to be working on Windows 8. If you read the previous posts you will see that I posted a version with the old layout as a temporary fix for those using Windows 8. Check out this post and let me know if it helps.
     
  13. Kimmykix

    Kimmykix
    Expand Collapse

    Joined:
    Aug 4, 2013
    Messages:
    231
    Cant get Alpha 12 to start at all. After the splash screen I get this:
    beamcrash.PNG

    I'm on Windows 7 x64
     
  14. 0xsergy

    0xsergy
    Expand Collapse

    Joined:
    Aug 5, 2012
    Messages:
    289
  15. Kimmykix

    Kimmykix
    Expand Collapse

    Joined:
    Aug 4, 2013
    Messages:
    231
  16. GregBlast

    GregBlast
    Expand Collapse

    Joined:
    Aug 12, 2013
    Messages:
    224
    And Alpha 11 was working fine ?

    Well the error says it's about System.Drawing so it's a hint already but not much.
     
  17. Kimmykix

    Kimmykix
    Expand Collapse

    Joined:
    Aug 4, 2013
    Messages:
    231
    Just checked, Alpha 11 crashes also... I'm simply extracting the folder into the "C:\Users\[my name]\AppData\Local\BeamNG" folder and running the exe...am I doing something wrong?
     
  18. GregBlast

    GregBlast
    Expand Collapse

    Joined:
    Aug 12, 2013
    Messages:
    224
    Well try putting it somewhere else maybe. Like create a folder in "C:\" and put contents in (not program files jsut to be 100% sure).
     
  19. Kimmykix

    Kimmykix
    Expand Collapse

    Joined:
    Aug 4, 2013
    Messages:
    231
    No matter where I put it, it still will not start... your program hates me xD
     
  20. GregBlast

    GregBlast
    Expand Collapse

    Joined:
    Aug 12, 2013
    Messages:
    224
    Just to be sure...did you install the .NET Framework 4.5 ? I was saying it is a prerequisite in my previous thread but it's true that on this one I didn't duplicate those instructions.
     
Thread Status:
Not open for further replies.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice