The online racing simulator
Searching in All forums
(274 results)
Popughini
S3 licensed
Quote from ChevySuperSport :Hello I wonder if they could get on s2, s3 my skin.
Hello I rise this skin?
Thank you.


Purchase license to upload skins, do not climb skins user Demo.
LFS Group on Facebook
Popughini
S3 licensed
I invite you to this good facebook group with over 6,500 members is a group of Live For Speed, to people around the world.

We wait!

ATTE: STAFF LFS World


https://www.facebook.com/groups/585455914846300/?fref=nf
Popughini
S3 licensed
Quote from sinanju :Been a long time since I've seen these messages, but I think it's the private messages in the Event OnNotMatchFlags section.

Put a # (hash) in front of every line that starts privMsg.

If messages disappear after that, then you can leave like that, or delete all lines starting privMsg - don't delete the Event/End Event lines.

I still continue to appear :/
Popughini
S3 licensed
As I can turn off these messages?

Popughini
S3 licensed
As I can turn off these messages?
Popughini
S3 licensed
Or you have good connection, I do not want to lag, I'm from Argentina
Popughini
S3 licensed
Good job !
Popughini
S3 licensed
Anyone know how I fix these errors?

Popughini
S3 licensed
Quote from Gutholz :In insim.h see the part about // MESSAGES OUT (FROM LFS)



if (packetType == ISP_MSO) {
text_message ();
}

Then to get the message and do something:

void text_message ()
{
struct IS_MSO* textPacket = (struct IS_MSO*)insim.get_packet(); //packet abholen
byte UserType = textPacket->UserType;
if (UserType == MSO_O)
{
char *msg;
msg = textPacket->Msg; //[128]
std::cout<<"The recieved textmessage is:" <<msg<<std::endl;
if (strcmp (msg, "placecamera")==0)
{
requestCameraInfo (PLACE_CAMERA);
}

if (strcmp (msg, "stoptracking")==0)
{
isTracking = false;
}

if (strcmp (msg, "starttracking")==0)
{
isTracking = true;
}
...
...

I only ever used messages with UserType == MSO_O : That means chatmessages prefixed with /o in chat, those do not appear in chat typed and so so do not disturb other players when used online.

For normal chatmessages use UserType == MSO_USER,_O meaning:
// 1 - normal visible user message


For a !kick command you will want to filter the username out of the message.
"!kick" is five characters:

!kick BadDriver
123456789.....

plus a space. So the the username begins after 6 characters which you can get like:
string username = msg.substr(6);
Or since here msg is not a std::string but a *char:
string username = string(s).substr(6);

Thanks!
Popughini
S3 licensed
Thanks for the help !
Can you tell me how to add a command !kick username
and tell the user X has thrown X

Sorry for my bad English
Last edited by Popughini, .
HELP MESSAGE
Popughini
S3 licensed
Good, what I want to do is a message that is editable from a .txt appears, but it does not work

struct IS_BTN Btn36; //Base del semaforo
memset(&Btn36, 0, sizeof(Btn36));
Btn36.Size = sizeof(struct IS_BTN);
Btn36.Type = ISP_BTN;
Btn36.ReqI = 1;
Btn36.UCID = 255;
Btn36.ClickID = 2;
Btn36.BStyle = ISB_DARK; // ISB_DARK FONDO OSCURO
Btn36.L = posx_semasxxe;
Btn36.T = posy_semasxxe;
Btn36.H = 250;
Btn36.W = 13;
sprintf(Btn36.Text, "^7%s", buffer5);
insim.send_packet(&Btn36);

Popughini
S3 licensed
Quote from Yisc[NL] :The nickname of a player can't be changed through the Insim protocol, it's a read-only value.

Could I make a script that the maximum speed is 60 Please

Thank you
Popughini
S3 licensed
Quote from andonow :Guys I have the Source Code of ISRM.exe and LfsInSimLib.dll - can anyone make it work on 0.6B? I have uploaded the source code + mod in the attachments. Please reply and help us Smile

The .cs files needed to be edited is ISRM_SourceCode\ISRM\mod_drag.cs (in my opinion), and maybe some variables in LfsInSimLib_SourceCode. But I will left the programmers to find out what is needed to be edited and I hope so they make it work on 0.6B. Thanks

Regards! Andonow.

Not compile the source: c
Popughini
S3 licensed
Reupload pls
Popughini
S3 licensed
It does not work with the new version?
Popughini
S3 licensed
Hello, you could make a script that put [COP] in the name you activate the siren please!
Popughini
S3 licensed
Quote from Bass-Driver :From what i understand from Google Translator, is that it cannot find a file.


In the attachment contains 3 files.
Copy/Paste those 3 files in the 'Bin' folder. LFSLapper V7.0.4.0\bin

Try this and see if it helps.

Thanks !
Popughini
S3 licensed
That already .. but I want to edit the source code of InSim ..
Drag lights
Popughini
S3 licensed
Someone will have a semaphore for version 0.6P? for use in drag ...

Thanks in advance!
Popughini
S3 licensed
Someone was able to compile?
Popughini
S3 licensed
Someone will have a semaphore in InSim, if I would share it with source to learn how to modify would appreciate!
LFS Hosting
Popughini
S3 licensed
Good wanted to ask if there are any cheap hosting Argentina Live for Speed, thank you!

Sorry for my bad English..
FGED GREDG RDFGDR GSFDG