|
You last visited: Today at 05:23
Advertisement
[Problem] With NPC i wrote
Discussion on [Problem] With NPC i wrote within the CO2 Private Server forum part of the Conquer Online 2 category.
10/02/2009, 13:20
|
#1
|
elite*gold: 0
Join Date: Feb 2008
Posts: 257
Received Thanks: 20
|
[Problem] With NPC i wrote
Hello there
I am having a problem with an NPC i wrote for my server no matter what i do it just don't want to talk and i just don't know why lol
Even as PM i cannot see any actions comming towards me while i click on it it has a white name and it moves when i click on it but it don't send any actions nor talk
Here is the script
Code:
#
INSERT INTO cq_npc VALUES(9000, 0, 0, "BirthGod", 0002, 4053, -1, 1010, 0090, 0054,1100,0,0,0,0,0,0,0,0,0,0,0, "", 0, 00, 00, 0000, 01, 0000 );
#
INSERT INTO cq_task VALUES (1100,1100,0000,"","",0,0,0,999,-100000,100000,0000,0,-1,0);
INSERT INTO cq_task VALUES (1101,1101,0000,"","",0,0,0,999,-100000,100000,0000,0,-1,0);
INSERT INTO cq_task VALUES (1102,1102,0000,"","",0,0,0,999,-100000,100000,0000,0,-1,0);
INSERT INTO cq_task VALUES (1103,1103,0000,"","",0,0,0,999,-100000,100000,0000,0,-1,0);
INSERT INTO cq_task VALUES (1104,1104,0000,"","",0,0,0,999,-100000,100000,0000,0,-1,0);
INSERT INTO cq_task VALUES (1105,1105,0000,"","",0,0,0,999,-100000,100000,0000,0,-1,0);
INSERT INTO cq_task VALUES (1106,1106,0000,"","",0,0,0,999,-100000,100000,0000,0,-1,0);
INSERT INTO cq_task VALUES (1007,1107,0000,"","",0,0,0,999,-100000,100000,0000,0,-1,0);
INSERT INTO cq_task VALUES (1108,1108,0000,"","",0,0,0,999,-100000,100000,0000,0,-1,0);
INSERT INTO cq_task VALUES (1109,1109,0000,"","",0,0,0,999,-100000,100000,0000,0,-1,0);
INSERT INTO cq_task VALUES (1110,1110,0000,"","",0,0,0,999,-100000,100000,0000,0,-1,0);
INSERT INTO cq_task VALUES (1112,1112,0000,"","",0,0,0,999,-100000,100000,0000,0,-1,0);
INSERT INTO cq_task VALUES (1113,1113,0000,"","",0,0,0,999,-100000,100000,0000,0,-1,0);
INSERT INTO cq_task VALUES (1114,1114,0000,"","",0,0,0,999,-100000,100000,0000,0,-1,0);
INSERT INTO cq_task VALUES (1115,1115,0000,"","",0,0,0,999,-100000,100000,0000,0,-1,0);
INSERT INTO cq_task VALUES (1116,1116,0000,"","",0,0,0,999,-100000,100000,0000,0,-1,0);
INSERT INTO cq_task VALUES (1117,1117,0000,"","",0,0,0,999,-100000,100000,0000,0,-1,0);
#
INSERT INTO cq_action VALUES (1100,1101,0000,0101,0,"Oh~hello~there~another~young~soul~how~can~i~help~you~my~son~?");
INSERT INTO cq_action VALUES (1101,1102,0000,0102,0,"Who~are~you~? 1103");
INSERT INTO cq_action VALUES (1102,610091,0000,0102,0,"Teleport~Me~To~TwinCity 1112");
#
INSERT INTO cq_action VALUES (1103,1104,0000,0101,0,"Hehe~well~i~got~alot~names~call~me~the~BirthGod");
INSERT INTO cq_action VALUES (1104,610091,0000,0102,0,"Whats~behind~the~bridge~? 1105");
#
INSERT INTO cq_action VALUES (1105,1106,0000,0101,0,"Thats~the~way~to~Twin~City~the~capital~of~all~citys~in~the~land~of~the~living");
INSERT INTO cq_action VALUES (1106,610091,0000,0102,0,"Can~you~let~me~pass~? 1107");
#
INSERT INTO cq_action VALUES (1107,1108,0000,0101,0,"Not~so~fast~my~little~warrior~did~you~talk~yet~to~all~the~masters~specialy~OldGeneralYang~");
INSERT INTO cq_action VALUES (1108,1109,0000,0101,0,"And~TaoistStar~will~teach~a~very~important~leason~before~you~leave~when~you~talked~to~them~");
INSERT INTO cq_action VALUES (1109,1110,0000,0101,0,"And~when~you~are~ready~for~you~journary~i~will~let~you~pass");
INSERT INTO cq_action VALUES (1110,1111,0000,0102,0,"I~am~ready 1112");
INSERT INTO cq_action VALUES (1111,610091,0000,0102,0,"Not~yet. 0");
#
INSERT INTO cq_action VALUES (1112,1113,0000,501,132305,"");
INSERT INTO cq_action VALUES (1113,1114,0000,501,1000000,"");
INSERT INTO cq_action VALUES (1114,1115,0000,501,1000000,"");
INSERT INTO cq_action VALUES (1115,1116,0000,501,1000000,"");
INSERT INTO cq_action VALUES (1116,1117,0000,1003,0,"1002 440 390");
INSERT INTO cq_action VALUES (1117,610091,0000,0101,0,"I~gave~you~Coat~Wooden~Sword~and~some~healing~potions.~Wish~you~pleasant~Journey.");
I hope anyone has an idea whats wrong
Thanks
Regards Jemy.
|
|
|
10/02/2009, 20:36
|
#2
|
elite*gold: 0
Join Date: Feb 2008
Posts: 257
Received Thanks: 20
|
Bump
Any help please..
|
|
|
10/02/2009, 21:10
|
#3
|
elite*gold: 0
Join Date: May 2009
Posts: 836
Received Thanks: 239
|
Jemy please don`t double post , add thread to You`r favorites (on browser) come back tomorrow and check if any answer has come , if not , find some C# Coder and PM him , might help too
|
|
|
10/02/2009, 21:37
|
#4
|
elite*gold: 0
Join Date: Jan 2007
Posts: 1,034
Received Thanks: 58
|
Quote:
Originally Posted by Soiken
Jemy please don`t double post , add thread to You`r favorites (on browser) come back tomorrow and check if any answer has come , if not , find some C# Coder and PM him , might help too
|
lol'd "C# coder" erm since when C# contains study of querys?
|
|
|
10/02/2009, 21:50
|
#5
|
elite*gold: 0
Join Date: Jul 2006
Posts: 2,216
Received Thanks: 794
|
Quote:
Originally Posted by damianpesta
lol'd "C# coder" erm since when C# contains study of querys?
|
Just a matter of external libraries xD // jokin
|
|
|
10/02/2009, 22:59
|
#6
|
elite*gold: 20
Join Date: Jul 2007
Posts: 613
Received Thanks: 486
|
Quote:
Originally Posted by Jemy
Hello there
I am having a problem with an NPC i wrote for my server no matter what i do it just don't want to talk and i just don't know why lol
Even as PM i cannot see any actions comming towards me while i click on it it has a white name and it moves when i click on it but it don't send any actions nor talk
Here is the script
Code:
#
INSERT INTO cq_npc VALUES(9000, 0, 0, "BirthGod", 0002, 4053, -1, 1010, 0090, 0054,1100,0,0,0,0,0,0,0,0,0,0,0, "", 0, 00, 00, 0000, 01, 0000 );
#
INSERT INTO cq_task VALUES (1100,1100,0000,"","",0,0,0,999,-100000,100000,0000,0,-1,0);
INSERT INTO cq_task VALUES (1101,1101,0000,"","",0,0,0,999,-100000,100000,0000,0,-1,0);
INSERT INTO cq_task VALUES (1102,1102,0000,"","",0,0,0,999,-100000,100000,0000,0,-1,0);
INSERT INTO cq_task VALUES (1103,1103,0000,"","",0,0,0,999,-100000,100000,0000,0,-1,0);
INSERT INTO cq_task VALUES (1104,1104,0000,"","",0,0,0,999,-100000,100000,0000,0,-1,0);
INSERT INTO cq_task VALUES (1105,1105,0000,"","",0,0,0,999,-100000,100000,0000,0,-1,0);
INSERT INTO cq_task VALUES (1106,1106,0000,"","",0,0,0,999,-100000,100000,0000,0,-1,0);
INSERT INTO cq_task VALUES (1007,1107,0000,"","",0,0,0,999,-100000,100000,0000,0,-1,0);
INSERT INTO cq_task VALUES (1108,1108,0000,"","",0,0,0,999,-100000,100000,0000,0,-1,0);
INSERT INTO cq_task VALUES (1109,1109,0000,"","",0,0,0,999,-100000,100000,0000,0,-1,0);
INSERT INTO cq_task VALUES (1110,1110,0000,"","",0,0,0,999,-100000,100000,0000,0,-1,0);
INSERT INTO cq_task VALUES (1112,1112,0000,"","",0,0,0,999,-100000,100000,0000,0,-1,0);
INSERT INTO cq_task VALUES (1113,1113,0000,"","",0,0,0,999,-100000,100000,0000,0,-1,0);
INSERT INTO cq_task VALUES (1114,1114,0000,"","",0,0,0,999,-100000,100000,0000,0,-1,0);
INSERT INTO cq_task VALUES (1115,1115,0000,"","",0,0,0,999,-100000,100000,0000,0,-1,0);
INSERT INTO cq_task VALUES (1116,1116,0000,"","",0,0,0,999,-100000,100000,0000,0,-1,0);
INSERT INTO cq_task VALUES (1117,1117,0000,"","",0,0,0,999,-100000,100000,0000,0,-1,0);
#
INSERT INTO cq_action VALUES (1100,1101,0000,0101,0,"Oh~hello~there~another~young~soul~how~can~i~help~you~my~son~?");
INSERT INTO cq_action VALUES (1101,1102,0000,0102,0,"Who~are~you~? 1103");
INSERT INTO cq_action VALUES (1102,610091,0000,0102,0,"Teleport~Me~To~TwinCity 1112");
#
INSERT INTO cq_action VALUES (1103,1104,0000,0101,0,"Hehe~well~i~got~alot~names~call~me~the~BirthGod");
INSERT INTO cq_action VALUES (1104,610091,0000,0102,0,"Whats~behind~the~bridge~? 1105");
#
INSERT INTO cq_action VALUES (1105,1106,0000,0101,0,"Thats~the~way~to~Twin~City~the~capital~of~all~citys~in~the~land~of~the~living");
INSERT INTO cq_action VALUES (1106,610091,0000,0102,0,"Can~you~let~me~pass~? 1107");
#
INSERT INTO cq_action VALUES (1107,1108,0000,0101,0,"Not~so~fast~my~little~warrior~did~you~talk~yet~to~all~the~masters~specialy~OldGeneralYang~");
INSERT INTO cq_action VALUES (1108,1109,0000,0101,0,"And~TaoistStar~will~teach~a~very~important~leason~before~you~leave~when~you~talked~to~them~");
INSERT INTO cq_action VALUES (1109,1110,0000,0101,0,"And~when~you~are~ready~for~you~journary~i~will~let~you~pass");
INSERT INTO cq_action VALUES (1110,1111,0000,0102,0,"I~am~ready 1112");
INSERT INTO cq_action VALUES (1111,610091,0000,0102,0,"Not~yet. 0");
#
INSERT INTO cq_action VALUES (1112,1113,0000,501,132305,"");
INSERT INTO cq_action VALUES (1113,1114,0000,501,1000000,"");
INSERT INTO cq_action VALUES (1114,1115,0000,501,1000000,"");
INSERT INTO cq_action VALUES (1115,1116,0000,501,1000000,"");
INSERT INTO cq_action VALUES (1116,1117,0000,1003,0,"1002 440 390");
INSERT INTO cq_action VALUES (1117,610091,0000,0101,0,"I~gave~you~Coat~Wooden~Sword~and~some~healing~potions.~Wish~you~pleasant~Journey.");
I hope anyone has an idea whats wrong
Thanks
Regards Jemy.
|
your Direction default is 0 as i think , make it 2
|
|
|
10/03/2009, 00:40
|
#7
|
elite*gold: 0
Join Date: Feb 2008
Posts: 257
Received Thanks: 20
|
Quote:
Originally Posted by samehvan
your Direction default is 0 as i think , make it 2
|
What do you mean with Direction ?
|
|
|
10/04/2009, 14:07
|
#8
|
elite*gold: 0
Join Date: Feb 2008
Posts: 257
Received Thanks: 20
|
So no one wants to help ?
|
|
|
10/04/2009, 14:28
|
#9
|
elite*gold: 0
Join Date: Feb 2009
Posts: 262
Received Thanks: 161
|
where you see
INSERT INTO cq_action VALUES (1102,610091,0000,0102,0,"Teleport~Me~To~TwinCity 1112");
and 1112 at "teleport tc" is next id and put
INSERT INTO cq_action VALUES (1112,0000,0000,1003,0,"1002 440 390");
|
|
|
10/04/2009, 18:40
|
#10
|
elite*gold: 20
Join Date: Jul 2007
Posts: 613
Received Thanks: 486
|
the Direction is a field in the NPC structure NPC.Direction as NPC.Flag and NPC.ID , it will be in database , u have to change it to 2 to let the NPC talk
|
|
|
10/06/2009, 22:22
|
#11
|
elite*gold: 0
Join Date: Feb 2008
Posts: 257
Received Thanks: 20
|
Quote:
Originally Posted by samehvan
the Direction is a field in the NPC structure NPC.Direction as NPC.Flag and NPC.ID , it will be in database , u have to change it to 2 to let the NPC talk
|
There is nothing such as Direction there is type which should be 2 and it is already 2....
Notice i am using the Binary databases
Please anyone can help >......<
|
|
|
10/07/2009, 00:01
|
#12
|
elite*gold: 20
Join Date: Jul 2007
Posts: 613
Received Thanks: 486
|
Quote:
Originally Posted by Jemy
There is nothing such as Direction there is type which should be 2 and it is already 2....
Notice i am using the Binary databases
Please anyone can help >......<
|
oh, sorry i have no idea about bins, u can make a screen shot from your database for some working NPCs and i'll try to c how it should work
|
|
|
Similar Threads
|
Wrote macro for DF gold
02/27/2010 - General Gaming Discussion - 0 Replies
I can wrote macro for you, if you need. For DF gold. Or maybe for $.
For example i wrote macro for my 2 clients, what can skillup very fast.
Eat food (on timers), drink stamina/heal pots (if need), cast heal (defender) or attacker when it need (macro check hotbar colors), buff and debuff twink or myself for less dmg. Macro change weapons (check colors) and shields when it need. Macro can "disable" crit if you need. Macro can use mana to stamina.
Macro also can make logout when runoff food...
|
All times are GMT +1. The time now is 05:27.
|
|