03-01-2013, 07:21 PM
Post sql querys is ok, but for sql querys credits is .......
|
The Most Important Querry
|
|
03-01-2013, 07:21 PM
Post sql querys is ok, but for sql querys credits is .......
03-02-2013, 02:28 AM
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
03-02-2013, 11:41 PM
Wrong. a_num_4 = 24 -> 1 Day a_num_4 = 168 -> 7 Days a_num_4 = 720 -> 30 Days
03-03-2013, 08:35 AM
i did alot of looking for this luoo, and what i found was the 3888 sec = 1 game day, and there are 24 game days in 1 real day.. so ill try your way see whats give but thank you.....
03-03-2013, 10:36 AM
Look the id 2458,2459,2460 Merchant Ticket 1,7,30 Days or 1419 Platin Refining +1 1 Day. a_used0 is in seconds i think.
03-03-2013, 10:42 AM
All numbers in the database are in real seconds
03-03-2013, 11:07 AM
But a_num4 for cover etc. is in hours.
06-01-2013, 12:26 PM
This is a really useful post. Why anyone dont put it in pinned? |
|
« Next Oldest | Next Newest »
|