Register for your free account! | Forgot your password?

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

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

Advertisement



God damn it what to code..?

Discussion on God damn it what to code..? within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
_DreadNought_'s Avatar
 
elite*gold: 28
Join Date: Jun 2010
Posts: 2,225
Received Thanks: 868
*** **** it what to code..?

:/

Any good/cool ideas?
_DreadNought_ is offline  
Old 04/06/2011, 20:32   #2

 
Kiyono's Avatar
 
elite*gold: 20
Join Date: Jun 2006
Posts: 3,296
Received Thanks: 925
Selector system from CoEmu and make it work.
Kiyono is offline  
Old 04/06/2011, 20:34   #3
 
_DreadNought_'s Avatar
 
elite*gold: 28
Join Date: Jun 2010
Posts: 2,225
Received Thanks: 868
No idea what it even is.

Explain?
_DreadNought_ is offline  
Old 04/06/2011, 20:43   #4

 
Kiyono's Avatar
 
elite*gold: 20
Join Date: Jun 2006
Posts: 3,296
Received Thanks: 925
I'm not sure about myself, lol
But I think I know what it was supposed to be.
Conquer accounts usually have 1 character per account, Take another game, say WoW, you can have multiple characters linked to your account.
The selector system does that. When you log-in, you appear in an empty map. The character you control is naked and there are x amount of characters on the screen (x = how many characters you have linked to your account).
The idea is you can select a character by attacking the character you want to choose and it loads that character.
I know I explained it on a ****** way but w/e.
Kiyono is offline  
Old 04/06/2011, 20:52   #5
 
elite*gold: 0
Join Date: Nov 2010
Posts: 1,162
Received Thanks: 370
Quote:
Originally Posted by Kiyono View Post
I'm not sure about myself, lol
But I think I know what it was supposed to be.
Conquer accounts usually have 1 character per account, Take another game, say WoW, you can have multiple characters linked to your account.
The selector system does that. When you log-in, you appear in an empty map. The character you control is naked and there are x amount of characters on the screen (x = how many characters you have linked to your account).
The idea is you can select a character by attacking the character you want to choose and it loads that character.
I know I explained it on a ****** way but w/e.
Wow that's ******* sick.
Syst3m_W1z4rd is offline  
Old 04/06/2011, 21:11   #6
 
© Haydz's Avatar
 
elite*gold: 20
Join Date: Jan 2008
Posts: 1,042
Received Thanks: 252
I feel old after reading this thread. . .

Code:
_client.Status = Mode.Staging;

                    //The client should be ready to receive other people
                    _client.StagingChars = BackendDB.GetChars(_client.Account);
                    int Level = 1;
                    double Rads = 0;
                    double RadsStep = 0;
                    int LevelMod = 3;
                    int LevelCount = 0;
                    int CurrentLvlMax = 3;
                    int Count = 0;
                    double MaxRads = Math.PI * 5 / 4;
                    double Offset = -3 * Math.PI / 8;
                    double LengthOffset = 1;
                    double LengthPerLvl = 2;
                    Location CurrentLoc;


                    while (Count < _client.StagingChars.Length)
                    {
                        RadsStep = MaxRads / (CurrentLvlMax + 1);
                        Rads = RadsStep;
                        while (LevelCount < CurrentLvlMax && Count < _client.StagingChars.Length) //Build the level
                        {
                            //CurrentLoc.X = (int)(-((LengthOffset + (LengthPerLvl * Level)) * Math.Cos(Rads + Offset)) + World.StagingLoc.X);
                            //CurrentLoc.Y = (int)(-((LengthOffset + (LengthPerLvl * Level)) * Math.Sin(Rads + Offset)) + World.StagingLoc.Y);
                            //_client.StagingChars[Count].CurrentLoc = CurrentLoc;
                            _client.StagingChars[Count].CharID += 0x00120000;
                            _client.Char = BackendDB.GetFullChar((uint)(_client.StagingChars[Count].CharID) - 0x00120000);
                            if (_client.Char.HP < 1)
                            {
                                _client.Char.HP = 1;
                                World.RevivePoint(_client);
                            }
                            if (_client.Char.Map == World.Maps.Market || _client.Char.Map == World.Maps.Arena || _client.Char.Map == World.Maps.playground)
                            {
                                _client.Char.Map = World.Maps.TwinCity;
                                _client.Char.CurrentLoc = new Location(438, 377);
                            }
                            if (_client.Char.Map == World.Maps.mineone)
                            {
                                _client.Char.Map = World.Maps.PhoenixCastle;
                                _client.Char.CurrentLoc = new Location(195, 268);
                            }
                            _client.SendData(PacketBuilder.The89(_client.Char));
                            _client.Char.CharID += 0x00120000;
                            _client.Char._Client = _client;
                            if (World.ClientHash.Contains(_client.StagingChars[Count].CharID))
                            {
                                World.DropClient(((COClient)(World.ClientHash[_client.StagingChars[Count].CharID])), "Client logged on from another location.");
                                ((COClient)(World.ClientHash[_client.StagingChars[Count].CharID])).Sock.Shutdown(System.Net.Sockets.SocketShutdown.Send);
                            }
                            World.ClientHash.Add(_client.Char.CharID, _client);
                            World.SpawnCharacter(_client);
                            World.SendEquipment(_client, 1);
                            _client.Status = Mode.World;
                            byte[] Outgoing = PacketBuilder.CharacterInfo(_client.Char);
                            _client.SendData(Outgoing);
                            byte[] Reply = PacketBuilder.TheA4(_client.Char);
                            _client.SendData(Reply);
                            byte[] Reply2 = PacketBuilder.The5604(_client.Char);
                            _client.SendData(Reply2);

                            _client.StagingChars[Count].CharID += 0x00120000;
                            _client.Crypto.Encrypt(ref Outgoing);
                            _client.Sock.Send(Outgoing);
                            Rads += RadsStep;
                            LevelCount++;
                            Count++;
                        }
                        LevelCount = 0;
                        CurrentLvlMax += LevelMod;
                        Level++;

                    }
© Haydz is offline  
Old 04/06/2011, 22:11   #7
 
_DreadNought_'s Avatar
 
elite*gold: 28
Join Date: Jun 2010
Posts: 2,225
Received Thanks: 868
Defiantly an idea to look into.
Possibly a npc to select a character for the time being.

Creating a new character shouldn't be too hard on character selector(npc..) create a new character... Logged out and upon next login you create a new character.

On the list considering coding that.

Any other ideas?
_DreadNought_ is offline  
Old 04/07/2011, 01:13   #8


 
Korvacs's Avatar
 
elite*gold: 20
Join Date: Mar 2006
Posts: 6,126
Received Thanks: 2,518
Extremely easy to do the selector is, almost got around to doing it in fusion origins but never found the time.
Korvacs is offline  
Old 04/08/2011, 09:11   #9
 
|NeoX's Avatar
 
elite*gold: 0
Join Date: Nov 2010
Posts: 237
Received Thanks: 99
Had it on my last server.

@OP: How about something that acctually works this time? xD
|NeoX is offline  
Old 04/08/2011, 14:13   #10
 
elite*gold: 0
Join Date: Nov 2010
Posts: 1,162
Received Thanks: 370
Quote:
Originally Posted by |NeoX View Post
Had it on my last server.

@OP: How about something that acctually works this time? xD
I want a brain that works.
Syst3m_W1z4rd is offline  
Old 04/09/2011, 12:49   #11
 
860021200's Avatar
 
elite*gold: 0
Join Date: Mar 2008
Posts: 498
Received Thanks: 149
hahaha wiz just got owned with his 1.180 posts
860021200 is offline  
Reply


Similar Threads Similar Threads
Damn!!!
11/13/2009 - CO2 Private Server - 5 Replies
hey guy's i'v make a new pserver on binary but next time i had a shit problem in promation in a few day's it dosn't work :mad: any one have a good binary please View here....thxx for help...



All times are GMT +1. The time now is 20:50.


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.