Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Conquer Online 2 > CO2 Private Server > CO2 PServer Guides & Releases
You last visited: Today at 14:09

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

Advertisement



[My first release] How to make a char start with a hair on CoEmu V2 Source.

Discussion on [My first release] How to make a char start with a hair on CoEmu V2 Source. within the CO2 PServer Guides & Releases forum part of the CO2 Private Server category.

Reply
 
Old   #1
 
painkiller199202's Avatar
 
elite*gold: 0
Join Date: May 2008
Posts: 65
Received Thanks: 5
[My first release] How to make a char start with a hair on CoEmu V2 Source.

Well well. This is my first "small release". Most of the npcs are not coded yet. So the npc to change your hairstyle dont work.

Go to GameServer Database.cs and Search for:

Quote:
public static int NewCharacter(string Name, int Mesh, int Class, string Account)
{
if (Mesh == 1003 || Mesh == 1004)
{
Mesh = (Mesh + 10000);
}
else if (Mesh == 2002 || Mesh == 2001)
{
Mesh = (Mesh + 2010000);
}
else
{
//
}
int Hair = 420;

In the int Hair = 420; Change the ID for 410 (And all new characters will start with the normal hairstyle) Or change to another id.

Test it
painkiller199202 is offline  
Thanks
1 User
Old 05/29/2009, 17:17   #2
 
$HaDoW's Avatar
 
elite*gold: 0
Join Date: Sep 2007
Posts: 285
Received Thanks: 78
fixed this 2 days ago xD
$HaDoW is offline  
Old 05/29/2009, 19:37   #3
 
painkiller199202's Avatar
 
elite*gold: 0
Join Date: May 2008
Posts: 65
Received Thanks: 5
xD Its a small release but help alot
painkiller199202 is offline  
Old 05/29/2009, 19:49   #4
 
elite*gold: 0
Join Date: Mar 2009
Posts: 56
Received Thanks: 31
thanks mate. was just trying to get that to work.
~*Dutchess*~ is offline  
Old 05/29/2009, 21:57   #5
 
elite*gold: 0
Join Date: Dec 2007
Posts: 618
Received Thanks: 213
The hair "algorithm" looks like :
Code:
unsigned byte HairColor; //Colors(3-9)
unsigned byte HairStyle; //Styles(20-50)
unsigned byte Hair=Convert.ToByte(HairColor.ToString() + HairStyle.ToString());
alexbigfoot is offline  
Reply


Similar Threads Similar Threads
[Release] CoEmu v2 Source With Talisman And More
03/24/2010 - CO2 PServer Guides & Releases - 63 Replies
i have Add Many thing from guides that already posted here What i add on source? -Talisman -cps Save -Maps Loaded -fix ShopingMail -CP Admin -scrolls
[Release]CoEmu V2 C++ Source
01/02/2010 - CO2 PServer Guides & Releases - 13 Replies
Hello Guys i Writen This Source From Along Time Now Time To Share It DownLoad Link : CoEmu V2 C++ Source Writen By MeGaMaX.rar If You Want It In another lang Just add Me [email protected]
[Release]Talisman in Coemu V2 Source
11/09/2009 - CO2 PServer Guides & Releases - 59 Replies
look Img its works... http://www.elitepvpers.com/forum/attachment.php?at tachmentid=23127&d=1243342272 In game Server Source go to Handles, ItemEquip Search for else if ((ItemID >= 181300 && ItemID <= 192000 || ItemID >= 930000 && ItemID <= 940000) && EquipLocation == 9)//Returns Garment Position {
[Release]NPCs for Coemu V2 source
06/26/2009 - CO2 PServer Guides & Releases - 2 Replies
Post here the Npcs for Coemu Source, thanks for you contribution... case 104839: // BoxerLi PC- TG teleporter { if (LinkBack == 0) { Text("If you are level 20 or above, you may train ub the training ground. Would you like me to teleport you there for 1000 silver.", CSocket); Link("Yes, please.", 1, CSocket); Link("No Thanks.", 255, CSocket);
how to make GM on coemu v2 source
05/29/2009 - CO2 Private Server - 2 Replies
can any 1 tell me how to make account gm on coemu v2 source?:rolleyes:



All times are GMT +2. The time now is 14:09.


Powered by vBulletin®
Copyright ©2000 - 2024, 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 ©2024 elitepvpers All Rights Reserved.