Register for your free account! | Forgot your password?

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

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

Advertisement



Invalid Password/Banned/Character Name Already Exists/Registered Messages?

Discussion on Invalid Password/Banned/Character Name Already Exists/Registered Messages? within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
scottdavey's Avatar
 
elite*gold: 0
Join Date: Dec 2006
Posts: 684
Received Thanks: 238
Invalid Password/Banned/Character Name Already Exists/Registered Messages?

Anybody know how I can send these messages?

I kind of fail with the whole packets thing but if someone explained it would be grand.

5017 <-
scottdavey is offline  
Old 05/18/2010, 04:02   #2
 
Arcо's Avatar
 
elite*gold: 0
Join Date: Oct 2009
Posts: 8,765
Received Thanks: 5,291
Which 5017?
Lotf or hybrid's?
Arcо is offline  
Old 05/18/2010, 04:05   #3
 
scottdavey's Avatar
 
elite*gold: 0
Join Date: Dec 2006
Posts: 684
Received Thanks: 238
Quote:
Originally Posted by .Arco View Post
Which 5017?
Lotf or hybrid's?
Lotf.
scottdavey is offline  
Old 05/18/2010, 04:14   #4
 
LetterX's Avatar
 
elite*gold: 20
Join Date: May 2007
Posts: 1,125
Received Thanks: 332
Isn't it the chat packet? o.o
LetterX is offline  
Old 05/18/2010, 04:17   #5
 
Arcо's Avatar
 
elite*gold: 0
Join Date: Oct 2009
Posts: 8,765
Received Thanks: 5,291
Downloading a lotf right now, I'll take a look into it.
Arcо is offline  
Thanks
1 User
Old 05/18/2010, 05:47   #6
 
Sion~'s Avatar
 
elite*gold: 0
Join Date: Oct 2007
Posts: 181
Received Thanks: 68
Quote:
Originally Posted by LetterX View Post
Isn't it the chat packet? o.o
Imi is right it is. Basically you use the chat packet along with your database functions.. You check if the account attempting to log in has the same credentials as in the database if it doesn't exist you send the NEW_ROLE in the LoginInformation (0x835) chat type ect.

Quote:
Originally Posted by .Arco View Post
Downloading a lotf right now, I'll take a look into it.
There's no need to download the source its only a packet.
Sion~ is offline  
Thanks
1 User
Old 05/18/2010, 06:11   #7
 
scottdavey's Avatar
 
elite*gold: 0
Join Date: Dec 2006
Posts: 684
Received Thanks: 238
Quote:
Originally Posted by Sion~ View Post
Imi is right it is. Basically you use the chat packet along with your database functions.. You check if the account attempting to log in has the same credentials as in the database if it doesn't exist you send the NEW_ROLE in the LoginInformation (0x835) chat type ect.



There's no need to download the source its only a packet.
Can you give me an example?

I'm pretty novice..
scottdavey is offline  
Old 05/18/2010, 07:09   #8
 
Sion~'s Avatar
 
elite*gold: 0
Join Date: Oct 2007
Posts: 181
Received Thanks: 68
Well create the packet structure using this .

When you receive the new connection you'll wanna check if the account exist and if it doesn't you send the NEW_ROLE sorta like this:

Code:
if (!getChar.Exists)
                    {
                        Client.Transmit(Packets.Chat.Packet(
                            Enums.ChatType.LoginInformation,
                            "SYSTEM", "ALLUSERS", "NEW_ROLE"),
                            SendType.Game);
                        Xio.PrintInfo("[Xio] New Character from " + Client.Account);
                        return;
                    }
Code:
public GetCharacter(ClientEntity _Client)
        {
            Client = _Client;
            MysqlCommand cmd = new MysqlCommand(CommandType.SELECT);
            cmd.Select("*", "Characters").Where("UID", Client.Identifier);
            cmd.Done();

            bool _exists = false;
            while (cmd.DataReader.Read())
            {
                _exists = true;
                Client.Character.Name = Convert.ToString(cmd.Read("Name"));
                Client.Character.SpouseName = Convert.ToString(cmd.Read("Spouse"));
                Client.Character.Model = (Enums.ModelId)Convert.ToUInt32(cmd.Read("Model"));
                Client.Character.Hair = Convert.ToUInt16(cmd.Read("Hair"));
                Client.Character.Gold = Convert.ToUInt32(cmd.Read("Gold"));
                Client.Character.CP = Convert.ToUInt32(cmd.Read("CP"));
                Client.Character.WarehouseGold = Convert.ToUInt32(cmd.Read("WarehouseGold"));
                Client.Character.Experience = Convert.ToUInt32(cmd.Read("Experience"));
                Client.Character.Strength = Convert.ToUInt16(cmd.Read("Strength"));
                Client.Character.Dexterity = Convert.ToUInt16(cmd.Read("Dexterity"));
                Client.Character.Vitality = Convert.ToUInt16(cmd.Read("Vitality"));
                Client.Character.Spirit = Convert.ToUInt16(cmd.Read("Spirit"));
                Client.Character.StatPoints = Convert.ToUInt16(cmd.Read("StatPoints"));
                Client.Character.HP = Convert.ToUInt16(cmd.Read("HP"));
                Client.Character.MP = Convert.ToUInt16(cmd.Read("MP"));
                Client.Character.PKPoints = Convert.ToUInt16(cmd.Read("PKPoints"));
                Client.Character.Level = Convert.ToByte(cmd.Read("Level"));
                Client.Character.Class = Convert.ToByte(cmd.Read("Class"));
                Client.Character.Reborn = Convert.ToByte(cmd.Read("Reborn"));
                Client.Character.QuizPoints = Convert.ToUInt32(cmd.Read("QuizPoints"));
                Client.Character.Virtue = Convert.ToUInt32(cmd.Read("Virtue"));
                Client.Character.Map = Convert.ToUInt16(cmd.Read("Map"));
                Client.Character.X = Convert.ToUInt16(cmd.Read("X"));
                Client.Character.Y = Convert.ToUInt16(cmd.Read("Y"));
            }
            Exists = _exists;
            cmd.End();
        }
P.S - Here are the chat types:

Code:
public enum ChatType : uint
    {
        Talk = 0x7d0,
        Whisper = 0x7d1,
        Action = 0x7d2,
        Team = 0x7d3,
        Guild = 0x7d4,
        Top = 0x7d5,
        Spouse = 0x7d6,
        Yell = 0x7d8,
        Friend = 0x7d9,
        Broadcast = 0x7da,
        Center = 0x7db,
        Ghost = 0x7dd,
        Service = 0x7de,
        Dialog = 0x834,
        LoginInformation = 0x835,
        VendorHawk = 0x838,
        Website = 0x839,
        MiniMap = 0x83c,
        MiniMap2 = 0x83d,
        FriendsOfflineMessage = 0x83e,
        GuildBulletin = 0x83f,
        TradeBoard = 0x899,
        FriendBoard = 0x89a,
        TeamBoard = 0x89b,
        GuildBoard = 0x89c,
        OthersBoard = 0x89d
    }
Sion~ is offline  
Thanks
1 User
Old 05/18/2010, 07:29   #9
 
scottdavey's Avatar
 
elite*gold: 0
Join Date: Dec 2006
Posts: 684
Received Thanks: 238
(DC was me closing server, not the packet.)

Code:
MyChar.MyClient.SendPacket(General.MyPackets.SendMsg2((long)World.ChatType.LoginInformation, "SYSTEM", "ALLUSERS", "NEW_ROLE", true));
When I test it in a command, the link you sent is for 4267.

I'm 5017, is that the problem?
scottdavey is offline  
Old 05/18/2010, 07:36   #10
 
Sion~'s Avatar
 
elite*gold: 0
Join Date: Oct 2007
Posts: 181
Received Thanks: 68
Quote:
Originally Posted by scottdavey View Post
(DC was me closing server, not the packet.)

Code:
MyChar.MyClient.SendPacket(General.MyPackets.SendMsg2((long)World.ChatType.LoginInformation, "SYSTEM", "ALLUSERS", "NEW_ROLE", true));
When I test it in a command, the link you sent is for 4267.

I'm 5017, is that the problem?
The link I sent you has a layout for the 5017 chat packet as well.

The problem is simple... You're not sending the packet at the correct time (If the dc was you closing the server).. I PM'ed you my info, add me and I'll help you out.

EDIT# I just noticed something..

Code:
[COLOR="Red"]MyChar.MyClient.[/COLOR]SendPacket(General.MyPackets.SendMsg2((long)World.ChatType.LoginInformation, "SYSTEM", "ALLUSERS", "NEW_ROLE", true));
The packet is supposed to be sent from the server to the client.
Sion~ is offline  
Thanks
1 User
Old 05/18/2010, 08:21   #11
 
scottdavey's Avatar
 
elite*gold: 0
Join Date: Dec 2006
Posts: 684
Received Thanks: 238
This is hard to implement in LOTF because the source is fail, if anyone has any solutions please post.
scottdavey is offline  
Old 05/18/2010, 08:36   #12
 
elite*gold: 20
Join Date: Apr 2008
Posts: 2,281
Received Thanks: 912
Use a different source...? lol
kinshi88 is offline  
Old 05/18/2010, 08:39   #13
 
Arcо's Avatar
 
elite*gold: 0
Join Date: Oct 2009
Posts: 8,765
Received Thanks: 5,291
Solution:Hybrids
Arcо is offline  
Old 05/18/2010, 08:57   #14
 
scottdavey's Avatar
 
elite*gold: 0
Join Date: Dec 2006
Posts: 684
Received Thanks: 238
Lol, I've been using this source for a while and did a lot of stuff.

Don't wanna move on just yet.
scottdavey is offline  
Old 05/18/2010, 10:52   #15
 
elite*gold: 20
Join Date: Jan 2008
Posts: 2,338
Received Thanks: 490
Get me @ msn ill do it for u
~Yuki~ is offline  
Thanks
1 User
Reply


Similar Threads Similar Threads
[Rsro]Banned due to invalid name
06/10/2010 - Silkroad Online - 14 Replies
Hey guys i got banned with my 85 wizard the reason is that I had a second low char on it where I stored elexir which had a senseless name. A russian guy pmed me and said that I could contact the rsro support, my question is does someone have experience with that? got an email or an adress or a link how to? and do they speak english? because its annoying that I got banned i bought silk and shit( i know it doesnt save you in rsro) :confused: thx in advance.
Delete Character Password
12/18/2009 - Metin2 Private Server - 6 Replies
Hallo! Ich entschuldige mich für mein schlechtes Deutsch. Ich frage mich, wie es das Kennwort geändert, um ein Zeichen auf einem privaten Server, zu löschen oder wenn es irgendeine by default. Danke
Logging an invalid character XD
07/14/2005 - CO2 Exploits, Hacks & Tools - 150 Replies
Well, this is for you ppl who likes to cheat for fun :D, have fun, i honestly dont think they will fix it atm, so here it is, dont go honor its mine XD 1.-open conquer.exe 2.-open ur favorite packet editor (i personally use copac) 3.-go create a character on ur favorite server choose whatever u want (tro, war, archer or tao), name it whatever u want, do not press ok(unitl now) 4.- press alt + tab, go to ur packet editor and paste this 3C 00 E9 03 < account name> 00 00 00 00 00 00 00 00...
Invalid character specified
05/16/2005 - Ragnarok Online - 0 Replies
i put char 0 as i want to bot my first character... ive tried numbers from 0-9 and making new characters in every available space but still doesnt work.. btw this is in private server
Invalid character specified
05/16/2005 - Final Fantasy XI - 0 Replies
i put char 0 as i wanted to bot my first character... ive tried other numbers 0-9 and making new characters in every available space but still the error occurs.. how do i fix this.? btw this is on private server



All times are GMT +2. The time now is 21:26.


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.