The Most Important Querry
#22

How to fix item Expire ....where and the time to add

 

 

3888 sec = 1 game day, and there are 24 game days in 1 real day..

 

1.08 = 1 sec

64.8 = 1 min

3888 = 1 hour

11664 = 3 hours

34992 = 9 hours

 

So 3888 x 24 = 93312 = 1 real day

So 93312 x 7 = 653184  = 7 real days

So 93312 x 30 = 2799360 = 30 real days

 

enter the value in a_num_4 in t_items

 

 

I found using t_inven00 - 09 / a_used0 in secs works great.

This also working in the warehouse/storage house which is what i needed for the mall

 

updates in db based on Days

 

-- this will fix alot of them ...but use them at your own risk....

UPDATE t_item SET a_num_4 = 653184 WHERE a_flag = 352847104;  -- 7 Days will update all items with this flag;

UPDATE t_item SET a_num_4 = 1306368 WHERE a_flag = 352322816;  -- 14 Days will update all items with this flag;

UPDATE t_item SET a_num_4 = 2799360 WHERE a_flag = 352978176;  -- 30 Days will update all items with this flag;

 

If you find this to be in error please reply ....as always if you use my work presss                   Thank you 



Messages In This Thread
[No subject] - by DrGenius - 02-24-2013, 03:25 AM
[No subject] - by Janebug - 02-24-2013, 05:56 AM
[No subject] - by DrGenius - 02-24-2013, 06:43 AM
[No subject] - by filix_93 - 02-24-2013, 09:38 AM
[No subject] - by Mr Perez - 02-24-2013, 01:16 PM
[No subject] - by Janebug - 02-26-2013, 08:32 PM
[No subject] - by Janebug - 02-27-2013, 09:38 PM
[No subject] - by Wizatek - 02-27-2013, 10:38 PM
[No subject] - by halohalo - 02-27-2013, 11:00 PM
[No subject] - by Wizatek - 02-27-2013, 11:27 PM
[No subject] - by Ph3NoM - 02-28-2013, 06:47 AM
[No subject] - by Janebug - 02-28-2013, 07:20 AM
[No subject] - by Janebug - 02-28-2013, 07:25 AM
[No subject] - by Wizatek - 02-28-2013, 02:02 PM
[No subject] - by Janebug - 02-28-2013, 06:31 PM
[No subject] - by DrGenius - 02-28-2013, 10:18 PM
[No subject] - by luoo - 02-28-2013, 10:24 PM
[No subject] - by DrGenius - 03-01-2013, 08:44 AM
[No subject] - by Douglas Farias - 03-01-2013, 03:08 PM
[No subject] - by Janebug - 03-01-2013, 07:00 PM
[No subject] - by luoo - 03-01-2013, 07:21 PM
[No subject] - by Janebug - 03-02-2013, 02:28 AM
[No subject] - by luoo - 03-02-2013, 11:41 PM
[No subject] - by Janebug - 03-03-2013, 08:35 AM
[No subject] - by luoo - 03-03-2013, 10:36 AM
[No subject] - by Wizatek - 03-03-2013, 10:42 AM
[No subject] - by luoo - 03-03-2013, 11:07 AM
[No subject] - by extreme - 06-01-2013, 12:26 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)