I'm trying to compile a fresh install of ServUO 57.4, the only thing i've added is Vita-Nex, I am getting two errors on compiling.
Its in \Scripts\VitaNex\Core\Core-5.3.1.0\Modules\WebSockets\Objects\client.cs on lines 59 and 60
59 public WebSocketsClient(TcpClient client, MessagePump p)
60 : base(client.Client, p)
{
TcpClient = client;
}
59 - 'Message Pump': static types cannot be used as parameters
60 - 'NetState' does not contain a constructor that takes 2 arguments
I haven't edited anything, I downloaded the Vita-Nex from the official github.
Any ideas why this is happening? Why am I the chosen one?
I found the fix, Its just a few posts down but for future people below is the answer:
Its in \Scripts\VitaNex\Core\Core-5.3.1.0\Modules\WebSockets\Objects\client.cs on lines 59 and 60
59 public WebSocketsClient(TcpClient client, MessagePump p)
60 : base(client.Client, p)
{
TcpClient = client;
}
59 - 'Message Pump': static types cannot be used as parameters
60 - 'NetState' does not contain a constructor that takes 2 arguments
I haven't edited anything, I downloaded the Vita-Nex from the official github.
Any ideas why this is happening? Why am I the chosen one?
I found the fix, Its just a few posts down but for future people below is the answer:
You can delete the entire WebSockets folder - it will never be used (and isn't used).
I also recommend removing periods from folder names, it can cause issues with pathing.
Last edited: