The online racing simulator
Searching in All forums
(921 results)
broken
S3 licensed
Oh. Now wasn't that easier to say? :P
broken
S3 licensed
Quote from Mikko1 :free for 1-4 hours ^^...
S2 only () no really xD

W..what?
broken
S3 licensed
Quote from hyntty :5€ per meter?

Yeah.. Depends on the track length. But for the OP I have a new special offer: 5€ per month.
broken
S3 licensed
Well now I got version 1.1.0.0 and it all works fine. Except that there are no TINYs but I can live with that. Thanks for the help tho.
broken
S3 licensed
Sure! That would be 5euro/m.
broken
S3 licensed
Thanks for the reply.

The button I tried to send had about 70-80 characters. And, yes, about messages... I know the limit is around that but still - in the previous version it used to cut the message for you. And now it just throws an exception. Anyway the exception on MST and messages to connection is not such a big deal, but the thing with the button.. It's kinda weird.
broken
S3 licensed
Hi again. I have this weird problem with the newer library. Just want to know if I'm doing something wrong. When I send a longer message or want to send a button with a longer length of the text I get this:

System.ArgumentException: The output byte buffer is too small to contain the encoded data, encoding 'US-ASCII' fallback 'System.Text.EncoderReplacementFallback'.
Parameter name: bytes

I have this issue since I updated LFS_External library to 1.1.1.4. I don't want to revert back to old version because I can't send tinys there. But in this I can't make buttons with longer text(at least not yet xD). Thanks.
Exception sent to function in C#?
broken
S3 licensed
Is a code like the following possible?

try {
string tempstring = "cookie";
int tempint = int.Parse(tempstring);
} catch (Exception EXC) {
otherClass.makeErrorFile(EXC);
}

And the makeErrorFile void to have a stream writer that writes EXC.Message and EXC.StackTrace to an error file.
It manages to create the file, but it doesn't manage to write to it. I am sure that I have no mistakes in the code to write the file. But I think that the way I send this exception might be wrong.

Thanks for any answers in advance. I'll keep on trying now till I get it right.

Seems like my lucky day today. I got it to work. Just to let you know if you are curious - You can send Exceptions to other functions.
Last edited by broken, .
broken
S3 licensed
I don't really get what you mean but as far as I can understand you need something like: Me.Hide();
or just Me.Hide in vb code
Not 100% sure of the code tho, but I think that was the way. Hope I've helped.
broken
S3 licensed
I didn't speculate with it. I just said I don't see any problems, not that there are none. I never said it can be done, I'm just trying to explain it to myself - why it isn't possible. And actually now I understand from the post you made. Thanks.
broken
S3 licensed
Quote from Dajmin :The biggest potential issue I can see with that system is that there'd be no way of keeping track of laptimes on the custom combos. Of course each server could easily do that with uploads and stuff, but there wouldn't be any official WRs or anything.

Still something I'd like to see. There's a lot of combos been posted here over the years that I'd like to try out, and some I'd like to see totally fail

There are route checkers atm and they can be used. Or something like route selector can be made.. To select parts of the track that you would like to use and select which way the cars should be faced(or R version of tracks can be kept).

And I don't see any problems about gfx cards either, since in Shift+U mode you can see other tracks and when you put a spawn point somewhere out of track its fully visible from top cam and some places are visible from last cam too.
broken
S3 licensed
Quote from iklucas :it's hot here too

Now that explains a lot. xD
broken
S3 licensed
Stupid threads today.
ibtl? xD

Edit: Maybe cause its too hot today? Well, at least here.
broken
S3 licensed
I do believe there is one mistake in the code.
Player swap is wrong imo. Let me show you what I mean:

// A player joins the race. If PLID already exists, then player leaves pit.
private void NPL_PlayerJoinsRace(Packets.IS_NPL NPL)
{
bool LeavesPits = AddToPlayersList(NPL); // Update Players[] list

// Your code here
}

// Car was taken over by an other player
private void TOC_PlayerCarTakeOver(Packets.IS_TOC TOC)
{
Players[GetPlyIdx(TOC.OldUCID)].UniqueID = TOC.NewUCID; // Update Players[] list
Players[GetPlyIdx(TOC.OldUCID)].PlayerID = TOC.PLID; // Update Players[] list

// Your code here
}

Players[GetPlyIdx(NEED.PLID.NOT.UCID)]

// A player joins the race. If PLID already exists, then player leaves pit.
private void NPL_PlayerJoinsRace(Packets.IS_NPL NPL)
{
bool LeavesPits = AddToPlayersList(NPL); // Update Players[] list
//And tiny addon
Connections[GetConnIdx(NPL.UCID)].PLID = NPL.PLID;

// Your code here
}

// Car was taken over by an other player
private void TOC_PlayerCarTakeOver(Packets.IS_TOC TOC)
{
try
{
Players[GetPlyIdx(Connections[GetConnIdx(TOC.OldUCID)].PLID)].UniqueID = TOC.NewUCID; // Update Players[] list
Players[GetPlyIdx(Connections[GetConnIdx(TOC.OldUCID)].PLID)].PlayerID = TOC.PLID; // Update Players[] list
//And another tiny addon
Connections[GetConnIdx(TOC.OldUCID)].PLID = TOC.PLID; // Update Connections[] list

// Your code here
}
catch (Exception EX)
{
//If you want to catch exception info do it here... If not -> Remove try and catch codes. Easy ;)
}
}

Of course to make this work you have to add byte(I have added is as an int idk why) PLID in clsConnection and I will leave this easy job to you.
broken
S3 licensed
Quote from binladens :Whell what he said was " Why Do i need Demo cruise server"

To be honest demo is a start to s2.... now with the crisis bla bla bla.... just sorta dont have the spare money to buy the license and make the goddamn s2 server...

Im just testing this cruise for the moment and got stuck with 8 players limit started searching and the author of this program... wrote to me about the mci limit and explained how it works and then i understoood....

As i said to him... i may understand the most basic things about programming some basic languages not visual c# or insim...... as ive never tried to "remake any visual c# or insim " before this program im learning whats what yet

Shadoww as i see ur kinda respected man here sort of...

So can any1 help me with the mci handling "patch" ish.. and a small explain whats what would be very thankful

If you have xfire, add me - ga3ar43. I will help you out with the MCI limit.
If you don't have xfire and you want to get it(it's the only messanger I use) you can download it from http://xfire.com
broken
S3 licensed
Quote from BBO@BSR :Finally I reported that 3 years ago
http://www.lfsforum.net/showth ... &highlight=birth+date


Rofl, then you must be finally satisfied.
broken
S3 licensed
Cool, thanks.
broken
S3 licensed
Quote from Shadowww :You, Sir, fail at understanding other languages.

Yep, especially at languages I've never heard.
broken
S3 licensed
Quote from Shadowww :Priekš kam tev vajag demo cruise serveri? :|

1st: If you respect everybody in the forums you would say that in english.
2nd: As far as I understand you are asking something that would offend demo users and/or cruisers.

From these 2 I'd like to tell you 2 things:
1: Have some more respect and courage and write that in english.
2: If you don't want everybody to soon start thinking you are a hypocrite then stop offending cruise servers.

Let me give you one example:
Quote from Shadowww :But PLEASE, do not allow demoers to be cadets/cops.

Whining about who is cop/cadet in a cruise server....
Quote from Shadowww :What he said.

If you want to make just another crapuise server, learn to code. [...]

After which this is how you call cruising.
Last edited by broken, .
broken
S3 licensed
Quote from a7x-syn-a7x :i would probably want about 20-25ish slots at max

I could offer you a 20 slot server with a free insim too. It would cost you 10euro/mo. Insim could be forum one or insim from the light package at MC. Contact me for more info, or post a reply in the thread.
broken
S3 licensed
Quote from Bob Smith :Agreed, this is clearly cruisism.

This is my new fav word. CRUISISM
Then Shadowww should be one of the cruisists I guess. And he has made a cruisist post. xD
Oh my siggy needs changing then I guess. :P
Last edited by broken, .
broken
S3 licensed
Quote from Shadowww :Cruisers aren't race, so it's not racism.

People have always been divided in communities/groups/w.e. Take as an example black people. Why have white people like us have treated them in such a bad way... That's something I'd really hate to see? The fact that they are black doesn't make them any less humans than us. So if you don't like cruising, making posts like that doesn't make you cooler or a pro or anything. Just shows how narrow-minded you are.
Last edited by broken, .
Tiny bug
broken
S3 licensed
In lfsworld when you save your profile and press the save button it resets the day(idk if always or just in my case) - When there's entered "09" as a day and you press save it goes to "00" but when you enter only "9" it goes to "09". Not sure if it matters at all but some people might have wrong birth dates if they don't notice this.
broken
S3 licensed
Quote from TurboBlaster :What topic has the thread?

The topic I don't know but this thread has no point at all anyway.

IBTL!!!
FGED GREDG RDFGDR GSFDG