Thommy
Thommy
CC#
Created by Thommy on 9/6/2024 in #help
App to Google App Store
Die haben wir. Wir haben auch schon die aab Datei hochgeladen allerdings haben wir ein paar warnungen drin und die App erscheint auch bei den hinterlegten Testern nicht im App Store. Wir haben nur einen Link. Ist das normal?
25 replies
CC#
Created by Thommy on 11/17/2023 in #help
String Append
thats very perfect. thx
7 replies
CC#
Created by Thommy on 11/17/2023 in #help
String Append
File is an Textfile and the text in it should be changed and then saved again
7 replies
CC#
Created by Thommy on 11/10/2023 in #help
✅ Reading Text in File at Position x
Ok, i found an solution!
List<string> datei = File.ReadLines(fileName).Skip(startingline).Take(readlines).ToList();
List<string> datei = File.ReadLines(fileName).Skip(startingline).Take(readlines).ToList();
it read the lines at startingline and read 'readlines' from the file and take it to an List string
24 replies
CC#
Created by Thommy on 11/10/2023 in #help
✅ Reading Text in File at Position x
I'll test it tomorrow and if I get stuck, I'll let you know
24 replies
CC#
Created by Thommy on 11/10/2023 in #help
✅ Reading Text in File at Position x
The format of this text block always remains the same, only the position changes
24 replies
CC#
Created by Thommy on 11/10/2023 in #help
✅ Reading Text in File at Position x
You could try to get the line number with a for loop and then read out 13 lines from there?
24 replies
CC#
Created by Thommy on 11/10/2023 in #help
✅ Reading Text in File at Position x
ok, i read the file with File.ReadLines
24 replies
CC#
Created by Thommy on 11/10/2023 in #help
✅ Reading Text in File at Position x
to old for school ^^
24 replies
CC#
Created by Thommy on 11/10/2023 in #help
✅ Reading Text in File at Position x
its for me, not for school
24 replies
CC#
Created by Thommy on 9/26/2023 in #help
❔ Question Autorun
ok, but the entry is correct?
9 replies
CC#
Created by Thommy on 9/26/2023 in #help
❔ Question Autorun
No description
9 replies
CC#
Created by Thommy on 8/6/2023 in #help
❔ Event Fired only 2. Time?
Events:
Telemetry = new SCSSdkTelemetry();
Telemetry.Data += Telemetry_Data;
Telemetry.JobStarted += TelemetryOnJobStarted;
Telemetry.JobCancelled += TelemetryJobCancelled;
Telemetry.JobDelivered += TelemetryJobDelivered;
Telemetry.Fined += TelemetryFined;
Telemetry.Tollgate += TelemetryTollgate;
Telemetry.Ferry += TelemetryFerry;
Telemetry.Train += TelemetryTrain;
Telemetry.RefuelPayed += TelemetryRefuelPayed;
Telemetry.RefuelEnd += TelemetryRefuelEnd;
Telemetry = new SCSSdkTelemetry();
Telemetry.Data += Telemetry_Data;
Telemetry.JobStarted += TelemetryOnJobStarted;
Telemetry.JobCancelled += TelemetryJobCancelled;
Telemetry.JobDelivered += TelemetryJobDelivered;
Telemetry.Fined += TelemetryFined;
Telemetry.Tollgate += TelemetryTollgate;
Telemetry.Ferry += TelemetryFerry;
Telemetry.Train += TelemetryTrain;
Telemetry.RefuelPayed += TelemetryRefuelPayed;
Telemetry.RefuelEnd += TelemetryRefuelEnd;
8 replies
CC#
Created by Thommy on 8/6/2023 in #help
❔ Event Fired only 2. Time?
if (delivered != sCSTelemetry.SpecialEventsValues.JobDelivered)
{
delivered = sCSTelemetry.SpecialEventsValues.JobDelivered;
if (delivered)
{
if (!flag)
{
this.Data?.Invoke(sCSTelemetry, newTimestamp: true);
flag = true;
}

this.JobDelivered?.Invoke(this, new EventArgs());
}
}
if (delivered != sCSTelemetry.SpecialEventsValues.JobDelivered)
{
delivered = sCSTelemetry.SpecialEventsValues.JobDelivered;
if (delivered)
{
if (!flag)
{
this.Data?.Invoke(sCSTelemetry, newTimestamp: true);
flag = true;
}

this.JobDelivered?.Invoke(this, new EventArgs());
}
}
8 replies
CC#
Created by Thommy on 8/6/2023 in #help
❔ Event Fired only 2. Time?
8 replies
CC#
Created by Thommy on 8/6/2023 in #help
❔ Event Fired only 2. Time?
shure.. mom
8 replies
CC#
Created by Thommy on 4/18/2023 in #help
❔ C# dll
Sorry, not at Home. Is it then possible to start the console project with the computer (I know autorun from the registry) and let it run in the background?
14 replies
CC#
Created by Thommy on 4/18/2023 in #help
❔ C# dll
We have a WPF app that transfers data from a game to our server. Since this is currently connected to a graphical interface, which is more or less unnecessary since all data is also displayed there in the game itself, I had the idea of reading the data via a dll and sending it to our server. Without an app, ideally the dll should be loaded when the system starts and the data should be sent as soon as the game is started.
14 replies