Exactly what I was pointing out.
By the way, remember: You are using LFS_External. This way much more people will understand you, instead of saying "old lc insim".
The open source Lc InSim app that was posted the last time was using LFS_External. And as I said - it's pretty obvious on there how to get a input* button. All you have to do is play a little with the CreateButton function.
Yeah, well what about people that insult admins personally? I know a few good drivers in the times when OsR was up and running. Each complaint was dealt with instantly, because we did not have as many users, and still, some people(even some of the "good drivers") kept saying that we are doing a very bad job in administrating(and no, i will not be mentioning any (user/nick)names). It gets frustrating for admins too. I got my own things to do and missing 1 or 2 accidents does not necessarily mean that the server is not well managed. True - we had only 1 trained and really serious person(Rep), but every thing was dealt instantly, when we did have the chance. When there are no admins there has always been the reports section in the forums, but no one ever used that anyway.
Also in the times when I was actively working on the insim app. I was again blamed for not doing good in administration, and really - Rep was responsible for track problems, while I was responsible for the progress of the insim app. And I do dare to claim that this person knew that, because he had been racing many times in the server before, and because of the fact he is clean in most of the time we have saved him a lot of arguing and stuff when he has done wrong things.
That's why admins and users get tired of each other so fast. A user goes in a server - gets banned, because of an admin who is already fed up of dealing with his server. Then the user, fed up from bad administration goes into a server, and when he sees the slightest mistake in the admins, he starts blaming them. Then we have another fed up user and another fed up admin. I am not really fed up already, because I had set this as a rule - Not to take action against people who say their opinion(no matter good or bad) about the server or about the management(and it worked out pretty well on my mental status, when I knew that this is what I want and what would give the users freedom and of course I secretly hoped to give the server a little better name). But some people saw that nothing happens when they say something, and abused their right of free speech. And you know, I'm cool now, but if OsR was still up, I'd probably be sick of every new user, before they even join the race.
That's the completed chain of LFS admins and users. It's not in the admins or the users. It's in the stinky bags, that join the servers and cause this, and they have to be removed before the smell spreads, but sadly removing bag after bag makes your hands smelly, and washing them too often gets annoying, after which you most likely become a stinky bag too(If you get what I'm saying here).
What open source project are you using as base for your insim app?
Have you made your own?
When you ask a question:
1. Check for other similar threads;
2. Provide as much details as you can;
3. It would be good if you provide source code of a similar action, so other people can give you more correct answers.
And insim.txt says it. Also in case you are using LFS_External as a base - it's awfully obvious there.
All you have to do is put some effort in it yourself.
Yeah, too bad it's not in the condition, it was when I took those pics.
In case you are wondering what I'm talking about - Well, the holes on the roads in my country(Bulgaria). Or should I say craters. Even on the highway, lol!
Version 1.0.1 uploaded. All that is done is that the MySql reference is removed and so is the dbProcess class.
Ok, so.. I got really bored and decided to finally upload one of the 3 projects that I had decided to share.
The story(you can sure skip this part if you are not interested ): Well, at 1st this was going to be a paid project. One guy started talking to me in msn at the start of 2010(or maybe the end of 2009, you know I don't remember much of the things around new year time). He offered me $30 or something like that if I would make him an insim app. I kind of agreed, but then in the same time like new year luck I got busy with a lot of other projects, and kind of left this one behind. It stood there in the folder untouched for days, which then became weeks and after these other projects I decided that I don't have enough time for it, because I am still working on some of them, and there are more planned so yeah. Then a few weeks ago I just saw that this cruise app is the biggest project I have taken since the start of the year and in the same time the least paid one. After that I decided that it isn't worth continuing on with it, and here I am, getting rid of it.
That's pretty much it - long story short(well not very short, but still :razz.
Something kind of important for all the people that will download this: I can not guarantee that this will work instantly. I just archived the whole project, as I had left it a couple of months ago, so it might need some doing, so don't be surprised if it just refuses to work. Also I'm quite busy and I won't be able to help on it very much, and I will be answering only in this thread(just saying in case someone decides to flood my inbox with questions).
[E] Ah, yes, something I forgot: In order for this to work on your server, you have to change this line in Form1.cs(and compile after that):
Where you have to replace "localhost" with the IP address of your server; "29999" with the port of your server; "password" with the admin password and if you want to give it a name, change "^1Unnamed" to whatever you want.
[E]: Attachment removed. Scanning it to see if it does not contain a virus.
[E2]: Attachment will be added again soon. The scan has been completed and the file seems to be clean.
Well, I'm about to post an open source cruise insim app soon in the forums, and I'll try not to forget to send you a pm when I do so. It is made from LFS_External and it's (surprisignly, knowing who has made it) really stable. But it's kind of basic too. I don't remember if it even saves the stats in to a database, but I guess it does, cause I saw my dbProccess file when I last looked in the directory.
And it's one of my latest C# applications, so it has the most of my C# knowledge. But honestly, it's still very lame, cause I never learned C# right, I just know my way around things.. You know, like when there's a shortcut, but you take the freeway, cause it's safer and you know you won't get lost.
case "!sell": if (StrMsg.Length == 2)
{ if (StrMsg[1].ToUpper() == "UF1")
{
InSim.Send_MTC_MessageToConnection("^1Noone wants to buy your old wreck!", MSO.UCID, 0); return; }
if (Connections[GetConnIdx(MSO.UCID)].Cars.Contains(StrMsg[1].ToUpper()))
{ if (Dealer.GetCarPrice(StrMsg[1].ToUpper()) > 0)
{ string UserCars = Connections[GetConnIdx(MSO.UCID)].Cars; int IdxCar = UserCars.IndexOf(StrMsg[1].ToUpper()); try { Connections[GetConnIdx(MSO.UCID)].Cars = Connections[GetConnIdx(MSO.UCID)].Cars.Remove(IdxCar, 4); } catch { Connections[GetConnIdx(MSO.UCID)].Cars = Connections[GetConnIdx(MSO.UCID)].Cars.Remove(IdxCar, 5); }
Connections[GetConnIdx(MSO.UCID)].Cash += Dealer.GetCarValue(StrMsg[1].ToUpper());
InSim.Send_MST_Message("/msg ^7 " + Connections[GetConnIdx(MSO.UCID)].PlayerName + " ^7sold " + StrMsg[1].ToUpper());
} else InSim.Send_MTC_MessageToConnection("^1Invalid car selection", MSO.UCID, 0);
} else InSim.Send_MTC_MessageToConnection("^1You dont own that car", MSO.UCID, 0);
} else {
InSim.Send_MTC_MessageToConnection("^7 Invalid command. Please see ^2!help^7 for a command list", MSO.UCID, 0);
} break;
Now this thread is ready to be closed, because there is no point in keeping it going. I just don't think that there's anything more(except that there is always flaming of course) to be said.
Where have I said that I'm not enjoying LFS? LFS has been interesting for me for a really long while. Maybe I don't have that much time for it now, but it's still the game on my PC that is opened most often.
If I need to answer the other parts of your posts I will just have to repeat what I already said, and there is no point in that.
And please, stop arguing with me about stuff, that I have never said or even thought about. It's somewhat annoying.
Yes, you did: "You already have your own skins, many cars, tracks and leagues. We, the demo racers, only have 3 cars, one/two track(s) and there ain't that many leagues either."
No, you didn't say it. You complained about it.
How am I wanting more benefits for myself? Where have I said that?
Excuse me, but imho having more important things to focus on does in one way mean that you can not afford it. It just depends on what exactly you mean by that.
So you don't yet have the full game, haven't paid a cent for it and you are complaining about development speed? I'm sorry but that brings me to the thought that it's going to be better for everyone if you just don't buy a license, because I can't imagine what you would do then, when an update gets delayed.
20 cars and 29 tracks(the word tracks is not the most appropriate to use here, but you sure do get the point). How is that a few? Also more cars and tracks are expected in the next update, so allow me to just keep myself off from commenting further.
Describe the part "fun part of racing". I hope you see where I'm heading here.
LFS has no problem. If someone does have a problem, then that's the people, who think exactly the same way as you do.
Which statement? Where have I even mentioned rFactor?
Also different people are allowed to have different tastes and opinions on things.
I, for example, did buy it and I knew I was not competitive. But in most of the servers people are being very welcoming to new players.
Hm, so LFS should be free then? It might not be soulless, but if you are such an excellent racer go and sign up for some demo race, where the winner gets a license. Oh, yeah, the tricky part is that you have to keep track of the forum, so you don't miss the sign up deadline. I don't get why the devs themselves would want to give away free licenses to people that can make good times on the game they have created.
I feel for you. You downloaded an alpha release of a game and you're expected to pay? On top of all if you don't pay, you can only have 3 cars and 3 tracks(not even 3, but only 2 tracks and some parking lot). And like this isn't enough, but the developers don't even think of developing something more for the demo users. Yeah, all you get is nothing but updates on the main game engine. And it's so expensive.. It's yet an alpha release and you're supposed to spend like 24pounds on it, while a full finished game costs only like 60 bucks and you get everything it has, and the most important things: You can't expect any changes on it, because it is finished, therefore no surprises and no stupid updates. Yeah, LFS seems to suck in that matter.
Now on a serious note: Is there any other game with better demo support? I mean - giving people the right to even play online in their demo time. And if you want more demo leagues - Organize one yourself, instead of whining that no one else will do it for you. If you don't want to pay for the game - don't. But if you are going to whine that you have far too less content.. Man, I have to ask the same question you asked: Where is this world going? Also, I guess we laugh over you demo users for not having bought the game, or maybe we track you down and beat you, cause I don't get the "treated as a human being too" part.
And if no one is going to pay after their demo time is over, do you think that someone else would actually care about that(some S2 user, or even the devs)? I don't really support the suggestion from the OP, but posts like yours do push me in that direction.
Sorry now for not treating you like a human being in this post, but you were barking like a dog and you got me a little confused there.
I understood that already(:razz, and it's good to obligate them to share the edits, but most of them simply wont, and I was just saying that I realize that.
And I had decided to publish them under GPL even before I had posted in this thread.
I have already decided what to publish it under. That would be GPL (of course :razz.
It's just the perfect solution. And I know that most of the people won't share the changes or whatever, but that's just obvious and I don't really care as long as they don't decide to sell it to someone, while everyone can have it for free.
And yeah, good point about people coming to see what I'm working on, but I won't be online that much now, cause of school, work, and C++(you know, Dygear ).
I am not scared if anyone steals my application(well at least not anymore :razz. It's just that if you want your server to be successful you have to make sure it's unique at first and if you like - release the source(or part of it) after that. Other than that I'd be more than happy to release the source of an application that I don't need to use to make my server more unique than others. But the fact is that I haven't written* anything like that yet.
And yeah, I've used the OsR's InSim app enough to make the server somewhat popular and now I'm just waiting for the right time to release the source of it(that is when I make sure that I have more free time to 1st - improve it and 2nd - answer the questions that people may have). Well actually there's something more to that plan - When I post the source of OsR, I will no longer have any successful C# projects to work on and I will be able to spend more time on learning C++.
And I have another question, while we are still on that subject: Should I post the cruise app I had made? It's AWFULLY messy, AWFULLY wasteful and it's not even working, because I stopped working on it before I had finished re-organizing the file system of it. On top of all that - There is a serious load of commented out code, that's been bad(or f***ed up) but I needed as base to improve it AND a few unfinished systems. But if we leave that aside - the chase system of it is really good, but it may as well confuse the hell out of you till you get how it's working(it happens to me every time I haven't made a change from more than a month); the HUD system is also really good, and it makes sure that it doesn't throw a guest out by sending too much buttons(that happens with a button delay, which I'm sure that can be definitely improved, because I have an idea how that can happen); There are tons of commands; There can be Cadets/Officers/FBI Agents/CIA Agents; The stats of users get saved in a database and it has a good db-failure protection(in case the database server is down, it keeps running, and when it comes back - users that have been in the server all the time notice no change, but the ones connected while the db has been down get their stats added to the ones they've made while in the server till the time of successful connection.. But the minus is that if you disconnect while the database is down your stats aren't saved);; And something kind of neutral(not bad but not good either) - The ability to steal a car.. But if you fail, there's an awful fine - 1/5 of the car's actual price iirc.. There are many more things but the post would be too big if I write about all of them.
In case you forgot the question by now : Should I post the source of a (basically) non-working application? And is it worth it - I know that someone will fix it, and if I'm lucky - upload it back in the same thread, but before that there could be lots of flaming(and idc if they flame me, but this community has the awful habbit to flame everyone, who is even a bit less into things(or informed if you like) than them(well not all the people from the community of course, but like 50% of the active ones do)... not to mention what happens if someone asks a silly question)..
And I have to say that I fully agree with what you said, but if we had this conversation a few months earlier, I might have not fully agreed.. You will see from the protection code for the cruise app if I post its source.
I wouldn't recommend that to a coder who is just beginning to learn.
I'm afraid to post the source of my racing app too, not because the app itself might spread(yeah, I know, I just said the obvious :P), but because I realize that the code is really... really wasteful, and it might and probably would give some bad habits to new coders. But then again, you have to start somewhere I guess.
If you are unsure of the people you lead a server with, and you are the coder then make sure you add some sort of protection to your insim. Say a expiration date. After it has passed make your insim deactivate. That's the only right you have in the lfs world.. And basically that's the main rule on the internet: Protect your software or consider it stolen.