|
You last visited: Today at 18:21
Advertisement
Help! Private PVP Server, how do I get back to normal?
Discussion on Help! Private PVP Server, how do I get back to normal? within the Shaiya Private Server forum part of the Shaiya category.
08/19/2012, 19:30
|
#1
|
elite*gold: 0
Join Date: Mar 2011
Posts: 12
Received Thanks: 0
|
Help! Private PVP Server, how do I get back to normal?
Hello friends.
I have a private server PVP, when you create a character mode ease, he starts at level 15, normal at level 30, hard at level 60 and level 80 the ultimate, but I like to leave my normal server all modes starting at level 1.
How do I do that? Where need to adjust?
|
|
|
08/19/2012, 20:47
|
#2
|
elite*gold: 0
Join Date: Sep 2009
Posts: 74
Received Thanks: 65
|
Well... first thing u gotta do it's to go PS_GameData>Prommability>Stored Procedures and find dbo.usp_Create_Char_R right click on it then modify it AS u want
Remember Only thing u have to know its Grow 0= easy mode
1= normal mode
2= hard mode
3= ultimate mode all u have to do its to change them and every class has their highest stat at level 1 and modify it Here an example from my table
Code:
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 = 16
END
ELSE IF @Job = 1
BEGIN
SET @rec = 14
END
ELSE IF @Job = 2
BEGIN
SET @dex = 21
END
ELSE IF @Job = 3
BEGIN
SET @luc = 15
END
ELSE IF @job = 4
BEGIN
SET @int = 19
END
ELSE IF @job = 5
BEGIN
SET @wis = 16
END
END
Job 0 means warrior so warriors got high str and it stars with 16 str at level 1 but those stats depends on the mode.
And the level ...Idk u could use a ps_Game.exe to set a level cap and a query to reset all levels to 1 again.
And to raise the exp go to game service and do /exp2xenable 100 (for 100x rates for grinding easier) but u dont have to use exactly 100, that just depends on you. Gl
Or u can use the full query...
Code:
USE [PS_GameData]
GO
/****** Object: StoredProcedure [dbo].[usp_Create_Char_R] Script Date: 08/19/2012 21:41:51 ******/
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
SET @CharName = LTRIM(RTRIM(@CharName))
IF @Grow = 0 -- Easy mode
BEGIN
SET @Grow = 0
SET @Level = 1
SET @StatPoint = 0
SET @SkillPoint = 3
SET @money = 0
IF @Job = 0
BEGIN
SET @Str = 5
END
ELSE IF @Job = 1
BEGIN
SET @rec = 4
END
ELSE IF @Job = 2
BEGIN
SET @dex = 6
END
ELSE IF @Job = 3
BEGIN
SET @luc = 6
END
ELSE IF @job = 4
BEGIN
SET @int = 7
END
ELSE IF @job = 5
BEGIN
SET @wis = 6
END
END
ELSE IF @Grow = 1 -- normal mode
BEGIN
SET @Grow = 1
SET @Level = 1
SET @StatPoint = 0
SET @SkillPoint = 3
SET @money = 0
IF @Job = 0
BEGIN
SET @Str = 10
END
ELSE IF @Job = 1
BEGIN
SET @rec = 8
END
ELSE IF @Job = 2
BEGIN
SET @dex = 15
END
ELSE IF @Job = 3
BEGIN
SET @luc = 9
END
ELSE IF @job = 4
BEGIN
SET @int = 13
END
ELSE IF @job = 5
BEGIN
SET @wis = 10
END
END
ELSE IF @Grow = 2 -- Hard mode
BEGIN
SET @Grow = 2
SET @Level = 1
SET @StatPoint = 0
SET @SkillPoint = 4
SET @money = 0
IF @Job = 0
BEGIN
SET @Str = 14
END
ELSE IF @Job = 1
BEGIN
SET @rec = 12
END
ELSE IF @Job = 2
BEGIN
SET @dex = 19
END
ELSE IF @Job = 3
BEGIN
SET @luc = 13
END
ELSE IF @job = 4
BEGIN
SET @int = 17
END
ELSE IF @job = 5
BEGIN
SET @wis = 14
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 = 16
END
ELSE IF @Job = 1
BEGIN
SET @rec = 14
END
ELSE IF @Job = 2
BEGIN
SET @dex = 21
END
ELSE IF @Job = 3
BEGIN
SET @luc = 15
END
ELSE IF @job = 4
BEGIN
SET @int = 19
END
ELSE IF @job = 5
BEGIN
SET @wis = 16
END
END
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
Remember i messed up some easy mode points but ....they arent important
|
|
|
Similar Threads
|
Phoenix-mmo Online back again Normal Rated Leveling server Join us Now!!!
10/01/2011 - CO2 PServer Archive - 20 Replies
http://www12.0zz0.com/2011/08/14/13/239548027.gif
Link Back Added
Why us? cause we offer you guys the best performance no Lag 24/7 online
we are a professional team that knew what we are going to do and add
Server Features?
|
Normal private server
04/26/2009 - SRO Private Server - 23 Replies
Well i need normal private server, where i could login in first try, anytime...And it should be 10x or more...
dont offer sjsro and ecsro coz there server fulls and registracion closed.
|
All times are GMT +1. The time now is 18:21.
|
|