1. Do not share user accounts! Any account that is shared by another person will be blocked and closed. This means: we will close not only the account that is shared, but also the main account of the user who uses another person's account. We have the ability to detect account sharing, so please do not try to cheat the system. This action will take place on 04/18/2023. Read all forum rules.
    Dismiss Notice
  2. For downloading SimTools plugins you need a Download Package. Get it with virtual coins that you receive for forum activity or Buy Download Package - We have a zero Spam tolerance so read our forum rules first.

    Buy Now a Download Plan!
  3. Do not try to cheat our system and do not post an unnecessary amount of useless posts only to earn credits here. We have a zero spam tolerance policy and this will cause a ban of your user account. Otherwise we wish you a pleasant stay here! Read the forum rules
  4. We have a few rules which you need to read and accept before posting anything here! Following these rules will keep the forum clean and your stay pleasant. Do not follow these rules can lead to permanent exclusion from this website: Read the forum rules.
    Are you a company? Read our company rules

Tutorial How to write a Game Plugin for SimTools 2.0 - API documentation

Discussion in 'Tutorials and Tips by the Developer' started by yobuddy, Sep 23, 2016.

  1. yobuddy

    yobuddy Well-Known Member Staff Member Moderator SimAxe Beta Tester SimTools Developer Gold Contributor

    Joined:
    Feb 9, 2007
    Messages:
    5,200
    Occupation:
    Computer Technician
    Location:
    Portland, Oregon - USA
    Balance:
    48,324Coins
    Ratings:
    +5,047 / 17 / -0
    Hi @Sebastian2,
    This is because the project doesn't know where the "IPlugin_Game.dll" API is located at. You will need to go to the app Properties, and then References and fix the path to the api. (It located in the bin\release folder). Then i believe it will compile just fine.

    If not, give me a shout.
    Chat soon,
    yobuddy
  2. Sebastian2

    Sebastian2 Member Gold Contributor

    Joined:
    Dec 17, 2023
    Messages:
    52
    Balance:
    138Coins
    Ratings:
    +35 / 0 / -0
    Thanks to your advice, I got nebriv's Plugin to compile. However, while flying, TuningCenter shows all zeros, so it does not work for me.

    Then i thought, hey, maybe the UDP output or the parsing does not work as inteded, so again i've put dummy values into the outputs. Check attached Pic06 (before) and Pic07 (after). Still, TuningCenter shows all zeros.

    The edited Project file can be found here:
    https://drive.google.com/file/d/1UHFN8Go54hHghEvXNjGb9owJdOLXAQZ9/view?usp=sharing

    Again, I paused the game while in flight, closed GameEngine and GameManager, deleted the the VTOLVR_GamePlugin.dll that I've just created based on nebriv's code, put the VTOLVR_GamePlugin.dll that I've got from Map63Vette in its place, start GameEngine and GameManager, and then I see TuningCenter populated with sensible values.

    This is my check to rule out that I'm doing something wrong, to see if it's the plugin or if its me. Does this make sense?

    Seeing all these plugins fail makes me think I'm doing something wrong.

    Dirt2, MSFS2020 and DCS all work fine for me...

    Does anybody have any ideas what I could try next?

    Attached Files:

  3. yobuddy

    yobuddy Well-Known Member Staff Member Moderator SimAxe Beta Tester SimTools Developer Gold Contributor

    Joined:
    Feb 9, 2007
    Messages:
    5,200
    Occupation:
    Computer Technician
    Location:
    Portland, Oregon - USA
    Balance:
    48,324Coins
    Ratings:
    +5,047 / 17 / -0
    Sebastian2,
    PM sent...