Xabi Posted July 20, 2019 Author Share Posted July 20, 2019 11 minutes ago, Clicked said: Hi Xabi, i would like to know what features were added/modified after the Patreon and private repo, im considering buying it, thanks and awesome job Mainly bug and crash fixes on the master branch. There's also a testing branch (which will be merged with master when the new bridge comes) that has more features like voice, multiple code refactoring, and i'm starting with a CEF for the phone. But as I said, currently this branch relies on the new bridge version that has not been released. Link to comment Share on other sites More sharing options...
XiVirtue Posted July 20, 2019 Share Posted July 20, 2019 (edited) WARNING: "GetPlayerSeatbelt" function is not implemented yet. WARNING: "GetPlayerSeatbelt" function is not implemented yet. System.InvalidCastException: Invalid cast from 'System.Single' to 'GTANetworkAPI.Vehicle'. at object Convert.DefaultToType(IConvertible value, Type targetType, IFormatProvider provider) at void GTANetworkInternals.RemoteEventParser.Parse(Client sender, ulong eventNameHash, object[] args) in C:\Users\Adam\Documents\Git\comp-layer2\BootstrapperNC\Handlers\ResourceInfo.cs:line 62 [N] 127.0.0.1:59441 has been disconnected. C:\Users\Adam\Documents\Git\comp-layer2\BootstrapperNC\Handlers\ResourceInfo.cs:line 62 What is this ? Edited July 20, 2019 by XiVirtue Link to comment Share on other sites More sharing options...
chocopops Posted July 20, 2019 Share Posted July 20, 2019 Is this correct, Xabi? Should I add anything to meta.xml or just database.cs? Link to comment Share on other sites More sharing options...
Xabi Posted July 20, 2019 Author Share Posted July 20, 2019 48 minutes ago, chocopops said: Is this correct, Xabi? Should I add anything to meta.xml or just database.cs? If you want to do it with meta.xml you will have to add that "number"key to it, but it's not necessary at all. So just delete that string port = NAPI.Resource.GetSetting line and also, when you're filling the connection string, there are two ; symbols between the port 2315 and SSLMODE=none. Link to comment Share on other sites More sharing options...
chocopops Posted July 20, 2019 Share Posted July 20, 2019 (edited) 2 hours ago, Xabi said: If you want to do it with meta.xml you will have to add that "number"key to it, but it's not necessary at all. So just delete that string port = NAPI.Resource.GetSetting line and also, when you're filling the connection string, there are two ; symbols between the port 2315 and SSLMODE=none. Like this? I didn't really understand what to do with the two ; symbols between the ports, sorry. Edited July 20, 2019 by chocopops Link to comment Share on other sites More sharing options...
Xabi Posted July 20, 2019 Author Share Posted July 20, 2019 (edited) 5 hours ago, chocopops said: Like this? I didn't really understand what to do with the two ; symbols between the ports, sorry. Yes, it should work like that. Edited July 20, 2019 by Xabi Link to comment Share on other sites More sharing options...
chocopops Posted July 20, 2019 Share Posted July 20, 2019 2 hours ago, Xabi said: Yes, it should work like that. I did that, yet I still get this error: Quote -> Error starting 'WiredPlayers' System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> MySql.Data.MySqlClient.MySqlException: Unable to connect to any of the specified MySQL hosts. ---> System.AggregateException: One or more errors occurred. (Es konnte keine Verbindung hergestellt werden, da der Zielcomputer die Verbindung verweigerte MY SERVER IP WAS HERE:2315) ---> System.Net.Internals.SocketExceptionFactory+ExtendedSocketException: Es konnte keine Verbindung hergestellt werden, da der Zielcomputer die Verbindung verweigerte MY SERVER IP WAS HERE:2315 at void System.Net.Sockets.Socket.EndConnect(IAsyncResult asyncResult) at void System.Net.Sockets.TcpClient.EndConnect(IAsyncResult asyncResult) at Task System.Net.Sockets.TcpClient.ConnectAsync(string host, int port)+(IAsyncResult asyncResult) => { } [1] at void System.Threading.Tasks.TaskFactory<TResult>.FromAsyncCoreLogic(IAsyncResult iar, Func<IAsyncResult, TResult> endFunction, Action<IAsyncResult> endAction, Task<TResult> promise, bool requiresSynchronization) --- End of inner exception stack trace --- at void System.Threading.Tasks.Task.ThrowIfExceptional(bool includeTaskCanceledExceptions) at bool System.Threading.Tasks.Task.Wait(int millisecondsTimeout, CancellationToken cancellationToken) at Stream MySql.Data.Common.StreamCreator.GetTcpStream(MySqlConnectionStringBuilder settings) at void MySql.Data.MySqlClient.NativeDriver.Open() --- End of inner exception stack trace --- at void MySql.Data.MySqlClient.NativeDriver.Open() at void MySql.Data.MySqlClient.Driver.Open() at Driver MySql.Data.MySqlClient.Driver.Create(MySqlConnectionStringBuilder settings) at Driver MySql.Data.MySqlClient.MySqlPool.CreateNewPooledConnection() at Driver MySql.Data.MySqlClient.MySqlPool.GetPooledConnection() at Driver MySql.Data.MySqlClient.MySqlPool.TryToGetDriver() at Driver MySql.Data.MySqlClient.MySqlPool.GetConnection() at void MySql.Data.MySqlClient.MySqlConnection.Open() at List<BusinessModel> WiredPlayers.database.Database.LoadAllBusiness() in C:\Users\MYUSER\Desktop\WiredPlayers\database\Database.cs:line 1218 at void WiredPlayers.business.Business.LoadDatabaseBusiness() in C:\Users\MYUSER\Desktop\WiredPlayers\business\Business.cs:line 19 at void WiredPlayers.database.Database.OnResourceStart() in C:\Users\MYUSER\Desktop\WiredPlayers\database\Database.cs:line 40 --- End of inner exception stack trace --- at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor) at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments) at GTANetworkInternals.ScriptingEngine.InvokeVoidMethod(String method, Object[] args) at System.Collections.Generic.List`1.ForEach(Action`1 action) at GTANetworkInternals.EventHandler.ParseEx(Event _event, ScriptingEngine engine, Object[] arguments) at System.Collections.Generic.List`1.ForEach(Action`1 action) at GTANetworkInternals.GameServer.StartResource(String resourceName, String parent) Why does it use my own PC details despite this being hosted on a server? As you can see above in the error, you'll find MYUSER which is my PC name. Why's it like this, am I doing something wrong? I did everything step by step, as you can see above my server IP is also being recognized along with the port, yet there's just something wrong. Link to comment Share on other sites More sharing options...
Xabi Posted July 21, 2019 Author Share Posted July 21, 2019 12 hours ago, chocopops said: I did that, yet I still get this error: Why does it use my own PC details despite this being hosted on a server? As you can see above in the error, you'll find MYUSER which is my PC name. Why's it like this, am I doing something wrong? I did everything step by step, as you can see above my server IP is also being recognized along with the port, yet there's just something wrong. It should take the credentials you define on meta.xml, did you upload this meta.xml file too? Link to comment Share on other sites More sharing options...
I'm Pickle Rick Posted July 21, 2019 Share Posted July 21, 2019 Hello once more @Xabi. Well i subscribed for your patreon and got invite to github thanks for that once more! Now the question is. Where i can find all available commands or keybinds for specific functions? Regards Link to comment Share on other sites More sharing options...
Xabi Posted July 21, 2019 Author Share Posted July 21, 2019 5 hours ago, I'm Pickle Rick said: Hello once more @Xabi. Well i subscribed for your patreon and got invite to github thanks for that once more! Now the question is. Where i can find all available commands or keybinds for specific functions? Regards You can get all the commands on Commands.cs serverside class and bindings on Keys.cs clientside class. Link to comment Share on other sites More sharing options...
Recommended Posts