|
You last visited: Today at 20:50
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.
04/06/2011, 20:23
|
#1
|
elite*gold: 28
Join Date: Jun 2010
Posts: 2,225
Received Thanks: 868
|
*** **** it what to code..?
:/
Any good/cool ideas?
|
|
|
04/06/2011, 20:32
|
#2
|
elite*gold: 20
Join Date: Jun 2006
Posts: 3,296
Received Thanks: 925
|
Selector system from CoEmu and make it work.
|
|
|
04/06/2011, 20:34
|
#3
|
elite*gold: 28
Join Date: Jun 2010
Posts: 2,225
Received Thanks: 868
|
No idea what it even is.
Explain?
|
|
|
04/06/2011, 20:43
|
#4
|
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.
|
|
|
04/06/2011, 20:52
|
#5
|
elite*gold: 0
Join Date: Nov 2010
Posts: 1,162
Received Thanks: 370
|
Quote:
Originally Posted by Kiyono
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.
|
|
|
04/06/2011, 21:11
|
#6
|
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++;
}
|
|
|
04/06/2011, 22:11
|
#7
|
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?
|
|
|
04/07/2011, 01:13
|
#8
|
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.
|
|
|
04/08/2011, 09:11
|
#9
|
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
|
|
|
04/08/2011, 14:13
|
#10
|
elite*gold: 0
Join Date: Nov 2010
Posts: 1,162
Received Thanks: 370
|
Quote:
Originally Posted by |NeoX
Had it on my last server.
@OP: How about something that acctually works this time? xD
|
I want a brain that works.
|
|
|
04/09/2011, 12:49
|
#11
|
elite*gold: 0
Join Date: Mar 2008
Posts: 498
Received Thanks: 149
|
hahaha wiz just got owned with his 1.180 posts
|
|
|
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.
|
|