Jump to content
The simFlight Network Forums

FwFreak

new Members
  • Posts

    4
  • Joined

  • Last visited

Posts posted by FwFreak

  1. Yes, it is a write-only offset and already did it like your option 1.

    This is my code which works for other offsets except the simrare (local time, pause sim, send text message).

    Offset<short> simrate = new Offset<short>("simrate", 0x0C1A, true);
    
      (...)
    
    List<string> types = new List<string>();
      
      (...)
      
    public void setSimrate(int val)
    {
      form1.write_log("Simulator", "Set -> Simrate: " + val);
    
      simrate.Value = (short)(val * 256);
      types.Add("simrate");
    }
    
    public bool Send()
    {
      if(form1.monitor.status.connected)
      {
      foreach(string type in types)
      {
        try
        {
          form1.write_log("Simulator", "Start Send -> " + type);
    
          FSUIPCConnection.Process(0, type);
        }
        catch (FSUIPCException ex)
        {
          form1.write_log("Simulator", "Senden Fehler: " + ex.ToString());
        }
      }
    }

     

    (The part with the 'List' is not the best way I think but I'm not sure how to write more than one group in one process.)

     

  2. Hi Paul!

    First thanks for your great FSUIPCClient dll.

    Yesterday I updated the NuGet package from 3.1.5 to 3.1.11. Since this update setting the Offset 0C1A for changing the Simulation Rate causes P3D to incease the RAM usage up to 100% till the PC runs out of memory.

    The actual FSUIPC offset table says for Offset 0C1A "[Write] ]Not working, Sim Event seems broken" but with version 3.1.5 I can change the Simulation Rate without trouble (same FSUIPC version 5.15).

     

    Have you changed something related between the dll versions or do you have any ideas how I can fix the issues?

     

    Best regards

    Karsten

     

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use. Guidelines Privacy Policy We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.