I started to try to change the NewestCOServer database to MySQL. i'm using the MySQLhandler.dll that come with the 5355 Hellmoth Source, i think it is the same that used Elite Co-Emu. but i have a problem when using the INSERT method to create a character, it doesn't insert nothing :c, but i can insert data in other tables, that confused me.
i have this in program.cs
to begin the connection
Code:
MySqlHandler.MySqlArgument arg = new MySqlHandler.MySqlArgument();
arg.User = "root";
arg.Password = "";
arg.Host = "localhost";
arg.Database = "armagedon";
MySqlHandler.Connections.Open(arg);
MySqlHandler.MySqlCommandHandler.TurnOn();
Code:
MySqlHandler.MySqlCommand cmd = new MySqlHandler.MySqlCommand(MySqlHandler.MySqlCommandType.INSERT);
cmd.Insert("test").
Insert("Nombre", "Testing").Execute();
Code:
MySqlCommand cmd = new MySqlCommand(MySqlCommandType.INSERT);
cmd.Insert("players")
.Insert("EntityID", entityID)
.Insert("Account", Account)
.Insert("Character", Name)
.Insert("Avatar", avatar)
.Insert("Body", Body)
.Insert("Hair", Hair)
.Insert("Map", 1010)
.Insert("X", 61)
.Insert("Y", 109)
.Insert("Job", Job)
.Insert("Str", Str)
.Insert("Agi", Agi)
.Insert("Vit", Vit)
.Insert("Spi", Spi)
.Insert("CurHP", HP)
.Insert("CurMP", CurMP)
.Insert("Silvers", 100)
.Insert("WHPassword", WHPassword)
.Insert("Spouse", none)
.Execute();
i hope that someone with more experience can help me with this...
Thanks






