Open FynjyAC opened 5 years ago
Hi,
Could you give some context ? I have no idea what you're trying to do here. What is UE4 ?
Hi. Thanks for participating
UE4 = Unreal Engine 4. Game Engine.
UE4 can use c++, but can't direct use windows library, windows.h.
Instead, UE4 created its own library of functions with own realizations
I'm trying to create a connection with pachi.exe through UE4 functions (in Windows used winApi pipe functions)
https://docs.microsoft.com/en-us/windows/desktop/ipc/about-pipes
The task is to transfer data between the Pachi and my c++ unreal engine project
Try asking UE4 devs then, maybe they can help you with this ...
Ok, I'll ask from the another side. How do you recommend to communicate with your program? Through pipe? Sockets? Or another ways? Can you recommend a program that already works with patch?
Hey! Did you figure out wy its happens? I have the same problem and this thread the only one I found
Greetings. I have a problem with the "write pipe" function in UE4. I read the data from the "readPipe" without any problems. But when I try to send data "genmove b" through "writePipe", I get the same in the response in "readPipe".
@Pecka95 - are you using UE as well? This feels like a problem in Your/FynjyAC's platform, commanding pachi by std pipe works fine.
@Pecka95 - are you using UE as well? This feels like a problem in Your/FynjyAC's platform, commanding pachi by std pipe works fine.
Yeah, it's not about pachi, it's about Unreal Engine. Sorry for asking and botheting you here, but FynjyAC's problem it's the only one similar problem with mine which I could found and I don't know how to ask him directly
Np, tho we cannot help with that here, I know nothing about UE.
My 2cent would be bad usage of the pipe setup function, i.e. you in fact read from the same buffer you write, or something like that. Also the concept of buffer flushing is also often source of confusion.
On Tue, Aug 23, 2022, 17:16 Pecka95 @.***> wrote:
@Pecka95 https://github.com/Pecka95 - are you using UE as well? This feels like a problem in Your/FynjyAC's platform, commanding pachi by std pipe works fine.
Yeah, it's not about pachi, it's about Unreal Engine. Sorry for asking and botheting you here, but FynjyAC's problem it's the only one similar problem with mine, which I could found and I don't know how to ask him directly
— Reply to this email directly, view it on GitHub https://github.com/pasky/pachi/issues/123#issuecomment-1224219920, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACGV5PL76GD3VM65NBFVUODV2TTNLANCNFSM4H3FKGFQ . You are receiving this because you commented.Message ID: @.***>
Greetings. I have a problem with the "write pipe" function in UE4. I read the data from the "readPipe" without any problems. But when I try to send data "genmove b" through "writePipe", I get the same in the response in "readPipe".
Could you give me any advice?