[Question]Npc selling moonbox.

05/10/2010 05:54 Arcо#16
Are you compiling after the changes?
05/12/2010 04:36 gerble93#17
Quote:
Originally Posted by .Arco View Post
Are you compiling after the changes?
Was about to say..sounds like this person isn't compiling.

Press F5 (Build & Debug).
09/13/2010 08:50 jasoncoolman#18
Quote:
Originally Posted by pintser View Post
u maybe already have an NPC who's case is "24"
Make it Case 030208..

change in NPC.txt here:
Code:
24 1390 2 0 1002 382 341
Will be:
Code:
030208 1390 2 0 1002 382 341


In NPCDialog.cs
will be this:
Code:
#region Promotion Item Seller
                            case 030208:
                                {
                                    if (Control == 0)
                                    {
                                        GC.AddSend(Packets.NPCSay("Would u like to buy any of these promotion items"));
                                        GC.AddSend(Packets.NPCLink("Eux Ores (10CPs)", 1));
                                        GC.AddSend(Packets.NPCLink("Emerald (10CPs)", 2));
                                        GC.AddSend(Packets.NPCLink("Meteor (13CPs)", 3));
                                        GC.AddSend(Packets.NPCLink("Moonbox (200CPs)", 4));
                                        GC.AddSend(Packets.NPCLink("Just Passing By", 255));
                                        GC.AddSend(Packets.NPCSetFace(N.Avatar));
                                        GC.AddSend(Packets.NPCFinish());
                                    }
                                    if (Control == 1)
                                    {
                                        if (GC.MyChar.CPs >= 100)
                                        {
                                            GC.MyChar.CPs -= 100;
                                            GC.MyChar.AddItem(1072031);
                                        }
                                    }
                                    if (Control == 2)
                                    {
                                        if (GC.MyChar.CPs >= 10)
                                        {
                                            GC.MyChar.CPs -= 10;
                                            GC.MyChar.AddItem(1080001);
                                        }
                                    }
                                    if (Control == 3)
                                    {
                                        if (GC.MyChar.CPs >= 13)
                                        {
                                            GC.MyChar.CPs -= 13;
                                            GC.MyChar.AddItem(1088001);
                                        }
                                    }
                                    if (Control == 4)
                                    {
                                        if (GC.MyChar.CPs >= 200)
                                        {
                                            GC.MyChar.CPs -= 200;
                                            GC.MyChar.AddItem(721020);
                                        }
                                    }
                                    break;
                                }
                            #endregion
Still thanks for neon
dude where is npcdialog?
09/13/2010 10:05 Arcо#19
Its in the packethandling folder.
Look around the source a bit harder next time.
09/13/2010 16:42 jasoncoolman#20
Quote:
Originally Posted by .Arco View Post
Its in the packethandling folder.
Look around the source a bit harder next time.
dude i added it but it still says hi my id is 03028 i put the code wirete at the bottom are am i doing it wrong
09/13/2010 17:37 Arcо#21
Quote:
Originally Posted by jasoncoolman View Post
dude i added it but it still says hi my id is 03028 i put the code wirete at the bottom are am i doing it wrong
Are you opening just NPCDialog.cs or are you iopening NewestCOServer.csproj?
09/13/2010 17:50 jasoncoolman#22
Quote:
Originally Posted by .Arco View Post
Are you opening just NPCDialog.cs or are you iopening NewestCOServer.csproj?
NPCDialog
09/13/2010 18:22 Arcо#23
Open NewestCOServer.csproj
That's the only way to make changes since you need to be able to build the project using f5.
09/14/2010 07:24 jasoncoolman#24
Quote:
Originally Posted by Аrco View Post
Open NewestCOServer.csproj
That's the only way to make changes since you need to be able to build the project using f5.
Dont understand?
09/14/2010 10:39 dowhatuwant#25
F5 for debug.
F6 for build.

F6 is just compiling.
F5 is compiling and then start server after.

Is not exactly like that, but is the easiest explanation.

#reported
please dont do double posts
09/15/2010 03:32 { Angelius }#26
WTF
ppl whats the point of making a damn npc to sell moonboxes and Emeralds to players huh ??? make it easy for players !
i dont think its a good idea well bin playing on the realco server and the lastco server for more than 3 years but guess what in realco there is always something to do a quest to finish a teratodragon to kill a fucking fight for a dragon ball well i remember the very first time i found a db in real co the whole server was after me w ants to kill me and take the db well thats funny lol . but just for example. in lastco its fucking boring there is nothing to do but attacking ppl killing noobs GW and killing bosses and visiting the jail to have some fun killing noobs and get killed THATS IT NOTHING else to do and
so if you guys think that yeah if there is a 10000 ppl well jump to help for a moonbox seller is good then FU and btw if you had your own server online you want make it 1 month as max and you well close it back you know why cus you dont have anything Special in your server think about Making a new level 200 and 155 weapons or think about A %100 new Quests quests that even realco dosent have it .or maybe you need to think about START USING YOUR HEAD AND LEARN TO CODE LOL !!!! or its hard to be done for ya ?
any way idk why im upset lol
if any body wants the moon box quest code i have a good one just PM me
an its for free lmfao
07/03/2011 02:42 Spirited#27
Can this thread be closed after being open for so long and after having answered everything that needs to be answered?