Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Conquer Online 2 > CO2 Private Server
You last visited: Today at 15:14

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



[Question] where is char creation data located?

Discussion on [Question] where is char creation data located? within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Jul 2005
Posts: 157
Received Thanks: 14
[Question] where is char creation data located?

hey i wanna ask where is the char creation data located at?? in which .cs file because i have a copy of kinshi source and it seem that the source dont have a char creation section because when i make a new acc i always get stuck at logging in but when i create the char manually it works so can someone give me some advice on where its located and what to add in please thank you.
vietkidd510 is offline  
Old 09/24/2008, 06:07   #2
 
pegaeu's Avatar
 
elite*gold: 0
Join Date: Mar 2008
Posts: 62
Received Thanks: 6
database.cs i belive
pegaeu is offline  
Old 09/24/2008, 06:47   #3
 
elite*gold: 0
Join Date: Jul 2005
Posts: 157
Received Thanks: 14
but the thing is that i want to know which section is it in what part of the script?
vietkidd510 is offline  
Old 09/24/2008, 06:53   #4
 
elite*gold: 0
Join Date: Sep 2008
Posts: 92
Received Thanks: 21
Quote:
public static bool CreateCharacter(string Name, byte Class, uint Model, uint Avatar, Client UClient)
{
try
{
string str = "0";
string agi = "0";
string vit = "0";
string spi = "0";

if (Class == 10)
{
str = (Stats.ReadValue("Trojan", "Strength[1]"));
agi = (Stats.ReadValue("Trojan", "Agility[1]"));
vit = (Stats.ReadValue("Trojan", "Vitality[1]"));
spi = (Stats.ReadValue("Trojan", "Spirit[1]"));
}
if (Class == 20)
{
str = (Stats.ReadValue("Warrior", "Strength[1]"));
agi = (Stats.ReadValue("Warrior", "Agility[1]"));
vit = (Stats.ReadValue("Warrior", "Vitality[1]"));
spi = (Stats.ReadValue("Warrior", "Spirit[1]"));
}
if (Class == 40)
{
str = (Stats.ReadValue("Archer", "Strength[1]"));
agi = (Stats.ReadValue("Archer", "Agility[1]"));
vit = (Stats.ReadValue("Archer", "Vitality[1]"));
spi = (Stats.ReadValue("Archer", "Spirit[1]"));
}
if (Class == 100)
{
str = (Stats.ReadValue("Taoist", "Strength[1]"));
agi = (Stats.ReadValue("Taoist", "Agility[1]"));
vit = (Stats.ReadValue("Taoist", "Vitality[1]"));
spi = (Stats.ReadValue("Taoist", "Spirit[1]"));
}
string hp = Convert.ToString((short.Parse(vit) * 24 + short.Parse(str) * 3 + short.Parse(agi) * 3 + short.Parse(spi) * 3));
ulong uid = (uint)General.Rand.Next(1000001, 19999999);

try
{
if (DataBase.AllowQuerys)
DataBase.DatabaseQueue.Enqueue(new MySqlCommand("INSERT INTO characters (CharName,Account,Level,Exp,Strength,Agility,Vital ity,Spirit,Job,Model,Money,CPs,CurrentHP,StatPoint s,LocationMap,LocationX,LocationY,UID,Hair,Equipme nt,Inventory,PKPoints,Skills,Profs,RBCount,Avatar, WHMoney,Warehouses,VP,Friends,Enemies,GuildDonatio n,MyGuild,GuildPos,PrevMap) VALUES ('" + Name + "','" + UClient.Account + "',1,0," + str + "," + agi + "," + vit + "," + spi + "," + Class + "," + Model + ",10000,0," + hp + ",0,1010,58,113," + uid + ",410,'','',0,'','',0," + Avatar + ",0,'',0,'','',0,0,0,1010)", Connection));
if (DataBase.AllowQuerys)
DataBase.DatabaseQueue.Enqueue(new MySqlCommand("UPDATE `accounts` SET `LogonType` = 1 WHERE `AccountID` = '" + UClient.Account + "'", Connection));

if (DataBase.AllowQuerys)
DataBase.DatabaseQueue.Enqueue(new MySqlCommand("UPDATE `accounts` SET `Charr` = '" + Name + "' WHERE `AccountID` = '" + UClient.Account + "'", Connection));
}
catch { return false; }

return true;
}
catch (Exception Exc) { General.WriteLine(Convert.ToString(Exc)); return false; }
}
I'm not sure ..
reborn666 is offline  
Old 09/24/2008, 07:46   #5
 
elite*gold: 0
Join Date: Jul 2005
Posts: 157
Received Thanks: 14
ok i just found out that when i log on i hear the trojan weps sounds but still a black screen...
vietkidd510 is offline  
Old 09/24/2008, 07:57   #6
 
_Emme_'s Avatar
 
elite*gold: 1142
Join Date: Aug 2006
Posts: 2,464
Received Thanks: 1,162
copy of kinshis source? huh?
_Emme_ is offline  
Reply


Similar Threads Similar Threads
[Question] Where is top halos located in the 5165 Client?
02/17/2010 - CO2 Private Server - 4 Replies
Title says it all! ^^^^^
[Help] problem with char creation gives all char pm permission
08/16/2009 - CO2 Private Server - 9 Replies
Hi I have an problem when i make an account and log on the server and when I made my char then the database gives my char the permission of an pm. I want to know how I can change that do I need to look into my source or databace pleas help. Im using the normal coemu v2 source
Data.Pak creation
08/09/2008 - Dekaron Exploits, Hacks, Bots, Tools & Macros - 18 Replies
hey guys im kinda new to dekaron and my skills in hacking is lame but i'm a good researcher LOL. alot of people here has a question in how to re-create the data.pak file from the extracted data.pak file. first of all i would like to give credit to darkinc or the one who created that software for unpacking the data.pak file next is im also giving credit to mr. R. wilson for the TUT. here it goes The PAK File Class I think now would be a good time to introduce the PAK class I am going to...
whre is map data located?
04/13/2008 - Dekaron - 1 Replies
can someone tell me where the map is located in data pak? Or give me the offset for maps..



All times are GMT +1. The time now is 15:17.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.