The online racing simulator
Searching in All forums
(26 results)
1
Nock44
S2 licensed
Not the res you want but, i think it looks alright
LFS-ProStreet New Insim (Proper Race Mod!)
Nock44
S2 licensed
Well today I did come to think about it, the previous mod was... Yes I have to say it... CRAP but now i have developed a proper race mod (Not Finished Yet) where you can select what classes you would like to race E.G !vote GTR, and for 3 minutes people on the server can vote for what class they would like to race, the class with the most votes is the one that it gets changed to this way all races are fair and i will be updating the website to go along with the new update.

PLEASE NOTE: this is still a Work In Progress so if you happen to see the server and think Ohh this should be cool, you join and dont see anything don't think argh what this server sucks...
Nock44
S2 licensed
Ya i knew GTR, i mean like LRF and S-S
What are the full names of the car classes?
Nock44
S2 licensed
Can you tell me the Full names of car classes:

E.g STD - Standars
TBO - Turbo...
Nock44
S2 licensed
No, it's not possible to delete a certain object via code you have to do it manualy, good idea though.
How To: Connect to a MySQL Server in C#
Nock44
S2 licensed
Well I got bored and started going through the forums saw a few things that people needed which could easily be done via MySQL and PHP and most were in C# so I decided to write a Class that could connect to a MySQL Server, Run Querys and Retreive Data.

If you wana use it, use it, if you don't, don't.

Anyways heres the download link:
http://www.lfs-prostreet.co.uk/MySQL.rar
Nock44
S2 licensed
Quote from JamesF1 :You didn't start this thread... And, additionally, you can't demand that if someone doesn't agree with you, they don't post. If you can't stand someone disagreeing with you, it's probably you who shouldn't post.

Yes I agree with you to a certain extent, though he could have come across better by saying "I don't realy like NFS but to some people this insim mod sounds good but it dosen't to me".
Nock44
S2 licensed
The thread Evo started for me then.
Last edited by Nock44, .
Nock44
S2 licensed
Quote from aoun :Just giving my thoughts, don't see why i cant. Don't like them? Don't read them...


...you get my point.

How can I not read them, they are on my thread...

...you get my point...

Do you?

Ya, You do?

Ok Good.

And if I didn't read them, I wouldn't know what you are thinking, therefore defeating the object of your post, now on my past history of being on internet forums, I would say "Pwned?" but since we are mature I am going to leave you to post about the point "And if I didn't read them, I wouldn't know what you are thinking, therefore defeating the object of your post".
Last edited by Nock44, .
Nock44
S2 licensed
Quote from aoun :I'm not fussed where you put this thread, i really couldn't care less, put it in the renders forum....


...you get my point.


But why on earth are you bringing NFS Bullsh*t to LFS? No need mate.

You want Prostreet? Stick to it! The damage is better, the graphics are better, the features for street racing is so much more better. You want online simulation racing? Stick to LFS itself.

Don't like it, don't post...


...you get my point.
Nock44
S2 licensed
No, You don't "Cruise" you have Constant Races and if you win you get money etc.
PS| ProStreet Race Mod!
Nock44
S2 licensed
Well I have decided to say "I have finished LFS-ProStreet InSim v1.0" so I decided to release it to the public.

About LFS-ProStreet: It started when me and my friend (PS| Fusion) decided to make a Copy of "NFS: ProStreet" as an InSim mod, Earn money for wining races, buy cars etc. A few good things about it is that we only have two Super Administrators so that leaves a few spaces open for Server Admins, so if you want to join and apply for Server Admin come join, do a few laps and get yourself on the Highscores and then we can see if you are good enough to become a Server Admin

Website

Please Note: Forums and Website are still Under Construction!
Nock44
S2 licensed
Never mind, I just remembered that the first connection is "host" which dosen't have a username so its searching for " Name='' "
Last edited by Nock44, .
Geting Data Errors from a MySQL Server in C#
Nock44
S2 licensed
Well, I have made my InSim app connect to my MySQL server and get data, I don't know why but if I run a predefined query for example

static public int GetRacesWon(string Username)
{
return int.Parse(MySQL.RunReturnQuery("SELECT `RacesWon` FROM `highscores` WHERE (Name='nock44')"));
}

it will return how many races "nock44" has won but if I do:

static public int GetRacesWon(string Username)
{
return int.Parse(MySQL.RunReturnQuery("SELECT `RacesWon` FROM `highscores` WHERE (Name='"+Username+"')"));
}

I get an error on:
string Retn = SQLCmd.ExecuteScalar().ToString();

The Error:
System.NullReferenceException was unhandled
Message="Object reference not set to an instance of an object."

Nock44
S2 licensed
Hey Ian, Your Code worked Thanks Alot you have saved me from having to scrap 4 hours worth of work! Mucho Gracias!
Unable to Insert data via a SQL Query Unless it's done manualy in PHPMyAdmin?
Nock44
S2 licensed
Sorry, I don't know where else to post this but I thought most of the smart guys hang around here so I have a better chance of getting good help, I started a Racing team site and I made a news system (very simple) that orders news by id and posts them etc.

So to make it easier for myself i made a Page that uses the PHP $_POST to get info for the db then run a query to insert it, This is the PHP code that I use:


<?php 
$query 
"'INSERT INTO `impulser_ProStreet`.`News` (`ID`, `Title`, `Text`, `Date`) VALUES (\'\', \'".$title."\', \'".$text."\', \'(TestDate)\');";
mysql_query($query) or die('Error, Insert query failed. :(');
?>

and I always get "Error, Insert query failed. "
Nock44
S2 licensed
Well to even put this to the test, get in a BF1 Shift up to 7th with 0.500 Ratio get wheels spinning to about 400mph, put the clutch down and shift into reverse and let the clutch go, yeah 400MPH > 40MPH In Reverse, Time Taken: 0.1 Seconds
"How Great the Physics engine Is!"
Nock44
S2 licensed
Well, today I noticed that if you are in first gear and you shift into reverse the wheels IMMEDIATLY start spinning the other way without slowing down, Soo... Defy the laws of LFS Physics it does, Defy the laws of Physics it does not.

This isn't a problem though it would make the game seam more real.
Nock44
S2 licensed
Yeah, it's the easiest part but i havent got any ideas or good things to do for a layout
Nock44
S2 licensed
Yes that what the !send command is that Dark Made.
It gives a user money without taking it away from the admin.
How could I make a Counter for KM?
Nock44
S2 licensed
I tried various ideas but they didnt work, Sean told be to use Pythagoras but i didn't quite understand how that would work, i hope you can come up with an idea!
Nock44
S2 licensed
Eehii lol, he just wants a counter on the top like he saw on my server (i think) btw Heiko it's Impulser, and repace your MCI Packet Recived with this:

private void MCI(Packets.IS_MCI MCI)
{
for (int i = 0; i < Players.Count; i++)
{
decimal Speed = (decimal)((MCI.Info[i].Speed * (100f / 32768f)) * 3.6f);
decimal ConvSpeed = (decimal)(Speed * 25 / 1000);
Players[GetPlyIdx(MCI.Info[i].PLID)].Payout += ConvSpeed;
String CarSpeed = Speed * 5 / 8 + "";
string[] StrMsg = CarSpeed.Split('.');
Players[GetPlyIdx(MCI.Info[i].PLID)].RoundedSpeed = int.Parse(StrMsg[0]);
InSim.Send_BTN_CreateButton("^1Car Speed: ^7" + int.Parse(StrMsg[0]) + " MPH", Flags.ButtonStyles.ISB_DARK, 5, 30, 6, 130, 9, Players[GetPlyIdx(MCI.Info[i].PLID)].UniqueID, 2, false);
}
}

Can Someone Make me a Layout...
Nock44
S2 licensed
Yeah, can someone make me a layout for Ashton Historic(AS4) Im making a cruise server so i'll give you a generous head start if you play or if you can just do it for the fun and help me that would be great.
Nock44
S2 licensed
I Tried that before, I know how to do it in C# It would be:

foreach (clsPlayer Plr in Players)
{
InitalizeHUD(Plr.UniqueID);
}

Its just that it dosen't work the same in VB

Edit::: Ah Mcgas001, I Think that Solved my Problem Smile

Also Mcgas001, Could we speak on MSN Or Somthing of that sort i need help with a few tiny problems.
Last edited by Nock44, .
1
FGED GREDG RDFGDR GSFDG