Item with time length

04/25/2013 11:46 kurmiz#1
Hey,

does anyone tried to make dropable/exchangable item with time length?
Trying to do it, but without success - item not getting time option and dissapearing after 1-2mins.

As i see for now, only Dshop can put time option into database.
Also rings from DF, but they drops from nowhere (scriptprocess doing it somehow probably).


Any tips appreciated.

Edit: simple quest and commisioned quest cant put time too. :(

Edit2: maybe item creation procedure needs to be edited? or something in exe?
04/26/2013 11:34 conquer93#2
u can just add time to column "Period" in the armor/weap/etc. item files
the period goes per second. so if u add "60" in period column the item stays 60 seconds.
04/26/2013 12:49 kurmiz#3
Quote:
Originally Posted by conquer93 View Post
u can just add time to column "Period" in the armor/weap/etc. item files
the period goes per second. so if u add "60" in period column the item stays 60 seconds.
I know, problem is that item dissapears after 1-5min (when game checking inventory database) even if i set 60 sec or 7 days.
exp_bindate (reg_bindate+period) not setled at item creation if item droped drop monster/console/exchange/quest etc. Only D-shop adds it correctly.
I cant even see item at DB as it gets destroyed (by time limit checker procedure) on information update/logout.
04/26/2013 13:39 alexmak96#4
Yeah i think it only works when u buy it from dshop.
when you drop it with a dev it dissapear after 1-2minutes
04/26/2013 14:09 conquer93#5
just add the items u want to have periods to itemcash. simple as that lol
04/26/2013 15:45 kurmiz#6
Quote:
Originally Posted by conquer93 View Post
just add the items u want to have periods to itemcash. simple as that lol
Dshop buying/gifting procedure (or function) itself (item creation) is working.
For dropped item period doesnot apply even if item is in itemcash.


exe should read period value, as it reads collumns after period and values applies at dshop.
Only thing i dont know, if its exe fails to send period value, or sql fails to calculate it