[Dev][PVP]ProjectX - Patch 5517+ - No ninjas/monks

02/17/2012 00:52 _DreadNought_#46
Quote:
Originally Posted by I don't have a username View Post
Cool and I won't need any help really.
i will be there sure...Nice project.Any help I am C# Coder

Going to say no to me too? :(
02/17/2012 07:12 I don't have a username#47
Quote:
Originally Posted by _DreadNought_ View Post
i will be there sure...Nice project.Any help I am C# Coder

Going to say no to me too? :(
You already helped :P
02/17/2012 08:49 chickmagnet#48
can i help too i can bang your girl to motivate ya i could do other things too but thas only option im sticking to
02/17/2012 08:55 I don't have a username#49
Quote:
Originally Posted by chickmagnet View Post
can i help too i can bang your girl to motivate ya i could do other things too but thas only option im sticking to
For a pizza and 2 cheese burgers.
02/17/2012 10:42 chickmagnet#50
Quote:
Originally Posted by I don't have a username View Post
For a pizza and 2 cheese burgers.
damn only have a half eaten burger your prices are too high sir

lol onto topic its beast btw hows things comin along? wit all these pics im seein its lookin like ready to play:rolleyes:
02/17/2012 10:45 I don't have a username#51
Quote:
Originally Posted by chickmagnet View Post
damn only have a half eaten burger your prices are too high sir

lol onto topic its beast btw hows things comin along? wit all these pics im seein its lookin like ready to play:rolleyes:
It is ready to play, only got some very few things to add. Things have been tested and bugs have been fixed and so. As of now we're almost ready to set sail.
02/17/2012 16:53 _DreadNought_#52
Quote:
Originally Posted by I don't have a username View Post
You already helped :P
How exactly? lolol
02/17/2012 18:17 I don't have a username#53
Quote:
Originally Posted by _DreadNought_ View Post
How exactly? lolol
When I have asked questions and so you have already answered and your source has inspired a thing or two :P
02/17/2012 19:08 _DreadNought_#54
Quote:
Originally Posted by I don't have a username View Post
When I have asked questions and so you have already answered and your source has inspired a thing or two :P
Was one of those things a class for a Tournament team? o.O

Code:
TournamentTeam Red = new TournamentTeam(500);
Go me! woot.
02/17/2012 19:33 I don't have a username#55
Quote:
Originally Posted by _DreadNought_ View Post
Was one of those things a class for a Tournament team? o.O

Code:
TournamentTeam Red = new TournamentTeam(500);
Go me! woot.
Not really that, I had that before I even had your source :P But a team shouldn't be done with a fixed size, rather a collection.

This is how my Tournament team class looks.
Code:
 public class TournamentTeam
    {
        public TournamentTeam(uint MapID, string Name)
        {
            this.MapID = MapID;
            this.Name = Name;
            Reset();
        }
        public string Name;
        private uint MapID;
        private ThreadSafeList<Player> Players;

        public TournamentGarment Garment;
        private ushort[] spawn = new ushort[2];
        public uint Points;
        public uint Kills;
        public bool Send;
        public int Count
        {
            get
            {
                return Players.Count;
            }
        }
        public ushort[] Spawn
        {
            get
            {
                return spawn;
            }
        }
        public void Reset()
        {
            Players = new ThreadSafeList<Player>();
            Points = 0;
            Kills = 0;
            Send = false;
        }
        public void Add(Player player)
        {
            if (player != null)
                Players.Add(player);
        }
        public void Remove(Player player)
        {
            if (Players.Contains(player))
                Players.Remove(player);

            player.TournyClient.Reset();
        }
        public Player[] GetPlayers()
        {
            ThreadSafeList<Player> newPlayerList = new ThreadSafeList<Player>();
            foreach (Player player in Players)
            {
                if (player != null)
                {
                    if (player.Online)
                    {
                        if (player.MapID == MapID || !Send)
                        {
                            newPlayerList.Add(player);
                        }
                        else
                            player.Disconnect(true);
                    }
                }
            }
            Players = newPlayerList;

            return Players.ToArray();
        }
        public void TeleportToSpawn()
        {
            foreach (Player player in GetPlayers())
            {
                player.SpecClient.Teleport(MapID, Spawn[0], Spawn[1]);
            }
            Send = true;
        }
        public void TeleportToSpawn(Player player)
        {
            if (player != null)
            {
                player.SpecClient.Teleport(MapID, Spawn[0], Spawn[1]);
            }
        }
        public void Dismiss()
        {
            foreach (Player player in GetPlayers())
            {
                player.SpecClient.Teleport(1002, 400, 400);
                if (Players.Contains(player))
                    Players.Remove(player);
            }
        }
    }
02/17/2012 19:58 IDivideByZero#56
looking forward to it, i really am.

finding anything decent to fb at and remind selfs of good times for a week or two is nearly impossible nowadays, so i really wish you luck. btw. where is it going to be hosted and when may i expect it to become online, exactly?
02/17/2012 20:05 I don't have a username#57
Quote:
Originally Posted by IDivideByZero View Post
looking forward to it, i really am.

finding anything decent to fb at and remind selfs of good times for a week or two is nearly impossible nowadays, so i really wish you luck. btw. where is it going to be hosted and when may i expect it to become online, exactly?
That's great :)!

1: It will be hosted in Europe, either UK or Netherlands.
2: In the start of March :)
02/17/2012 20:14 IDivideByZero#58
dang, i thought i could convince u to release it before but meh. good luck and definitely netherlands ;D
02/17/2012 20:16 I don't have a username#59
Quote:
Originally Posted by IDivideByZero View Post
dang, i thought i could convince u to release it before but meh. good luck and definitely netherlands ;D
Still got some few things to add/fix as well as testing to make sure everything works as it should :)
02/17/2012 20:36 Unimate#60
@GeeksCo ProjectX V2 Facebook > Thanks to Richy that fat camel for testing it with me.
hhhhhhhhhhhhhh