4Botters


 
Go Back   4Botters" I am A Bad Ass Botter " > Online Games > Conquer Online Sections > Conquer Bots > Conquer Private Servers

Conquer Private Servers Post guides , scripts , advertise , anything related to Conquer Private Servers !

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 02-08-2010, 01:50 AM
Beginner
 
Join Date: Feb 2010
Posts: 78
Thanks: 43
Thanked 4 Times in 4 Posts
Default NPC's

Ok, so I am going around and making all the NPC's what they should look like,, but it takes so long.. Because I have to search for what the NPC is saying.. and then get the id.. THEN go change it... can someone give me a code so when i click a NPC.. it says in the top left... NPC ID IS ****
It'd have to bee done something like this...

Code:
                            default:
                                {
                                    GC.AddSend(Packets.NPCSay("Hi, I am a (incomplete) NPC, my ID is " + NPC.ToString()));
                                    GC.AddSend(Packets.NPCLink("Ok.", 255));
                                    if (N != null)
                                        GC.AddSend(Packets.NPCSetFace(N.Avatar));
                                    else
                                        GC.AddSend(Packets.NPCSetFace(30));
                                    GC.AddSend(Packets.NPCFinish());
                                    break;
                                }
Reply With Quote
Google Adsense
  #2 (permalink)  
Old 02-08-2010, 07:14 PM
killersub's Avatar
A Botter
 
Join Date: Dec 2009
Posts: 215
Thanks: 33
Thanked 75 Times in 26 Posts
Default Re: NPC's

oops...posted wrong lol...see bottom post...
Reply With Quote
  #3 (permalink)  
Old 02-08-2010, 07:15 PM
killersub's Avatar
A Botter
 
Join Date: Dec 2009
Posts: 215
Thanks: 33
Thanked 75 Times in 26 Posts
Default Re: NPC's

Let's see If I can help...

The Basic NPC...

Code:
#region GeneralLong
                            case 30099:
                                {
                                    if (Control == 0)
                                    {
                                        GC.AddSend(Packets.NPCSay("Do not bother me! " + NPC.ToString()));
                                        GC.AddSend(Packets.NPCLink("Okay!", 255));
                                        if (N = null)
                                        GC.AddSend(Packets.NPCSetFace(N.Avatar));
                                        GC.AddSend(Packets.NPCFinish());
                                    }
                                    break;
                                }
                            #endregion
It would be like that just that the NPC ID would be showing at the end of what the NPC is saying...Again,That'd be "MY" guess lol...I think it "Should" work in some cases but not sure...haven't really tried this lol...but if it doesn't then post the errors/questions you have got... +thanks If I helped!

EDIT: I think that's how it is...anyways post any errors after that

Last edited by killersub; 02-08-2010 at 09:24 PM.
Reply With Quote
  #4 (permalink)  
Old 02-08-2010, 09:12 PM
Noob
 
Join Date: Feb 2010
Posts: 12
Thanks: 1
Thanked 1 Time in 1 Post
Default Re: NPC's

Operator '+' cannot be applied to operands of type 'string' and 'method group' C:\rikardo updated\PacketHandling\NPCDialog.cs 1164 67 NewestCOServer
Reply With Quote
  #5 (permalink)  
Old 02-08-2010, 09:25 PM
killersub's Avatar
A Botter
 
Join Date: Dec 2009
Posts: 215
Thanks: 33
Thanked 75 Times in 26 Posts
Default Re: NPC's

Quote:
Originally Posted by justin654 View Post
Operator '+' cannot be applied to operands of type 'string' and 'method group' C:\rikardo updated\PacketHandling\NPCDialog.cs 1164 67 NewestCOServer
try to copy/paste my code again and see if you get errors so I can update it again...
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump


Translate This Page

Similar Threads
Thread Thread Starter Forum Replies Last Post
[Release] New source 5165 With new NPC's! .: ROCK :. Conquer Private Servers 76 07-21-2010 03:16 PM
[Release] My NPC's, Commands and more! Equalizer92 Conquer Private Servers 14 02-21-2010 04:01 AM
New NPC's dArKy^PgL Conquer Private Servers 10 02-04-2010 05:45 AM
[Question] How to fix gw npc's Petertoft TQ Binaries 2 12-14-2009 10:12 PM
[Problem] Help Please The Npc's of the market is not on the place! Ryalie Conquer Private Servers 0 06-14-2009 05:19 AM


All times are GMT. The time now is 09:33 AM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.