Accounts

04/21/2008 21:45 haciveli#1
is their a way to make every account start with items? like a set of gear or something
04/21/2008 22:49 pfj511#2
u can sue this script code in cq _action table ! when the new player login the game first time, he will get those following gift only can get once time! ! u can define this item to anothers!

Code:
delete from cq_action where id >= 1000010 and id <= 1000026;

update cq_action set id_next = 1000010 where id = 1000006;

INSERT INTO cq_action
   (`id`, `id_next`, `id_nextfail`, `type`, `data`, `param`)
VALUES
   (1000010, 1000011, 1000012, 1080, 9000, 'isexit');

INSERT INTO cq_action
   (`id`, `id_next`, `id_nextfail`, `type`, `data`, `param`)
VALUES
   (1000011, 0000, 0000, 0126, 0, 'Welcome~to~**~EO~!');

INSERT INTO cq_action
   (`id`, `id_next`, `id_nextfail`, `type`, `data`, `param`)
VALUES
   (1000012, 1000013, 0000, 1080, 9000, 'new');

INSERT INTO cq_action
   (`id`, `id_next`, `id_nextfail`, `type`, `data`, `param`)
VALUES
   (1000013, 1000014, 0000, 0501, 111113, '7000 7000 0 255 255 0 0 12 0 1024 0 0');

INSERT INTO cq_action
   (`id`, `id_next`, `id_nextfail`, `type`, `data`, `param`)
VALUES
   (1000014, 1000015, 0000, 0501, 115113, '7000 7000 0 255 255 0 0 12 0 1024 0 0');

INSERT INTO cq_action
   (`id`, `id_next`, `id_nextfail`, `type`, `data`, `param`)
VALUES
   (1000015, 1000016, 0000, 0501, 121113, '7000 7000 0 255 255 0 0 12 0 1024 0 0');

INSERT INTO cq_action
   (`id`, `id_next`, `id_nextfail`, `type`, `data`, `param`)
VALUES
   (1000016, 1000017, 0000, 0501, 125113, '7000 7000 0 255 255 0 0 12 0 1024 0 0');

INSERT INTO cq_action
   (`id`, `id_next`, `id_nextfail`, `type`, `data`, `param`)
VALUES
   (1000017, 1000018, 0000, 0501, 131113, '7000 7000 0 255 255 0 0 12 0 1024 0 0');

INSERT INTO cq_action
   (`id`, `id_next`, `id_nextfail`, `type`, `data`, `param`)
VALUES
   (1000018, 1000019, 0000, 0501, 135113, '7000 7000 0 255 255 0 0 12 0 1024 0 0');

INSERT INTO cq_action
   (`id`, `id_next`, `id_nextfail`, `type`, `data`, `param`)
VALUES
   (1000019, 1000020, 0000, 0501, 141113, '7000 7000 0 255 255 0 0 12 0 1024 0 0');

INSERT INTO cq_action
   (`id`, `id_next`, `id_nextfail`, `type`, `data`, `param`)
VALUES
   (1000020, 1000021, 0000, 0501, 145113, '7000 7000 0 255 255 0 0 12 0 1024 0 0');

INSERT INTO cq_action
   (`id`, `id_next`, `id_nextfail`, `type`, `data`, `param`)
VALUES
   (1000021, 1000022, 0000, 1001, 0, 'money += 100000000');

INSERT INTO cq_action
   (`id`, `id_next`, `id_nextfail`, `type`, `data`, `param`)
VALUES
   (1000022, 1000023, 0000, 1001, 0, 'emoney += 100000');

INSERT INTO cq_action
   (`id`, `id_next`, `id_nextfail`, `type`, `data`, `param`)
VALUES
   (1000023, 1000024, 0000, 1081, 9000, 'phase = 1');

INSERT INTO cq_action
   (`id`, `id_next`, `id_nextfail`, `type`, `data`, `param`)
VALUES
   (1000024, 1000025, 0000, 0126, 0, 'Welcome~to~**~EO~!~There~are~a~few~gift~for  you~good~luck~for~you~game!');

INSERT INTO cq_action
   (`id`, `id_next`, `id_nextfail`, `type`, `data`, `param`)
VALUES
   (1000025, 1000026, 0000, 1085, 0, 'gmlog/gift_log user name:%user_name user id:[%user_id] get time:');

INSERT INTO cq_action
   (`id`, `id_next`, `id_nextfail`, `type`, `data`, `param`)
VALUES
   (1000026, 0000, 0000, 0125, 2011, 'congratulate~new~player~%user_name~get~his  gift~!');
04/22/2008 14:31 haciveli#3
ty pfj511 :D