I have found a similar thing recently.. So here it is: I have a S2 license and my bro has his own account in demo. He doesn't want to touch my account and since we had little fights about the controls i copied LFS in his own folder. When i copied it my license was available and we entered his username and pass but we forgot to press unlock. What we noticed was that he can play demo online AND use S2 cars and tracks in single player. I haven't tried to fix that since that was the perfect option for my bro and he was rly rly happy and it's still that way.
ps: Are you sure that your account hasn't been unlocked earlier(yes I know it's on other comp)?
Voted Not at all, because in the upper option i didn't like one word (improve physics FIRST). Physics I want to be improved but I do NOT want damage turning to be available cuz of the same reasons people mentioned above. And it's silly - if you can't drive don't ask for the whole game changed but just practice ...not that I can drive myself
try this:
Place the MySql.Data.dll in your Release folder.
Whenever you decide to give the InSim give the MySql.Data.dll with it.
Then:
Top menu -> Project -> Add reference -> Browse -> Find Release folder\MySql.Data.dll
after you have done this:
using MySql.Data;
Edit: I see it has been explained some place upper.. Sorry..
About the errors... I see you have SQL.cs and you are doing SQLInfo.NewUser ..Try with just SQL.NewUser
Hi, I have a suggestion(couldn't find it posted, and sorry if it is) to include the kick/ban event in the InSim information.
What I mean is that when someone kicks/bans a player a packet to be sent like pit enter/exit maybe with a Fact, target and executor so it can easily be tracked who kicks/bans who in order to keep an eye on your server admins.
I have noticed that it is really impossible at this time to see who is the person that banned someone(or at least I couldn't find a way).
ps: If there is some way I would be thankful if you point me to it.
Edit: Would be good also if there are included /spec and /pitlane commands if this is made.
Edit2: Me and one friend in LFS were wondering where is the banlist in the dedi located so to avoid posting a whole new thread I moded this to ask you all if someone knows. Thanks!
Hi everyone and happy new year to all to who I didn't say it.
So: I am making a cruise server from long time ago(Actually modding the one from the forum). I learned C# thanks to that and nothing else. But recently I had the need to transfer all the info from .txt files to a .sdf database for the local files and I am also having a remote database but this isn't so important right now.
What I am having trouble in is that I can't get the code to work for the SQL SELECT command. There is some code:
What I get from this is the 2 messageboxes. There are the messages:
MessageBox1: "SomeUsername - info - Message: No data exists for the row/column."
MessageBox2: "StackTrace: at System.Data.SqlServerCe.SqlCeDataReader.IsDBNull(Int32.Ordinal)
at System.Data.SqlServerCe.SqlCeDataReader.GetInt64(Int32.Ordinal)
at blablabla.blablabla.doesntMatter(String Username) in Path\To\The\Class\File.cs:line 197
I will be thankfull for any replies. Hope I will get this sorted out asap.
Edit: I'm just stupid... I was trying to close the connection before I get the result.
Last edited by broken, .
Reason : Cause I was stupid but got smarter. ;)
I just have read the thread to the end as one guy gave me the link. To tell you honestly I got to understand what that guy is from one single thread. I might be a friend of Weed but this has nothing to do with my thoughts. If I were Weed I'd ban him from the server for 999 days and never unban him. Tbh, Tim you and weed had it all(as much as you can have with a team/club) and you failed so now as much as I can explain it to myself I'm thinking that you are jealous what Weed accomplished and you're trying to ruin it so noone has it but to tell the truth.... Everyone except you are on Weed's side so maybe think what are you doing wrong. Sorry if you feal insulted or harmed from my post but thats what I think.
I think that this thread should soon be closed so no more dumb/insulting or even vulgar posts are made(I know my post wasn't nice either buut I felt like i have to say that). Keep up the good work OM.
I had this weird thing - The dedicated was spamming the window with messages - "Avoiding buffer crash (OK)" and "New guest timed out". So far those messages don't appear. Thanks a lot for this update . And big thanks to Victor, who gave me the link(after I lost it).
Thanks for the answers. But since I don't want it to reload the whole layout I'll just leave this untill hopefully this gets to be as a implemented command in the dedi maybe
I am doing an insim in which I want to place something like doors.
Let me explain better. Lets say that there is a closed of barriers place. I want the insim to give a command to move one of the barriers so that it stays in 'opened' position. Simply as you would do with shift+u mode(press M or del). So, is this even possible or should I just stop hoping that I'll get to it one day?
It happens if the insim is off too. And what is more weird, yesterday and the day before yesterday this thing happened instantly when i ran the server. Otherwise people join and leave. No problems at all with that. But it still happens. And when it starts its for like half an hour or even more. Not that its big deal but its just weird xD
Edit: I just started the server and it instantly started to do it again. Can anyone give me information on how can I see who tried to connect? At least if he can't join I want to ban him because it is annoying.
Today and yesterday I had this weird experience. I don't know if its a try from the 'famous lfs hackers' to connect but this is not the updated DEDI either. But its really weird because the person I told to connect - did it. Other random people join my server too(Other times). Since its not a rented server I can clearly say that it is not my PC/firewall/ports. My PC is fine. My antivirus is up to date and it has nothing against LFS. All my ports are opened. Windows firewall is taken down(off). No additional firewalls. Router ports as I said are ALL opened. Curious of the range? Ok.. 1-65535(cant hack me, lol dont try either xD) in and out, TCP and UDP. And I can not explain it to myself as there is no additional information. I will give you the log of the server, since its all I got.
I just tried to point the way if people want their skins to be secured.
I know its far too complicated for something not that far important. But I don't see the point of fighting anyway.
As I said in my previous reply - Just my opinion. I don't want to take place against anyone and enter useless fights.
I think of exactly 2 methods(2nd is too slow and complicated so I won't mention it) of preventing stealing.
There goes: Make the option private/public as most of the people said. And if private add a command like "/w gs username" gs = give skin. Skins have date of add atm. Maybe just one more field that saves the ids of users will do it. Like:
------------------------------------------
| skin1 | 22.11.2008 | 43 7347 9847 76 16 |
| skin2 | 14.04.2008 | 84 643 8438 643 89 |
------------------------------------------
Just guessing how the skins' dates are placed. No real idea if I'm right.
What I meant is to add ids separated by spaces. The most easiest way to read it since some usernames contain spaces or special symbols that may confuse the system if separating it with "-" lets say. Then when you join the game it will not only check the skins in X folder but the ones in Y also if u have rights to use them. If not:
Possibility 1: Del from Y.
Possibility 2: Move from Y to X.
Possibility 3: Don't let the person join the race with it.
About copyrights - This is silly. What about the people who develop games/movies/music/whatever. What should they say? It takes them months or even years to build. Their work gets stolen by hundreds or even thousands of people.
We fight here for thing that takes us hours. And it really means that people like your work if they use it(in some special occasions when they want to harm you by crashing. But anyway in the most cases they will be banned from the server, not you) so why even bother? It's no use to fight right now.
Other thing: If you want to keep it for yourself write your username on it. I bet that most of the server admins know the shift+ctrl combination.
Just for the record - I have made skins and people have used them(I won't say stole because its just a game and I don't really care that much but if I want them to take it off I will tell).
All on all its the same with posts in the forum. One thinks of something and others tell him that such thing already exists and sometimes it can be the start of a new fight.
Well I don't know what I really wrote now so I will stop. xD
Hi. I got the open source insim from the forum. To the point:
Is there a way to make an input button(I think I saw something like that. Called LFS Mail I think). What I mean is that I want to make a bank in my cruise serv. And deposit and withdraw need input boxes(if its not makeable will make it with +/- buttons)
Thanks in advance.
Edit:
Solved. Could someone delete this thread, please?
case "!command": try { your code here } catch (Exception var) { MessageBox.show("Error: " + var.message); } break;
When you do this it should explain the error that crashes your insim.
Hope I've helped
But if the error is somewhere else... like in the place where u tell the insim to listen for the command maybe it will continue to crash :/
And, yeah, really why don't you post your code?