Xabi

[GAMEMODE] WiredPlayers Roleplay Server

Recommended Posts

11 hours ago, xipanca said:

erro 

unknown.png

 

unknown.png

Upgrade MySQL to 8.0 or change the SSLMODE=required part from the connection stribg into Database.cs to SSLMODE=none.

Share this post


Link to post
Share on other sites
-> SERVER STARTED AT 21.07.2018 17:19:18
Loaded 498 entries from vehicleData.json
Loading resources..
-> Starting WiredPlayers resource..
WiredPlayers: setting as Gamemode resource
WiredPlayers: loading scripts.. found 1 script(s)
WiredPlayers: instantiating WiredPlayers.weazelNews.WeazelNews..
WiredPlayers: instantiating WiredPlayers.weapons.Weapons..
WiredPlayers: instantiating WiredPlayers.vehicles.Vehicles..
WiredPlayers: instantiating WiredPlayers.TownHall.TownHall..
WiredPlayers: instantiating WiredPlayers.thief.Thief..
WiredPlayers: instantiating WiredPlayers.telephone.Telephone..
WiredPlayers: instantiating WiredPlayers.police.Police..
WiredPlayers: instantiating WiredPlayers.parking.Parking..
WiredPlayers: instantiating WiredPlayers.mechanic.Mechanic..
WiredPlayers: instantiating WiredPlayers.login.Login..
WiredPlayers: instantiating WiredPlayers.house.House..
WiredPlayers: instantiating WiredPlayers.furniture.Furniture..
WiredPlayers: instantiating WiredPlayers.hooker.Hooker..
WiredPlayers: instantiating WiredPlayers.globals.Globals..
WiredPlayers: instantiating WiredPlayers.garbage.Garbage..
WiredPlayers: instantiating WiredPlayers.fishing.Fishing..
WiredPlayers: instantiating WiredPlayers.fastfood.FastFood..
WiredPlayers: instantiating WiredPlayers.faction.Faction..
WiredPlayers: instantiating WiredPlayers.faction.Job..
WiredPlayers: instantiating WiredPlayers.emergency.Emergency..
WiredPlayers: instantiating WiredPlayers.drivingschool.DrivingSchool..
WiredPlayers: instantiating WiredPlayers.database.Database..
WiredPlayers: instantiating WiredPlayers.chat.Chat..
WiredPlayers: instantiating WiredPlayers.carshop.CarShop..
WiredPlayers: instantiating WiredPlayers.business.Business..
WiredPlayers: instantiating WiredPlayers.bank.Bank..
WiredPlayers: instantiating WiredPlayers.Animations.Animations..
WiredPlayers: instantiating WiredPlayers.admin.Admin..
WiredPlayers: loading server events.. found 5 server event(s)
WiredPlayers: loading server events.. found 4 server event(s)
WiredPlayers: loading server events.. found 1 server event(s)
WiredPlayers: loading server events.. found 2 server event(s)
WiredPlayers: loading server events.. found 1 server event(s)
WiredPlayers: loading server events.. found 1 server event(s)
WiredPlayers: loading server events.. found 3 server event(s)
WiredPlayers: loading server events.. found 3 server event(s)
WiredPlayers: loading server events.. found 3 server event(s)
WiredPlayers: loading server events.. found 2 server event(s)
WiredPlayers: loading server events.. found 1 server event(s)
WiredPlayers: loading server events.. found 1 server event(s)
WiredPlayers: loading server events.. found 5 server event(s)
WiredPlayers: loading server events.. found 1 server event(s)
WiredPlayers: loading server events.. found 1 server event(s)
WiredPlayers: loading server events.. found 2 server event(s)
WiredPlayers: loaded 36 server events(s)
WiredPlayers: loading commands.. found 5 command(s)
WiredPlayers: loading commands.. found 1 command(s)
WiredPlayers: loading commands.. found 9 command(s)
WiredPlayers: loading commands.. found 1 command(s)
WiredPlayers: loading commands.. found 4 command(s)
WiredPlayers: loading commands.. found 5 command(s)
WiredPlayers: loading commands.. found 12 command(s)
WiredPlayers: loading commands.. found 2 command(s)
WiredPlayers: loading commands.. found 3 command(s)
WiredPlayers: loading commands.. found 3 command(s)
WiredPlayers: loading commands.. found 1 command(s)
WiredPlayers: loading commands.. found 1 command(s)
WiredPlayers: loading commands.. found 18 command(s)
WiredPlayers: loading commands.. found 1 command(s)
WiredPlayers: loading commands.. found 1 command(s)
WiredPlayers: loading commands.. found 1 command(s)
WiredPlayers: loading commands.. found 13 command(s)
WiredPlayers: loading commands.. found 2 command(s)
WiredPlayers: loading commands.. found 4 command(s)
WiredPlayers: loading commands.. found 2 command(s)
WiredPlayers: loading commands.. found 10 command(s)
WiredPlayers: loading commands.. found 1 command(s)
WiredPlayers: loading commands.. found 56 command(s)
WiredPlayers: loading commands.. found 29 command(s)
WiredPlayers: loaded 185 commands(s)
WiredPlayers: loading remote events.. found 1 remote event(s)
WiredPlayers: loading remote events.. found 3 remote event(s)
WiredPlayers: loading remote events.. found 2 remote event(s)
WiredPlayers: loading remote events.. found 4 remote event(s)
WiredPlayers: loading remote events.. found 3 remote event(s)
WiredPlayers: loading remote events.. found 6 remote event(s)
WiredPlayers: loading remote events.. found 6 remote event(s)
WiredPlayers: loading remote events.. found 2 remote event(s)
WiredPlayers: loading remote events.. found 6 remote event(s)
WiredPlayers: loading remote events.. found 4 remote event(s)
WiredPlayers: loading remote events.. found 1 remote event(s)
WiredPlayers: loading remote events.. found 1 remote event(s)
WiredPlayers: loading remote events.. found 2 remote event(s)
WiredPlayers: loading remote events.. found 8 remote event(s)
WiredPlayers: loading remote events.. found 2 remote event(s)
WiredPlayers: loaded 51 remote event(s)
-> Error starting 'WiredPlayers'
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> MySql.Data.MySqlClient.MySqlException: The host 127.0.0.1 does not support SSL connections.
   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 E:\RageMP\server-files\bridge\resources\WiredPlayers\database\Database.cs:line 1204
   at void WiredPlayers.business.Business.LoadDatabaseBusiness() in E:\RageMP\server-files\bridge\resources\WiredPlayers\business\Business.cs:line 18
   at void WiredPlayers.database.Database.OnResourceStart() in E:\RageMP\server-files\bridge\resources\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)

Started! Waiting for connections..

Okay Fixxed 

Maybe your fix Database.cs on line 1204, and 40 and last one Business.cs on line 18 ;) have a nice day :P

Edited by Geekbee

Share this post


Link to post
Share on other sites
4 hours ago, Geekbee said:
-> SERVER STARTED AT 21.07.2018 17:19:18
Loaded 498 entries from vehicleData.json
Loading resources..
-> Starting WiredPlayers resource..
WiredPlayers: setting as Gamemode resource
WiredPlayers: loading scripts.. found 1 script(s)
WiredPlayers: instantiating WiredPlayers.weazelNews.WeazelNews..
WiredPlayers: instantiating WiredPlayers.weapons.Weapons..
WiredPlayers: instantiating WiredPlayers.vehicles.Vehicles..
WiredPlayers: instantiating WiredPlayers.TownHall.TownHall..
WiredPlayers: instantiating WiredPlayers.thief.Thief..
WiredPlayers: instantiating WiredPlayers.telephone.Telephone..
WiredPlayers: instantiating WiredPlayers.police.Police..
WiredPlayers: instantiating WiredPlayers.parking.Parking..
WiredPlayers: instantiating WiredPlayers.mechanic.Mechanic..
WiredPlayers: instantiating WiredPlayers.login.Login..
WiredPlayers: instantiating WiredPlayers.house.House..
WiredPlayers: instantiating WiredPlayers.furniture.Furniture..
WiredPlayers: instantiating WiredPlayers.hooker.Hooker..
WiredPlayers: instantiating WiredPlayers.globals.Globals..
WiredPlayers: instantiating WiredPlayers.garbage.Garbage..
WiredPlayers: instantiating WiredPlayers.fishing.Fishing..
WiredPlayers: instantiating WiredPlayers.fastfood.FastFood..
WiredPlayers: instantiating WiredPlayers.faction.Faction..
WiredPlayers: instantiating WiredPlayers.faction.Job..
WiredPlayers: instantiating WiredPlayers.emergency.Emergency..
WiredPlayers: instantiating WiredPlayers.drivingschool.DrivingSchool..
WiredPlayers: instantiating WiredPlayers.database.Database..
WiredPlayers: instantiating WiredPlayers.chat.Chat..
WiredPlayers: instantiating WiredPlayers.carshop.CarShop..
WiredPlayers: instantiating WiredPlayers.business.Business..
WiredPlayers: instantiating WiredPlayers.bank.Bank..
WiredPlayers: instantiating WiredPlayers.Animations.Animations..
WiredPlayers: instantiating WiredPlayers.admin.Admin..
WiredPlayers: loading server events.. found 5 server event(s)
WiredPlayers: loading server events.. found 4 server event(s)
WiredPlayers: loading server events.. found 1 server event(s)
WiredPlayers: loading server events.. found 2 server event(s)
WiredPlayers: loading server events.. found 1 server event(s)
WiredPlayers: loading server events.. found 1 server event(s)
WiredPlayers: loading server events.. found 3 server event(s)
WiredPlayers: loading server events.. found 3 server event(s)
WiredPlayers: loading server events.. found 3 server event(s)
WiredPlayers: loading server events.. found 2 server event(s)
WiredPlayers: loading server events.. found 1 server event(s)
WiredPlayers: loading server events.. found 1 server event(s)
WiredPlayers: loading server events.. found 5 server event(s)
WiredPlayers: loading server events.. found 1 server event(s)
WiredPlayers: loading server events.. found 1 server event(s)
WiredPlayers: loading server events.. found 2 server event(s)
WiredPlayers: loaded 36 server events(s)
WiredPlayers: loading commands.. found 5 command(s)
WiredPlayers: loading commands.. found 1 command(s)
WiredPlayers: loading commands.. found 9 command(s)
WiredPlayers: loading commands.. found 1 command(s)
WiredPlayers: loading commands.. found 4 command(s)
WiredPlayers: loading commands.. found 5 command(s)
WiredPlayers: loading commands.. found 12 command(s)
WiredPlayers: loading commands.. found 2 command(s)
WiredPlayers: loading commands.. found 3 command(s)
WiredPlayers: loading commands.. found 3 command(s)
WiredPlayers: loading commands.. found 1 command(s)
WiredPlayers: loading commands.. found 1 command(s)
WiredPlayers: loading commands.. found 18 command(s)
WiredPlayers: loading commands.. found 1 command(s)
WiredPlayers: loading commands.. found 1 command(s)
WiredPlayers: loading commands.. found 1 command(s)
WiredPlayers: loading commands.. found 13 command(s)
WiredPlayers: loading commands.. found 2 command(s)
WiredPlayers: loading commands.. found 4 command(s)
WiredPlayers: loading commands.. found 2 command(s)
WiredPlayers: loading commands.. found 10 command(s)
WiredPlayers: loading commands.. found 1 command(s)
WiredPlayers: loading commands.. found 56 command(s)
WiredPlayers: loading commands.. found 29 command(s)
WiredPlayers: loaded 185 commands(s)
WiredPlayers: loading remote events.. found 1 remote event(s)
WiredPlayers: loading remote events.. found 3 remote event(s)
WiredPlayers: loading remote events.. found 2 remote event(s)
WiredPlayers: loading remote events.. found 4 remote event(s)
WiredPlayers: loading remote events.. found 3 remote event(s)
WiredPlayers: loading remote events.. found 6 remote event(s)
WiredPlayers: loading remote events.. found 6 remote event(s)
WiredPlayers: loading remote events.. found 2 remote event(s)
WiredPlayers: loading remote events.. found 6 remote event(s)
WiredPlayers: loading remote events.. found 4 remote event(s)
WiredPlayers: loading remote events.. found 1 remote event(s)
WiredPlayers: loading remote events.. found 1 remote event(s)
WiredPlayers: loading remote events.. found 2 remote event(s)
WiredPlayers: loading remote events.. found 8 remote event(s)
WiredPlayers: loading remote events.. found 2 remote event(s)
WiredPlayers: loaded 51 remote event(s)
-> Error starting 'WiredPlayers'
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> MySql.Data.MySqlClient.MySqlException: The host 127.0.0.1 does not support SSL connections.
   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 E:\RageMP\server-files\bridge\resources\WiredPlayers\database\Database.cs:line 1204
   at void WiredPlayers.business.Business.LoadDatabaseBusiness() in E:\RageMP\server-files\bridge\resources\WiredPlayers\business\Business.cs:line 18
   at void WiredPlayers.database.Database.OnResourceStart() in E:\RageMP\server-files\bridge\resources\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)

Started! Waiting for connections..

Okay Fixxed 

Maybe your fix Database.cs on line 1204, and 40 and last one Business.cs on line 18 ;) have a nice day :P

That's the same error above, you have an older MySQL version that doesn't support SSL.

Share this post


Link to post
Share on other sites
vor 43 Minuten schrieb Xabi:

That's the same error above, you have an older MySQL version that doesn't support SSL.

Of course I have an old version 🤣 MySQL 9.0 Please

https://imgur.com/a/zqmJ9aj

and now ?

Edited by Geekbee

Share this post


Link to post
Share on other sites
1 hour ago, Geekbee said:

Of course I have an old version 🤣 MySQL 9.0 Please

https://imgur.com/a/zqmJ9aj

and now ?

You have 8.0 version, should be working as it is, i guess. If not, do the same i said above about SSLMODE.

Share this post


Link to post
Share on other sites
vor 33 Minuten schrieb Xabi:

You have 8.0 version, should be working as it is, i guess. If not, do the same i said above about SSLMODE.

private static String connectionString = "SERVER=" + host + "Port="+ port + "; DATABASE=" + database + "; UID=" + user + "; PASSWORD=" + pass + "; SSLMODE=none;";

and
  
private static String connectionString = "SERVER=" + host + "Port="+ port + "; DATABASE=" + database + "; UID=" + user + "; PASSWORD=" + pass + "; SSLMODE=required;";

same error from last Pic
  
  
  https://imgur.com/a/amU5hKT

 

Share this post


Link to post
Share on other sites
18 hours ago, FedexRight said:

Fix bugs with inventory.

Currently i have other projects on mind, so you can always fix it yourself if you need it done quick.

 

19 hours ago, Geekbee said:
private static String connectionString = "SERVER=" + host + "Port="+ port + "; DATABASE=" + database + "; UID=" + user + "; PASSWORD=" + pass + "; SSLMODE=none;";

and
  
private static String connectionString = "SERVER=" + host + "Port="+ port + "; DATABASE=" + database + "; UID=" + user + "; PASSWORD=" + pass + "; SSLMODE=required;";

same error from last Pic
  
  
  https://imgur.com/a/amU5hKT

 

After setting SSLMODE=none you compiled the project?

Share this post


Link to post
Share on other sites
Gerade eben schrieb Xabi:

Currently i have other projects on mind, so you can always fix it yourself if you need it done quick.

 

After setting SSLMODE=none you compiled the project?

Nope before

Share this post


Link to post
Share on other sites
Just now, Geekbee said:

Nope before

With every server change you have to recompile the gamemode.

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.