sry but i got 2 dumb problems !
can u exactly point me to the reversing section of sro client and the pk2 files !
And how hard is it to make a server on hamachi just to play with a few friends and my bro ??
USE [BR_SHARD]
GO
/****** Object: StoredProcedure [dbo].[_AddNewChar] Script Date: 05/24/2012 15:00:16 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
ALTER PROCEDURE [dbo].[_AddNewChar]
@UserJID INT,
--@CharSlot INT,
@RefCharID INT,
@CharName varchar (64),
@CharScale tinyINT,
@StartRegionID INT,
@StartPos_X real,
@StartPos_Y real,
@StartPos_Z real,
@DefaultTeleport INT,
@RefMailID INT,
@RefPantsID INT,
@RefBootsID INT,
@RefWeaponID INT,
@RefShield INT,
@DurMail tinyINT,
@DurPants tinyINT,
@DurBoots tinyINT,
@DurWeapon tinyINT,
@DurShield tinyINT,
@DefaultArrow INT
AS
SET NOCOUNT ON
DECLARE @Slot INT
DECLARE @temp INT
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
-----------------------------------------------------------------------------
-- TutorialQuest????????
-----------------------------------------------------------------------------
INSERT INTO _CharQuest (CharID, QuestID, Status, AchievementCount, StartTime, EndTime, QuestData1, QuestData2)
SELECT @NewCharID, ID, 4, 0, getdate(), getdate(), 0, 0
FROM _RefQuest
WHERE CodeName in (SELECT CodeName FROM _RefCharDefault_Quest with(nolock) WHERE Race = @country or Race = 3)
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
-----------------------------------------------------------------------------
-- Trijob ????????!!!!!
-----------------------------------------------------------------------------
INSERT INTO _CharTrijob VALUES (@NewCharID, 0, 1, 0, 0, 0)
IF (@@ERROR <> 0)
BEGIN
-- ???????? ???? ????!
ROLLBACK TRANSACTION
RETURN -19
END
-----------------------------------------------------------------------------
-- CharList?? ID ????????
-----------------------------------------------------------------------------
INSERT _CharNameList VALUES(@CharName, @NewCharID)
sry but i got 2 dumb problems !
can u exactly point me to the reversing section of sro client and the pk2 files !
And how hard is it to make a server on hamachi just to play with a few friends and my bro ??
1.assembly guides
2.if you are pro , you will be able to launch in less than 2h.
remove your gm char , and add it again (carefully in the query)
still but look at this quote :
Quote:
4. Restore the databases with following names:
BR_ACCOUNT = BR_ACCOUNT.bak
BR_SHARD = BR_SHARD.bak
BR_SHARDLOG = BR_SHARDLOG.bak
!! DO NOT CHANGE THE DATABASE NAMES TO OTHER YOU WILL HAVE SILK ERRORS AND IT WILL DC YOU INGAME !!
hmm ? is that or ? im using the BR DB in this topic ( database edited)
hmm ? is that or ? im using the BR DB in this topic ( database edited)
and the same name
To be honest , I had same problem in my friend's server .. Everytime I try to select any char to login , when I log get instant dc and whole server fault down for a while till you switch your server to (check) then run service ,, Try to use clean database ; Don't add anything in the database till you login successfully .. (WIRED ERROR)
To be honest , I had same problem in my friend's server .. Everytime I try to select any char to login , when I log get instant dc and whole server fault down for a while till you switch your server to (check) then run service ,, Try to use clean database ; Don't add anything in the database till you login successfully .. (WIRED ERROR)
Reversing... 07/09/2009 - Rohan - 0 Replies Hi , i'm actually trying to patch gameguard with ollydbg , i disable it at launch of game , i can connect to my account , but when i'm arriving at the selection of my different caracter , the bouton "START" is disable , i can't click on it.
Anyone can guid me how to patch this ?
Thx.