Register for your free account! | Forgot your password?

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

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


[Request] Quest Wroking With Commands Only

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Sep 2008
Posts: 331
Received Thanks: 136
[Request] Quest Wroking With Commands Only

1st my English bad
---
am Starting NPC Working with Command i like this idea from CoZero Source
but i Think i have something wrong when i code it

i jz need any idea to Finish it There my code

There is command
PHP Code:
                                        if (Splitter[0] == "/queststart")
                                        {
                                                  foreach (
DictionaryEntry DE in World.AllChars)
                                                {
                                                    
Character Char = (Character)DE.Value;
                                            
General.Coolq true;
                                            
                                            
SendPacket(General.MyPackets.SendMsg(MessageId"SYSTEM"MyChar.Name"The Quest has been started. You will automatic teleported to NPC in 5 Seconds."2011));
                                                    } 
NPC There:
PHP Code:
                            if (CurrentNPC == 1234567)
                            {
                                if (
MyChar.questdone == true)
                                 
                                {
                                    
SendPacket(General.MyPackets.NPCSay("Do you wanna go to the QuestArea and fight against StrongMonsters?"));
                                    
SendPacket(General.MyPackets.NPCLink("Yes,teleport me"1));
                                    
SendPacket(General.MyPackets.NPCLink("No, Thanks."255));
                                    
SendPacket(General.MyPackets.NPCSetFace(30));
                                    
SendPacket(General.MyPackets.NPCFinish());
                                }
                                else
                                {
                                    
SendPacket(General.MyPackets.NPCSay("The  Quest has not started yet.Come back if its started."));
                                    
SendPacket(General.MyPackets.NPCLink("Ok, no problem."255));
                                    
SendPacket(General.MyPackets.NPCSetFace(30));
                                    
SendPacket(General.MyPackets.NPCFinish());
                                }
                            } 
i hope some help to Finish it Thanks All



!DeX! is offline  
Old 11/20/2008, 10:57   #2
 
elite*gold: 0
Join Date: Jul 2005
Posts: 157
Received Thanks: 14
your missing the final part which is the npc do script here an example

Code:
                        if (CurrentNPC == 1234567)
                        {
                            if (Control == 1)
                            {
                                    MyChar.Teleport(MapID, LocX, LocY);

                                }
                            }
                        }


vietkidd510 is offline  
Old 11/20/2008, 13:02   #3
 
elite*gold: 0
Join Date: Sep 2008
Posts: 331
Received Thanks: 136
Thanks for This help but i stell have problem when i make command nothing happen to NPC telling me
SendPacket(General.MyPackets.NPCSay("The Quest has not started yet.Come back if its started
!DeX! is offline  
Old 11/20/2008, 13:04   #4
 
elite*gold: 0
Join Date: Sep 2008
Posts: 331
Received Thanks: 136
i have New idea i can make Command to Send all player to Quest Map


!DeX! is offline  
Old 11/20/2008, 18:00   #5
 
elite*gold: 0
Join Date: Apr 2008
Posts: 56
Received Thanks: 8
if (CurrentNPC == 1234567)
{
if General.Evilq = true
{
if (Control == 1)
{
MyChar.Teleport(MapID, LocX, LocY);

}
}
}

Just a example..
DungMaster is offline  
Old 11/20/2008, 19:34   #6
 
elite*gold: 0
Join Date: Sep 2008
Posts: 331
Received Thanks: 136
Thanks Guys for helping


!DeX! is offline  
Reply



« [Help]DB lvler | -Looking for a Neat-O CO Private Server »

Similar Threads
Hel[ DB-BOT not wroking
05/27/2010 - SRO PServer - Discussions / Questions - 5 Replies
hello every body i have problem with a db-bot..... when i loggin with db-bot an press start it does not work <_> my chra only buff him self !!.. i do everything right on explain..but i dunno where's problem.. i 'll crazyup right :(..i hope to got help soon ! thanx
SWSRO Don't Wroking
05/04/2010 - SRO PServer Ask the Experts - 5 Replies
Hi i have question why SWSRO dont working update or what??
how to dont lost your commands tokens of Moonbox quest in Death Tactic.
01/18/2009 - CO2 Programming - 2 Replies
how to dont lost your commands tokens of Moonbox quest in Death Tactic. Ok...here we go....I am not good at english but im sure you will understand it =P btw it work...Press thanks You need to have bless with 2 characters..(the one who have the tokens...and the other who will receive it) OK...when you have 2 or more tactic...and you get Death Tactic it willl help you...You just need to put on Offline TG both chars..then when you apparear in that place...(Hut,of the offline tg) trade all...
how to dont lost your commands tokens of Moonbox quest in Death Tactic.
01/05/2009 - CO2 Programming - 4 Replies
Ok...here we go....I am not good at english but im sure you will understand it =P btw it work...Press thanks You need to have bless with 2 characters..(the one who have the tokens...and the other who will receive it) OK...when you have 2 or more tactic...and you get Death Tactic it willl help you...You just need to put on Offline TG both chars..then when you apparear in that place...(Hut,of the offline tg) trade all the tokens to the man who is in tc) then you can go to your map in death...
[Guide] Quest Commands
12/11/2008 - Flyff PServer - Discussions / Questions - 3 Replies
Hiermit erkläre ich euch die Quest commands die es gibt! Quest Commands: AddQuest AddState SetTimeLimit SetRepeatable SetStartNPC SetEndNPC



All times are GMT +1. The time now is 17:48.


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.