Register for your free account! | Forgot your password?

You last visited: Today at 20:04

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

Advertisement



script to siege!

Discussion on script to siege! within the Dekaron Private Server forum part of the Dekaron category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Apr 2008
Posts: 3
Received Thanks: 1
Arrow script to siege!

this is the full script to siege enjoy!


DECLARE @v_siege_no char(10)
DECLARE @guild_code varchar(10)
DECLARE @v_strDate varchar(10)
DECLARE @v_regdate varchar(10)
DECLARE @v_strChannel varchar(2)
DECLARE @i_bychannel tinyint
DECLARE @o_dwDungeonRegistTime varbinary(4)
DECLARE @o_DeadFrontTimeInfo varbinary(1000)
DECLARE @o_sp_rtn int
DECLARE @o_dwRegistTimeStart varbinary(4)
DECLARE @o_dwRegistTimeEnd varbinary(4)
DECLARE @o_dwTaxRegistTime varbinary(4)
declare @o_dwRegistTime varbinary(4)
DECLARE @v_strDate1 varchar(10)
DECLARE @i_GetDate datetime
DECLARE @v_siege_start_date varchar(14)
DECLARE @v_siege_start_time varbinary(4)
declare @guild_name char(20)
set @i_GetDate=getdate()
--// ??SELECT @v_siege_start_date = CONVERT(VARCHAR(10), DATEADD(d, 15-DATEPART(dw, @i_GetDate), @i_GetDate), 112) + '210000' ^EG\iO2X
--// ???SELECT @v_siege_start_date = CONVERT(VARCHAR(10), DATEADD(d, 7-DATEPART(dw, @i_GetDate), @i_GetDate), 112) + '210000' ,lA.C%4au~
--// ?????SELECT @v_siege_start_date = CONVERT(VARCHAR(10), DATEADD(d, 8-DATEPART(dw, @i_GetDate), @i_GetDate), 112) + '210000' VvFC -r,=G
SELECT @v_siege_start_date= CONVERT(VARCHAR(10),GetDate()+1,112)+'210000'
--//???? &[NG]V!Oc
SELECT @v_siege_start_date = CONVERT(VARCHAR(10), DATEADD(d, 15-DATEPART(dw, @i_GetDate), @i_GetDate), 112) + '210000'
SELECT @v_siege_start_time = SUBSTRING(@v_siege_start_date,4,1) * 100000000
+ SUBSTRING(@v_siege_start_date,5,2) * 1000000
+ SUBSTRING(@v_siege_start_date,7,2) * 10000
+ SUBSTRING(@v_siege_start_date,9,2) * 100
+ SUBSTRING(@v_siege_start_date,11,2)
SET @guild_code = '001'
SET @guild_name = '<color=green>LoLz'
SET @v_siege_no = SUBSTRING(dbo.FN_DateToShortStrDate(GetDate()), 3, 4) + '0001'
INSERT
INTO GUILD_INFO(guild_code, guild_name, guild_Level, bystate, bychannel)
VALUES (@guild_code, @guild_name, 3, 1, 1)
INSERT
INTO SIEGE_INFO(SIEGE_NO, CHANNEL_NO, GUILD_CODE, GUILD_NAME, DWSTARTTIME, BYREGISTTIMEFLAG, DEFENDER_INFO, SIEGE_TAG)
VALUES (@v_siege_no, 1, @guild_code, @guild_name,@v_siege_start_time, 1, 0X0000, 'Y')
EXEC SP_SIEGE_START_TIME_U @guild_code,1,0x01,@v_siege_start_time output,@o_dwRegistTime output,@o_sp_rtn output
set @v_strDate1=dbo.FN_BinDateToDateTime(@v_siege_star t_time)
declare @P1 varchar(13)
set @P1=NULL
declare @P2 varchar(33)
set @P2=NULL
declare @P3 varchar(25)
set @P3=NULL
declare @P4 varbinary(4)
set @P4=NULL
declare @P5 varbinary(4)
set @P5=NULL
declare @P6 varbinary(4)
set @P6=NULL
declare @P7 varbinary(4)
set @P7=NULL
declare @P8 varbinary(4)
set @P8=NULL
declare @P9 varbinary(4)
set @P9=NULL
declare @P10 varbinary(4)
set @P10=NULL
declare @P11 varbinary(2)
set @P11=NULL
declare @P12 varbinary(2)
set @P12=NULL
declare @P13 varbinary(2)
set @P13=NULL
declare @P14 int
set @P14=NULL
declare @P15 int
set @P15=NULL
declare @P16 varbinary(4)
set @P16=NULL
declare @P17 varbinary(996)
set @P17=NULL
declare @P18 varbinary(996)
set @P18=NULL
declare @P19 varbinary(1000)
set @P19=NULL
declare @P20 int
set @P20=NULL
exec SP_SIEGE_INFO_R 1, @P1 output, @P2 output, @P3 output, @P4 output, @P5 output, @P6 output, @P7 output, @P8 output, @P9 output, @P10 output, @P11 output, @P12 output, @P13 output, @P14 output, @P15 output, @P16 output, @P17 output, @P18 output, @P19 output, @P20 output


caioc2 is offline  
Thanks
1 User
Old 06/17/2009, 23:27   #2
 
NHS's Avatar
 
elite*gold: 0
Join Date: Feb 2009
Posts: 532
Received Thanks: 76
I already have it but...who are you and where did you get this?
NHS is offline  
Old 06/17/2009, 23:47   #3
 
skulkerman32's Avatar
 
elite*gold: 0
Join Date: Aug 2008
Posts: 223
Received Thanks: 39
already ben posted + its already released
skulkerman32 is offline  
Old 06/18/2009, 03:57   #4
 
NHS's Avatar
 
elite*gold: 0
Join Date: Feb 2009
Posts: 532
Received Thanks: 76
Ahh must have missed it, i dont check here too often.
NHS is offline  
Old 06/18/2009, 07:10   #5
 
elite*gold: 0
Join Date: Mar 2008
Posts: 94
Received Thanks: 11
And how to add spesific times?
kenshin-x is offline  
Old 06/18/2009, 07:13   #6
 
elite*gold: 0
Join Date: Apr 2009
Posts: 80
Received Thanks: 4
hmm from what i see siege start time is binary coded.

btw i think theres a mistake in code line 41 it is
Code:
set @v_strDate1=dbo.FN_BinDateToDateTime(@v_siege_star t_time)
but shud be
Code:
set @v_strDate1=dbo.FN_BinDateToDateTime(@v_siege_start_time)
darksm4sher820 is offline  
Old 06/18/2009, 16:52   #7
 
elite*gold: 0
Join Date: Mar 2008
Posts: 94
Received Thanks: 11
How to start siege times?
kenshin-x is offline  
Old 06/19/2009, 09:00   #8
 
gedimazs's Avatar
 
elite*gold: 0
Join Date: May 2008
Posts: 863
Received Thanks: 197
not working for me. Server Dekaron.exe still crashes after command /gm startsiege [time]
gedimazs is offline  
Old 01/01/2010, 13:46   #9
 
elite*gold: 0
Join Date: Nov 2008
Posts: 134
Received Thanks: 8
This script not work on year 2010
please fix again.
augustabyron is offline  
Old 01/01/2010, 14:00   #10
 
l2zeo's Avatar
 
elite*gold: 0
Join Date: Aug 2009
Posts: 267
Received Thanks: 39
augustabyron.

Quote:
Originally Posted by augustabyron View Post
This script not work on year 2010
please fix again.
augustabyron.
Did you correct siege script?
l2zeo is offline  
Thanks
1 User
Old 01/01/2010, 14:28   #11
 
elite*gold: 0
Join Date: Nov 2008
Posts: 134
Received Thanks: 8
Quote:
Originally Posted by l2zeo View Post
augustabyron.
Did you correct siege script?
still correcting,but not success now.
augustabyron is offline  
Old 01/01/2010, 14:48   #12
 
l2zeo's Avatar
 
elite*gold: 0
Join Date: Aug 2009
Posts: 267
Received Thanks: 39
If was corrected

Quote:
Originally Posted by augustabyron View Post
still correcting,but not success now.
If was corrected
teach modified contents..
l2zeo is offline  
Old 01/01/2010, 15:09   #13
 
elite*gold: 0
Join Date: Nov 2008
Posts: 134
Received Thanks: 8
if ok i will be share for you.
augustabyron is offline  
Old 01/01/2010, 15:17   #14
 
l2zeo's Avatar
 
elite*gold: 0
Join Date: Aug 2009
Posts: 267
Received Thanks: 39
good luck

Quote:
Originally Posted by augustabyron View Post
if ok i will be share for you.
Pray good luck, and want to succeed certainly. !
l2zeo is offline  
Old 01/01/2010, 19:43   #15
 
elite*gold: 0
Join Date: Jan 2009
Posts: 226
Received Thanks: 80
don't thank this guy for nothing it was my friends that did it
Lanayru is offline  
Reply


Similar Threads Similar Threads
[RELEASE] Siege Script for every 3day,1week and twice a month
03/20/2013 - Dekaron Private Server - 25 Replies
Hit thanks if you like :)
Please help siege script
08/31/2010 - Dekaron Private Server - 27 Replies
when i run siege script i got this error msg. Msg 241, Level 16, State 1, Procedure SP_SIEGE_START_TIME_U, Line 52 Conversion failed when converting date and/or time from character string. Why i try to run siege srcipt again ? !!! cuz i got this error. http://upic.me/i/gb/siegeerror.jpg
Help Change Siege Time ( Full Script )
07/20/2010 - Dekaron Private Server - 2 Replies
hello , i got my siege time on my test server start on sunday 21:00 server time , can someone please tell me how to change it to saturday 21:00 ? with the full script replacement. Thanks, Zakurin



All times are GMT +1. The time now is 20:04.


Powered by vBulletin®
Copyright ©2000 - 2025, 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 ©2025 elitepvpers All Rights Reserved.