Help me please!!!

03/02/2010 14:41 chester6#1
I made my own Pserver and it works properly,but i dont know how to add new NPCs i have some codes,but i dont know what to do with them. The Source is 5165. If someone know please tell me or add me on msn- neso@[Only registered and activated users can see links. Click Here To Register...] so u can tv me. Thanks!
03/02/2010 14:44 LegalConquer#2
find the npctalk.cs or npcdialog.cs file and play around with things in there untill u get the hang of it like the rest of new people ;)
03/02/2010 14:47 chester6#3
When i open that folder,i should make new Folder or text document?
03/02/2010 17:01 Decker_#4
Quote:
Originally Posted by chester6 View Post
When i open that folder,i should make new Folder or text document?
Here is an example of a NPC, these goes in NPCDialog.cs:
Code:
#region Leave GA
                            case 7000:
                                {
                                    if (Control == 0)
                                    {
                                        GC.AddSend(Packets.NPCSay("Want to leave?"));
                                        GC.AddSend(Packets.NPCLink("Yes.", 1));
                                        GC.AddSend(Packets.NPCLink("Just passing by.", 255));
                                        GC.AddSend(Packets.NPCSetFace(N.Avatar));
                                        GC.AddSend(Packets.NPCFinish());
                                    }
                                    else if (Control == 1)
                                        GC.MyChar.Teleport(1002, 355, 337);
                                    break;
                                }
                            #endregion
And in the NPCs.txt you will find in OldCODB:
Code:
7000 1131 2 7 1038 354 345
7000=Case
1131=NPC ID
u always put 2 0 after npc id
1038=map ID
354=X Coordinate
345=Y Coordinate


Press thanks if I helped :D
03/02/2010 19:53 chester6#5
I just want to be sure so i will ask one more question. :P I copy the code and paste it in the NPC dialog.cs? And same with other code that does to NPCs.text And when i copy the code that goes to NPCs dialog.cs,do i need to leave one row empty or not?
03/02/2010 20:25 Decker_#6
no
03/02/2010 20:26 chester6#7
Ok Thank you!

And do you have code for Ethernal,cause mine dont work,cant bless equipment.
03/02/2010 22:00 killersub#8
Quote:
Originally Posted by chester6 View Post
Ok Thank you!

And do you have code for Ethernal,cause mine dont work,cant bless equipment.
If you actually go to the CO2 release/guides section and on the lil top right you'll find something called "search this forum" click it and type in "5165 Ethereal npc" or anything related to wat you are looking for and you might be bound to find something lol...not that hard :)...