HelpK Relay doesn't see plugins

Posts 1–6 of 6 · Page 1 of 1
K Relay doesn't see plugins
so after not playing for a while i downloaded new client and k relay. when i opened it i got this error:
"A plugin attempted to register callback K_Relay.Util.ReconnectHandler.OnReconnect for packet type RECONNEcT that doesn't have a structure defined."
well a few months ago when i was using the old version of krelay i got error message too so i dont know if its the problem. here is the log:

[Serializer] Serialized 22 servers successfully.
[Serializer] Serialized 332 tiles successfully.
[Serializer] Serialized 586 items successfully.
[Serializer] Serialized 470 objects successfully.
[Serializer] Serialized 464 enemies successfully.
[Serializer] Serialized 3849 complete gamedata successfully.
[Serializer] Serialized 0 packet ids successfully. (i think this is the problem)
[Serializer] Mapped 90 packet structures successfully.

when i click plugins there is nothing there. and i cant change anything in settings (there is nothing written in default server, theme, style etc)
what should i do?
come on anybody?
bump still need help
Quote Originally Posted by Hurcan View Post
so after not playing for a while i downloaded new client and k relay. when i opened it i got this error:
"A plugin attempted to register callback K_Relay.Util.ReconnectHandler.OnReconnect for packet type RECONNEcT that doesn't have a structure defined."
well a few months ago when i was using the old version of krelay i got error message too so i dont know if its the problem. here is the log:

[Serializer] Serialized 22 servers successfully.
[Serializer] Serialized 332 tiles successfully.
[Serializer] Serialized 586 items successfully.
[Serializer] Serialized 470 objects successfully.
[Serializer] Serialized 464 enemies successfully.
[Serializer] Serialized 3849 complete gamedata successfully.
[Serializer] Serialized 0 packet ids successfully. (i think this is the problem)
[Serializer] Mapped 90 packet structures successfully.

when i click plugins there is nothing there. and i cant change anything in settings (there is nothing written in default server, theme, style etc)
what should i do?
K-Relay uses some crazy pathing calculation for plugins, personally I just changed it to meet my needs:

Code:
        string pDir = Serializer.DEBUGGetSolutionRoot() + @"\Plugins\";

....

        public static string DEBUGGetSolutionRoot()
        {
            // This is single handedly the worse piece of code i've ever written.
            DirectoryInfo project = Directory.GetParent(Directory.GetParent(Directory.GetParent(Application.StartupPath).ToString()).ToString());
            if (Directory.Exists(project.ToString() + "/XML/"))
                return project.ToString();
            else
                return Application.StartupPath;
        }
Essentially what it's doing is it tries to find it in the VS solution path if you're running from VS, if not it looks in the application start up path + \Plugins. So make a Plugins folder from where you're running it and copy it the DLLs in.
My problem was solved after i changed my system language to english
Posts 1–6 of 6 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Talk with us