using (NamedPipeClientStream pipeStream = new NamedPipeClientStream("PipesOfPiece"))
{
pipeStream.Connect();
MessageBox.Show("[Client] Pipe connection established");
using (StreamWriter sw = new StreamWriter(pipeStream))
{
// sw.AutoFlush = true;
sw.WriteLine("UseInventoryItem" + " " + Engine.Instance.mThread.Id + " " + Collection.Actors.Local.PlayerData.Address + " " + 0 + " " + 1 + " " + 31 + " " + 1 + " " + 1);
// sw.Close();
}
pipeStream.Close();
}
I'm trying to relive being r3p.bdo source code.
I can perform the pipeStream connection.
but when I use StreamWriter.WriteLine the game stops responding
PlayerData.Address is updated
Could someone give me an explanation of this line? Where could I find it?
"UseInventoryItem" + "" + Engine.Instance.mThread.Id + "" + Collection.Actors.Local.PlayerData.Address + "+ 0 +" "+ slotitem +" "+ 31 +" "+ 1 +" " + 1