DeathKO | v.24xx Light Farm | PHOENIX | 26 Nisan Cuma 22:00'da Açılıyor!
Cuceko
Cuceko

59 LEVEL | BaşLangıç LeveL Para Stat Point Skill Point Ayarlama

  •         

            

            

            

            

  • HyperFilter | DoS Protection | DDoS Protection | DoS Mitigation | DDoS Mitigation | AntiDoS | AntiDDoS | Proxy Shielding
S Çevrimdışı

slmblk51

Kayıtlı Üye
15 Temmuz 2014
837
0
16
25
Cevap: 59 LEVEL | BaşLangıç LeveL Para Stat Point Skill Point Ayarlama



dsadsadsadsa
 
F Çevrimdışı

fotococuk23

Kayıtlı Üye
3 Nisan 2015
168
0
16
37
Cevap: 59 LEVEL | BaşLangıç LeveL Para Stat Point Skill Point Ayarlama



++++++++++++++
 
R Çevrimdışı

Rec94

Kayıtlı Üye
6 Mart 2015
254
0
16
30
Cevap: 59 LEVEL | BaşLangıç LeveL Para Stat Point Skill Point Ayarlama



QWEQWEQWE
 
K Çevrimdışı

kuwwet1

Kayıtlı Üye
20 Şubat 2016
120
0
16
32
Cevap: 59 LEVEL | BaşLangıç LeveL Para Stat Point Skill Point Ayarlama



ewqqqqqqqqqqqqqqq
 
A Çevrimdışı

asas6906

Kayıtlı Üye
3 Haziran 2015
673
0
16
36
Cevap: 59 LEVEL | BaşLangıç LeveL Para Stat Point Skill Point Ayarlama



QWEEEEEEEEEEE1
 
S Çevrimdışı

sez3r

Kayıtlı Üye
30 Kasım 2016
82
0
6
31
Cevap: 59 LEVEL | BaşLangıç LeveL Para Stat Point Skill Point Ayarlama



sadddddddddddddddddddddddd
 
C Çevrimdışı

concon5

Yeni Cüce
22 Şubat 2017
27
0
1
29
Cevap: 59 LEVEL | BaşLangıç LeveL Para Stat Point Skill Point Ayarlama



teşekkürler
 
C Çevrimdışı

Cripton

Kayıtlı Üye
27 Nisan 2012
577
0
16
Cevap: 59 LEVEL | BaşLangıç LeveL Para Stat Point Skill Point Ayarlama



dsadsa231321312
 
C Çevrimdışı

cgrtncy

Yeni Cüce
21 Mart 2017
7
0
1
36
Cevap: 59 LEVEL | BaşLangıç LeveL Para Stat Point Skill Point Ayarlama



Teşekkürler
 
M Çevrimdışı

msandikci

Kayıtlı Üye
20 Mart 2017
98
0
6
34
Cevap: 59 LEVEL | BaşLangıç LeveL Para Stat Point Skill Point Ayarlama



teşekkürler
 
P Çevrimdışı

parislee

Kayıtlı Üye
21 Ocak 2016
32
0
6
31
Cevap: 59 LEVEL | BaşLangıç LeveL Para Stat Point Skill Point Ayarlama



+++++++++++++++
 
E Çevrimdışı

Equity

Kayıtlı Üye
8 Nisan 2017
486
0
16
30
Cevap: 59 LEVEL | BaşLangıç LeveL Para Stat Point Skill Point Ayarlama



+++++++++++++++++++++++++
 
Y Çevrimdışı

yusufbergal10

Kayıtlı Üye
31 Ağustos 2013
158
0
16
30
Cevap: 59 LEVEL | BaşLangıç LeveL Para Stat Point Skill Point Ayarlama



qqqqqqqqqqqqqqqqqqqqqqqqqqq
 
B Çevrimdışı

Bobert1695

Kayıtlı Üye
9 Mayıs 2017
94
0
6
28
Cevap: 59 LEVEL | BaşLangıç LeveL Para Stat Point Skill Point Ayarlama



++++++++++++++++++++++++
 
1 Çevrimdışı

11ben

Kayıtlı Üye
18 Mart 2016
307
0
16
29
CREATE PROCEDURE CREATE_NEW_CHAR



@nRet smallint OUTPUT,

@AccountID char(21),

@index tinyint,

@CharID char(21),

@Race tinyint,

@class smallint,

@Hair tinyint,

@Face tinyint,

@Str tinyint,

@Sta tinyint,

@Dex tinyint,

@Intel tinyint,

@Cha tinyint



AS



DECLARE @Row tinyint, @Nation tinyint, @zone tinyint, @PosX int, @PosZ int

SET @Row = 0 SET @Nation = 0 SET @zone = 0 SET @PosX = 0 SET @PosZ = 0



SELECT @Nation = bNation, @Row = bCharNum FROM ACCOUNT_CHAR WHERE strAccountID = @AccountID



IF @Row >= 5 SET @nRet = 1



IF @Nation = 1 AND @Race > 10 SET @nRet = 2

ELSE IF @Nation = 2 AND @Race < 10 SET @nRet = 2

ELSE IF @Nation <>1 AND @Nation <> 2 SET @nRet = 2



IF @nRet > 0

RETURN



SELECT @Row = COUNT(*) FROM USERDATA WHERE strUserId = @CharID

IF @Row > 0

BEGIN

SET @nRet = 3

RETURN

END





SET @Zone=21

SELECT @PosX = InitX, @PosZ = InitZ FROM ZONE_INFO WHERE ZoneNo = @zone



select @row = 3

if @CharID like '%___%'

if @CharID like '%_%'

if @CharID like '%__%'

if @CharID like '%:%'

if @CharID like '%::%'

begin

SET @nRet = 3

RETURN





END

BEGIN TRAN

IF @index = 0

UPDATE ACCOUNT_CHAR SET strCharID1 = @CharID, bCharNum = bCharNum + 1 WHERE strAccountID = @AccountID

ELSE IF @index = 1

UPDATE ACCOUNT_CHAR SET strCharID2 = @CharID, bCharNum = bCharNum + 1 WHERE strAccountID = @AccountID

ELSE IF @index = 2

UPDATE ACCOUNT_CHAR SET strCharID3 = @CharID, bCharNum = bCharNum + 1 WHERE strAccountID = @AccountID

ELSE IF @index = 3

UPDATE ACCOUNT_CHAR SET strCharID4 = @CharID, bCharNum = bCharNum + 1 WHERE strAccountID = @AccountID

ELSE IF @index = 4

UPDATE ACCOUNT_CHAR SET strCharID5 = @CharID, bCharNum = bCharNum + 1 WHERE strAccountID = @AccountID





INSERT INTO USERDATA (strUserId, Nation, Race, Class, HairColor, Face, Strong, Sta, Dex, Intel, Cha, Zone, PX, PZ )

VALUES (@CharID, @Nation, @Race, @class, @Hair, @Face, @Str, @Sta, @Dex, @Intel, @Cha, @zone, @PosX, @PosZ )





exec baslangicitem @CharID

update userdata set Class = 106 , strong = '255' , sta = '180' ,strskill = '?????P<???' , [level] = '83' , hp='5000' ,mp='5000' ,exp = '1' where struserid = @CharID and @class = 101

update userdata set Class = 108 , strong = '71' , dex = '255' , sta = '169' ,strskill ='P<' , [level] = '83' , hp ='5000' ,mp='5000' ,exp = '1' where struserid = @CharID and @class = 102

update userdata set Class = 110 , strong = '71' , sta = '100' , cha = '194' , intel = '162' ,strskill ='P<' , [level] = '83' , hp='5000' ,mp='5000' ,exp = '1' where struserid = @CharID and @class = 103

update userdata set Class = 112 , strong = '110' , sta = '120' , intel = '230' ,strskill ='P<' , [level] = '83' where struserid = @CharID and @class = 104

update userdata set Class = 206 , strong = '255' , sta = '180' ,strskill ='P<' , [level] = '83' , hp='5000' ,mp='5000' ,exp = '1' where struserid = @CharID and @class = 201

update userdata set Class = 208 , strong = '71' , dex = '255' , sta = '169' ,strskill ='P<' , [level] = '83' , hp='5000' ,mp='5000' ,exp = '1' where struserid = @CharID and @class = 202

update userdata set Class = 210 , strong = '71' , sta = '100' , cha = '194' , intel = '162' ,strskill ='P<' , [level] = '83' , hp='5000' ,mp='5000' ,exp = '1' where struserid = @CharID and @class = 203

update userdata set Class = 212 , strong = '110' , sta = '120' , intel = '230' ,strskill ='P<' , [level] = '83' , hp='5000' ,mp='5000' ,exp = '1' where struserid = @CharID and @class = 204





update userdata set Class = 106 where struserid = @CharID and @class = 101

update userdata set Class = 108 where struserid = @CharID and @class = 102

update userdata set Class = 110 where struserid = @CharID and @class = 103

update userdata set Class = 112 where struserid = @CharID and @class = 104

update userdata set Class = 206 where struserid = @CharID and @class = 201

update userdata set Class = 208 where struserid = @CharID and @class = 202

update userdata set Class = 210 where struserid = @CharID and @class = 203

update userdata set Class = 212 where struserid = @CharID and @class = 204



IF @@ERROR <> 0

BEGIN

ROLLBACK TRAN

SET @nRet = 4

RETURN

END



COMMIT TRAN

SET @nRet = 0

GO