Register for your free account! | Forgot your password?

You last visited: Today at 23:52

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

 

Siege Time.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Jun 2013
Posts: 373
Received Thanks: 171
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   #2
 
elite*gold: LOCKED
Join Date: Oct 2016
Posts: 305
Received Thanks: 78
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   #3
 
elite*gold: 0
Join Date: Jun 2013
Posts: 373
Received Thanks: 171
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   #4
 
elite*gold: 0
Join Date: Jul 2015
Posts: 408
Received Thanks: 115
look closer at the script LoL



[DEV]Dekaron is offline  
Thanks
1 User
Old   #5
 
elite*gold: LOCKED
Join Date: Oct 2016
Posts: 305
Received Thanks: 78
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   #6
 
elite*gold: 0
Join Date: Jun 2013
Posts: 373
Received Thanks: 171
@[DEV]Dekaron that script is a ****.


i found this on FN_GetSiegeStartBinTime:
You must register and activate your account in order to view images.

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   #7
 
elite*gold: 0
Join Date: Jul 2015
Posts: 408
Received Thanks: 115
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   #8
 
elite*gold: 0
Join Date: Jun 2013
Posts: 373
Received Thanks: 171
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   #9
 
elite*gold: 0
Join Date: Jul 2015
Posts: 408
Received Thanks: 115
i use script on clean database
[DEV]Dekaron is offline  
Old   #10
 
elite*gold: LOCKED
Join Date: Oct 2016
Posts: 305
Received Thanks: 78
~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   #11
 
elite*gold: 0
Join Date: Jun 2013
Posts: 373
Received Thanks: 171
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
Reply



« Previous Thread | Next Thread »

Similar Threads
[Siege] Siege Time..Help me dear friends..
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 ??
1 Replies - Dekaron Private Server
Siege Time Help!
Hello I do it for my server the siege battle. But when I looked the next siege's time i seen this: ...
15 Replies - Dekaron Private Server
How Change Time of Siege Ritual?
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...
0 Replies - Dekaron Private Server



All times are GMT +1. The time now is 23:52.


Powered by vBulletin®
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Abuse
Copyright ©2017 elitepvpers All Rights Reserved.