there is many others like him
*he is like this for 7 days so.. where is the problem ?
.is there a way to fix it without removing the graduates ?
thx all.
USE [SRO_VT_SHARD]
GO
/****** Object: StoredProcedure [dbo].[_TrainingCampRanking] Script Date: 8/6/2015 9:21:09 AM ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER OFF
GO
ALTER PROCEDURE [dbo].[_TrainingCampRanking]
AS
SELECT Ranking, Tcm.CharName, [Rank]
FROM _TrainingCampHonorRank Tchr
JOIN _TrainingCampMember Tcm
ON Tchr.CampID = Tcm.CampID
WHERE Tcm.MemberClass = 0
order by HonorPoint desc
Then your _TRAINING_CAMP_HONORRANKUPDATE procedure is modified/f*cked up, use the original one instead.Here is the original procedure
Quote:
USE [SRO_VT_SHARD]
GO
/****** Object: StoredProcedure [dbo].[_TRAINING_CAMP_UPDATEHONORRANK] Script Date: 8/7/2015 4:01:33 AM ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
ALTER PROCEDURE [dbo].[_TRAINING_CAMP_UPDATEHONORRANK]
AS
SET NOCOUNT ON
DECLARE RankCursor CURSOR FAST_FORWARD FOR
SELECT TOP 50 [ID] FROM _TrainingCamp WITH (NOLOCK)
WHERE EvaluationPoint >= 10
ORDER BY EvaluationPoint DESC, LatestEvaluationDate ASC
OPEN RankCursor
FETCH NEXT FROM RankCursor INTO @CampID
WHILE @@FETCH_STATUS = 0
BEGIN
IF @Ranking <= 5
BEGIN
SET @Rank = 1
END
ELSE IF @Ranking <= 15
BEGIN
SET @Rank = 2
END
ELSE IF @Ranking <= 30
BEGIN
SET @Rank = 3
END
ELSE
BEGIN
SET @Rank = 4
END
UPDATE _TrainingCamp SET Rank = @Rank WHERE [ID] = @CampID
IF (@@ERROR <> 0 OR @@ROWCOUNT = 0)
BEGIN
ROLLBACK TRANSACTION
CLOSE RankCursor
DEALLOCATE RankCursor
RETURN -2
END
UPDATE _TrainingCampHonorRank SET CampID = @CampID, Rank = @Rank WHERE Ranking = @Ranking
IF (@@ERROR <> 0 OR @@ROWCOUNT = 0)
BEGIN
ROLLBACK TRANSACTION
CLOSE RankCursor
DEALLOCATE RankCursor
RETURN -3
END
SET @Ranking = @Ranking + 1
FETCH NEXT FROM RankCursor INTO @CampID
END
CLOSE RankCursor
DEALLOCATE RankCursor
-- ¸¶Áö¸·À¸·Î °»½ÅÇÑ ³¯Â¥¸¦ Àû¾îº¸ÀÚ!!!
IF EXISTS (SELECT LastUpdateDate FROM _TrainingCampHonorRankUpdateDate)
BEGIN
UPDATE _TrainingCampHonorRankUpdateDate SET LastUpdateDate = GETDATE()
END
ELSE
BEGIN
INSERT INTO _TrainingCampHonorRankUpdateDate VALUES (GETDATE())
END
IF (@@ERROR <> 0 OR @@ROWCOUNT = 0)
BEGIN
ROLLBACK TRANSACTION
RETURN -4
END
1) Manually execute the SP to check if there's any error
Code:
EXEC [_TRAINING_CAMP_UPDATEHONORRANK]
See if an error come up. If not, proceed to step 2
2) Check graduation and honor point to make sure is it the ranking displayed correctly
Code:
SELECT b.CampID, a.Rank, a.GraduateCount, a.LatestEvaluationDate, b.CharID, b.CharName, b.HonorPoint FROM [_TrainingCamp] a WITH (NOLOCK) INNER JOIN [_TrainingCampMember] b ON a.ID = b.CampID ORDER BY GraduateCount DESC
Check out result and match it with your in-game display.
USE [SRO_VT_SHARD]
GO
/****** Object: StoredProcedure [dbo].[_TrainingCampRanking] Script Date: 8/7/2015 5:35:55 PM ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER OFF
GO
ALTER PROCEDURE [dbo].[_TrainingCampRanking]
AS
SELECT Ranking, Tcm.CharName, [Rank]
FROM _TrainingCampHonorRank Tchr
JOIN _TrainingCampMember Tcm
ON Tchr.CampID = Tcm.CampID
WHERE Tcm.MemberClass = 0
order by HonorPoint desc
and make it order them by graduates
*Note the guy with 162 graduates has more honor point,
just asking ..
thx for your help
Add me on skype: aeron.53
I'm gonna fix it. Pretty sure I know where exactly the error is.
i appreciate your offer i really do,
as always my **** luck the mic is not working so
2 things.
1. u speak i listen and type
2. tell me what u need to see in the SQL and i upload pics for you and when you have free time you could say how to fix it
thx again mate .!
Honor Rank. 09/07/2013 - SRO Private Server - 6 Replies Hey guys, i have 1 simple question: how to reset the honor rank? .
thanks.
Honor Rank 05/08/2013 - SRO Private Server - 4 Replies hello
i need to know how to increase the numper of players who get rank 1 ( king )
need to make it more than 5 players
Thankss
[Help] Problem in Honor Rank 02/28/2013 - SRO Private Server - 1 Replies Hello everybody , i have big problem i can't fix it
So , I Fix honor rank but , When the server is honor updating something strange happens when I go to see Honor Rank eliminates No. 2 and leaves
only 1 , i can't told what i mean .. but i think some members can help
Thanks , hope to help me :facepalm:
[HELP] About Honor Rank 02/23/2013 - SRO Private Server - 4 Replies Hello Brother
i have problem with Honor Rank
just 5 person get Buff Honor
and the normal is 50 Person not 5 how i can solve it
now in DB
dbo._TrainingCampHonorRank
1 324 1
2 328 1
3 327 1
4 326 1
UP You rank Honor to 11 10/01/2009 - Cabal Hacks, Bots, Cheats, Exploits & Macros - 13 Replies First I'am a Brazilian and i Use translator Google for speak English
If you have any questions ask who will be trying to help.
Use any Cheat Engine that is running on the server you play.,
Classroom Video
I made a video lesson of how to increase the points, this in Portuguese, but at least had been easier to understand