The online racing simulator
PACKET IS_OCO
(4 posts, started )
PACKET IS_OCO
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.
Why do you want to 'put'/insert that code segment?
#3 - lucaf
Quote from Luigi333 :As I said earlier I have the S2 license, but I want to post this acc to earn some points on servers.

Uhmm
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
(4 posts, started )
FGED GREDG RDFGDR GSFDG