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.");
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
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?
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
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
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....
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...