|
You last visited: Today at 11:47
Advertisement
[Problem] Honor Rank
Discussion on [Problem] Honor Rank within the SRO Private Server forum part of the Silkroad Online category.
08/05/2015, 14:44
|
#1
|
elite*gold: 0
Join Date: Jun 2012
Posts: 239
Received Thanks: 26
|
[Problem] Honor Rank
hey guys,
i have a problem in honor rank where players aren't at top as they should be
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.
|
|
|
08/05/2015, 15:10
|
#2
|
elite*gold: 0
Join Date: Jun 2013
Posts: 346
Received Thanks: 421
|
It appears to me that it doesn't weekly update .
|
|
|
08/05/2015, 16:30
|
#3
|
elite*gold: 0
Join Date: Aug 2015
Posts: 35
Received Thanks: 4
|
maybe he have less honor points
|
|
|
08/05/2015, 19:27
|
#4
|
elite*gold: 294
Join Date: Sep 2013
Posts: 1,410
Received Thanks: 635
|
Quote:
Originally Posted by John*?
maybe he have less honor points
|
its not about the honor points.
if this 162 graduates are "worse" than the 132 graduates he cant be at top
|
|
|
08/05/2015, 22:05
|
#5
|
elite*gold: 0
Join Date: Jun 2012
Posts: 239
Received Thanks: 26
|
Quote:
Originally Posted by Br.Abdelfattah
It appears to me that it doesn't weekly update .
|
i have restarted all server files to see what happens,
wont that make it refresh when i load them again ?
can it be a problem in the account ?
|
|
|
08/06/2015, 01:12
|
#6
|
elite*gold: 0
Join Date: Jun 2013
Posts: 346
Received Thanks: 421
|
No , it should be done every week , and if the time is set wrong so it won't update , so in smc check the honor rank update time .
|
|
|
08/06/2015, 09:43
|
#7
|
elite*gold: 0
Join Date: Jun 2012
Posts: 239
Received Thanks: 26
|
|
|
|
08/06/2015, 10:22
|
#8
|
elite*gold: 27
Join Date: Jan 2015
Posts: 1,339
Received Thanks: 885
|
Use this procedure
Quote:
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
|
|
|
|
08/07/2015, 01:00
|
#9
|
elite*gold: 0
Join Date: Jun 2012
Posts: 239
Received Thanks: 26
|
Quote:
Originally Posted by Leonius*
Use this procedure
|
Sadly doesn't work 
where is the problem
|
|
|
08/07/2015, 05:04
|
#10
|
elite*gold: 27
Join Date: Jan 2015
Posts: 1,339
Received Thanks: 885
|
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 @Ranking INT
SET @Ranking = 1
DECLARE @CampID INT
DECLARE @Rank TINYINT
BEGIN TRANSACTION
DECLARE RankCursor CURSOR FAST_FORWARD FOR
SELECT TOP 50 [ID] FROM _TrainingCamp WITH (NOLOCK)
WHERE EvaluationPoint >= 10
ORDER BY EvaluationPoint DESC, LatestEvaluationDate ASC
-- ÀÏ´Ü Àüü ·©Å·À» ¾øÀ½À¸·Î Ç¥½ÃÇÏÀÚ.
UPDATE _TrainingCamp SET Rank = 5 WHERE Rank <> 5
IF (@@ERROR <> 0)
BEGIN
ROLLBACK TRANSACTION
DEALLOCATE RankCursor
RETURN -1
END
-- ·©Å· Å×ÀÌºíµµ ÃʱâÈ*ÇÏÀÚ.
UPDATE _TrainingCampHonorRank SET CampID = null, Rank = null
IF (@@ERROR <> 0)
BEGIN
ROLLBACK TRANSACTION
DEALLOCATE RankCursor
RETURN -1
END
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
COMMIT TRANSACTION
SET NOCOUNT OFF
RETURN 1
|
|
|
|
08/07/2015, 09:35
|
#11
|
elite*gold: 0
Join Date: Jun 2012
Posts: 239
Received Thanks: 26
|
Quote:
Originally Posted by Leonius*
Then your _TRAINING_CAMP_HONORRANKUPDATE procedure is modified/f*cked up, use the original one instead.Here is the original procedure
|
nope, still no work same result.
maybe i should just ban the guy
|
|
|
08/07/2015, 09:53
|
#12
|
elite*gold: 40
Join Date: Jul 2013
Posts: 167
Received Thanks: 201
|
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.
good luck
|
|
|
08/07/2015, 17:38
|
#13
|
elite*gold: 0
Join Date: Jun 2012
Posts: 239
Received Thanks: 26
|
IN GAME
IN SQL
IS there is a way to change this
PHP Code:
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
|
|
|
08/07/2015, 22:21
|
#14
|
elite*gold: 27
Join Date: Jan 2015
Posts: 1,339
Received Thanks: 885
|
Add me on skype: aeron.53
I'm gonna fix it. Pretty sure I know where exactly the error is.
|
|
|
08/07/2015, 22:55
|
#15
|
elite*gold: 0
Join Date: Jun 2012
Posts: 239
Received Thanks: 26
|
Quote:
Originally Posted by Leonius*
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 .!
|
|
|
 |
|
Similar Threads
|
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
|
All times are GMT +1. The time now is 11:47.
|
|