The online racing simulator
Searching in All forums
(921 results)
broken
S3 licensed
I'm sorry, I guess it was too late, so I couldn't explain what I meant well. Let me just quote InSim.txt.

Quote :// On clicking the button, a text entry dialog will be opened, allowing the specified number of
// characters to be typed in. The caption on the text entry dialog is optionally customisable using
// Text in the IS_BTN packet. If the first character of IS_BTN's Text field is zero, LFS will read
// the caption up to the second zero. The visible button text then follows that second zero.

// Text : 0-65-66-0 would display button text "AB" and no caption

// Text : 0-65-66-67-0-68-69-70-71-0-0-0 would display button text "DEFG" and caption "ABC"

So, I guess the question would be how do I have to trick the Text property, so I can get a caption, different from the button's text.

I'm sure that I'll figure it out if I just push my brain more, but yknow...
Last edited by broken, .
Windows Form Application Base
broken
S3 licensed
Since I saw that I wasn't the only one, who wants to use Spark in a windows form application, here I am, posting the insim app i have started.

The base is still rough, but also pretty easy to understand(I hope).

The only condition is, that I am not responsible for any damage caused by it.

Feel free to upload any changes/improvements you apply to it. I'd be more than happy if somebody improves it.

The only neat feature there is to it is the button queue. You will see, that I have tested it with 88 buttons. I think that 10ms interval between each button is pretty safe. But you can change the interval, and how many buttons are sent at once too.

So, without any further ado, here's the source.

[E] Also, I have one question. In LFS_External, there was a very easy way to set the title of the typein box. But how do you do it with Spark? I didn't understand the logic from InSim.txt. =/
Last edited by broken, .
broken
S3 licensed
I probably shouldn't have translated those, but I couldn't resist it.

I only said that bulgarians are idiots(thinking that jokes are known to human kind), and a bunch of bulgarians come in and act like what? Like grown up, mature, calm people, of course.
broken
S3 licensed
Quote from GreyBull [CHA] :
Anyone with more reliable translations, for everyone's amusement?

Quote from -NightFly- :+1 Yann, therefor my reply above.

Sure thing. Just to prove how some of the bulgarians really do take things as life depends on them.

(I was never serious about all bulgarians being idiots, in case somebody else hasn't got the sarcasm, but anyway, feel free to flame.)

1st, let's make like a dictionary, because of the younger ones in the forum.
F will obviously be the F word(first place, for most usability in the following replies)
P for the female P word (hint: Pcat)
S would be another famous word, you probably can think of.
Quote from Grigorov :Ам мога ли да ти еба путката майна бе боклук с боклук. Ти къф си ве !? , рязан ли си циганин ли си .. не си българин ли . Ае ша ви еба и боклуците. Спамери и краш геймари и круиз карачи. Да не те виждам тцтцтц.

"Can I F your Fing P, you piece of junk. What do you think you are !? , circumcised ? a gipsy ? .. you think that you're not a bulgarian . I will F you , you pieces of junk. Spamers, crash gamers and cruise drivers." .. Then he demands to never see me again, and some tsts-ing follows.
Quote from Ring :Ти какъв си е ''ИГРАЧ'' да не си от малцинствата e смешник.
Аман от такива измислени тарикатчета като теб ''ВЕЛИКАНИ'' пред компа и мишки в живота.Я си се скрий в дупката си и си затваряй устата и си живей в измислиния свят келеш с келеша ти смотан.Измий си гурлите от очите и не си отваряй плювалника на тема БЪЛГАРИ и БЪЛГАРИЯ мангал!!!:noob:

"What are you GAMER, are you from the minorities, you zany.
We've had enough of such fictitious idiots like you GIANTS infront of the PC and mouses in life.Go and hide in your hole and shut your mouth and live in your imaginary life, you cheesy squirt.Wash your (my bulgarian dialect culture does not include that word, but i'd guess in the current case it's something like dirt) from your eyes and don't open your Ster on topic BULGARIANS and BULGARIA, you gipsy!!!
Quote from BOSCHO :Ей "Българин" да не си Турчин или циганин?? Какви са тия глупости където пишеш?? Как може да обиждаш цялата Българска нация ? Е такива като теб трябва да се гонят от България!

"Hey Bulgarian are you a Turk or a gipsy?? What are those bullS which you're writing?? How could you insult the entire Bulgarian nation ? That's the kind of people that should be chased away from Bulgaria!"


I actually tried to recreate all the inaccuracies in their sentences in english too, so you could wonder, just as I did, what the hell were they trying to say. So, yes all the inaccuracies were not unintentional.

It was pretty entertaining reading and translating that, I have to say.
broken
S3 licensed
Quote from Ziroh :Think what you want little kid..

Oh, that makes you look so mature.
broken
S3 licensed
Stupid bulgarians. :worried:
broken
S3 licensed
Quote from MadCatX :I hate doing this, but it can be done like this.

Shh, we are trying to make him feel bad, but don't tell him!

(not that it's working)
Last edited by broken, .
broken
S3 licensed
Quote from Ziroh :Broken, since the only thing you want me to do, is to post how i did it..
You wanna know it? :P

No. I, as in myself, don't need this information. It is the people that may land on this thread after searching for the answer of that same(or similar) question.
broken
S3 licensed
See? This thread just turned from completely useless to actually helpful. If anyone discovers this with the same question they will first see the way how to do it. And then they will see that it is not good practice to do it too. It's the 2 things I'm always looking for when searching for something.

But that was thanks to you, MadCat, and not the OP(who never posted again here, because he found his solution).

It's kind of awesome tho, don't you think?
Even one more helpful thread is a lot. Because there aren't many on the internet. Most of them end up just like this one would.
Last edited by broken, .
broken
S3 licensed
This still doesn't excuse his demanding and selfish behavior.

And what if the solution was something more than this?

It's good to provide answers along with the questions in the internet. People can search by questions, because if they already knew the answer they wouldn't need to search for it.


I agree that it is something easy, and thank you for providing a possible solution, but this is not the whole problem. You can't just demand help and give nothing in return. If someone helped you irl, you'd at least buy them a beer, right? You wouldn't just say "Ok, you can go now." and walk away, would you?
broken
S3 licensed
Quote from MadCatX :Well, do we really care how he did it? LFS_External is not meant to be compiled as an EXE and anyone aware of how libraries work and what are they for shouldn't actually need it. Anyway, I bet that all you have to do is change something in the project settings.

Please don't take this personally Ziroh, I by no means wanted to offend you.

Yes, we do care. He asked for help, and when he found the solution he did not share it. What if anyone else encounters the same issue? If one person has, then somebody else could too.

And I don't like his demanding and selfish behavior either(not talking only about this thread).

Why do I think the solution is needed? :
Don't you feel tired when after hours of searching in google(or the search engine you're using) you've found a forum with the exact same question as yours.. BUT in the end the OP has found a solution, and posted that he needs no further help? Have you never encountered that? Because I do quite damn often, and it's because of such people. Sometimes it gets quite frustrating.
broken
S3 licensed
Quote from Ziroh :Since almost all of you say, you should read about C# and Library's..
I say the same to you!

There is no point in opening a thread, asking for help, and then not posting the solution. So may I ask you not to open any request threads in the future, if that is how you plan on ending them.

If I was immature enough, I'd say ef you and your effing selfish behavior, but since I'm such a nice person, I'm not going to.
broken
S3 licensed
Quote from Ziroh :I found a way, can close this..

Post the solution then, maybe?
broken
S3 licensed
I have to say, this library is everything I expected it to be and more(literally, more) from my experience with it the last 3 days.

For those 3 days, I just had the best coding experience I've ever had so far. I totally love this library.
This is why you're one of my idols, DarkTimes.

As for running it in a GUI application - I did just that. But I made a new project, if that matters. I never had to execute the .Run command tho.

And, since my InSim knowledge is not very wide, may I have my moment of dullness, please: Does setting a MCI interval mean that the connection will be kept alive, or do I have to send a packet from the app's side too? So far, from my experience, this is enough, but I'm not sure if it is the right way of doing it.
broken
S3 licensed
Good for the team, but I still think that this text has to be changed. It is very misleading imo.

http://www.teamrockracing.com/ ... cctexp&task=subscribe

Quote :Yearly One Time Subscription for € 5.50

Shouldn't it be something like "Subscription for €5.50 per year"?

Seriously. If you want people to pay, I think that you have to tell them exactly and undoubtedly what they are paying for.
broken
S3 licensed
Quote from Ziroh :Wtf is the point? You think i'm 2 years old?

Quote from Ziroh :I think you all fail.. lol :P

You're slowly starting to flame. Everyone in here tried to help, and your last 2 responses were more than unthankful, imo.

@filur: Not really.
Last edited by broken, .
broken
S3 licensed
Quote from mariuba2 :ok guys!!! stop!!! come on!!!! we all are family! we make server + insim for lfs cruiser's to have fun not to maake a tread and fight ok look beaver didnt use LsC source he use a different one cause he said "he don't get LsC codes" are somthing like the but come on.........

not that serious look at it me and my buddy Bass share code + ideas and we don't care cause we know that we are 2 people making the same app for lfs but different style so lets just stop this fighting please and lets all be friends?

And world peace. :lovies3d:
broken
S3 licensed
Quote from Flame CZE :For example me, I am 18 and I cannot do it.

Download Visual C# 2010. Start a new form project. Click twice on the form. Then type this: MessageBox.Show("Hello, world! I am 18 years old and I can finally do this.");

Now you can, and you're not a 2 year old. So his point is valid again.

But really, I didn't get the point of the "Can you write a Hello world" question either. He said he can do basic C#. Not that he can't do any. Just my opinion.
broken
S3 licensed
Quote from GreyBull [CHA] :All members have to give a yearly 5,50€ contribution according to the website.

http://www.teamrockracing.com/ ... cctexp&task=subscribe

I know from lurking a bit the forum that IIRC exceptions can be made if the member can't send money(underaged or whatever).

Hm.. it says "Yearly One Time Subscription for € 5.50". Is it my handicapped english, or are "yearly" and "one time" subscriptions entirely different things? It seems kind of misleading to me. Is it yearly, or is it one time? Not trying to flame, but if I'm right, then that text needs to be changed.
broken
S3 licensed
Ok, whatever, if you want to flame so bad - flame. I don't like acting like your mother anyway. You just agreed and ignored me in the same time, so ok - prove how mature you guys are by calling each-other "n00bs" and "kids", and telling each other to grow up.

It's just ..lame ..you know?

Anyway, I'm not going to stand in your way anymore.
broken
S3 licensed
Quote from Beaver08 :it was uncesserary but had to be said somebody needs to put him in his place espcially since he's sending his members into my server just to fight with my members .. need to stop all this stupid arguments and what not and just stick to running ya own servers and not worry about what other servers are doing

Bolded text - makes no sense.

Nobody needs to put anybody in their place. Just let people be. If they become too annoying, just ignore them. That's what's good about internet forums - there are report buttons too.

If a user on your server is causing trouble, ban them. It's your server, and your call. I'm sure that he can't send you millions of people.
broken
S3 licensed
Quote from Beaver08 :
just wanted to say that i know your stuck up povo but i dont have anything against ya i dont care about being banned on a server i got more important issues at hand so take this advice and please grow up

That was VERY unnecessary. I mean come on now.. really? -.-


Quote from PoVo :Well - the LsC InSim source didn't come from you/Azzano62. It was the source with the unfinished MYSQL code, which I later improoved.

Like I said in my post, not trying to be an as* but he shouldn't go claiming that he has "copy-protected" his ideas, because like I said - It's not possible, unless he is paying thousands of €'s to companies.

Also, I wasn't being angry that the source was being passed, but I found it funny, to be banned JUST because I released the source (this isn't the only server that did it btw.)

Regards,
Povo.

1. Ok, I am not going to argue about where it came from. It came from somewhere, and it is based on somebody's work. That was my point.

2. He can always patent his ideas, if he wants. But it is really hard on the internet. Take as an example that case where someone claimed that they invented the image-link technology. Silly.
But I don't think that he has to pay to any company to do that?

3. You will see that happening very much. Revenge banning is my favorite. After all, why would you need to go to the server of the guy you've just banned for a good reason?
Last edited by broken, .
broken
S3 licensed
No offense. Just the next time you post your thread, you might want to do it in the subsection, called "Program / InSim requests".

And don't be surprised if you are asked for payment from the developer, to get the task done. The tasks here go on very underpriced rates, true, but don't expect someone to do this for free. Good luck on finding such a person tho, but I'm just saying this so you don't get shocked or disappointed in the end, if it doesn't work.
broken
S3 licensed
Quote from PoVo :And please don't say that I banned you too... You clearly know you were banned for saying that I wasn't banned and other stuff...

At least you'd thank me for releasing the system in the first place? It's not like I'm going to join your server and eat everyone

Also, you're saying that if I copy your ideas, you will sue me? Well funny thing is, your car shop is in the same spot as on LsC, although our cruise modification was created 7~ months ago (not being a smart as*)

Was that really needed to be said? I think it's time for the whole community to stop and think of how we should treat new initiatives. Every time a new thing comes out, some of the "competitors" jumps out and goes like "Not to mention that my server XYZ is better and you stole all my ideas in the first place" or something similar to that. I don't see many threads where people are just nice and supportive(I don't say that I haven't seen any). I understand that the OP sounds a bit silly, but weren't most of us like that too when we started? You got someone's work, and you claimed it to be yours, because you thought you did much work on it.

Let's follow LsC's insim history: I got dougie's source. PoVo, you got Azzano62's source, which had some of my source too in it(because we shared them with each-other). And now this guy got the source you released (which also has T-RonX's, dougie-lampkin's, Azzano62's and my code in it), and you get mad because he did the same we(Azzano62, me and you) did? Maybe he is a bit over-paranoid, that someone will steal his ideas and his server won't be as unique anymore, but just let him be, and do whatever he wants to do. Because, once again - we did the same.
broken
S3 licensed
Quote from DarkTimes :Whoever wrote that code didn't understand what finally blocks were for, or try/catch blocks for that matter.

I think that's the dougie's original code there. But, he seems to have understood how finally works. Who I think doesn't understand is the person that suggested a try/catch in the finally handler(if that's what it is - a handler). Which will probably work, but finally loses it's point then, imo.

Why don't we give a simple example then on how try/catch/finally works then? I'll start, and if something is wrong or not efficient enough, someone will hopefully correct me.

So, there's my idea of how it works:

try
{
Try to execute the code here, and prevent the program from crashing, by redirecting the exception to another handler.
}
catch (Exception E)
{
Catch any thrown exceptions here, and do whatever you want to do with them.
}
finally
{
If you need to perform a vital task no matter if the code above has failed or not, you do it here, but there is no more "crash-protection". Every thrown exception will cause the program to stop execution and the popular "send/don't sent" window will appear. There is a solution for this too, I think. If you catch all the unhandled exceptions in the Program class, this could be prevented too, if I'm right.
}

That's my idea of how it all works. I know that it probably doesn't do exactly what I've said, but I admit - I don't know how does it exactly work.

That's why, imo, in a finally handler(if that's what it is, once again), you need to get all of the possible problems out of the way.

I know that my terminology sucks, so you will either have to get over it, or nicely correct me.
FGED GREDG RDFGDR GSFDG