[Release]My source...

05/14/2010 20:02 MonstersAbroad#91
Okay :),

UPDATE: I got all the Conductress's working.
I got all portals working.

EDIT: What general Data type is 146 ? it seems to happen when I do a @tele command
05/14/2010 20:53 -impulse-#92
EndTeleport I think...not sure
05/15/2010 00:33 MonstersAbroad#93
Thanks,

I have a little problem I coded a full entire Server Maintance system but got error the atually Game.Maintenace.cs is fine no errors atol when I add a command
Code:
case "maintenace":
                                        {
                                            Game.Maintenace.Start();
                                            break;
                                        }
It errors
Code:
No Overload method for 'start' takes '0' methods
the Start looks like
Code:
 public static void Start(Client.GameState client)
any help ?
05/15/2010 01:24 micro1337#94
you have to pass in a game state in your method call
05/15/2010 01:38 MonstersAbroad#95
Okay thanks got it working another problem

I am not posting my WHOLE broadcast code here but its nearly done
Code:
B.Place =[COLOR="Red"][B] Client.GameState.BroadCasts[Client.GameState.BroadCastCount] = B;[/B][/COLOR]
Error:
[code]
Cannot implicilty covert type 'Conquer_Online_Server.Client.GameState.BroadCastM essage' to 'byte' when it is not coverting it to a byte....
THIS MITE HELP
Code:
        public static BroadCastMessage[] BroadCasts = new BroadCastMessage[100];
        public static BroadCastMessage CurrentBC = new BroadCastMessage();
        public static byte BroadCastCount = 0;
any help please ??
05/15/2010 01:53 micro1337#96
what are you trying to do?
05/15/2010 01:58 MonstersAbroad#97
This is what I did
I went into Message.cs and made it look like
Code:
public const uint Center = 2011,
                          PopUP = 2100,
                          Dialog = 2101,
                          Guild = 2004,
                          Service = 2014,
                          Talk = 2000,
                          Team = 2003,
                          TopLeft = 2005,
                          Whisper = 2001,
                          World = 2021,
                          Website = 2105,
                          Broadcast = 2500;
Then went into Gamestate.cs and added
Code:
        public static BroadCastMessage[] BroadCasts = new BroadCastMessage[100];
        public static BroadCastMessage CurrentBC = new BroadCastMessage();
        public static DateTime LastBroadCast = DateTime.Now;
Then went into PacketHandler.cs and under
Code:
                    case Message.Guild:
                        {
                            break; 
                        }
adding
Code:
case Message.Broadcast:
                        {
                            if (client.Entity.Level == 70)
                            {
                                if (client.Entity.ConquerPoints >= 5)
                                {
                                    if (Client.GameState.BroadCastCount <= 100)
                                    {
                                        client.Entity.ConquerPoints -= 5;


                                        string BMessage = "";
                                        for (byte i = 0; i < Data[13]; i++)
                                            BMessage += Convert.ToChar(Data[14 + i]);

                                        foreach (Client.GameState pClient in ServerBase.Kernel.GamePool.Values)
                                        {
                                            Client.GameState.BroadCastMessage B = new Client.GameState.BroadCastMessage();
                                            B.Name = client.Entity.Name;
                                            B.BMessage = BMessage;
                                            // B.Place = Client.GameState.BroadCasts[Client.GameState.BroadCastCount] = B;
                                            Client.GameState.BroadCastCount++;

                                            Data[8] = B.Place;
                                            client.Send(Data);
                                            pClient.Send(Data);
                                        }
                                    }
                                }
                            }
                            else
                            {
                                return;
                            }
                            break;
                        }
oh and I also added
Code:
byte[] Data = null;
UPOVE
Code:
if (!CheckCommand(message, client))
??
05/15/2010 02:28 micro1337#98
first change the broadcast value to 0x7da or 2010...then add this to player commands or w/e

Code:
case "broadcast":
                                        {
                                            client.Send(new Message(Data[1], System.Drawing.Color.AliceBlue, GamePackets.Message.Broadcast));
                                            break;
                                        }
start off small then add features like level cap and conquer points.
05/15/2010 08:36 AliveVVithoutFeeling#99
You'd better to put a screen shots to see everything .. :)
05/15/2010 23:15 MonstersAbroad#100
UPDATE:
Added it so when you die and your PKPoints are over 100 you get teleported to jail.
Added JailWarden and the guy who takes you to Jail.
Added Mount skill with a bool so like
if you use the skill Mount it will do Client.GameState.Mounted == true; and it has checks for stamina if your already mounted and if you are mounted it will check stamina if thats 100 and mounted == true; then you get demounted etc

I need help with vigor tho I tryed client.entitry.Vigor == 100; but nothing any help ?
05/16/2010 02:56 Arcо#101
Why do we care what you updated?

Anyways, == is for bools, it should be =
05/16/2010 12:21 MonstersAbroad#102
I am just saying what I update then is someone looks at the thread and sees what I updated they could be like "damn wont work for me :(" they will end up PM'ing me and I'll help them...btw your server sux...5065 tq bin....
05/16/2010 12:25 Kiyono#103
Quote:
Originally Posted by MonstersAbroad View Post
I am just saying what I update then is someone looks at the thread and sees what I updated they could be like "damn wont work for me :(" they will end up PM'ing me and I'll help them...btw your server sux...5065 tq bin....
TQ bins can be good if you have the required skills =X
05/16/2010 12:29 MonstersAbroad#104
I could argue that. but I could also Argue that its just a stolen peace of work.
05/16/2010 18:55 Kiyono#105
Quote:
Originally Posted by MonstersAbroad View Post
I could argue that. but I could also Argue that its just a stolen peace of work.
*piece and I agree.