The online racing simulator
Searching in All forums
(158 results)
mariuba2
S2 licensed
Quote from Crashgate3 :I doubt performance would be a problem - have you seen what the iPhone/iPad can do these days?

Controls would definitely be a problem, there's nowhere to clamp the G25

Oh great g25.... Ever thought of keyboard??
mariuba2
S2 licensed
Hmmm isn't it acword for a demo racer vs s2 user? Cause I really don't get how can a demo racer beat a s2 player in drifting -.-?(unless your the worlds best can't be drifter)... Or maybe you guys just put a stone on the throttle and turn the wheel then adjus it to make it cant turn then just make the car do the actions while you faker drifters(no offense) get easy drift score. You know I think you can just do that and watch few porn =• wow that awsome! Too bad if your on a server cause you would just log your way to Mandy pandy land.

Note: In this post I wouldn't want anyone to be offended of the words I useto.
mariuba2
S2 licensed
Quote from Flame CZE :You have a Scirocco, great, I'm coming soon

lol ^^
mariuba2
S2 licensed
InSim interface's
mariuba2
S2 licensed
Quote from Bmxtwins :


GOOD LUCK!!!!

thx
RLcRealLifeCruise Reopening (FUN!!)
mariuba2
S2 licensed
Hi and Welcome To RLcRealLifeCruise

RLcRealLifeCruise Member List
Owner's = BMW E36, Clarky, Tom, Potter
Asistant Owner = Tulla/Tina
Developer = Clarky
InSim Designed by = Marcel/BMW E36
Admins = Finland, Marco B,
Skiner/Admin = FIN racer,
Members = StyleZ, Demon , Velocity jnr,

Our tracks that we have now is

KY1(SOON TO BE CODED)
AS5(CODED)
SO4(SOON TO BE CODED)
KY3(SOON TO BE CODED)
WE1(SOON TO BE CODED)
FE4(SOON TO BE CODED)

InSim Features:
Job Interface with full clickable buttons.
Distance Bonus, User get different bonus level.
Buy/Sell car.
Private Message System.
Cop System.
And alot more.





You are all welcome to Join us Visit us at www.reallive-cruise-forum.com

NOTE: Our insim is still at beta process, and will be completed soon at the moment its 95% completed.
Last edited by mariuba2, .
mariuba2
S2 licensed
Quote from Matthewrobinson :yes i did get my server up

He means you didnt get any one in it.
mariuba2
S2 licensed
Quote from joordy599 :I can learn u how to code a insim

Dude how are you going to teach him how to code when you dont know how to make a varible between money.

Quote from leonv8 :can some one make a video on how to make a insim



thx

i doubt that any one will teach you, cause these days people do things on their own but if someone is willing to help you then your lucky.

And also dont ask too much cause they will get annoyed by that(like what yuo did to me).
Last edited by mariuba2, .
mariuba2
S2 licensed
Quote from Franky.S :Don't worry guys. A guy who can't even spell Tokyo correctly surely must have a reasonable explanation for this..

lol
mariuba2
S2 licensed
Quote from joordy599 :I dont have lc insim or more of that i coded a empty insim to a full insim so i making self a team its will be create more

o.0? LsC insim was from elmohellno source, and povo changed the codes(Yes povo codes are the best ).

Ok my point is your using LsC base and you didnt make from 0 so basically you just edited the insim not make, make and edit is two different things.

Make is when you creat your own source from 0.

Edited is when you get a insim/source from LFS Forum and just start changing or adding commands.
mariuba2
S2 licensed
Quote from broken :How can you count on such a thing? O_O

What would you count on more:
1 - A script that iterates through all the connections, and checks if the string after "!pm " starts with the username of somebody;
Or 2 - A script that checks whether the 1st and 2nd word after !pm are contained(anywhere) in the username?


I would never count on 2. It makes no sense, and if you have a 3 word username after !pm, it just becomes irrelevant.

Sorry if I sound a bit harsh, I had no intentions to, but this just isn't the way.

^^ i dont know, i was just trying to see if i was right with the code.
mariuba2
S2 licensed
Try


string.Format("{0:n0}",

mariuba2
S2 licensed
Quote from joordy599 :hello every one i want have , in the money but im try everything but i dont know how i that must add can some one help me
i want this 357,32€
please help me

O.o? Maybe try to read your message before posting?
mariuba2
S2 licensed
Maybe try this?

PHP Code:
C.Username.Contains.(" ") + (StrMsg[1]) == true && C.Username.Contains.(" ") + (StrMsg[2]) == true *


Or

PHP Code:
C.Username.(StrMsg[1]) == true && C.Username.Contains(StrMsg[2]) == true *
{*
If Contains(StrMsg[1]) == true

.....blah blah

Maybe try InSim.Parse("Crash"); ??
mariuba2
S2 licensed
Quote from MadCatX :You can't expect that a code you just copy-pasted into your app will work right away. Mariuba gave you a good pointer about using the "InSim.Send_BFN_DeleteButton()" method. Use it to delete all buttons you want to hide. If you want to show them again, you'll have to recreate them.

it was just a little example, but nice to see you understand my point =]
mariuba2
S2 licensed
Quote from edza1188 :There are a lot of errors that same lines are not in context and all below that command turned like it all is wrong

yea as i said i never tested it i was on rush to go to school.
mariuba2
S2 licensed
Quote from PoVo :You forgot to declare the "switch" line? What's it going to case on? The sky?


switch (BTC.ClickID)
{
case 43: //ClickID byte
{
//Your Code here
}
break; //Ends the code of "case 43:"
}


This goes into your BTC packet handler code

lol thx povo
mariuba2
S2 licensed

if (C.HideGUI == 1)
{
// Car Button
InSim.Send_BTN_CreateButton("" + TempCars1, Flags.ButtonStyles.ISB_DARK, 4, 75, 0, 34, 140, Connections[GetConnIdx(Players[GetPlyIdx(MCI.Info[i].PLID)].UniqueID)].UniqueID, 2, false);
// Cash Button
if (Connections[GetConnIdx(Players[GetPlyIdx(MCI.Info[i].PLID)].UniqueID)].Cash > 0)
{
InSim.Send_BTN_CreateButton("^7$" + Connections[GetConnIdx(Players[GetPlyIdx(MCI.Info[i].PLID)].UniqueID)].Cash, Flags.ButtonStyles.ISB_DARK, 5, 12, 0, 109, 5, Connections[GetConnIdx(Players[GetPlyIdx(MCI.Info[i].PLID)].UniqueID)].UniqueID, 2, false);
}
if (Connections[GetConnIdx(Players[GetPlyIdx(MCI.Info[i].PLID)].UniqueID)].Cash < 0)
{
InSim.Send_BTN_CreateButton("^1$" + Connections[GetConnIdx(Players[GetPlyIdx(MCI.Info[i].PLID)].UniqueID)].Cash, Flags.ButtonStyles.ISB_DARK, 5, 12, 0, 109, 5, Connections[GetConnIdx(Players[GetPlyIdx(MCI.Info[i].PLID)].UniqueID)].UniqueID, 2, false);
}
// Total Distance Button
InSim.Send_BTN_CreateButton("^7" + Connections[GetConnIdx(Players[GetPlyIdx(MCI.Info[i].PLID)].UniqueID)].TotalDistance / 1000d + " km", Flags.ButtonStyles.ISB_DARK, 3, 12, 0, 121, 162, (Connections[GetConnIdx(Players[GetPlyIdx(MCI.Info[i].PLID)].UniqueID)].UniqueID), 2, false);

// Distance Bonus Button
InSim.Send_BTN_CreateButton("" + bonusStr, Flags.ButtonStyles.ISB_LIGHT | Flags.ButtonStyles.ISB_LEFT, 2, 25, 1, 141, 18, Connections[GetConnIdx(Players[GetPlyIdx(MCI.Info[i].PLID)].UniqueID)].UniqueID, 2, false);
InSim.Send_BTN_CreateButton("" + bonusStr, Flags.ButtonStyles.ISB_LIGHT | Flags.ButtonStyles.ISB_LEFT, 2, 25, 1, 141, 12, Connections[GetConnIdx(Players[GetPlyIdx(MCI.Info[i].PLID)].UniqueID)].UniqueID, 2, false);
InSim.Send_BTN_CreateButton("^7Bonus: ", Flags.ButtonStyles.ISB_DARK | Flags.ButtonStyles.ISB_LEFT, 4, 34, 0, 133, 13, Connections[GetConnIdx(Players[GetPlyIdx(MCI.Info[i].PLID)].UniqueID)].UniqueID, 2, false);
}
InSim.Send_BFN_DeleteButton(Enums.BtnFunc.BFN_DEL_BTN, 140, C.UniqueID);
InSim.Send_BFN_DeleteButton(Enums.BtnFunc.BFN_DEL_BTN, 5, C.UniqueID);
InSim.Send_BFN_DeleteButton(Enums.BtnFunc.BFN_DEL_BTN, 162, C.UniqueID);
InSim.Send_BFN_DeleteButton(Enums.BtnFunc.BFN_DEL_BTN, 18, C.UniqueID);
InSim.Send_BFN_DeleteButton(Enums.BtnFunc.BFN_DEL_BTN, 12, C.UniqueID);
InSim.Send_BFN_DeleteButton(Enums.BtnFunc.BFN_DEL_BTN, 13, C.UniqueID);
}
ClsConnections.cs
public byte HideGUI;

Not sure if it works cause i used notepad to make it, but last thing you need to do is make a command for it to close the buttons
mariuba2
S2 licensed
#1

First identify C.HideGUI in ClsConnection or whatever.


if (C.HideGUI == 1)
{
InSim.Send_BTN_CreateButton("", Flags.ButtonStyles.ISB_LIGHT, 6, 27, 184, 2, 0, C.UniqueID, 2, false);
InSim.Send_BTN_CreateButton("^7blah blah: ^2" + C.blah blah/ 800 + "%" + " ^7blah blah: ^2" + C.blah blah + "%", Flags.ButtonStyles.ISB_DARK, 4, 25, 185, 3, 1, C.UniqueID, 2, false);
if (TrackName == "blah blah")
{
InSim.Send_BTN_CreateButton("^0[^7UGC^0]^7UnderGround Event", Flags.ButtonStyles.ISB_C4, 10, 40, 190, 1, 2, C.UniqueID, 2, false);
}
else
{
InSim.Send_BTN_CreateButton("^0[^7UGC^0]^7UnderGround Cruise", Flags.ButtonStyles.ISB_C4, 10, 40, 190, 1, 2, C.UniqueID, 2, false);
}
InSim.Send_BFN_DeleteButton(Enums.BtnFunc.BFN_DEL_BTN, 2, C.UniqueID);

}

Im not sure if it works but its just a example.
mariuba2
S2 licensed
Quote from DarkTimes :T-RonX never released the source code for LFS_External so it's not possible for anyone to update it.

Ummm ok =[ I wish someone could.

Thx for replying so fast
mariuba2
S2 licensed
Ok well thanks for answer, cause alo of people use python more than C#[not sure, just saying my opinion] and alot say python is easier which I think not, because I use C# with LFS_Extenal and it's great I understand how it works but for others I don't know how it work, it look easy but I don't know how it work.

And also another question.
Can someone update LFS_External? Cause They say Trox gave up coding or somthing?
mariuba2
S2 licensed
Can i ask something?

Which is better python, C#, C++?
mariuba2
S2 licensed
Quote from Mauni :Well, the thing is that before you can code an insim application, you need to know at least basics of a programming language. Otherwise you just end up as another forum insim "developer", who take an open source cruise project and edit a line of text or appereance of the user interface and claim to be good programmers . Without knowing how to program, that's really all you can do.

There are lots of tutorials for any programming language, it just takes time to learn properly. With some skill, you can use the API found in insim.txt to code your own stuff to LFS.

true!!!!
mariuba2
S2 licensed
Quote from stuntguy3000 :The thing is that I only just know what you mean. I wana know how can you Can learn InSim. Is their a bunch of tutorials? If their isn't It would be cool if someone went to the huge effort and made a whole bunch of tutorials for like YouTube for example.

I don't know if this helps, but sometime for me. Use google and search it, thats what i did i search for timers in google cause i didnt know how to set one and now i know how to because i used google, also you can use InSim.txt that is a easy way too, or just study other codes from other insims.
mariuba2
S2 licensed
How you add songs to lfs?
FGED GREDG RDFGDR GSFDG