|
You last visited: Today at 07:22
Advertisement
[Help]Auto Unlock Ultimate Mode
Discussion on [Help]Auto Unlock Ultimate Mode within the Shaiya PServer Development forum part of the Shaiya Private Server category.
12/04/2014, 13:57
|
#16
|
elite*gold: 260
Join Date: Sep 2011
Posts: 487
Received Thanks: 360
|
You can also using this for change all mode to UM with start character with UM pack (Conti PID Red Phoenix):
I don't remember who Releases this
Code:
USE [PS_GameData]
GO
/****** Object: StoredProcedure [dbo].[usp_Create_Char_R] Script Date: 2014-12-04 13:51:49 ******/
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 = 1
SET @StatPoint = 0
SET @SkillPoint = 1000
SET @money = 0
IF @Job = 0
BEGIN
SET @Str = 12
END
ELSE IF @Job = 1
BEGIN
SET @rec = 12
END
ELSE IF @Job = 2
BEGIN
SET @dex = 12
END
ELSE IF @Job = 3
BEGIN
SET @luc = 12
END
ELSE IF @job = 4
BEGIN
SET @int = 12
END
ELSE IF @job = 5
BEGIN
SET @wis = 12
END
END
ELSE IF @Grow = 1 -- normal mode
BEGIN
SET @Grow = 3
SET @Level = 1
SET @StatPoint = 0
SET @SkillPoint = 1000
SET @money = 0
IF @Job = 0
BEGIN
SET @Str = 12
END
ELSE IF @Job = 1
BEGIN
SET @rec = 12
END
ELSE IF @Job = 2
BEGIN
SET @dex = 12
END
ELSE IF @Job = 3
BEGIN
SET @luc = 12
END
ELSE IF @job = 4
BEGIN
SET @int = 12
END
ELSE IF @job = 5
BEGIN
SET @wis = 12
END
END
ELSE IF @Grow = 2 -- Hard mode
BEGIN
SET @Grow = 3
SET @Level = 1
SET @StatPoint = 0
SET @SkillPoint = 1000
SET @money = 0
IF @Job = 0
BEGIN
SET @Str = 12
END
ELSE IF @Job = 1
BEGIN
SET @rec = 12
END
ELSE IF @Job = 2
BEGIN
SET @dex = 12
END
ELSE IF @Job = 3
BEGIN
SET @luc = 12
END
ELSE IF @job = 4
BEGIN
SET @int = 12
END
ELSE IF @job = 5
BEGIN
SET @wis = 12
END
END
ELSE IF @Grow = 3 -- Ultimate mode
BEGIN
SET @Grow = 3
SET @Level = 1
SET @StatPoint = 0
SET @SkillPoint = 1000
SET @money = 0
IF @Job = 0
BEGIN
SET @Str = 12
END
ELSE IF @Job = 1
BEGIN
SET @rec = 12
END
ELSE IF @Job = 2
BEGIN
SET @dex = 12
END
ELSE IF @Job = 3
BEGIN
SET @luc = 12
END
ELSE IF @job = 4
BEGIN
SET @int = 12
END
ELSE IF @job = 5
BEGIN
SET @wis = 12
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')
INSERT INTO CharItems
SELECT @CharID AS CharID,ItemID,dbo.ItemUID() AS ItemUID,Type,TypeID,Bag,Slot,Quality,Gem1,Gem2,Gem3,Gem4,Gem5,Gem6,Craftname,1 AS COUNT,GETDATE() AS Maketime,'S' AS Maketype,0 AS Del
FROM PS_GameDefs.dbo.BaseGearsDefs WHERE Family = @Family AND Job = @Job AND Level = @Level
INSERT INTO PS_GameData.dbo.CharApplySkills (CharID, SkillID, SkillLevel, LeftResetTime) values (@CharID, 286, 3, 2591878)
INSERT INTO PS_GameData.dbo.CharApplySkills (CharID, SkillID, SkillLevel, LeftResetTime) values (@CharID, 227, 1, 2591878)
INSERT INTO PS_GameData.dbo.CharApplySkills (CharID, SkillID, SkillLevel, LeftResetTime) values (@CharID, 225, 1, 2591878)
INSERT INTO PS_GameData.dbo.CharApplySkills (CharID, SkillID, SkillLevel, LeftResetTime) values (@CharID, 233, 1, 2591878)
END
RETURN @CharID
SET NOCOUNT OFF
|
|
|
01/07/2015, 16:24
|
#17
|
elite*gold: 195
Join Date: Jul 2014
Posts: 63
Received Thanks: 88
|
Thanks much chris
Quote:
Originally Posted by nubness
There shouldn't be any error with Philipp's query, are you sure you copied it right ?
Here's another one you could try, in case you can't get the one Philipp posted to work:
Code:
USE PS_UserData
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
-- =============================================
-- Author: Euphoria Dev Team
-- =============================================
CREATE TRIGGER UnlockUM
ON Users_Master
AFTER INSERT
AS
BEGIN
SET NOCOUNT ON;
INSERT INTO PS_GameData.dbo.UserMaxGrow VALUES(1,(SELECT UserUID FROM inserted),2,3,0)
END
GO
|
Thanks much Chris
|
|
|
05/17/2015, 13:27
|
#18
|
elite*gold: 0
Join Date: Apr 2015
Posts: 63
Received Thanks: 24
|
BUMP +
|
|
|
 |
|
Similar Threads
|
Ultimate mode
12/22/2012 - Shaiya Private Server - 9 Replies
Hello everyone, I can not find a topic in which it was written as open ultimate mode without creating hard mode character. Please tell me the link.
|
Automatically allow ultimate mode
12/16/2012 - Shaiya Private Server - 8 Replies
Hello, Im wondering where the location to set ultimate mode unlocked automatically, when you create an account, rather than needing to make HM then relogging. If its in the psgame or DB somewhere I just need to be pointed in the right direction, Although im pretty sure ive looked everywhere in the DB...
Thanks :)
|
Change easy mode to ultimate mode in database
12/08/2012 - Shaiya Private Server - 3 Replies
Hello.
Any1 knows where can i change the easy mode to ultimate mode in database of any Character?
Greetings.
|
Restaurant City Ultimate Trick - Money + Cash + Unlock All Dishes + Experience
01/02/2011 - Facebook - 2 Replies
Restaurant City Ultimate Trick - Money + Cash + Unlock All Dishes + Experience
Restaurant City Ultimate Trick - Money + Cash + Unlock All Dishes + Experience: Download
Open Fiddler.
In AutoResponder,
Enable automatic respond & Permit Passthrough must be checked.
Click Add.
Paste this below the Rule Editor:
EXACT: CLICK ME!!!
|
gunz The Ultimate God Mode
11/30/2010 - GunZ - 47 Replies
ok here goes this hack is very good for ppl who want to pretend they r god. with the ultimate god mode (u must wear certin items for the ultimate god mode).
Highlights of the hack:
-Renerd x2, Walcom S5 x2, and the Nico r2 ALL HAVE 1,800,000 BULLETS (no blanks) with the normal magizenes.they all also give you +25,000 HP and AP.
-all medpacks and repair kits have 100/100 kits.
-the Canox FG1 and FG2 both have 100/100 granades.
|
All times are GMT +1. The time now is 07:24.
|
|