The online racing simulator
Searching in All forums
(921 results)
broken
S3 licensed
Quote from Bass-Driver :
but the weird part is.
that we didnt changed anything on the insim connect code.
and after sometime i wont work anymore.
i will look into this later.

I'm sure that you know very well that it can't just stop working. Something has changed. In 90% of these cases(just personal experience), it's always a stupid thing you've changed and just didn't expect to affect anything else. But it has.

Anyway, if you fix it at some point and it's stable, I believe that it would be a good thing to post the solution here, because when you provide the "right" solution on how to fix something, you donate 1 example to the "disoriented programmers" foundation, and you help one confused little programmer learn something more.
Last edited by broken, .
broken
S3 licensed
Quote from mariuba2 :ok its working now =) my buddy helped

Post the solution then?
broken
S3 licensed
finally
{
if ([B][COLOR="Red"]InSim != null &&[/COLOR][/B] InSim.State == and continue your code

I don't know if this is the best solution to the problem, but it's how I'm doing it anyway. Object reference not set to an instance of an object, means that one of your objects is nothing/not set/null/empty/etc.

Hope I've helped.

[E] Actually... If your InSim object is not set there, then you won't be able to connect really. Find out where the problem for that is. It seems to be a really big issue.
The code above will avoid crashes, but it will not make it connect. =/
Last edited by broken, .
broken
S3 licensed
Quote from thezero :Hahahahaha!

Mate, be a legend and forward them to me .

Me too! me too!

Ah, where have I said this before?


And since I have to be on topic: I would like to not join the team, if that's ok and as long as I won't have to pay anything of course. Thank you.
broken
S3 licensed
Doesn't sound promising enough to me, but good luck with finding someone, I guess.
broken
S3 licensed
Ok, instead of keeping this thread alive, let's just all of us go to the 1st post and report it, so it can get closed and the guy to receive his award, for being such a nice fella. Shall we? Cause I am doing it now.
broken
S3 licensed
Quote from jagy :dont you think its very very very cruel when happends without warnings or announcing in advance?

You were warned - in the rules. It says it everywhere. If you didn't read the agreements and rules, when you were registering and buying your account, then that's entirely your fault. It even says it when you're about to upload skins iirc.
broken
S3 licensed
No, I'm not saying that the VPSs and servers you had rented weren't good enough. But the insim wasn't finished, we had almost no management, and now I don't want you to rent a server again, so we can just see it die the same way again.

And you have to understand me too here - if I did make enough money from these projects(and I don't make any) so I could live my life and pay the servers, I'd keep developing them, but right now, my job is more important than that. Also, soon, my uni exams will be even more important, and I have no idea what I'm gonna do if I have to be entirely honest with you.

Sorry for sharing personal stuff like that, but at least now you know, why I don't want to be serious with these projects. I'm trying to find time to make some progress on them, but sometimes, I just can't.
broken
S3 licensed
God! No - no hope for you. Get over it. You've broken their rules, now they've suspended the rights you need to break them again. It is what it is - you should have thought before doing such a lame thing.
broken
S3 licensed
When you apply changes to the source, they don't apply to the built exe immediately. You have to build your project again.

And if you didn't have that flag next to your username, I'd probably just tell you to look back in the pages. Just saying.
broken
S3 licensed
Quote from FireMike15 :Could I see it?

Me too! me too!!
broken
S3 licensed
Quote from polishdrift :Hi!How to change Welcome to the [RF] Server! to own text? and own website

Quote from dougie-lampkin :[...]
However, if you do not understand even basic programming concepts or are unfamiliar with InSim and/or .NET, then this is not for you. In the current state you will need to modify the source in order to get it to work as you wish. There is also no documentation aside from the code itself.
[...]
and with no warranty or support whatsoever! I will try and help you if you ask an intelligent question, but please don't try and use this if you have no C# experience.
[...]
Once again, this is a very large starting block to run your own cruise server. You will need at least basic understanding of programming concepts and what the InSim protocol is and can do, to take it further. There is little documentation aside from the code itself. If you do not heed this and at least try, then you will not get assistance. [...]

Also: http://www.catb.org/esr/faqs/smart-questions.html#intro

What I'm trying to say is this: Try it yourself first. Google about C# tutorials for starters. Then, when you are on something at least slightly bigger than changing text, ask a question.
broken
S3 licensed
Quote from Ales_M :lol , mkeey.... :noob:

Haha, what's so weird about that? You were never around as much as Rep was.
You were busy with 42D and OM, and all those projects.
broken
S3 licensed
Quote from Dygear :As long as you know it's ClickID, you can update a buttons contents by passing a width and height of zero. This way it will update the text but, and it will ignore the rest of the packet.

I had no idea. If I only knew that earlier.. ahh..
broken
S3 licensed
I got it up cause I got like offers from 3 people. And none of them are actually ..serious enough offers. Chris(has 2 vpss), Sico(has idk how many vpss, but his offer was more like about a cruise server and not right now), and a friend(has a PC at his house that he's gonna use for lineage, but LFS won't get in it's way, so.. yeah..). And now you too.

I will have to consider which option is the best, because I don't want you spending your money on something that could die just a few days after that. If only OsR had good management, maybe I'd be more serious too. But we had only one serious person, and that was Rep. And 1 person isn't enough when the server gets a tad busier.
broken
S3 licensed
Thank you for the information!!!
broken
S3 licensed
Thanks. I guess that I can't keep track of everything. :P
But the thread is still there. So my post is still somewhat relevant.
broken
S3 licensed
http://www.lfsforum.net/showthread.php?t=43103 - Open source cruise application by dougie-lampkin. Released under the BSD License.

http://www.lfsforum.net/showthread.php?t=69754 - LsC Cruise application. License - requires credits for the creator to be left.

http://www.lfsforum.net/showthread.php?t=67128 - A project that I had started, but never finished, which led to it's release. License - no credits or anything required for personal use.

Some time later I will maybe release OsC's source. The police system on it was(IS*) very sophisticated. But then I started doing major re-arrangements, and stopped in the middle of that process. Or in other words - it is currently not working. Some code cleanup is also on the list of things to do before releasing, because it is very messy. And maybe some documentation, if I even remember how things work myself.
No promises tho, because I've got much stuff on my head right now.

Also, PRISM's cruise addon is in refactoring stages.

2 threads below: http://www.lfsforum.net/showthread.php?t=71232 (cruise insim request). There is the search function, which not a lot people use, but there are eyes, which I believe that you do have. So please, check the thread titles at least on the last page, before posting a thread, that is identical to a one, posted a few days ago. That's just a request of course.
broken
S3 licensed
The next time you ask for help about this application, you may want to include this information:
Programming language: C#
.NET Framework 2 (or, it could be 3.. you have to find that out)
Library: LFS_External

Sorry for not really answering your question. The answer will probably be - no, it's not right, after the button is not displaying.
What you really want to ask is if someone can check what is wrong with the code.

No offense intended.
Hope I've somewhat helped.
broken
S3 licensed
* Sorry for the double post.

** Aaaand, it is down again. Don't bother reading the rest of the post, because it is not true anymore.

I wanted to bump this thread to tell you that the server is currently up. The THC forum is down, so all error messages, telling you to report them there.. are.. well.. wrong.

The database is inaccessible(because the new server is not in the remote access allow list, and the db host was not on a site that's mine - with changed login settings that makes it kind of impossible to be reached fast), but I will try to find that backup I once made and move it to a safer(read: easier to discover) place. Then I will transfer and import it to the server's local mysql server. After that, I will only have to change the db connection settings in the source code, recompile the insim, and voila - we will have the stats system back up again.

If you are kind enough to care about reporting errors, you can do it there: http://lmutafov.com/projects/osr_forum
Last edited by broken, .
broken
S3 licensed
Quote from GreyBull [CHA] :Would be nice to have a cr00ze section where you could merge this all this kind of meaningless flamewars scattered in the whole forum into one single dump.

You're the one fueling it right now really. Idiotic "racers" are just as big idiots as the idiotic "cruisers". There are no "racers" and "cruisers". There are dumb, and not so dumb people.
broken
S3 licensed
If you want further help, please continue posting in the thread. By posting further help requests in the thread, you have a bigger chance of finding someone to help you out.

*** And never ever send your details for a server to a person that you do not know or trust. I will never use or share them, but you might not be so lucky with the next person you give them to.

And the answer to your question(if I will "start" it for you), is no, sorry.
broken
S3 licensed
http://www.lfsforum.net/showthread.php?t=43103 - Open source cruise application by dougie-lampkin. Released under the BSD License.

http://www.lfsforum.net/showthread.php?t=69754 - LsC Cruise application. License - requires credits for the creator to be left.

http://www.lfsforum.net/showthread.php?t=67128 - A project that I had started, but never finished, which led to it's release. License - no credits or anything required for personal use.

Some time later I will maybe release OsC's source. The police system on it was(IS*) very sophisticated. But then I started doing major re-arrangements, and stopped in the middle of that process. Or in other words - it is currently not working. Some code cleanup is also on the list of things to do before releasing, because it is very messy. And maybe some documentation, if I even remember how things work myself.
No promises tho, because I've got much stuff on my head right now.

Also, maybe PRISM has a cruise addon or something, but sadly, I'm not familiar with that project.

And, about the prize - No need to do that.
Last edited by broken, .
broken
S3 licensed
Quote from DarkTimes :The C version will not be two times faster than the C# version. I'm not sure that the C version would be faster at all.

Yes, this was just an assumption that I stated as a fact. Didn't really mean to. ;d

Quote from DarkTimes :Warning: the stuff below is my own opinion and other people might not agree with me.

[...]

I agree, and it's exactly what I wanted to say.

Dygear, it's not that I disagree with you completely, but I don't think that such an obvious optimization is something bad either (not that I know more than you in this area).

Of course, this is just my opinion too. I'm saying this in case I sound like I'm stating facts somewhere again.
broken
S3 licensed
Quote from Dygear :[optimization talk]

But, in our case, with a few comments, telling the programmer what this code does, it is perfect imo. I mean, this is not one of those cases where you go like "Imma do this and this, and then add more code to optimize it all and it should be so much more optimized". It's one of the cases in which you save code. True, you make readability a bit worse, but C becomes 2 times faster than C# in the current case. I'm quite a big fan of less and faster code (as long as I know what it does of course ..and that's what comments are for).

I know that sometimes taking too much time on optimization can just have the opposite impact on your creation, but my simplistic brain tells me that this is quite not the case. And, yes - not 'not quite the case', but indeed 'quite not the case'.
FGED GREDG RDFGDR GSFDG