The online racing simulator
Searching in All forums
(5 results)
Luigi333
Demo licensed
I sayed...
Luigi333
Demo licensed
Quote from racerss :Why do you want to 'put'/insert that code segment?

Because, i use InSim.cs
But i do no in which line put the IS_OCO code
PACKET IS_OCO
Luigi333
Demo licensed
As I said earlier I have the S2 license, but I want to post this acc to earn some points on servers.
I'm using the InSim DotNet library, I put it in visual studio, to create a console application, and I got it !.
I was able to connect ...
But I do not know where to put this packet, I put this void:

public byte[] OCO(byte OCOAction, byte Index, byte Identifier, byte Data)
{
byte[] packet = new byte[8];
packet[0] = 8;
packet[1] = (byte)PacketType.ISP_OCO;
packet[2] = 0;
packet[3] = 0;
packet[4] = OCOAction;
packet[5] = Index;
packet[6] = Identifier;
packet[7] = Data;

return packet;
}

But I do not know which file and where I put it.
Luigi333
Demo licensed
I not a cracker, i need help now, my server it is failing
pleasee!
I need help...
Luigi333
Demo licensed
using System.Collections.Generic;
using LFS_External;

namespace LFS_External_Client
{
/// <summary>
/// PLayer Cars.
/// </summary>
/// <remarks>
/// You can send a packet to limit the cars that can be used by a given connection.
/// The resulting set of selectable cars is a subset of the cars set to be available
/// on the host (by the /cars command).
/// </remarks>
public class IS_PLC : Packets
{
/// <summary>
/// Gets the size of the packet.
/// </summary>
public byte Size { get; set; }

/// <summary>
/// Gets the type of the packet.
/// </summary>
public byte Type { get; private set; }

/// <summary>
/// Gets or sets the request ID.
/// </summary>
public byte ReqI { get; set; }

public byte PacketWriter { get; set; }

/// <summary>
/// Gets or sets the unique ID of the connection on which to limit the cars.
/// </summary>
public byte UCID { get; set; }

/// <summary>
/// Gets or sets the cars to limit.
/// </summary>

public IEnumerable<clsConnection> Connections { get; }

public CarFlags.CarFlag Cars { get; set; }

/// <summary>
/// Creates a new <see cref="IS_PLC"/> packet.
/// </summary>
public IS_PLC() {
foreach (clsConnection Conn in Connections)
{
Size = 12;
UCID = Conn.UniqueID;
Cars = CarFlags.CarFlag.UF1;

}
}
}
}
===========================================================================================================
I have another license here, S2 license, and i need help, because my server need this packet...
I try various times, but i not have response.
Dont have nothing error, only dont have results...
I need help pleeasseeeee!
FGED GREDG RDFGDR GSFDG