[DiscordArchive] Opcode ConnectionType is defined in the client somewhere or we just assign them by hand?
[DiscordArchive] Opcode ConnectionType is defined in the client somewhere or we just assign them by hand?
Archived author: shelby • Posted: 2025-07-15T10:13:11.651000+00:00
Original source
Opcode ConnectionType is defined in the client somewhere or we just assign them by hand?
Archived author: shelby • Posted: 2025-07-15T10:13:31.092000+00:00
Original source
i remember it used to be defined in some big array
Archived author: shelby • Posted: 2025-07-15T10:15:20.001000+00:00
Original source
or its based on sniff?
Archived author: MaxtorCoder • Posted: 2025-07-15T10:17:03.775000+00:00
Original source
Pretty sure it's done from the IsInstanceOpcode func in the Jam groups
Archived author: Tea • Posted: 2025-07-15T10:17:48.041000+00:00
Original source
based on sniff mostly + that jam group thing that allows only instance connection
Archived author: MaxtorCoder • Posted: 2025-07-15T10:18:06.086000+00:00
Original source
```cs
public struct JamGroup
{
public nint Name;
public nint IsOpcodeInGroup;
public uint64 Unk1;
public uint64 Unk2;
public nint IsInstanceOpcode;
public nint CallReader;
public nint CallOpcodeHandler;
public int32 StartOpcodeRange;
public int32 EndOpcodeRange;
public override string ToString() => $"IsOpcodeInGroup: {IsOpcodeInGroup:X8} CallReader: {CallReader:X8} Start: {StartOpcodeRange:X8} End: {EndOpcodeRange:X8}";
}
```
Archived author: MaxtorCoder • Posted: 2025-07-15T10:18:12.091000+00:00
Original source
Talking about the `IsInstanceOpcode` func then
Archived author: Tea • Posted: 2025-07-15T10:20:17.509000+00:00
Original source
eh
Archived author: Tea • Posted: 2025-07-15T10:20:27.148000+00:00
Original source
but its not in the group def anymore