Quest Procedure and Table
Credits to Vicio for repairing Black Screen, and me for the tutorial
Hi I know that too many people has problems with Quest, Here i have the Solution.
First You need to add a Field at Character TABLE.
The Column you have to ADD is QuestItemInfo and is VARCHAR (MAX)
How to add the table:
Go to the SQL SERVER MANAGEMENT STUDIO.
Connect to the server
Expand your DB
Expand at tables,
Right Click at Columns
And select New Column
So there you have to put the name (QuestItemInfo), then the type of data: varchar (MAX) , and then you check the box that says Allow NULL data.
You are done with the Field
Then you need to Install this procedure:
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
How to install:
Go to Procedures and Right Click there and select New Query, there u paste this code and click at Execute.
So there you have Quest Activated at the DB.
Then to activate Quest at the server:
-Go to MatchServer Folder and open server.ini
-There if you see ;MODE="test" you have to remove the ;
-If you don't see MODE="test", add it to the file
Then you have to make Quest mode shown at the client, so at matchserver folder you edit channelrule.xml and you add
<GAMETYPE id="7" />
To all the Rules.
There you will have Quest Working
Thank me, any question ask here, i don't accept PMs