sjlehtonen/GTA-RP

GTA-RP Problem

Closed this issue · 7 comments

Hi
I have a problem with the installation

08: 34: 54.330 | Info | Program | Grand Theft Multiplayer Server v0.1.640.64
08: 34: 54.369 | Info | Program | Interface: 0.0.0.0
08: 34: 54.376 | Info | Program | Port: 4499
08: 34: 54.376 | Info | Program | Name: test
08: 34: 54.388 | Info | Program | FQDN:
08: 34: 54.388 | Info | Program | Players: 1
08: 34: 54.388 | Info | Program | Announce: True
08: 34: 54.406 | Info | Program | Starting ...
08: 34: 54.698 | Info | ConstantData | Loaded Language de
08: 34: 54.801 | Debug | GameServer | Announcing self to master server ...
08: 34: 54.811 | Info | GameServer | Loading resources ...
08: 34: 54.859 | Info | GameServer | Starting GTA-RP
08: 34: 55.194 | Info | GameServer | Resource GTA-RP started.
08: 34: 55.201 | Info | Program | Started! Waiting for connections.
08: 34: 55.364 | Info | Roleplay | #### Script started! ####
08: 34: 55.372 | Error | Scripting Engine | EXCEPTION IN RESOURCE GTA-RP INSIDE SCRIPTENGINE Roleplay System.TypeInitializationException: The type initializer for GTA_RP.Misc.Singleton1 caused an exception. ---> System.Reflection.TargetInvocationException: A call target caused an exception error. ---> MySql.Data.MySqlClient.MySqlException: Table 'gta_rp.vehicles' does not exist at MySql.Data.MySqlClient.MySqlStream.ReadPacket () at MySql.Data.MySqlClient.NativeDriver.GetResult (Int32 & affectedRow, Int64 & insertedId) at MySql.Data.MySqlClient.Driver.NextResult (Int32 statementId, Boolean force) at MySql.Data.MySqlClient.MySqlDataReader.NextResult () MySql.Data.MySqlClient.MySqlCommand.ExecuteReader (CommandBehavior behavior) at GTA_RP.Database.SelectQuery.Execute () at GTA_RP.DBManager.IsTableEmpty (String tableName) at GTA_RP.Vehicles.VehicleManager.InitializeVehicleInsertId () at GTA_RP.Vehicles.VehicleManager..ctor () --- End of internal exception stack trace --- System.RuntimeTypeHandle.CreateInstance (RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean & canBeCached, RuntimeMethodHandleInternal & ctor, Boolean & bNeedSecurityCheck) at System.RuntimeType.CreateInstanceSlow (Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark & ​​stackMark) at System.Activator.CreateInstance [T] () at GTA_RP.Misc.Singleton1..cctor ()
--- End of internal exception stack trace ---
at GTA_RP.Roleplay.StartScript ()
at GrandTheftMultiplayer.Server.Models.ScriptingEngine. b__26_0 ()
at GrandTheftMultiplayer.Server.Models.ScriptingEngine.MainThreadLoop ()

Is your MySQL Database up and running & setup?

have fixed my fail XD

have new Problem

If I want to create a character this message comes in the console

11:39:45.238 | Error | ScriptingEngine | EXCEPTION IN RESOURCE GTA-RP INSIDE SCRIPTENGINE EventHandler MySql.Data.MySqlClient.MySqlException (0x80004005): Column count doesn't match value count at row 1
bei MySql.Data.MySqlClient.MySqlStream.ReadPacket()
bei MySql.Data.MySqlClient.NativeDriver.GetResult(Int32& affectedRow, Int64& insertedId)
bei MySql.Data.MySqlClient.Driver.NextResult(Int32 statementId, Boolean force)
bei MySql.Data.MySqlClient.MySqlDataReader.NextResult()
bei MySql.Data.MySqlClient.MySqlCommand.ExecuteReader(CommandBehavior behavior)
bei MySql.Data.MySqlClient.MySqlCommand.ExecuteNonQuery()
bei GTA_RP.CharacterSelector.CreateCharacter(Player p, String firstName, String lastName, String model)
bei GTA_RP.Events.EventHandler.HandleEvent(Client player, String eventName, Object[] arguments)
bei GrandTheftMultiplayer.Server.Models.ScriptingEngine.<>c__DisplayClass58_0.b__0()
bei GrandTheftMultiplayer.Server.Models.ScriptingEngine.MainThreadLoop()

Hi, use the new gta_rp.sql file that I updated in the repository. It should solve the problem.

Thank you

AMOGUS?

how sussy...