How set time on an item

12/30/2012 17:58 MrFrancisc#1
How i can set a timer at an item (to set a time to expire and disappear)
Or
Where can alter time an item ?
12/30/2012 19:10 Ivica.Lovro#2
You can do it for example with a quest.
So you can set a timer and when the time is over,
the Item diappear and the affect will be removed, too.


mfg PleXoNiu
12/30/2012 19:11 DasKuchen#3
Use Cronjob
12/30/2012 19:15 MrFrancisc#4
Quote:
Originally Posted by .PleXoNiu° View Post
You can do it for example with a quest.
So you can set a timer and when the time is over,
the Item diappear and the affect will be removed, too.


mfg PleXoNiu
Can give me an example of item quest with timer ?
12/30/2012 19:23 Ivica.Lovro#5
For what do you need that timer?
Then I can help you with an example.

mfg PleXoNiu
12/30/2012 19:41 PiotrekSensual#6
[Only registered and activated users can see links. Click Here To Register...]
12/30/2012 20:05 Endymion_#7
For example: if you buy item from bad written itemshop and its time is 0, then you can use item.set_socket to set proper time with quest.

Code:
when 9005.take with item.vnum == xxxx begin
			if item.get_socket(0) == 1 then
				chat("You have already done it!")
			else
				chat("Time has been changed to proper.")
				item.set_socket(0, 1)
				item.set_socket(2, 720)
			end
		end
720 = time in minute.
12/30/2012 20:08 shpritz#8
player=>item_proto => value3
12/30/2012 20:42 DarkNessWorld2#9
is das net value 1?
07/20/2013 16:24 lfcmaus#10
value2 = 1 value0 = time
and type = same Schlüsselstein ....
07/24/2013 06:20 elbrins015#11
can any one explain ; How to set time on custome armors ?
07/24/2013 12:39 Xijezu#12
#moved