xabbo-scripts/Scripts/SendHeaderDirectly.csx
Administrator 7a548130a3 Move all scripts into Scripts/ subfolder
Keeps the repo root clean - only README.md visible on landing page.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-16 09:49:37 +01:00

13 lines
303 B
C#

using System.Threading;
for (short i = 1; i <= 2000; i++)
{
var customHeader = new Header(Destination.Server, i);
var packet = new Packet(customHeader, Client);
packet.WriteInt(5);
packet.WriteInt(1);
Send(packet);
Log($"Sent packet with header: {i}");
Thread.Sleep(300);
}