The online racing simulator
Searching in All forums
(166 results)
Sync .NET InSim stats with MySQL
R0ut66
S3 licensed
I was wondering how I would be able to sync stats within .net to a mysql database and vice versa.

It'll be a cruise insim, but I'm unsure on how to make the connection to the database, and then how to actually store / read / sync the stats.

Any help / ideas on where to start with this would be great!

Thanks
R0ut66
S3 licensed
Hello! I speak your language, i can help you if you want! Call me on facebook. www.facebook.com/N1337F
Help with coordinates
R0ut66
S3 licensed
Hello, im making a GPS thing that shows where is your location, but it works only when your heading is different than the place that i set (90).

The location is the Gas Station.



The code that i made is this:

Quote :Conn.DistGPS = ((int)Math.Sqrt(Math.Pow(Conn.CompCar.X - (-53 * 196608), 2) + Math.Pow(Conn.CompCar.Y - (203 * 196608), 2)) / 65536);
Conn.YGPS = ((-53) - (pathx));

if (heading < 89)
{
Conn.XGPS = ((90) - (heading));
}
else
{ Conn.XGPS = ((heading) - (90)); }

if ((Conn.XGPS + 95) > 255)
{ Conn.XGPSnew = 255; }
else if ((Conn.XGPS + 95) < 0)
{ Conn.XGPSnew = 0; }
else
{ Conn.XGPSnew = Conn.XGPS; }

if ((Conn.YGPS + 95) > 255)
{ Conn.YGPSnew = 255; }
else if ((Conn.YGPS + 95) < 0)
{ Conn.YGPSnew = 0; }
else
{ Conn.YGPSnew = Conn.YGPS; }

InSim.Send_BTN_CreateButton("^7^H¡¶" + Conn.DistGPS + "m¡¶", Flags.ButtonStyles.ISB_C1, 7, 20, Convert.ToByte((95 + Conn.YGPSnew)), Convert.ToByte((90 - Conn.XGPSnew)), 200, Conn.UniqueID, 2, false);

R0ut66
S3 licensed
I have the code for LFS_External, if you want
R0ut66
S3 licensed
Oh, thanks god scawen
Last edited by R0ut66, .
R0ut66
S3 licensed
Well, try to use my configs.
The first bar in 0.0 and the second fully
R0ut66
S3 licensed
Give up of LFSLapper and start in LFS_External or InSimDotNet
R0ut66
S3 licensed
+1
R0ut66
S3 licensed
Quote from UnknownMaster21 :https://www.lfs.net/mailus you do this how

EDIT: Please be aware that you need to have a proof to make it so.

I already do that, but they didnt answer
R0ut66
S3 licensed
If you are using LFS_External, you should upgrade the dll to a new version
R0ut66
S3 licensed
Quote from BeNoM :You can message one of the LFS devs.

How i do that?
R0ut66
S3 licensed
Well, i have 0.6q demo in 64 bits and i didnt have this problems
R0ut66
S3 licensed
Quote from Shirtkicker :If you are reporting a crasher or hacker on a server that you were driving on, you need to go to that server's website directly - if they have one. Posting in this forum won't achieve anything as you can't guarantee the server admins will see it at all. The server's website can usually be found in the introduction text when you join the server, or you can sometimes find it by typing !info in the chat.

If you are reporting a post on this forum, you want to click on the little blue triangle with the exclamation mark in the top right corner of the offending post, then write a short explanation to the moderator explaining why the post is offensive.

edit: I should add that, in the case of driving incidents, it's always a good idea to have a saved replay of the incident to attach as proof when posting your complaint.

I want report a user that is giving lfs cracks
R0ut66
S3 licensed
Quote from Abone :Yesterday LFS shut down again unfortunately. after that i delete all LFS registers with regedit(i dont know if was a correct way, i just find it on internet).i dont know how to clear my temp and LFS registers, i beginer at this, you can show-me the way?i just have little time after lfs shut down so i dont make a full test, hope i can do full test today.

cheers

Well, test it in another game. If the game shut down too the problem may be a virus.
And use cclear or something like that, idk too xD
R0ut66
S3 licensed
Try to delete all LFS registers, unistall lfs and clear your temp and recent folders
Where i report a user?
R0ut66
S3 licensed
I wanna report a user, where i can do it?
FGED GREDG RDFGDR GSFDG