Register for your free account! | Forgot your password?

You last visited: Today at 09:24

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Siege Time.

Discussion on Siege Time. within the Dekaron Private Server forum part of the Dekaron category.

Reply
 
Old   #1
 
Farius~'s Avatar
 
elite*gold: 0
Join Date: Jun 2013
Posts: 555
Received Thanks: 318
Siege Time.

I was looking for a good time post on how to change the start time of siege and the truth is that none clearly specifies how to change the siege start time.
Has anyone here successfully changed the siege time? At this moment my server has the siege every 2 weeks every Sunday at 21:00 at night.
And I want to change it every Saturday night, that is to say every week a siege battle. Any idea how to achieve this ?. Because I have seen that some have changed the time of siege but not of ritual. And have no idea how to change the waiting time to enable the ritual.
Farius~ is offline  
Old 08/07/2017, 21:03   #2
Trade Restricted
 
elite*gold: LOCKED
Join Date: Oct 2016
Posts: 321
Received Thanks: 79
Well get siege script, and when you see the function getting the params and the time +21000 for example, you'll need to make the math counts for the necessary time till next siege. That's how it works, we dont set the "human" days like monday,etc
Underfisk is offline  
Old 08/08/2017, 11:54   #3
 
Farius~'s Avatar
 
elite*gold: 0
Join Date: Jun 2013
Posts: 555
Received Thanks: 318
Quote:
Originally Posted by Underfisk View Post
Well get siege script, and when you see the function getting the params and the time +21000 for example, you'll need to make the math counts for the necessary time till next siege. That's how it works, we dont set the "human" days like monday,etc

Already this I feel and I made the test in my test server and the date does not change, it is still the same date, I do not know if I am trying something wrong, but the first siege battle begins at 1 in the morning and the rest begins at 21 hours, but what I want to change is not the time, I want to change the day, I want to put it to be every weekend, not every two weeks as it comes by default.
Farius~ is offline  
Old 08/08/2017, 13:40   #4
 
elite*gold: 0
Join Date: Jul 2015
Posts: 876
Received Thanks: 258
look closer at the script LoL

[DEV]Dekaron is offline  
Thanks
1 User
Old 08/08/2017, 14:02   #5
Trade Restricted
 
elite*gold: LOCKED
Join Date: Oct 2016
Posts: 321
Received Thanks: 79
Well that one is already made with 3 ways because the guy who did he script made the necessary math, but if you wanna do a custom one you'll need to do it.
~Farius it will take your system date yes as default so if you increment something there's a function which use your actual date + the X new. I'm writing on phone but i'm pretty sure you can do it easily
Underfisk is offline  
Old 08/08/2017, 15:05   #6
 
Farius~'s Avatar
 
elite*gold: 0
Join Date: Jun 2013
Posts: 555
Received Thanks: 318
@ that script is a ****.


i found this on FN_GetSiegeStartBinTime:


maybe If I replace the code with this code, should it work?

SELECT @v_siege_start_date = CONVERT(VARCHAR(10), DATEADD(d, 7-DATEPART(dw, @i_GetDate), @i_GetDate), 112) + '210000'
Farius~ is offline  
Old 08/08/2017, 15:38   #7
 
elite*gold: 0
Join Date: Jul 2015
Posts: 876
Received Thanks: 258
i setup siege to this

-Once Week every Sunday-//

SELECT @v_siege_start_date = CONVERT(VARCHAR(10), DATEADD(d, 8-DATEPART(dw, @i_GetDate), @i_GetDate), 112) + '210000'

and all works fine

BTW about script i just want to show what you need change
[DEV]Dekaron is offline  
Old 08/08/2017, 16:42   #8
 
Farius~'s Avatar
 
elite*gold: 0
Join Date: Jun 2013
Posts: 555
Received Thanks: 318
Quote:
Originally Posted by [DEV]Dekaron View Post
i setup siege to this

-Once Week every Sunday-//

SELECT @v_siege_start_date = CONVERT(VARCHAR(10), DATEADD(d, 8-DATEPART(dw, @i_GetDate), @i_GetDate), 112) + '210000'

and all works fine

BTW about script i just want to show what you need change
u change it manually on the FN or u use the script?.
Farius~ is offline  
Old 08/08/2017, 17:04   #9
 
elite*gold: 0
Join Date: Jul 2015
Posts: 876
Received Thanks: 258
i use script on clean database
[DEV]Dekaron is offline  
Old 08/08/2017, 21:31   #10
Trade Restricted
 
elite*gold: LOCKED
Join Date: Oct 2016
Posts: 321
Received Thanks: 79
~Farius take a look in the script, it does * the time in seconds so just make the math process and see what are the params necessary to get your exact date. Otherwise do as dev dekaron is saying.
Underfisk is offline  
Thanks
1 User
Old 08/09/2017, 19:08   #11
 
Farius~'s Avatar
 
elite*gold: 0
Join Date: Jun 2013
Posts: 555
Received Thanks: 318
Already, for change siege time no need use script only change this number on FN_GetSiegeStartBinTime

Quote:
SELECT @v_siege_start_date = CONVERT(VARCHAR(10), DATEADD(d, 8-DATEPART(dw, @i_GetDate), @i_GetDate), 112) + '210000'

no need use any script

#Solved.
Farius~ is offline  
Thanks
1 User
Old 04/02/2022, 16:50   #12
 
elite*gold: 0
Join Date: Sep 2018
Posts: 19
Received Thanks: 1
Quote:
Originally Posted by Farius~ View Post
Already, for change siege time no need use script only change this number on FN_GetSiegeStartBinTime




no need use any script

#Solved.
I modified the system time to display, but it is not accurate. How can I modify it to normal time? thank you
egameol is offline  
Reply


Similar Threads Similar Threads
[Siege] Siege Time..Help me dear friends..
09/02/2013 - Dekaron Private Server - 1 Replies
Hello guys.My client is siege 2 week of 1.I want to make weekly my siege war.How do each week make siege war ??
Siege Time Help!
07/20/2010 - Dekaron Private Server - 15 Replies
Hello I do it for my server the siege battle. But when I looked the next siege's time i seen this: http://kepfeltoltes.hu/100708/dekaron_2010_07_08_ 21h_22m_24s_0014_www.kepfeltoltes.hu_.jpg I done with the: -request a siege battle -Seal ritual -Seal register
How Change Time of Siege Ritual?
04/18/2010 - Dekaron Private Server - 0 Replies
How can change Date said me next war 5/2/2000 >.< how can change in 2010 ? or all date ? ( i already done with command gm for start b4 but didn't change ) and another thing How can change Date and Time ( Wednesday 18:00) of Siege Ritual ? tell me thanks:mofo:



All times are GMT +2. The time now is 09:24.


Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2024 elitepvpers All Rights Reserved.