Register for your free account! | Forgot your password?

You last visited: Today at 13:04

  • Please register to post and access all features, it's quick, easy and FREE!


[Question]Npc selling moonbox.

Reply
 
Old 05/10/2010, 05:54   #16
 
elite*gold: 0
Join Date: Oct 2009
Posts: 8,740
Received Thanks: 5,268
Are you compiling after the changes?



Arcо is offline  
Old 05/12/2010, 04:36   #17
 
elite*gold: 40
Join Date: Sep 2006
Posts: 1,892
Received Thanks: 804
Remember to Compile

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).


gerble93 is offline  
Old 09/13/2010, 08:50   #18
 
elite*gold: 0
Join Date: Jul 2008
Posts: 126
Received Thanks: 31
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?
jasoncoolman is offline  
Old 09/13/2010, 10:05   #19
 
elite*gold: 0
Join Date: Oct 2009
Posts: 8,740
Received Thanks: 5,268
Its in the packethandling folder.
Look around the source a bit harder next time.


Arcо is offline  
Thanks
1 User
Old 09/13/2010, 16:42   #20
 
elite*gold: 0
Join Date: Jul 2008
Posts: 126
Received Thanks: 31
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
jasoncoolman is offline  
Old 09/13/2010, 17:37   #21
 
elite*gold: 0
Join Date: Oct 2009
Posts: 8,740
Received Thanks: 5,268
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?
Arcо is offline  
Old 09/13/2010, 17:50   #22
 
elite*gold: 0
Join Date: Jul 2008
Posts: 126
Received Thanks: 31
Quote:
Originally Posted by .Arco View Post
Are you opening just NPCDialog.cs or are you iopening NewestCOServer.csproj?
NPCDialog
jasoncoolman is offline  
Old 09/13/2010, 18:22   #23
 
elite*gold: 0
Join Date: Oct 2009
Posts: 8,740
Received Thanks: 5,268
Open NewestCOServer.csproj
That's the only way to make changes since you need to be able to build the project using f5.
Arcо is offline  
Old 09/14/2010, 07:24   #24
 
elite*gold: 0
Join Date: Jul 2008
Posts: 126
Received Thanks: 31
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?
jasoncoolman is offline  
Thanks
1 User
Old 09/14/2010, 10:39   #25
 
elite*gold: 0
Join Date: Aug 2010
Posts: 452
Received Thanks: 74
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
dowhatuwant is offline  
Old 09/15/2010, 03:32   #26
 
elite*gold: 0
Join Date: Aug 2010
Posts: 985
Received Thanks: 1,064
WTF
ppl whats the point of making a **** 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 ******* 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 ******* 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 *****
{ Angelius } is offline  
Old 07/03/2011, 02:42   #27
 
elite*gold: 12
Join Date: Jul 2011
Posts: 7,084
Received Thanks: 3,396
Can this thread be closed after being open for so long and after having answered everything that needs to be answered?


Spirited is offline  
Reply



« Need help with client resolution. | i have code here for Shackle can you help me »

Similar Threads
moonbox question
04/02/2006 - CO2 Main - Discussions / Questions - 6 Replies
playin with unknownes item renamer I noticed that moonbox is listed numerous times with only the ItemId number changed on each. is this to assume that these can be renamed also like command tokens? like if I get a mb and I can tell somehow its item id 721032 and I write that down and open it and I get 3 mets can I assume that I will always get the lousy 3 mets from that one and change it in itemtype so I dont buy that one anymore? and so on and so forth till I get all of them named. would...
question about moonbox....
01/20/2006 - CO2 Main - Discussions / Questions - 26 Replies
was wondering how many moonbox you guy open to find a socket? Been opening over 30 moonbox so far (total), and didn't get one single socket yet. Does timing matter (like XX:33 etc) or is it just random luck? thanks
Moonbox question
09/16/2005 - CO2 Main - Discussions / Questions - 12 Replies
is ther eanyway to make the toughhorns with tokens larger then the ones without ? im not sure if this is already possible but if anyone knows a way or if it is possible plz let me know ty



All times are GMT +1. The time now is 13:04.


Powered by vBulletin®
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Abuse
Copyright ©2018 elitepvpers All Rights Reserved.