The online racing simulator
When copy pasting the outgauge example, it doesnt seem to receive any packets. CMD pops up, but nothing is written. Am using net 6
my cfg:
OutGauge Mode 2
OutGauge Delay 1
OutGauge IP 127.0.0.1
OutGauge Port 30000
OutGauge ID 0

Try to set the out gauge ID to 1, also delay there is no point in having it less than 10ms, if you run the game at 100fps.
-
(Gaaz) DELETED by Gaaz
Code not working.
Hi, i am trying to make an InSim.net app with radios for my use, and this is what is happening:
(Code used is here)
Severity Code Description Project File Line Suppression State
Error CS0117 'IS_MTC' does not contain a definition for 'message' mxnticek-radio C:\Users\mxnticek\source\repos\mxnticek-radio\mxnticek-radio\MainForm.cs 65 Active
Error CS0246 The type or namespace name 'InsimRadio' could not be found (are you missing a using directive or an assembly reference?) mxnticek-radio C:\Users\mxnticek\source\repos\mxnticek-radio\mxnticek-radio\Form1.Designer.cs 12 Active
Error CS1061 'IS_NCN' does not contain a definition for 'PLID' and no accessible extension method 'PLID' accepting a first argument of type 'IS_NCN' could be found (are you missing a using directive or an assembly reference?) mxnticek-radio C:\Users\mxnticek\source\repos\mxnticek-radio\mxnticek-radio\MainForm.cs 66 Active
Error CS1061 'IS_MSO' does not contain a definition for 'Message' and no accessible extension method 'Message' accepting a first argument of type 'IS_MSO' could be found (are you missing a using directive or an assembly reference?) mxnticek-radio C:\Users\mxnticek\source\repos\mxnticek-radio\mxnticek-radio\MainForm.cs 70 Active
Error CS0117 'IS_MTC' does not contain a definition for 'Message' mxnticek-radio C:\Users\mxnticek\source\repos\mxnticek-radio\mxnticek-radio\MainForm.cs 149 Active
Error CS0117 'IS_MTC' does not contain a definition for 'Message' mxnticek-radio C:\Users\mxnticek\source\repos\mxnticek-radio\mxnticek-radio\MainForm.cs 144 Active
Error CS0117 'IS_MTC' does not contain a definition for 'Message' mxnticek-radio C:\Users\mxnticek\source\repos\mxnticek-radio\mxnticek-radio\MainForm.cs 138 Active
Error CS0136 A local or parameter named 'messageCount' cannot be declared in this scope because that name is used in an enclosing local scope to define a local or parameter mxnticek-radio C:\Users\mxnticek\source\repos\mxnticek-radio\mxnticek-radio\MainForm.cs 132 Active
Error CS0103 The name 'GetBookmarks' does not exist in the current context mxnticek-radio C:\Users\mxnticek\source\repos\mxnticek-radio\mxnticek-radio\MainForm.cs 126 Active
Error CS0117 'IS_MTC' does not contain a definition for 'Message' mxnticek-radio C:\Users\mxnticek\source\repos\mxnticek-radio\mxnticek-radio\MainForm.cs 121 Active
Error CS0117 'IS_MTC' does not contain a definition for 'Message' mxnticek-radio C:\Users\mxnticek\source\repos\mxnticek-radio\mxnticek-radio\MainForm.cs 116 Active
Error CS0103 The name 'SaveBookmark' does not exist in the current context mxnticek-radio C:\Users\mxnticek\source\repos\mxnticek-radio\mxnticek-radio\MainForm.cs 114 Active
Error CS0117 'IS_MTC' does not contain a definition for 'Message' mxnticek-radio C:\Users\mxnticek\source\repos\mxnticek-radio\mxnticek-radio\MainForm.cs 107 Active
Error CS0117 'IS_MST' does not contain a definition for 'Host' mxnticek-radio C:\Users\mxnticek\source\repos\mxnticek-radio\mxnticek-radio\MainForm.cs 106 Active
Error CS0117 'IS_MTC' does not contain a definition for 'Message' mxnticek-radio C:\Users\mxnticek\source\repos\mxnticek-radio\mxnticek-radio\MainForm.cs 101 Active
Error CS0117 'IS_MTC' does not contain a definition for 'Message' mxnticek-radio C:\Users\mxnticek\source\repos\mxnticek-radio\mxnticek-radio\MainForm.cs 94 Active
Error CS0117 'IS_MTC' does not contain a definition for 'Message' mxnticek-radio C:\Users\mxnticek\source\repos\mxnticek-radio\mxnticek-radio\MainForm.cs 81 Active
Error CS1061 'IS_MSO' does not contain a definition for 'Message' and no accessible extension method 'Message' accepting a first argument of type 'IS_MSO' could be found (are you missing a using directive or an assembly reference?) mxnticek-radio C:\Users\mxnticek\source\repos\mxnticek-radio\mxnticek-radio\MainForm.cs 73 Active

Any help please?
IS_MTC does not have a Message property - it is called “Msg”.
IS_NCN only contains the UCID, not PLID.
oh, thanks Smile
As it was merged. It would also make sense to release a new NuGet version
Tnx.
Quote from NeOn_sp :I created a new pull request with the latest changes related to AI...

Absolute legend... Will be testing for the AHPP Underground server Smile Thank you!!!
Quick note for anyone running into the same issue as me (I am windows programming noob, this may be obvious to the pros Wink )

If you get "No data is available for encoding 1252" exception when trying to initialise the insim connection, make sure System.Text.Encoding is there and up-to-date and then add the following line somewhere before the initialisation:

System.Text.Encoding.RegisterProvider(System.Text.CodePagesEncodingProvider.Instance);


FGED GREDG RDFGDR GSFDG