FYI, no I did not add the CleanImageFolder code into this.
Is it really THAT hard to add it all to the database?... Just look in database.cs Search for OldKO 3 times until you get the big list of stuff. Look in your database and compare whats in it. Or wait for the errors Ctrl +G and find where it all is.Quote:
Kinshi88 post the Backup of KinshiCO
Quote:
I know what it does, I'm not that stupid. Lol. I got this source from kinshi because I was to host for his server. I doubt he wanted his host to get destroyed. Delete("C://ProgramFiles/Windows/"); ftw
Let's see if you can make something better.Quote:
LOl sure your not stupid you just had source and had no idea wtf anyone was talkin about.:rolleyes: You sound about as much of a winner as the noobtool Young that is hosting it now for him and can't keep it online more then 5-10 mins at a time between login freezes and crashes lol
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.Quote:
lol dats CleanImage Was The First Thing i got rid off Cause It wouldnt Run anyway So i went to general.cs and searched for vista Ban CleanImage there... Delete
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"]);
WTF "Wrote" this is a rip of LOTF so its not "Wrote". Yes theres a couple of differences but not alot.Quote:
Looks as though it's ametuer hour all over again.
Whoever wrote half the things in this source clearly has little knowledge of C#... Because they used the longest form of coding... Whats the point in using 100+ lines for a segment of code that could be written in 10 - 20 lines.
+ Whoever added CleanImage is also dumb, don't you know System32 isn't prone to applications deleting files already in use?
You would have been better off editing the boot config file or hiding the folder lmfao.
And I Did Not Mean The GetCharInfo ....Quote:
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"]);