I have to make a server with subclass accumulative (principal + 3 subs)
of any class and race.
and that skilles se accumulate between of a subclass and another.
I do it with this SP:
set ANSI_NULLS ON
set QUOTED_IDENTIFIER ON
GO
ALTER PROCEDURE [dbo].[lin_SetAquireSkill]
(
@char_id INT,
@subjob_id INT,
@skill_id INT,
@skill_level TINYINT
)
AS
DECLARE @subjob_acu INT
SET NOCOUNT ON
set @subjob_acu = 0
WHILE (@subjob_acu < 3)
BEGIN
SET @subjob_acu = @subjob_acu + 1
IF EXISTS(SELECT skill_lev FROM user_skill WHERE char_id = @char_id AND skill_id = @skill_id AND subjob_id = @subjob_acu)
UPDATE user_skill SET skill_lev = @skill_level WHERE char_id = @char_id AND skill_id = @skill_id AND subjob_id <= @subjob_acu
ELSE
INSERT INTO user_skill (char_id, subjob_id, skill_id, skill_lev) VALUES (@char_id, @subjob_acu, @skill_id, @skill_level);
IF NOT EXISTS(SELECT skill_id FROM user_skill WHERE char_id = @char_id AND skill_id = @skill_id AND skill_lev = @skill_level AND subjob_id = 0)
INSERT INTO user_skill (char_id, subjob_id, skill_id, skill_lev) VALUES (@char_id, 0, @skill_id, @skill_level);
END
But only accumulate when "switch subclass".
When you subclass, the skilles of previous class is cleared and starts loading the skilles of the new class, I need you to stay all skilles of all subclass.
You can post now and register later.
If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.
if you share files for free on MaxCheaters you will get this...
think twice before sharing files.
it should be clarified that this is endorsed by the administrators and moderators of the site...
I searched the forum for any posts about this, but I didn't find anything. I wanted to know if anyone could tell me all the ports I need to have open to allow connections to the server.
Thx!🤪
It would be very interesting if @SkyLord could explain to the community why he downvotes my post. It's because of file sharing, right? I see the same thing happening to other file-sharing users...
Question
WaLas
15 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.