The online racing simulator
Searching in All forums
(39 results)
2
Grinch
S2 licensed
I dont think so xD im 100000% sure that ive got 1GB of Video ram
and i dont think that lfs will take that all because ingame it only says it neds 60,xmb of video memory. mh confusing
Grinch
S2 licensed
Quote from MariusMM :I told you it didn't work properly, that you had to play with it to work.

Ive tryed all wich i know and tryed other things to but no sucsess

@amp88:
yea thats exactly what ive searched and found but dont know how to use it in LFS_External

Im trying my best, but if you get some good news please post them here.

Regards Grinch
Grinch
S2 licensed
@Shadowww thats completly WRONG! ive was racing yesterday on a full server with all 32 cars on start grid and the same happend to me.. wihout a layout...
PS:
My spec:
Intel Core2Duo E8400 3,0Ghz
4GB DDR3 RAM (1033Mhz- Dual Channel)
Nvidia 9800GTX - 1GB DDR3 RAM
MSI P35 Neo2 motherboard 1333FSB
Grinch
S2 licensed
Its not working at all
im using the code from MariusMM.
but ive read in an C# forum that its not possible to delete some line in a textfile in C#
the only method is to save the complete text in a .temp file ,remove the line wich you dont need/want, save into the old file.

but i dont know how to do
Grinch
S2 licensed
Oh damnit... i dont get it
but i want it ass hell...

Dont Dougie-Lampkin know's that how it works?
because he wrote the code for writing,reading a textfile in C#
Grinch
S2 licensed
@ both:
You helped me alot now i know where to start

@ amp88:
Sadly i dont understand much Java, but ive understand the synax wich you wanted to show me.

@ MariusMM:
Hell,YEA! exactly what ive searched
i hope i can get it all to work

You are the best community wich i ever seen!

Regards Grinch
Grinch
S2 licensed
Hey,

thanks MariusMM but ive allready written that ive got the create code for the file. but no problem

maybe u sadly dont understand my problem so i explain it:

with this code above you and i have posted we can create a file like this:
_____________________________
|Filename.txt
|--------------------------------|
| Admin = Grinch
| Admin = MariusMM
| Adm....
|
|____________________________|

But i need a code wich i can delete this things, ill explain that too:

if i type as example "!lockadmin [username]", that its deleting the users Admin "rights" and it should delete the users: "Admin = username".
So the code wich i search should to the opposite
Thats what i mean

Did you or anybody got any clue
maybe dougie-lampkin personaliy? ^^ cuz he has written the code

Regards Grinch
[RANKING&SCORING] Need help with create/delete things inside a file.
Grinch
S2 licensed
Hello Programmers,

Im working on a Open Source scoring&ranking system and needs help with creating/deleting a text line as example INSIDE a file.

Ive allready got the code for creating an file:
Its this one:

case "!setadmin":
if (StrMsg.Length > 1)
{
if (Connections[GetConnIdx(MSO.UCID)].IsAdmin == 1)
{
if (Connections[GetConnIdx(MSO.UCID)].InsimAdmin == 0)
{
StreamReader ApR = new StreamReader(UserBase + "\\groups\\Admin.txt");
string TempAPR = ApR.ReadToEnd();
ApR.Close();
StreamWriter Ap = new StreamWriter(Base + "\\groups\\Admin.txt");
Ap.WriteLine(TempAPR + "Admin = " + Msg.Remove(0, 10));
Ap.Flush();
Ap.Close();

foreach (clsConnection C in Connections)
{
if (C.Username == Msg.Remove(0, 10))
{
C.Admin = 1;
InSim.Send_MST_Message("/msg ^7 " + C.PlayerName + "^7 got Admin rights!");
}
}
}
else
{
InSim.Send_MTC_MessageToConnection("^1Warning:^7 This user is already a Admin!", MSO.UCID, 0);
}
}
}
else
{
InSim.Send_MTC_MessageToConnection("^1Command Error. Please try again", MSO.UCID, 0);
}
break;

===========================================
My Setups:

Language: C#
Database: txt (soon sql)
Microsoft Visual C# 2008 Express Version SP1
Libary: LFS_External 1.1.1.4

===========================================

I will be very happy if someone can help me.
And the Community will be happy to if i can fish my open source Ranking&Scoring system

Regards Grinch
Grinch
S2 licensed
THX helped me alot with these little prob what i got :P THANKS
Grinch
S2 licensed
So please help me... im confused and dont know how to send the typed in text to the button.
Grinch
S2 licensed
Thanks for the fast reply

But it wont refresh the old button

Example:

[First Name] I type in Grinch and press OK... but after that it stands [First Name] and not [Grinch]

Better said: How to update button?

In BTC or BTT?
Last edited by Grinch, . Reason : Forgot something
Text Message Button - how to create?
Grinch
S2 licensed
Hello Programmers,

Im working on a Open Source scoring&ranking system and needs help with code for Text Button (a button wich is the same as if i press "T" in Ingame)

Ive tryed every combinations from codes but nothing is the right one.

===========================================
My Setups:

Language: C#
Database: txt (soon sql)
Microsoft Visual C# 2008 Express Version SP1
Libary: LFS_External 1.1.1.4

===========================================


For example wich button i want to create i addet a picture.


I will be very happy if someone can help me and the players will be happy to if they get a open source Ranking&Scoring system

Regarts Grinch
Last edited by Grinch, . Reason : Added LFS_External version
Bug with Players.
Grinch
S2 licensed
Erm ok i got this on my screen...


Hope anybody can say me what that is

PS: I never seen that here
Whats up with [noobs] Sumo?
Grinch
S2 licensed
Will it come back or not?

I want Sumo back! :cry::cry:

What i read on the other threats: At me the server never was Laggy.


Hope that Sumo come back soon.
2
FGED GREDG RDFGDR GSFDG