There's two parts you need to edit, the displayed price and the actual price.
First go to db > Database.cs and search for every instance of "nextcharslotprice = 0"
Change each of the 0's to your price, this will change the price display.
After that go to server > account > purchaseCharSlot.cs
First look for this piece of code:
Code:
var cmd = db.CreateQuery();
cmd.CommandText = "SELECT gold FROM stats WHERE accId=@accId;";
cmd.Parameters.AddWithValue("@accId", acc.AccountId);
if ((int)cmd.ExecuteScalar() < 0)
status = Encoding.UTF8.GetBytes("<Error>Not enough fame</Error>");
Change the 0 to whatever price you want it.
After that, look for this piece of code
Code:
cmd = db.CreateQuery();
cmd.CommandText = "UPDATE stats SET gold = gold - 0 WHERE accId=@accId";
cmd.Parameters.AddWithValue("@accId", acc.AccountId);
Change the 0 here too, and it should be working.
Also, it might not be exactly the same, because I already edited my purchaseCharSlot, so if something doesn't seem exactly the same, all you need to change is the numbers, make sure you don't change any other 0's than the ones I described.