Quote:
Originally Posted by AngelusInkubus
I don't even know how to code in C# yet and i've figured it out that i must delete that part of the code LOL.
Haydz is right, not everyone runs windows on C: and why it would have an appointment to a folder inside the code if it reads the config.ini to connect?
Anyway, releasing work from other people isn't nice, this guy couldn't even change the console name of the server... Even I could do that... Geez.
BTW, fields for character table :
Code:
Charr.UID = (uint)DR["UID"];
Charr.Name = (string)DR["CharName"];
Charr.Job = Convert.ToByte((uint)DR["Job"]);
Charr.Level = Convert.ToByte((uint)DR["Level"]);
Charr.Exp = (uint)DR["Exp"];
Charr.Model = Convert.ToUInt16((uint)DR["Model"]);
Charr.Avatar = Convert.ToUInt16((uint)DR["Avatar"]);
Charr.Hair = Convert.ToUInt16((uint)DR["Hair"]);
Charr.LocX = Convert.ToUInt16((uint)DR["LocationX"]);
Charr.LocY = Convert.ToUInt16((uint)DR["LocationY"]);
Charr.LocMap = Convert.ToUInt16((uint)DR["LocationMap"]);
Charr.Str = Convert.ToUInt16((uint)DR["Strength"]);
Charr.Agi = Convert.ToUInt16((uint)DR["Agility"]);
Charr.Vit = Convert.ToUInt16((uint)DR["Vitality"]);
Charr.Spi = Convert.ToUInt16((uint)DR["Spirit"]);
Charr.Silvers = (uint)DR["Money"];
Charr.CPs = (uint)DR["CPs"];
Charr.CurHP = Convert.ToUInt16((uint)DR["CurrentHP"]);
Charr.PKPoints = Convert.ToUInt16((uint)DR["PKPoints"]);
Charr.RBCount = Convert.ToByte((uint)DR["RBCount"]);
Charr.PackedInventory = (string)DR["Inventory"];
Charr.PackedEquips = (string)DR["Equipment"];
Charr.PackedSkills = (string)DR["Skills"];
Charr.PackedProfs = (string)DR["Profs"];
Charr.WHSilvers = (uint)DR["WHMoney"];
Charr.PackedWHs = (string)DR["Warehouses"];
Charr.PackedFriends = (string)DR["Friends"];
Charr.PackedEnemies = (string)DR["Enemies"];
Charr.VP = (uint)DR["VP"];
Charr.GuildDonation = (uint)DR["GuildDonation"];
Charr.GuildID = Convert.ToUInt16((uint)DR["MyGuild"]);
Charr.GuildPosition = Convert.ToByte((uint)DR["GuildPos"]);
Charr.PrevMap = Convert.ToUInt16((uint)DR["PrevMap"]);
if (Guilds.AllGuilds.Contains(Charr.GuildID))
Charr.MyGuild = (Guild)Guilds.AllGuilds[Charr.GuildID];
Charr.MinAtk = Charr.Str;
Charr.MaxAtk = Charr.Str;
Charr.Potency = Charr.Level;
Charr.RealModel = Charr.Model;
Charr.RealAvatar = Charr.Avatar;
Charr.MaxHP = Charr.BaseMaxHP();
Charr.RealAgi = Charr.Agi;
Charr.QuestKO = Convert.ToUInt16((uint)DR["QuestKO"]);
Charr.QuestMob = (string)DR["QuestMob"];
Charr.QuestFrom = (string)DR["QuestFrom"];
Charr.KO = Convert.ToUInt16((uint)DR["KO"]);
Charr.OldKO = Convert.ToUInt16((uint)DR["OldKO"]);
Charr.ClaimPrize = Convert.ToUInt16((uint)DR["ClaimPrize"]);
Charr.Prize = (string)DR["Prize"];
Charr.WHPW = (string)DR["WHPW"];
Charr.WHPWcheck = Convert.ToUInt16((uint)DR["WHPWcheck"]);
Charr.CardPoints = Convert.ToUInt16((uint)DR["CardPoints"]);
Charr.StatP = Convert.ToUInt16((uint)DR["StatPoints"]);
Charr.OTGSubTotal = (string)DR["OfflineTG"];
Charr.OfflineTG = (string)DR["OTGBool"];
Charr.LuckTime = (uint)DR["LuckyTime"];
Charr.DExp2 = (uint)DR["DoubleExp"];
Charr.BlessingEnd = (string)DR["HeavenBless"];
Charr.PrayStone = (byte)DR["PrayStone"];
Charr.Spouse = (string)DR["Spouse"];
if ((string)DR["VIPClaimDate"] != "")
Charr.VIPClaimDateS = (string)DR["VIPClaimDate"];
Charr.CurseTime = Convert.ToUInt32((uint)DR["CurseTime"]);
Charr.DisKO = Convert.ToUInt16((uint)DR["DisKo"]);
Charr.DisToKill = Convert.ToUInt16((uint)DR["DisToKill"]);
|
And I Did Not Mean The GetCharInfo ....
I ment The Character table In Backup Of It ...............
And How To hell Did You figure Out That i Did Not Delete The CleanImage ....
Look I did run the server So its Obvious I Deleted CleaImage ...
Then Just Posted there my Prob (cause idk how the DataBase Tables Works so...)
Wow Smart One And How To Hell Blessings Gonna work Without Tables In Database? Of Course You Can Delete it... But then You wont be able to save LT Bless Exp Pot Otg And So on
And Did You Say That I Can Not change the console Title Name ...? I know A Basics Of C# at least i can code Commands(The Simple Ones)