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:07

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

Advertisement



[Release] CoEmu v2 Client Create Char Fix

Discussion on [Release] CoEmu v2 Client Create Char Fix within the CO2 PServer Guides & Releases forum part of the CO2 Private Server category.

Reply
 
Old   #1
 
t_dubble_uu's Avatar
 
elite*gold: 0
Join Date: Jan 2009
Posts: 267
Received Thanks: 181
[Release] CoEmu v2 Client Create Char Fix

Im not sure if this had been released yet i didnt find anything when i searched so here it is.

This will fix the bug when u make a char and get the "Characted created! Please hit back twice and then re-log in to the game!" message. It will now show the login bar and auto send u back to the login page.

In GameServer/Handlers/NewCharacter.cs

Find
Code:
int CharID = Database.Database.NewCharacter(Name, Mesh, Class, CSocket.AccountName);
if(CharID > -1)
{
    CSocket.Send(ConquerPacket.Chat(0, "SYSTEM", "ALLUSERS", "Characted created! Please hit back twice and then re-log in to the game!", Struct.ChatType.Dialog));
    CSocket.Disconnect();
}
Replace with
Code:
int CharID = Database.Database.NewCharacter(Name, Mesh, Class, CSocket.AccountName);
if (CharID > -1)
{
    CSocket.Send(ConquerPacket.Chat(0, "SYSTEM", "ALLUSERS", "ANSWER_OK", Struct.ChatType.Dialog));
    //CSocket.Disconnect();
}
else
{
    Console.WriteLine("CharID: " + CharID);
    //CSocket.Disconnect();
}
t_dubble_uu is offline  
Thanks
4 Users
Old 11/28/2009, 03:47   #2
 
-Shunsui-'s Avatar
 
elite*gold: 0
Join Date: Apr 2008
Posts: 1,152
Received Thanks: 321
nice release
-Shunsui- is offline  
Old 11/28/2009, 03:51   #3
 
airborne.'s Avatar
 
elite*gold: 0
Join Date: Nov 2009
Posts: 256
Received Thanks: 63
ty
airborne. is offline  
Old 11/28/2009, 07:40   #4
 
t_dubble_uu's Avatar
 
elite*gold: 0
Join Date: Jan 2009
Posts: 267
Received Thanks: 181
your both welcome. Ive got almost all the features coded trade partners, locked items, mentor, mining, old style pk system and soc chance, gw, all skills, attack types and all that **** but i wont use most of it cause im turning this server into a 1.0 version
t_dubble_uu is offline  
Thanks
1 User
Old 11/28/2009, 08:27   #5
 
Dr.And♥'s Avatar
 
elite*gold: 0
Join Date: Nov 2009
Posts: 23
Received Thanks: 4
Quote:
Originally Posted by t_dubble_uu View Post
your both welcome. Ive got almost all the features coded trade partners, locked items, mentor, mining, old style pk system and soc chance, gw, all skills, attack types and all that **** but i wont use most of it cause im turning this server into a 1.0 version
Nice! ;D
Dr.And♥ is offline  
Old 11/28/2009, 12:09   #6
 
hunterman01's Avatar
 
elite*gold: 20
Join Date: Dec 2006
Posts: 945
Received Thanks: 175
Oh to your signature "dark angel"

I doubt it
hunterman01 is offline  
Reply


Similar Threads Similar Threads
[Release]Real Client of Coemu V2
04/23/2020 - CO2 PServer Guides & Releases - 29 Replies
Real client of Coemu ... Download informations : Filename: Coemu Client.rar File size: 400.5 MB Download Link : MEGAUPLOAD - The leading online storage and file delivery service Give me Tranks?? :handsdown:
Create [GM] char
07/23/2009 - Private Server - 0 Replies
ok guys i have unpacked and ollydbg what i have to edit in dekaron.exe so i can create GM CHAR ?
Help How to create a server dat COEmu V2
06/27/2009 - CO2 Private Server - 1 Replies
How to creeate good server.dat?<?xml version="1.0"?> <mysqldump xmlns:xsi="http://www.w3.org/2001/XMLSchema-i nstance"> <database name="cq2"> <table_structure name="outenserver"> <field Field="id" Type="smallint(1) unsigned zerofill" Null="NO" Key="PRI" Default="0" Extra="" /> <field Field="ServerName" Type="varchar(32)" Null="YES" Key="" Extra="" /> <field Field="ServerIP" Type="varchar(15)" Null="YES" Key="" Extra="" /> <field Field="ServerPort" Type="int(1) unsigned"...
[My first release] How to make a char start with a hair on CoEmu V2 Source.
05/29/2009 - CO2 PServer Guides & Releases - 4 Replies
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: 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 :)



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


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