[Release]My source...

05/12/2010 18:50 MonstersAbroad#61
Thanks
05/12/2010 19:13 Kiyono#62
It seems to screw up when rebuilding; it deletes the dlls for ManagedOpenSSL, MySQL.data and NPCDialog as soon as I hit rebuild solution. This started after I made some modifications and tried to rebuild for the 2nd time (1st time works fine) I tried it multiple times (unrar, edit required files, rebuild, login, logout, made modifications, try to build, fails)
05/12/2010 19:46 -impulse-#63
Works absolutely fine for me.
05/12/2010 19:47 Kiyono#64
Weird, I also tried building other sources and none has this reference deleting problem.
//edit Giving up, cba to copy/paste the files each time I want to build.
05/12/2010 21:04 MonstersAbroad#65
EDIT: Dont worrey.
05/12/2010 21:07 Kiyono#66
Quote:
Originally Posted by MonstersAbroad View Post
How can I add [PM] on the end of the name ?
Add [PM] in the database?

//edit I screwed around a some more and it seems that the dlls don't disappear when I press debug instead of build.
05/12/2010 21:11 iEvz#67
Quote:
Originally Posted by MonstersAbroad View Post
How can I add [PM] on the end of the name ?
Go on to database and open up the "entities" table. There should be a table which is your char name in it. Just add [PM] at the end of your name.
05/12/2010 21:26 MonstersAbroad#68
Yeah if you recheck my post I figured it out just I got abit confused :S xD

Thanks anyway

EDIT: I have this command why wont it work ? it is suppose to announce the message I type in ex: @announce Hello everyone!

EDIT2: I got it working.
05/12/2010 21:36 Kiyono#69
Quote:
Originally Posted by MonstersAbroad View Post
Yeah if you recheck my post I figured it out just I got abit confused :S xD

Thanks anyway

EDIT: I have this command why wont it work ? it is suppose to announce the message I type in ex: @announce Hello everyone!

here is my command
Code:
                                    case "@announce":
                                        {
                                            GamePackets.Message announce = new GamePackets.Message(Message, "SYSTEM", System.Drawing.Color.Green, GamePackets.Message.Center);
                                            client.Send(announce);
                                            break;
                                        }
Any help would be nice, thanks.
You're doing it a bit wrong. This for example would work (tested)
Code:
case "announce":
                                        {
                                            client.Send(new Message(Data[1], System.Drawing.Color.White, GamePackets.Message.Center));
                                            break;
                                        }
05/12/2010 22:22 MonstersAbroad#70
Please read my editied post.
05/13/2010 06:14 BlueFlame11#71
To be honest i prefer flat file sources this is sorta flat file and SQL so i'm gonna completely make it flat file

Thanks Bud
05/13/2010 07:06 Arcо#72
Just for the sake of curiosity, why do you like flat file better?
05/13/2010 17:17 MonstersAbroad#73
I like it both I like NPC's and monsters flatfile but stuff like KO and items and Accounts/Characters in MySQL
05/13/2010 20:47 BlueFlame11#74
Quote:
Originally Posted by .Arco View Post
Just for the sake of curiosity, why do you like flat file better?
Cause to me MySql is weird in ways
And some times never works with me ;(
So i prefer flatfile ^^
05/13/2010 20:58 MonstersAbroad#75
What is wrong with this NPC ?
Code:
#region Leave market
                case 11181:
                    {
                        switch (npcRequest.OptionID)
                        {
                            case 0:
                                {
                                    dialog.Text("Would you like to leave the Market ? It's free!");
                                    dialog.Option("Yes.", 1);
                                    dialog.Option("No.", 255);
                                    dialog.Send();
                                    break;
                                }

                            case 1:
                                {
                                    if (client.Entity.PreviousMapID == 1002) //Twincity
                                    {
                                        client.Entity.Teleport(1002, 400, 400);
                                    }
                                    if (client.Entity.PreviousMapID == 1020) // Ape mountian
                                    {
                                        client.Entity.Teleport(1020, 567, 576);
                                    }
                                    if (client.Entity.PreviousMapID == 1000) // Desert City
                                    {
                                        client.Entity.Teleport(1000, 500, 650);
                                    }
                                    if (client.Entity.PreviousMapID == 1001) //Mystic castle
                                    {
                                        client.Entity.Teleport(1001, 316, 642);
                                    }
                                    if (client.Entity.PreviousMapID == 1015) //Bird Island
                                    {
                                        client.Entity.Teleport(1015, 723, 573);
                                    }
                                    if (client.Entity.PreviousMapID == 1011) //Phoenix Castle
                                    {
                                        client.Entity.Teleport(1011, 190, 271);
                                    }
                                    else
                                    {
                                        client.Entity.Teleport(1002, 400, 400);
                                    }
                                }
                                break;
                        }
                        break;
                    }


                #endregion
EDIT:

Every npc I add does not work.