Richard Matthew

Results 32 comments of Richard Matthew

Thanks for your response. I didn't specify a port number at first.(says it would randomly attempt if not specified or 0?) Then I tried InitSetPortRange(40000,50000), didn't work, either. I previously...

`GTA.UI.Screen.Resolution` returns the actual resolution of the game, but I use this to draw text with LemonUI: ``` public static SizeF ResolutionMaintainRatio { get { // Get the game width...

LemonUI takes that scaled resolution as parameter, I'm not sure about the reason behind(it works anyway)

A handshake message on connect will provide ability of custom authentication #117, e.g. username/password validation. Also the server could use the handshake message to initialize a client.

Like [Lidgren.Network's connection approval](https://github.com/lidgren/lidgren-network-gen3/blob/f99b006d9af8a9a230ba7c5ce0320fc727ebae0c/Lidgren.Network/NetIncomingMessageType.cs#L53)

Any updates here? Also if there will be an APIv4, can the KeyEventArgs be embedded to SHVDN? KeyEventArgs requires to reference winforms assembly, which is quite annoying (when using .NET...

> 哈哈对 好像只有.FameWork才能引用Winforms,这也是一个难题 You can enable winforms support by specifying `true` in project property. .NET Core has some degree of compatibility with .net Framework, existing script should have no problem...

As for hosting .NET Core in the same ASI, I think we have two options out there: 1. Add another C++/CLI library (ScriptHookVDotNetCore.dll ?) that [builds against .NET core](https://learn.microsoft.com/en-us/dotnet/core/porting/cpp-cli) and...

> Can we write in this console? I believe that's already possible, just rename ScriptHookVDotNet.asi to *.dll and add reference to it. Then: ``` var console = AppDomain.CurrentDomain.GetData("Console") as SHVDN.Console;...

Yeah, but only if you edit the project file directly, visual studio won't let you do so in GUI