Register for your free account! | Forgot your password?

Go Back   elitepvpers > Conquer Online 2 > CO2 PServer - Discussions / Questions
You last visited: Today at 17:33

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


Need Help My Npc won't talk to me

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Aug 2006
Posts: 55
Received Thanks: 2
Need Help My Npc won't talk to me

Please don't steal this cause i worked hard on it.. but

Here what i got so far...

if (CurrentNPC == 1206)
}
if (Control == 1)
{
SendPacket(General.MyPackets.NPCSay("This is the World Teleporter whereever you need to go. So where do you want to go? You have to be atleast lvl 10 and cost 1000 silvers" ));
SendPacket(General.MyPackets.NPCLink("Twin City", 2));
SendPacket(General.MyPackets.NPCLink("Phoenix Castle", 3));
SendPacket(General.MyPackets.NPCLink("Ape Mountain", 4));
SendPacket(General.MyPackets.NPCLink("Desert City", 5));
SendPacket(General.MyPackets.NPCLink("Bird Island", 6));
SendPacket(General.MyPackets.NPCLink("Market", 7));
SendPacket(General.MyPackets.NPCLink("Mystic Castle", 8));
SendPacket(General.MyPackets.NPCLink("Labrynth", 9));
SendPacket(General.MyPackets.NPCLink("Advance Zone", 10);
SendPacket(General.MyPackets.NPCLink("Not Really.", 255);
SendPacket(General.MyPackets.NPCSetFace(30));
SendPacket(General.MyPackets.NPCFinish());
}


if (CurrentNPC == 1206)
{
if (Control == 2)
MyChar.Teleport(1002, 438, 377);
if (Control == 3)
MyChar.Teleport(1011, 190, 271);
if (Control == 4)
MyChar.Teleport(1020, 567, 564);
if (Control == 5)
MyChar.Teleport(1000, 498, 650);
if (Control == 6)
MyChar.Teleport(1015, 724, 573);
if (Control == 7)
MyChar.Teleport(1036, 201, 196);
if (Control == 8)
MyChar.Teleport(1001, 314, 645);
if (Control == 9)
MyChar.Teleport(1351, 200, 500);
if (Control == 10)
MyChar.Teleport(1017, 533, 559);
{
if (MyChar.Silvers >= 1000)
(
MyChar.Silvers -= 1000)
)
)


DataBase:
1206 120 WorldTeleporter 2 6 438 377 1002 0


Is there something wrong with the script?



liljason019 is offline  
Old 11/17/2008, 03:07   #2
 
elite*gold: 20
Join Date: Apr 2008
Posts: 2,281
Received Thanks: 908
LOL! Please don't steal it?
This is a default NPC on LOTF sources!!

And maybe he won't talk to you cause he doesn't like you? =P


kinshi88 is offline  
Old 11/17/2008, 03:10   #3
 
elite*gold: 0
Join Date: Aug 2006
Posts: 55
Received Thanks: 2
that hurts.......

so do you know the problem? and thats not the default thats what i did check the places
liljason019 is offline  
Old 11/17/2008, 04:42   #4
 
elite*gold: 20
Join Date: Apr 2008
Posts: 2,281
Received Thanks: 908
OMFG! You added 3 new places to teleport by Copying and Pasting!! YOU ARE LEET MASTER!!!!!!!!!!!!!!!!!!!!!!!!

Sorry, but I just had to lol SOO hard at the fact that you don't want people taking your leech... jesus... lol

Anyway, delete the
Code:
}
if (Control == 1)


kinshi88 is offline  
Old 11/17/2008, 04:48   #5
 
elite*gold: 0
Join Date: Nov 2008
Posts: 40
Received Thanks: 1
Lmao, kinshi i saw that as well, we should make a guide to adding npc's to server. Tho i guess i woulnt be much help since i just started her yesterday but am learning how all this works pretty fast. Hope For the Best!

Sammi
Sorsha is offline  
Old 11/17/2008, 08:40   #6
 
elite*gold: 0
Join Date: Dec 2007
Posts: 618
Received Thanks: 213
i think there was one already
alexbigfoot is offline  
Old 11/17/2008, 12:52   #7
 
elite*gold: 1142
Join Date: Aug 2006
Posts: 2,464
Received Thanks: 1,159
You added the check and remove from silvers after you teleported?LOL!

Just do, if (MyChar.Silvers >= 1000)
{
Control==1 blablabla

MyChar.Silvers -= 1000;
Update Silver Packet.
_Emme_ is offline  
Old 11/22/2008, 05:07   #8
 
elite*gold: 0
Join Date: Aug 2006
Posts: 55
Received Thanks: 2
Eh Thanks Emme.... but why is one telling me to delete Control==1 and one is telling me to put it somewhere else

umm Kinshi its not leech cause they are in different spots. not in the orginial spot... and i guess it was nubbish to say that...w/e..>.>
liljason019 is offline  
Old 11/22/2008, 06:08   #9
 
elite*gold: 20
Join Date: Jan 2006
Posts: 884
Received Thanks: 228
Quote:
Originally Posted by Sorsha View Post
Lmao, kinshi i saw that as well, we should make a guide to adding npc's to server. Tho i guess i woulnt be much help since i just started her yesterday but am learning how all this works pretty fast. Hope For the Best!

Sammi
lol, any idiot can add npc's, and if not then they should go back and learns the basics of c# :P

anywayz, gl with the whole learning stuff (Y)
lostsolder05 is online now  
Old 11/22/2008, 11:10   #10
 
elite*gold: 1142
Join Date: Aug 2006
Posts: 2,464
Received Thanks: 1,159
No no, the reason you should delete control 1 is because of this:

Quote:
if (CurrentNPC == 1206)
}
if (Control == 1)
{
SendPacket(General.MyPackets.NPCSay("This is the World Teleporter whereever you need to go. So where do you want to go? You have to be atleast lvl 10 and cost 1000 silvers" ));

Now,it will only start the conversation if you press the option ONE earlier, but there was no option one before,becuase this is the start chat. So, just :

if (CurrentNPC == 1206)
{

SendPacket(General.MyPackets.NPCSay("This is the World Teleporter whereever you need to go. So where do you want to go? You have to be atleast lvl 10 and cost 1000 silvers" ));





And then remove an } or something. Goodluck


_Emme_ is offline  
Reply



« [Request]if you wanna call it a request | [Request] Selected Item in listbox »

Similar Threads
You can't talk to yourself.
08/01/2014 - EO PServer Hosting - 3 Replies
Hi all, i get that message "you can't talk to yourself" when trying to write anything in chat window so i can't use gm commands. Would be nice if i get some usefull feedback. Thanks.
talk
08/11/2009 - 12Sky2 - 7 Replies
I made this thread for all you you tell tell what do dislike or like about 12sky2. areia and mayn
NPC TALK
08/05/2009 - CO2 Main - Discussions / Questions - 0 Replies
hi can anyone help me to get the date of WindSage? What Windsage[NPC PORMOTION for ninja) is relaly says? tnx and more power
[HS] Let's talk serious
07/05/2009 - Mabinogi - 6 Replies
Hello guys, Ive been watching this forum for quite a while and Im disappointed. You guys talk and talk and talk and thats all you do. Elitepvpers is one of the best, if not THE BEST HackingCommunity on the Internet, over one million users...
Talk About Anything!
08/07/2006 - Maple Story - 0 Replies
Talk Here!



All times are GMT +2. The time now is 17:33.


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.