-
-
Notifications
You must be signed in to change notification settings - Fork 96
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Only works until ConnectionEstablished #74
Comments
Can you please make sure the client has a logger that is writing to your logs and is in TRACE. Additionally, I see you are using Please make sure you include the native pipe wrapper that the unity example has as Unity by itself doesn't actually support pipes. |
After setting the level to trace i got some more atleast
|
Okay, since you are using Unity, you are required to use the NativeNamedPipe, not the Managed. Please look at the Unity example as a sample. |
Is it right that i have put |
AutoEvents is part of the constructor: so you will want to do |
Ill get to it in a few hours and try again. Btw does it need to be in a monobehavior or does it also work in a plain IPA plugin? |
¯_(ツ)_/¯ Don't forget that you are required to use the NativeNamedPipeClient, not the managed. Like I mentioned before, examples on how it works can be found in the Unity project included in this repository. |
You can't import unitypackages into a game by someone else :'D anyway, i already imported your pipeclient from your ci into my plugin |
I made sure but it definitly is loaded: [16:40:28.468] <EFTDiscordPresence> Info - Mod.OnGameInitialized: Loaded assemblies:
?, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
0Harmony, Version=1.2.0.1, Culture=neutral, PublicKeyToken=null
AmplifyMotion, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
Assembly-CSharp, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
Assembly-CSharp-firstpass, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
Assembly-UnityScript, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
Assembly-UnityScript-firstpass, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
Comfort, Version=1.0.0.4, Culture=neutral, PublicKeyToken=null
Comfort.Unity, Version=1.0.0.4, Culture=neutral, PublicKeyToken=null
DecalSystem.Runtime, Version=1.1.0.0, Culture=neutral, PublicKeyToken=null
+ DiscordRPC, Version=1.0.121.0, Culture=neutral, PublicKeyToken=null
DynamicLoadingKit, Version=1.0.5640.17315, Culture=neutral, PublicKeyToken=null
+ EFTDiscordPresence, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
HarmonySharedState, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
IllusionInjector, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
IllusionPlugin, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
JustEmuTarkov, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
KdTreeLib, Version=1.3.0.0, Culture=neutral, PublicKeyToken=null
mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed
NLog, Version=4.0.0.0, Culture=neutral, PublicKeyToken=5120e14c03d0593c
pb_Stl, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
Poly2Tri, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
ProBuilderCore-Unity5, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
ProBuilderMeshOps-Unity5, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
System.Configuration, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
System.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
System.Runtime.Serialization, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
System.Xml, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
TestPlugin, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
TextMeshPro-5.6-Runtime, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
UnityEngine, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
UnityEngine.Networking, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
UnityEngine.UI, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
+ UnityNamedPipe, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
zlib.net, Version=1.0.3.0, Culture=neutral, PublicKeyToken=null |
The text was updated successfully, but these errors were encountered: