[help] cq_action type 1046

04/19/2014 20:49 nomercyskin1#1
Hello, i find out when using two different database... the fist database with type=1046 and param = 56 .. working appear interface in client side.. but the other database not working... nothing to do with cq_task... anyone know where the real problem?
04/21/2014 06:56 idlemonkey#2
the dialogue_id maybe different than the one you used in the previous client, or maybe missing parts for the graphic for that dialogue id(it should show up in the debug files) or maybe you simple do not have a task for that action id... or you do not have a cq_npc entry for your dialogue id... (some of them need it)


example
04/21/2014 19:47 magewarior2#3
This is what i found into the action list

Quote:
ACTION_USER_OPEN_DIALOG = 1046, // notice client side opens a contact surface.data=idDialog.param= " task_id0 task_id1 task_id2 task_id3… “, may not have param, most 20 task_id, task_id cannot be 0, permission client side choice next TASK.When does not have param, the client side can upload only “TASK which the client side may trigger”.When has param, cq_task.client_active must be 0.
04/22/2014 00:18 idlemonkey#4
Quote:
Originally Posted by magewarior2 View Post
This is what i found into the action list
click the spoiler in the post above ;) lol i already said that

@nomercy are you sure your 56 is in the parameter column as you said or is it in the data column ....
sounds like youre calling a dialogue that isnt there in the version you changed to. try looking and see if they use a different dialogue id for that particular window dialogue .... ie if its the warehouse popup look for warehouse and see if its there somewhere maybe with a different number in the data column
if you cant find it then you could try to go through and find the files in your "new" client for that dialogue id and client side actions and update it to have similar values to the "previous" client
04/22/2014 21:35 nomercyskin1#5
Thanks for reply... Im using same Client, but different database(just database).... both with same querry.... cq_npc querry , cq_task querry, cq_action querry... but the other database the type = 1046 and data=56 param="" not appear interface...mybe other table affect the 1046 type...in addition, if we can solve this problem, we can known the exactly interface data type.. :)


my Randal or FamilyWar npc also not appear interface...mybe there is something we dont know in database table...
04/25/2014 06:46 funhacker#6
You could always test if the server "fails" an action when no such interface exists
You could do this by having another action that comes after the dialog call.
04/27/2014 04:21 nomercyskin1#7
can you explain briefly? funhacker... this is the first problem that hard to solve.. im still dont know where the problem..
04/27/2014 13:33 funhacker#8
Quote:
Originally Posted by nomercyskin1 View Post
can you explain briefly? funhacker... this is the first problem that hard to solve.. im still dont know where the problem..
if you wanted to make sure an action was successful you would add to the id_next and id_nextfail

one with a message saying "True" another saying "False"
04/28/2014 18:09 nomercyskin1#9
delete from cq_action where id="4700560";
insert into cq_action values ('4700560','0','0','1046','59','');

this is example for my querry... im already ad in cq_task... it do not show client side interface....


but when im using different database , ACC,MSG,NPC (still same) application and the same querry console ...the client side appear...

:( thats my problem...
04/29/2014 09:07 magewarior2#10
How old is that other msg? Maybe it doesnt have type 1046 added,
04/30/2014 00:35 nomercyskin1#11
Thanks all for reply.. Im already fix it... some action of 1046 not working without some complete table... im someone have problem like mine.. you should check some table that missing or incomplete table database to make sure the 1046 type working.. :)
04/30/2014 13:47 HauntedEudemon#12
Quote:
Originally Posted by nomercyskin1 View Post
delete from cq_action where id="4700560";
insert into cq_action values ('4700560','0','0','1046','59','');

.
where u put client side . what file needed ? for param 59 ?