The online racing simulator
Searching in All forums
(11 results)
brkbsmci0606
S3 licensed
Quote from developer346 :long TotalDistance = FileInfo.GetUserDistance(Username);

Quote from developer346 :InSim.Send_BTN_CreateButton("^4> ^7Cash: ^2$" + Cash + " ^7Bank Balance: ^2$" + BBal + " ^7Distance: ^2" + TotalDistance / 1000 + " km ^7/ ^2" + TotalDistance / 1609 + " mi", Flags.ButtonStyles.ISB_LEFT | Flags.ButtonStyles.ISB_C1, 5, 70, 65, 54, 34, (Conn.UniqueID), 2, false);

tanımlanan getuserdistance ve username bende yok ve yazdığın kütüphane lfsexternal boşa yazma

more non-code lfs external library

I need insim.net library
I need more open code
brkbsmci0606
S3 licensed
Quote from MadCatX :We cannot help you if you don't tell us what do you want the code to do and what it is actually doing. Are you trying to make a total distance counter? Does your code crash in the for loop?

I want to add the total distance made with the program tool
Distance Help Library Insim.net
brkbsmci0606
S3 licensed
Hi,
My code What am I doing wrong?

if (Speed > 0)
{
var x2 = Convert.ToDouble(info.X);
var y2 = Convert.ToDouble(info.Y);
var z2 = Convert.ToDouble(info.Z);

var distance = MathHelper.Distance(
info.X,
info.Y,
info.Z,
x2,
y2,
z2
);
distance += MathHelper.LengthToMeters(distance);

double clock = distance / 1000;

string[] Distance =
{
string.Format("Distance: ^7" + clock.ToString("F2") + " ^2Km/h"),
};

for (byte i = 0, id = 15, top = 12; i < Distance.Length; i++, id++, top += 5)
{
//button code
}
}

emergency aid
Last edited by brkbsmci0606, .
brkbsmci0606
S3 licensed
someone help? I'm still waiting
brkbsmci0606
S3 licensed
Quote from cargame.nl :You are S3 licensed which is nice but you are using Google Translate which makes it impossible to communicate.

Hi bro,

I know I was programming.

I money, bonus, distance does not know how to add and will be recorded

help me
brkbsmci0606
S3 licensed
Quote from developer346 :Check out the links for cruise
https://www.lfs.net/forum/thread/79060
https://www.lfs.net/forum/thread/77485
https://www.lfs.net/forum/thread/47913
You can download a cruise of the links Smile

I don't want anything to do with the collapsing insim

make your own insim
brkbsmci0606
S3 licensed
yes
brkbsmci0606
S3 licensed
someone help?
brkbsmci0606
S3 licensed
Quote from DarkTimes :InSim.NET is a InSim library for Live for Speed, written for the .NET Framework. It allows you to create a socket connection with the game and to send and receive packets of data. These packets can be used to control LFS, issue commands and request information. The library has been designed for flexibility, extensibility and performance. It tries to match the original InSim API as closely as possible, while taking care not to get in your way.

Note: InSim.NET was originally known as Spark, but changed its name to prevent it clashing with another .NET project with the same name. Note: Many code examples in this thread were written for version 1.0 the library and probably won't work correctly in the newer version. You can find up-to-date examples in the documentation.

Quick LinksWhat's New?

This release is for version 2.0 of the library, which has seen a number of large changes
  • Full support for InSim, InSim Relay, OutSim and OutGauge
  • Full support for all LFS character encodings
  • Improved API
  • Improved networking code
  • Improved documentation
  • A new home on GitHub
  • New Git source code repository
Requirements

InSim.NET requires .NET Framework 4.5 and is CLS compliant with all .NET languages. It is written in C# and compiled with Visual Studio 2013.

Source Code

InSim.NET now uses Git distributed source control, which means it's easy to clone the latest repository, create forks and make changes. Anyone is welcome to clone the repository and create their own version of the library.

License

InSim.NET is released under the Lesser General Public License (LGPL).

Download

InSim.NET is available through NuGet, the .NET package manager. To install it type the following command at the package manager console.

PM> Install-Package InSimDotNet

Alternatively you can download it from the GitHub project page.

https://github.com/alexmcbride/insimdotnet

I s3 cruise insim do

I would like to add the bonus money, distance

InSim.Net can help the authorized expert for Admins?
Hi, All
brkbsmci0606
S3 licensed
I s3 cruise insim do

I would like to add the bonus money, distance

InSim.Net can help the authorized expert for Admins?
brkbsmci0606
S3 licensed
Quote from Scawen :You need to buy a license, then you can use layouts.

The Demo is just a "demonstration" of LFS, so you can decide if you want to buy a license.

Can you open a private message?
FGED GREDG RDFGDR GSFDG