Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Dekaron > Dekaron Private Server
You last visited: Today at 01:29

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

Advertisement



DRAGONKNIGHT error

Discussion on DRAGONKNIGHT error within the Dekaron Private Server forum part of the Dekaron category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Mar 2014
Posts: 77
Received Thanks: 2
Exclamation DRAGONKNIGHT error

-- Character Class Parsing
SELECT @char_gubun = CASE @v_byPCClass
WHEN 0 THEN 'A'
WHEN 1 THEN 'B'
WHEN 2 THEN 'C'
WHEN 3 THEN 'D'
WHEN 4 THEN 'E'
WHEN 5 THEN 'F'
WHEN 6 THEN 'G' -- ADDED BY TORRASKE FOR ALOKEN
WHEN 10 THEN 'H' -- ADDED BY TORRASKE FOR CONCENNA
WHEN 11 THEN 'I' -- ADDED BY TORRASKE FOR SEGU
WHEN 9 THEN 'J' -- ADDED BY TORRASKE FOR BLACK WIZARD
WHEN 12 THEN 'K' -- ADDED BY haskoman FOR DRAGON KNIGHT
WHEN 13 THEN 'L' -- ADDED BY TORRASKE FOR DRAGON KNIGHT
ELSE 'Z'
END

--// Setting Administrative_Code_Table's Name [ USER_CHARACTER_ClassCode ex) Knight -> USER_CHARACTER_A ]
SELECT @tab_nm = 'USER_CHARACTER' + '_' + @char_gubun
SELECT @regdate = SUBSTRING( CONVERT( VARCHAR(10), @ipt_time, 112 ), 1, 6 ) + '01'

-- Get Sequence Number
EXEC dbo.SP_COM_SEQNO @tab_nm, @regdate, @seq_no OUTPUT

IF (@seq_no < 1) -- Error (Has failed to generate a sequence number.)
BEGIN
--SELECT @sp_rtn = @seq_no
SELECT @sp_rtn = -1
RETURN
END

---------------------------------------------------------------------------------------------------------------------
-- Character Number Generation rules
-- Format [ CHAR(18) ] : Character Class [CHAR(1)] + YYMM [CHAR(4)] + SP_ID [CHAR(3)] + seq_no [ CHAR(10) ]
-- Character Class [CHAR(1)] : Knight(0)-'A', Hunter(1)-'B', Magician(2)-'C', Summoner(3)-'D',
-- Segnale(4)-'E', Warrior(5)-'F', Aloken(6)-'G', Knight(13)-'L'
---------------------------------------------------------------------------------------------------------------------
SELECT @m_date = SUBSTRING( CONVERT( VARCHAR(10), @ipt_time, 112 ), 3, 4 )
SELECT @character_no = @char_gubun + @m_date + @spid + dbo.FN_GetAutoNo(@seq_no, 10)

-- Generate Search Condtion
SELECT @rand_no = CAST( (3 * RAND()) + 2 AS INT)
-- SELECT @wh_char_no = 'DEKARON' + CAST( @v_byPCClass AS VARCHAR(1) ) + '000001'
IF @v_byPCClass <= 9
BEGIN
SET @wh_char_no = 'DEKARON'+CAST(@v_byPCClass as varchar(2))+'000001'
END
ELSE
BEGIN
if @v_byPCClass = 10
BEGIN
SET @wh_char_no = 'DEKARON'+'A'+'000001'
END
if @v_byPCClass = 11
BEGIN
SET @wh_char_no = 'DEKARON'+'B'+'000001'
END
if @v_byPCClass = 12
BEGIN
SET @wh_char_no = 'DEKARON'+'C'+'000001'
END
END


share\pc\pcclass
class,0,1,2,3,4,5,6,9,10,11,12,13
size,1,1,1,1,1,2,1,1,1,1,2,1
name_eng,SWORDMAN,ARCHER,SORCER,SUMMON,SEGNALLE,WA RRIOR,ALLOKEN,WIZARD,CONCERRA,Segeuriper,HALFBAGI, DRAGONKNIGHT

I would like to modify Dragon Knight 13. T.T

Please help T.T

WHEN 13 THEN 'L' -- ADDED BY TORRASKE FOR DRAGON KNIGHT
class,0,1,2,3,4,5,6,9,10,11,12,> 13 <
name_eng,SWORDMAN,ARCHER,SORCER,SUMMON,SEGNALLE,WA RRIOR,ALLOKEN,WIZARD,CONCERRA,Segeuriper,HALFBAGI, > DRAGONKNIGHT <
ksh0021 is offline  
Reply


Similar Threads Similar Threads
create DRAGONKNIGHT for elitepvpers
12/23/2014 - Dekaron Private Server - 4 Replies
Hi all so lets go add DRAGONKNIGHT IN DATABASE. MERRY CHRISTMAS ALL 1 -first you need client have DRAGONKNIGHT + dekaron.exe for listen DRAGONKNIGHT 2- DATABASE
S> Lvl70 Dragonknight Account (Elga) 600 USD
11/13/2010 - Trading - 3 Replies
sell lvl70 pally account with set item all special and eq all artifact..kimart wing and ring of darkness legend.. legend kimart stat acc 11.4%, vit 11, agi 12, critical rate 6%, legend rod stat acc 7%, vit 5, agi5, int 4 vit 336, agi 357, acc 248.. btw weapon still is old oak so u need to make a new weapon for it oni.. im offering for 600 USD but the price still can nego.. who interested can leave a msg here or mail to [email protected].. thx:D
S>LVL 70 dragonknight on IAH ELGA
08/05/2010 - Trading - 1 Replies
as stated above im sellin a dragonknight on the IAH ELGA server..ONLI for SG SERIOUS buyers..im willin to let it go for as cheap as possible..still wit eqs interested pls leave me a pm
B>Paladin/Dragonknight (IAH KAYE)
06/27/2010 - Dragonica - 3 Replies
buying following id. Both server!! Kaye or Elga also accepted!! pls do pm me! any offer pls do refer me plss!! serious buyer here! [email protected]



All times are GMT +1. The time now is 01:29.


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.