Register for your free account! | Forgot your password?

Go Back   elitepvpers › MMORPGs › Shaiya › Shaiya Private Server › Shaiya PServer Guides & Releases
You last visited: Today at 15:34

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

Advertisement



[Release]Instant Full Done Level Scripts

Discussion on [Release]Instant Full Done Level Scripts within the Shaiya PServer Guides & Releases forum part of the Shaiya Private Server category.

Reply
 
Old   #16
 
elite*gold: 0
Join Date: Nov 2012
Posts: 352
Received Thanks: 150
hi and thanks for this. but when i try to use this.

i have lvl easy=15, Normal = 30, Hard=70 and um= 1 what decide what hp they should get? becouse i have 4.5 ps_game.exe and my lvl 1 get like 4k HP.

my statusdef

how come this change? my script

Quote:
USE [PS_GameData]
GO
/****** Object: StoredProcedure [dbo].[usp_Create_Char_R] Script Date: 31.07.2016 21.06.07 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER OFF
GO

/****** 개체: 저장 프로시저 dbo.usp_Create_Char_R 스크립트 날짜: 2006-05-30 오후 12:53:23 ******/

ALTER Proc [dbo].[usp_Create_Char_R]

@ServerID tinyint,
@UserID varchar(12),
@UserUID int,
@CharName varchar(50) ,

@Slot Tinyint,
@Family Tinyint,
@Grow Tinyint,
@Hair Tinyint,
@Face Tinyint,
@Size Tinyint,
@Job Tinyint,
@Sex Tinyint,
@Level Smallint,
@Statpoint Smallint,
@Skillpoint Smallint,
@Str Smallint,
@Dex Smallint,
@Rec Smallint,
@Int Smallint,
@Luc Smallint,
@Wis Smallint,
@Hp Smallint,
@Mp Smallint,
@Sp Smallint,
@Map Smallint,
@Dir Smallint,
@Exp Int,
@Money Int,
@Posx Real,
@Posy Real,
@Posz Real,
@Hg Smallint,
@Vg Smallint,
@Cg Tinyint,
@Og Tinyint,
@Ig Tinyint,


/* 여기까지 인자값 주어져야 함 */

/* SP 내부 참조용 변수 */

@CharID int = 0,
@NameCnt tinyint = 0

AS

SET NOCOUNT ON

DECLARE @Ret int
IF @Grow = 0 -- Easy mode
BEGIN
SET @Grow = 3
SET @Level = 15
SET @StatPoint = 126
SET @SkillPoint = 75
SET @money = 0

IF @Job = 0
BEGIN
SET @Str = 28
END
ELSE IF @Job = 1
BEGIN
SET @rec = 26
END
ELSE IF @Job = 2
BEGIN
SET @dex = 33
END
ELSE IF @Job = 3
BEGIN
SET @luc = 27
END
ELSE IF @job = 4
BEGIN
SET @int = 29
END
ELSE IF @job = 5
BEGIN
SET @wis = 28
END

END

ELSE IF @Grow = 1 -- normal mode
BEGIN
SET @Grow = 3
SET @Level = 30
SET @StatPoint = 261
SET @SkillPoint = 150
SET @money = 0

IF @Job = 0
BEGIN
SET @Str = 43
END
ELSE IF @Job = 1
BEGIN
SET @rec = 41
END
ELSE IF @Job = 2
BEGIN
SET @dex = 48
END
ELSE IF @Job = 3
BEGIN
SET @luc = 42
END
ELSE IF @job = 4
BEGIN
SET @int = 44
END
ELSE IF @job = 5
BEGIN
SET @wis = 43
END

END

ELSE IF @Grow = 2 -- Hard mode
BEGIN
SET @Grow = 3
SET @Level = 70
SET @StatPoint = 621
SET @SkillPoint = 350
SET @money = 0

IF @Job = 0
BEGIN
SET @Str = 80
END
ELSE IF @Job = 1
BEGIN
SET @rec = 80
END
ELSE IF @Job = 2
BEGIN
SET @dex = 80
END
ELSE IF @Job = 3
BEGIN
SET @luc = 80
END
ELSE IF @job = 4
BEGIN
SET @int = 80
END
ELSE IF @job = 5
BEGIN
SET @wis = 80
END


END


ELSE IF @Grow = 3 -- Ultimate mode
BEGIN
SET @Grow = 3
SET @Level = 1
SET @StatPoint = 0
SET @SkillPoint = 5
SET @money = 0

IF @Job = 0
BEGIN
SET @Str = 10
END
ELSE IF @Job = 1
BEGIN
SET @rec = 10
END
ELSE IF @Job = 2
BEGIN
SET @dex = 10
END
ELSE IF @Job = 3
BEGIN
SET @luc = 10
END
ELSE IF @job = 4
BEGIN
SET @int = 10
END
ELSE IF @job = 5
BEGIN
SET @wis = 10
END
END
SET @CharName = LTRIM(RTRIM(@CharName))
SET @Ret = 0



SET @NameCnt = (SELECT ISNULL(COUNT(*),0) FROM Chars WHERE CharName=@CharName AND Del=0)

IF(@NameCnt <> 0)
BEGIN
RETURN -2
END
ELSE
BEGIN
IF EXISTS ( SELECT CharID FROM Chars WHERE CharName=@CharName AND Del = 1 AND [Level] >10 AND DeleteDate > DATEADD(dd, -7, GETDATE()) )
BEGIN
RETURN -2
END

BEGIN TRANSACTION

INSERT INTO Chars(ServerID,UserID, UserUID, CharName, Slot, Family, Grow,
Hair, Face, [Size], Job, Sex, [Level], StatPoint, SkillPoint,
[Str], Dex, Rec, [Int], Luc, Wis, HP, MP, SP, Map, Dir, [Exp], [Money],
PosX, PosY, Posz, Hg, Vg, Cg, Og, Ig, RenameCnt, RemainTime)

VALUES(@ServerID,@UserID, @UserUID, @CharName, @Slot, @Family, @Grow,
@Hair, @Face, @Size, @Job, @Sex, @Level, @StatPoint, @SkillPoint,
@Str, @Dex, @Rec, @Int, @Luc, @Wis, @HP, @MP, @SP, @Map, @Dir, @Exp, @Money,
@PosX, @PosY, @Posz, @Hg, @Vg, @Cg, @Og, @Ig, 0, 0)

IF( @@ERROR=0 )
BEGIN
COMMIT TRANSACTION
END
ELSE
BEGIN
ROLLBACK TRANSACTION
RETURN -1
END

SET @CharID = IDENT_CURRENT('Chars')
END

RETURN @CharID

SET NOCOUNT OFF
GMCronus is offline  
Old   #17
 
elite*gold: 260
Join Date: Sep 2011
Posts: 487
Received Thanks: 360
If you use stat reset stone HP is normal?
You have this problem when player get lvl2?

Try change your ps_game or some like this set @HP='250'
SnickQ is offline  
Old   #18
 
elite*gold: 0
Join Date: Nov 2012
Posts: 352
Received Thanks: 150
idk it seems it just fixed it self. LOLnow i have normal hp when i make a character. just soemthing spooky i guess happend thanks..
GMCronus is offline  
Reply


Similar Threads Similar Threads
[Hot][UNIQUE] IrisLegend : Full IrisOnline PK Server | Instant Level : 65
04/01/2012 - Private Server Advertising - 17 Replies
http://s4.noelshack.com/uploads/images/15619180425 750_banneriris.png Hello everybody ! I'm Kethrios and I'm the Community and Game Master Manager of IrisLegend. I'm here to introduce a new IrisOnline private server.



All times are GMT +1. The time now is 15:35.


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

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