And, xExorcist, you can't tell anyone to use a clean database as a solution, that's stupid tbh, most-likely he at least has changed one thing in his database, that he is not willing to re-change.
And, xExorcist, you can't tell anyone to use a clean database as a solution, that's stupid tbh, most-likely he at least has changed one thing in his database, that he is not willing to re-change.
That's why we said try a different _AddNewChar procedure, probably something is wrong there.
USE [SRO_VT_SHARD]
GO
/****** Object: StoredProcedure [dbo].[_AddNewChar] Script Date: 1/29/2015 8:12:20 AM ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
-----------------------------------------------------------------------------
-- 1. 캐릭터 슬롯 넘버가 valid한 것인지, 그리고 빈슬롯이 맞는지 먼저 체크한다.
-----------------------------------------------------------------------------
-- start by novice.
SELECT @temp = count(CharID) FROM _User WITH (NOLOCK) WHERE UserJID = @UserJID
IF (@temp >= 4)
BEGIN
-- 너무 많자나
RETURN -2
END
-- finish by novice.
-----------------------------------------------------------------------------
-- 2. 캐릭터 추가하기
-----------------------------------------------------------------------------
IF (@CharScale > 68) -- 0100 0100 --> 68 이다!
BEGIN
-- 캐릭터 생성 실패! 스케일 값이 이상하다!
RETURN -3
END
EXEC @temp = _IsExistingCharName @CharName
IF (@temp <> 0)
BEGIN
-- 이미 사용중인 이름이라는데?
RETURN -4
END
-- 디폴트로 선택한 아이템을 다시 넣어주자...
/* 요런 순�*로 정의되어 있다.
0: EQUIP_SLOT_HELM
1: EQUIP_SLOT_MAIL,
2: EQUIP_SLOT_SHOULDERGUARD,
3: EQUIP_SLOT_GAUNTLET,
4: EQUIP_SLOT_PANTS,
5: EQUIP_SLOT_BOOTS,
6: EQUIP_SLOT_WEAPON,
7: EQUIP_SLOT_SHIELD or ARROW,
8: EQUIP_SLOT_EARRING,
9: EQUIP_SLOT_NECKLACE,
10: EQUIP_SLOT_L_RING,
11: EQUIP_SLOT_R_RING,
*/
DECLARE @ItemID BIGINT
SET @ItemID = 0
-- 상갑
IF (@RefMailID <> 0)
BEGIN
EXEC @ItemID = _FN_ADD_INITIAL_EQUIP @NewCharID, 1, @RefMailID, @DurMail
IF (@ItemID <= 0)
BEGIN
ROLLBACK TRANSACTION
RETURN -8
END
END
-- 바지
IF (@RefPantsID <> 0)
BEGIN
EXEC @ItemID = _FN_ADD_INITIAL_EQUIP @NewCharID, 4, @RefPantsID, @DurPants
IF (@ItemID <= 0)
BEGIN
ROLLBACK TRANSACTION
RETURN -9
END
END
-- Boots
IF (@RefBootsID <> 0)
BEGIN
EXEC @ItemID = _FN_ADD_INITIAL_EQUIP @NewCharID, 5, @RefBootsID, @DurBoots
IF (@ItemID <= 0)
BEGIN
ROLLBACK TRANSACTION
RETURN -10
END
END
-- Weapon
IF (@RefWeaponID <> 0)
BEGIN
EXEC @ItemID = _FN_ADD_INITIAL_EQUIP @NewCharID, 6, @RefWeaponID, @DurWeapon
IF (@ItemID <= 0)
BEGIN
ROLLBACK TRANSACTION
RETURN -11
END
END
-- 방패
IF (@RefShield <> 0)
BEGIN
EXEC @ItemID = _FN_ADD_INITIAL_EQUIP @NewCharID, 7, @RefShield, @DurShield
IF (@ItemID <= 0)
BEGIN
ROLLBACK TRANSACTION
RETURN -12
END
END
-- 혹시 default로 선택한 무기가 활이라면 �*살 250개들이 활통도 함께 준다. 죠치?
IF (@DefaultArrow <> 0)
BEGIN
EXEC @ItemID = _FN_ADD_INITIAL_EQUIP @NewCharID, 7, @DefaultArrow, 250
IF (@ItemID <= 0)
BEGIN
ROLLBACK TRANSACTION
RETURN -13
END
END
INSERT INTO _CharSkillMastery (CharID, MasteryID, Level)
SELECT @NewCharID, MasteryID, 0
FROM _RefCharDefault_SkillMastery with(nolock)
WHERE Race = @country or Race = 3
IF (@@error <> 0)
BEGIN
ROLLBACK TRANSACTION
RETURN -15
END
INSERT INTO _CharSkill (CharID,SkillID,Enable)
SELECT @NewCharID, SkillID, 1
FROM _RefCharDefault_Skill with(nolock)
WHERE Race = @country or Race = 3
IF (@@error <> 0)
BEGIN
ROLLBACK TRANSACTION
RETURN -16
END
-----------------------------------------------------------------------------
-- 기본 퀘스트 넣어주기
-----------------------------------------------------------------------------
INSERT INTO _CharQuest (CharID, QuestID, Status, AchievementCount, StartTime, EndTime, QuestData1, QuestData2)
SELECT @NewCharID, ID, 1, 0, getdate(), getdate(), 0, 0
FROM _RefQuest
WHERE CodeName in (SELECT CodeName FROM _RefCharDefault_Quest with(nolock) WHERE (Race = @country or Race = 3) and RequiredLevel = 1 and Service = 1)
IF (@@error <> 0)
BEGIN
ROLLBACK TRANSACTION
RETURN -17
END
-----------------------------------------------------------------------------
-- Static Avatar Initial Record 넣기
-----------------------------------------------------------------------------
INSERT INTO _StaticAvatar(CharID) values(@NewCharID)
IF (@@ERROR <> 0)
BEGIN
ROLLBACK TRANSACTION
RETURN -18
END
USE [SRO_VT_SHARD]
GO
/****** Object: StoredProcedure [dbo].[_IsExistingCharName] Script Date: 1/29/2015 9:41:39 PM ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER OFF
GO
----------------------------------------------------------------------
-- 4. 직업 명 및 직업가명 중복 생성 방지 버그 픽스 패치
----------------------------------------------------------------------
ALTER PROCEDURE [dbo].[_IsExistingCharName]
@CharNameToCheck AS VARCHAR(64)
AS
IF (EXISTS(SELECT CharID FROM _CharNameList WITH (NOLOCK) WHERE CharName16 = @CharNameToCheck))
BEGIN
RETURN 1
END
--------------------------------------------------------------------------------------------
-- 무역 삼각 2차 패치를 위해 Nick Name역시도 함께 중복 체크 대상에 포함되어야 한다.
-- 2006/5/29 overdrv
--------------------------------------------------------------------------------------------
IF (EXISTS(SELECT CharID FROM _CharNickNameList WITH (NOLOCK) WHERE NickName16 = @CharNameToCheck))
BEGIN
RETURN 1
END
RETURN 0
here it is, and if there's a way to add start item with Full Blue and depending on char gender items ?
Obviously you deleted your charname from specific table but not all.
clean up your database.
also consider to add in your check @ _Char too..not sure if it's legit.
Code:
USE [SRO_VT_SHARD]
GO
/****** Object: StoredProcedure [dbo].[_IsExistingCharName] Script Date: 1/29/2015 9:41:39 PM ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER OFF
GO
----------------------------------------------------------------------
-- 4. 직업 명 및 직업가명 중복 생성 방지 버그 픽스 패치
----------------------------------------------------------------------
ALTER PROCEDURE [dbo].[_IsExistingCharName]
@CharNameToCheck AS VARCHAR(64)
AS
IF (EXISTS(SELECT CharID FROM _CharNameList WITH (NOLOCK) WHERE CharName16 = @CharNameToCheck))
BEGIN
RETURN 1
END
--------------------------------------------------------------------------------------------
-- 무역 삼각 2차 패치를 위해 Nick Name역시도 함께 중복 체크 대상에 포함되어야 한다.
-- 2006/5/29 overdrv
--------------------------------------------------------------------------------------------
IF (EXISTS(SELECT CharID FROM _CharNickNameList WITH (NOLOCK) WHERE NickName16 = @CharNameToCheck))
BEGIN
RETURN 1
END
--------------------------------------------------------------------------------------------
IF (EXISTS(SELECT CharID FROM _Char WITH (NOLOCK) WHERE CharName16 = @CharNameToCheck))
BEGIN
RETURN 1
END
RETURN 0
SHardManager - ODBC error while creating a new char 12/20/2016 - SRO Private Server - 10 Replies Hello !
I ve downloaded the Blue-Sro DB cuz it has a lot of good edits. I can make my char ,play etc... But when i make a new acc and try to make a new char i get an error in-game and at shardmaneger too. I tired it with 3-4 accs , sometimes it works but sometimes not and crash the shared manager.
I ve used db clearing queries , but still not working.
Please help me !
Thanks !
help me fix this error when creating patch!!! 02/09/2014 - Flyff Private Server - 9 Replies Help me fix this error please .
Img팗imple File Sharing and Storage.
Img팯ttps://fbcdn-sphotos-b-a.akamaihd.net/hphoto s-ak-prn1/t1/15126_348198991985962_579784067_n.jpg
SMP error while creating account 11/01/2012 - Rappelz Private Server - 0 Replies SMP problem solved on my own *lol*
2nd LUA problem solved on my own, too XD
error while creating a new char 03/24/2012 - SRO Private Server - 2 Replies http://www10.0zz0.com/2012/03/23/22/244814214.jpg
error creating guild 03/22/2012 - Dekaron Private Server - 3 Replies every time I try to create guild'' says FAILED TO CREATE GUILD 'already restored the DB is more in the same things I've been editing each type before deleting manually give each guild did this annoying problem for my DB and Character.bak aloken I hope you can help me ...