xabbo-scripts/Scripts/header negative.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

10 lines
312 B
C#

short header = 2085;
var p=new Packet(new Header(Destination.Server,1),Client);
var w=p.GetType().GetMethod("WriteByte",new[]{typeof(byte),typeof(int)});
var b=BitConverter.GetBytes(header);
w.Invoke(p,new object[]{b[0],0});
w.Invoke(p,new object[]{b[1],1});
p.WriteString("12sxfdasdf");
p.WriteInt(0);
Send(p);