Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

Quest mode tut (WITH PICTURES)

Newbie Spellweaver
Joined
Apr 25, 2006
Messages
18
Reaction score
0
Ok so first of we start by saying

Credited to Buga and the LegacyGamers Administrative Team

Ok so start up SMSE (Server Management Stuido Express)

Connect to the database

Drop down the Database list and the GunzDB list by pressing the + signs so that they are all collapsed like so :

A.T.H.K - Quest mode tut (WITH PICTURES) - RaGEZONE Forums


Now collapse Tables and Dbo.Character Right click on Columns like so

A.T.H.K - Quest mode tut (WITH PICTURES) - RaGEZONE Forums


Press New Column and follow what i have :

A.T.H.K - Quest mode tut (WITH PICTURES) - RaGEZONE Forums


Now press the little x and make sure you save it :

A.T.H.K - Quest mode tut (WITH PICTURES) - RaGEZONE Forums


Ok so onto the Query now here is the code

CREATE PROCEDURE [dbo].[spSelectCharQuestItemInfoByCID]
@nCID INT
AS
BEGIN
-- SET NOCOUNT ON added to prevent extra result sets from
-- interfering with SELECT statements.
SET NOCOUNT ON;

SELECT QuestItemInfo FROM Character Where CID = @nCID

END

Copy that and copy what is in this picture :
A.T.H.K - Quest mode tut (WITH PICTURES) - RaGEZONE Forums


Now that is all setup you'll have to allow it on the Matchserver goto your Match server directory where ever you put it "C:\GunzServer\MatchServer" for me now go in and open up SERVER.INI make sure you MODE looks like mine delete the little ; infront of it :
A.T.H.K - Quest mode tut (WITH PICTURES) - RaGEZONE Forums


Close and save that

Now to allow the Quest mode in certain or all Channels edit the CHANNELRULE.XML file this picture shows how to allow the Quest mode in the First room you enter once you login:
A.T.H.K - Quest mode tut (WITH PICTURES) - RaGEZONE Forums



Have fun

[FIX] ok this fix is so new accounts can create a Character without getting the E-1 error message Credited to VDrag0n. So here goes

Collapse the GunDB , Programmability then Stored Procedures like so:

A.T.H.K - Quest mode tut (WITH PICTURES) - RaGEZONE Forums


Now right click dbo.spInsertChar and press modify like this :D :

A.T.H.K - Quest mode tut (WITH PICTURES) - RaGEZONE Forums


Ok so thats done a window to the right of it will pop up:
A.T.H.K - Quest mode tut (WITH PICTURES) - RaGEZONE Forums

And DELETE all the text like it shows in that picture ^ .

and PASTE this in it

set ANSI_NULLS ON
set QUOTED_IDENTIFIER ON
GO
ALTER PROCEDURE [dbo].[spInsertChar]
@nAID INT,
@nCharIndex INT,
@szName nvarchar(32),
@nSex INT,
@nHair INT,
@nFace INT,
@nCostume INT
AS
BEGIN
SET NOCOUNT ON;

DECLARE @cnt INT
SELECT @cnt=COUNT(*)
FROM Character
WHERE AID = @nAID

DECLARE @cid INT
SELECT @cid=COUNT(*)
FROM Character

INSERT INTO Character
VALUES(@nAID,@szName,@cnt,50,@nSex,@nCostume,@nFace,@nHair,NULL,0,100000,0,0,0,0,0,0,0,0,0,0,0,0,@cnt,100,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,null)
END
 
Last edited:
Back
Top