|
||
|
|||||||
| Server Support on Windows Get (and give) support on general questions related to the RunUO server itself. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 (permalink) |
|
Newbie
Join Date: Jun 2007
Age: 23
Posts: 39
|
Hello Guys !
As you see I got MyRunUO working on my server... (A lot of work since I do not know MySQL) Code:
RunUO - [www.runuo.com] Version 2.0, Build 2357.32527 Core: Running on .NET Framework Version 2.0.50727 Scripts: Compiling C# scripts...done (cached) Scripts: Compiling VB.NET scripts...no files found. Scripts: Verifying...done (3036 items, 592 mobiles) Regions: Loading...done World: Loading...done (118375 items, 2634 mobiles) (8,49 seconds) Xanthos.Utilities.ConfigParser attempting to load Data/AuctionConfig.xml... Xanthos.Utilities.ConfigParser success! Pandora is listening on port 8035 - BoxServer version 0.3 Address: 127.0.0.1:2593 Address: xxxxxxxxxxx:2593 Address: xxxxxxx:2593 Warning: 25 bad spawns detected, logged: 'badspawn.log' Sistema de Loteria atualizando... MyRunUO: Updating character database MyRunUO: Database statements compiled in 1,47 seconds MyRunUO: Updating status database MyRunUO: Characeter database updated in 9,4 seconds MyRunUO: Status database updated in 2,6 seconds But, when there is a player logged I have a ERROR in the STATUS database! Code:
MyRunUO: Updating status database MyRunUO: Exception caught in database thread System.Data.Odbc.OdbcException: ERROR [HY000] [MySQL][ODBC 3.51 Driver][mysqld-4 .1.22-standard]Contagem de colunas não confere com a contagem de valores na linh a 1 at System.Data.Odbc.OdbcConnection.HandleError(OdbcHandle hrHandle, RetCode r etcode) at System.Data.Odbc.OdbcCommand.ExecuteReaderObject(CommandBehavior behavior, String method, Boolean needReader, Object[] methodArguments, SQL_API odbcApiMet hod) at System.Data.Odbc.OdbcCommand.ExecuteReaderObject(CommandBehavior behavior, String method, Boolean needReader) at System.Data.Odbc.OdbcCommand.ExecuteNonQuery() at Server.Engines.MyRunUO.DatabaseCommandQueue.Thread_Start() MyRunUO: Status database updated in 2,4 seconds Here is the structure of the table STATUS: Code:
CREATE TABLE myrunuo_status ( char_id Int(12) UNSIGNED, char_location VARCHAR(14), char_map VARCHAR(8), char_karma Int(6), char_fame Int(6)); |
|
|
|
|
|
#2 (permalink) |
|
Newbie
Join Date: Jun 2007
Age: 23
Posts: 39
|
I am not bumping IT !
Just posting a reply for those in future have the same error as me! The problem is that devs removed some stuff from original MyRunUO! I just dont know why ! here is how to solve it: Find the line that starts with: Code:
m_Command.Enqueue(String.Format("INSERT INTO myrunuo_status
Code:
m_Command.Enqueue(String.Format("INSERT INTO myrunuo_status (char_id, char_location, char_map, char_Karma, char_fame) VALUES ({0},'{1},{2},{3}','{4}',{5},{6})", mob.Serial.Value.ToString(), mob.X.ToString(), mob.Y.ToString(), mob.Z.ToString(), mob.Map, mob.Karma, mob.Fame));
|
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|