scripts lineage2  :::  Server Packs lineage 2 — best scripts for admin servers   :::  Projects lineage Turnkey
Login:   Password:  


  Anticheat, Antibot

Special Offers



Server Packs
Turnkey Projects
L2s-Guard Protection
Master Account
Templates Lineage 2


  Install Services

Test Servers:


So, let's begin. I like the example, take your date to the siege.
To begin, open Navicat, go to our database, opening the table “castle”. In this table, locate the column “siegeDate”, it is that figure that contains the date and the time of the siege.
I the siege Aden is 1238252400000 is 28.09.2009.
If You need to move the siege to 7 days in advance, then perform the following calculation:
7 days x 24(hours in day) x 60(minutes in an hour) x 60(seconds in hour) x 1000(milliseconds in second) = 604800000. We did it in a number equal to 7 days.. ie, to move the date of the siege for 7 days we add this number to our number in the database: 604800000 + 1238252400000 = 1238857200000
Copy the number that turned out and insert in the column “siegeDate” instead of the old number. That's all.

P. s: the numbers can add and subtract) I hope the logic is clear)

Printer friendly version Printer friendly version


2007-2024 © Freelance Studio.

scripts lineage 2  :::  Server packs: Essence Seven Signs, Crusader, Homunculus, l2Classic, High Five — Project lineage 2 Turnkey
buy server lineage turnkey  :::  l2j Secret of Empire, Essence, Castle of Ice — buy server Crusade   :::  How to create server la2
Development projects lineage2 turnkey  :::  buy build Interlude — Development build High Five   :::  Lineage 2 turnkey
Creation of sites for lineage 2  :::  Website development lineage — Master Account l2   :::  lineage 2 website turnkey
Development of L2Classic l2j packs  :::  Buy server pack Homunculus — protection lineage2   :::  L2j Kamael