Thank you very much!, this plugin helped me a lot! I still remember the entire day I took to compile RakNet for UE4, thanks to you, just a Copy and Paste does the trick!
P.S.: I am having a problem in StringCompressor, I know you didnt code RakNet, however, this problem is related to UE4, probably a missing DLL.
This is just one of 70 errors(same error) in 2 .h files: DS_Map.h and DS_OrderedList.h - I never had this problem with normal compiled RakNet imported directly in Engine/Source/ThirdParty folder.
Itās seems UE4 will define RAKNET_API as __declspec(dllimport), but we canāt import defined functions,
DataStructures::Map and DataStructures::OrderedList define functions in their headers.
I have modified Export.h for workaround: #define RAK_DLL_EXPORT RAKNET_API
to #define RAK_DLL_EXPORT __declspec(dllexport)
This is great! Was looking for a quick way to get RakNet into C++ in a UE4 project. Would be good to go through and suppress or fix all of the warnings, though - they really clog up the build log! Iāll have a look at that when I get the chance.
if I correctly understood, if I activate this plug-in in any project, it will allow me to connect through Steam or other platform even if the client and the server are in different networks with NAT?
do i need some additional configuration?
I am trying to compile the plugin with 4.19 and I get the following error :
InterlockedIncrement identifier not found.
This is in LocklessTypes.cpp.
I noticed that the Windows includes were commented out in WindowsIncludes.h and this was causing InterlockedIncrement to go undefined. When I removed the comments I got the above error eventhough it was now defined. However This seems to be a 64 bit version and Raknet expects it to be 32 bit. Any idea whats wrong here ?