type 1080

09/17/2012 19:47 magewarior2#1
can someone explain me a bit more about the mision that resets itself every day?

also type 1082 (for 1 hour and resets) or something like that.


thank you,
09/17/2012 22:53 Gekru#2
Quote:
Originally Posted by magewarior2 View Post
can someone explain me a bit more about the mision that resets itself every day?

also type 1082 (for 1 hour and resets) or something like that.


thank you,

The action type 1080 is just a quest checker. It checks to see if the players quest id is present or not. The other options either start or delete the quest based on the input from the action sequences.


The type 1081,

Phase's, I would say that this is basically the "level" of the quest the person is on. The other options for this type such as "completenum", "begintime" I haven't used, so I can't remark on those ones.

The type 1082 is a comparison of the "seconds" passed since the quest was activated.

There's also the type 1084 while I haven't tested it, I believe it checks "days" since the quest was activated.
09/18/2012 09:17 magewarior2#3
Quote:
Originally Posted by Gekru View Post
The action type 1080 is just a quest checker. It checks to see if the players quest id is present or not. The other options either start or delete the quest based on the input from the action sequences.


The type 1081,

Phase's, I would say that this is basically the "level" of the quest the person is on. The other options for this type such as "completenum", "begintime" I haven't used, so I can't remark on those ones.

The type 1082 is a comparison of the "seconds" passed since the quest was activated.

There's also the type 1084 while I haven't tested it, I believe it checks "days" since the quest was activated.
thank you for this information, however i already knew this.

what i`m asking, is how to let a mission resets itself a day because it seems i do not get this to work...

also for the seconds (like type 1082 param 3600) now the mission runs for 1 hour.. but it seems not to work with me...

maybe i need to something like this

Code:
1080 9999 new
1081 9999 begintime reset
1082 9999 3600
now it takes 1 hour.. however it is not working :s

thank you,
09/18/2012 12:42 Gekru#4
If you can post some of the actions you use, I can look at it, but as for it not working, I use the 1080,1081, and 1082 pretty much everyday for my quests with no issues.
09/18/2012 16:53 funhacker#5
Quote:
Originally Posted by magewarior2 View Post
thank you for this information, however i already knew this.

what i`m asking, is how to let a mission resets itself a day because it seems i do not get this to work...

also for the seconds (like type 1082 param 3600) now the mission runs for 1 hour.. but it seems not to work with me...

maybe i need to something like this

Code:
1080 9999 new
1081 9999 begintime reset
1082 9999 3600
now it takes 1 hour.. however it is not working :s

thank you,
If you have access to acme database you could look at the 2xEP potion, this uses timed quest values for this.

Quote:
Originally Posted by Gekru View Post
If you can post some of the actions you use, I can look at it, but as for it not working, I use the 1080,1081, and 1082 pretty much everyday for my quests with no issues.
Perhaps 1083 is for hours?
I personally didn't know about 1084 but it seems logical...
09/18/2012 18:12 magewarior2#6
ok, i fixed it...

i tought type 1082 sets up a mission for just 1 hour, that was wrong.


it "checks" howlong it is working.


problem fixed, now

how to let a mission resets itself after 24:00? (like lottery)

i have no extra database so i cannot check it myself :s
09/18/2012 19:57 SoulNecturn#7
Quote:
Originally Posted by magewarior2 View Post
how to let a mission resets itself after 24:00? (like lottery)

i have no extra database so i cannot check it myself :s
Then ... just look inside your own lottery actions ... its there as I remember saw it there ... and I am sure you in your DB you have lottery right ? :)
09/18/2012 21:25 magewarior2#8
Quote:
Originally Posted by SoulNecturn View Post
Then ... just look inside your own lottery actions ... its there as I remember saw it there ... and I am sure you in your DB you have lottery right ? :)
no.. my cq_action has like 2534 line`s :bandit:

to bad i do not remember .. because in the past i did it so many time`s ...
09/18/2012 21:40 Gekru#9
Quote:
Originally Posted by funhacker View Post
Perhaps 1083 is for hours?
I personally didn't know about 1084 but it seems logical...
Sorry, I should have checked my notes lol, I did have 1084 written down, but haven't figured it out yet. I was thinking of 1086.
09/19/2012 00:36 SoulNecturn#10
hmmm so you working on new stuff having clean action table heh and not even have alternative to backup itself ? :P hehe

anyway here is small part of actions from lottery (only the one that has relation - rest is or npc text or opening boxes more less and dont see that there you could find your answer)

so here it is:

Code:
INSERT INTO `cq_action` (`id`, `id_next`, `id_nextfail`, `type`, `data`, `param`) VALUES
(3700970, 3700640, 3700971, 1080, 3502, 'isexit'),
(3700971, 0000, 0000, 0126, 0, 'You~havent~got~a~Prize~yet!'),
(3700972, 3700638, 3700973, 1080, 3502, 'isexit'),
(3700973, 0000, 0000, 0126, 0, 'You~havent~got~a~Prize~yet!'),
(3700980, 3700981, 3700617, 0508, 0, '1 1 50'),
(3700981, 3700983, 3700990, 1080, 3503, 'isexit'),
(3700982, 3700986, 3700995, 1081, 3503, 'phase == 40'),
(3700983, 3700991, 3700982, 1086, 3503, '1'),
(3700986, 3700987, 0000, 0101, 0, 'heh~heh,~you~have~been~too~urgent,~one~day~may~be~able~to~pull~out~20~prizes~only,~tomorrow'),
(3700987, 3700988, 0000, 0101, 0, 'lets~you~draw~again~pulls~out~all~the~way,~bye-bye~~'),
(3700988, 4000038, 0000, 0102, 0, 'is~good. 0'),
(3700990, 3700991, 0000, 1080, 3503, 'new'),
(3700991, 3700997, 0000, 1081, 3503, 'phase = 1'),
(3700995, 3700614, 0000, 1081, 3503, 'phase += 1'),
(3700997, 3700614, 0000, 1081, 3503, 'begintime reset');
generally like Gekru choot ... I would say 1086 type responsible for stating that something can be used every 00:00


Ow yeah generally you wrote:
Quote:
can someone explain me a bit more about the mision that resets itself every day?
So I guess you mean when 00:00 hour passing right? If so yeah hit with tests of this 1086 type

if its about passing day like 24 hours later - then simply do it by counting seconds etc ;)
09/19/2012 14:04 cruey#11
Alternatively.. And I use this method when I need to reset the time for a quest, you can just use the action type 1080 to DELETE the quest and then recreate it using NEW under parameter.

P.S: Does anyone have a list of action types that aren't listed in the outdated list? I'd really appreciate it :)
09/20/2012 05:53 hio77#12
Quote:
Originally Posted by cruey View Post
Alternatively.. And I use this method when I need to reset the time for a quest, you can just use the action type 1080 to DELETE the quest and then recreate it using NEW under parameter.

P.S: Does anyone have a list of action types that aren't listed in the outdated list? I'd really appreciate it :)
the list was taken from the source code, you WONT get a list like that EVER again.

the fact that no more binarys have been leaked makes it clear that sources will not ever get out.

your welcome to sit there trying each id till it does something, ultimately... binarys are dead..


as for the 1080 action, basically put, it controls quests/tasks, depending on the param it can achieve almost any quest related task :)

-hio77
09/20/2012 07:25 magewarior2#13
I can update my list, its edited a "little" bit ...



maybe if you have something to add to it. feel free to let me know! :handsdown:
09/20/2012 08:21 cruey#14
That's what I was asking for hio :) I didn't realize I had to be so specific with you.

thank you magewarrior