- Joined
- Dec 5, 2009
- Messages
- 2,657
- Reaction score
- 1,178
Hello RageZoners.
Im going to release my old Mu Core rankings which i coded old times from the scratch, with cron jobs on/off for 6 of them, (gms, online players will be live).
There might be some small errors (i believe i've checked everything but who knows), since i removed custom functions, so if you find please report so i'll be able to fix.
Ok here we go.
So the Rankings gonna be:
- Custom Top Guilds (order by members lvl / pk / stats) disabled by default so if u wish enable in config
- Top Gens S5+(Gens columns can be changed by config, default support for Titan Tech)
- Top Killers (Top kills + Custom Ranks)
- Top Zen (Top zen + Custom Ranks + order by config)
- Online Players (Current Online Players by in-game nick & ConnectTime desc)
- Game Masters (Game master list + online/offline status check by in-game nick)
- Marry Top Must be supported by Server Files (Marry Husband / Wife, marry column can be
changed by config, default support for Titan Tech)
- Top Online (Top online by Total Hours in-game + Custom Ranks(by minutes), require modification of
WZ_DISCONNECT_MEMB stored procedure, guide scroll down)
- Top Voters (Top voters by total votes + Custom Ranks require new column in MEMB_INFO +
modified vote module, i'll include needed files/info)
- Top Duel (MuOnline & Ranking DB support default for IGCN & Titan Tech)
Dark styles 1-5 by config
Grey styles 6-10 by config
Custom Top Guilds - required modification
Run sql query on MuOnline db
Top Online Ranking - required modification
Go to sql & run query
then open in sql stored procedures & replace WZ_DISCONNECT_MEMB
(Q: wth are stored procedures ?)
(A: google will tell you)
with new one
!Important!
if you have different WZ_DISCONNECT_MEMB struct just add to update memb_stat query
additionaly i leave exchangehours from RZ release rewrited to ado, to work with TH mod/column.
Top Voters - required modification
Since i use my own module, i've modified RZ release
(can be found there : http://forum.ragezone.com/f197/mucore-vote-credits-module-includes-830324/)
to add +1 tvote every vote.
If you use different than rz release, just add in query adding +1 tvote to MEMB_INFO table every vote.
Go to sql & run query
& replace ur old vote_credits.php with one i've included in /VoteforCreditsMOD.
Usage :
Paste Custom_Rankings dir to ur Mu Core directory
Configure everything you need in config
Custom_Rankings/Custom_Rankings_cfg.php
& replace rankings.php in page_modules
& use tops you want by enable/disable them at config
Cron Jobs :
If you want cache on rankings, enable cron jobs in config
Ex " $corecr['TKCronJobStatus'] = "0"; // 1 = ON, 0 = OFF "
for ranking you want & add new cron job in AdminCP-> Cron job Settings for ID (by default)
2 - Top Guilds ID
20 - Top Killers ID
21 - Top Gens ID
22 - Top Zen ID
23 - Top Online ID
24 - Top Voters ID
25 - Marry Status ID
26 - Top Duel ID
Else cache msg will be
Ex " Update for Top Killers is currently Live "
If something doesn't work, check/read X times before asking for help
Download
1.
2.
*if you going to release on other forum, respect the credits
by Martin a.k.a 4FUNer (c) 2013, Enjoy :]
Im going to release my old Mu Core rankings which i coded old times from the scratch, with cron jobs on/off for 6 of them, (gms, online players will be live).
There might be some small errors (i believe i've checked everything but who knows), since i removed custom functions, so if you find please report so i'll be able to fix.
Ok here we go.
So the Rankings gonna be:
- Custom Top Guilds (order by members lvl / pk / stats) disabled by default so if u wish enable in config
- Top Gens S5+(Gens columns can be changed by config, default support for Titan Tech)
- Top Killers (Top kills + Custom Ranks)
- Top Zen (Top zen + Custom Ranks + order by config)
- Online Players (Current Online Players by in-game nick & ConnectTime desc)
- Game Masters (Game master list + online/offline status check by in-game nick)
- Marry Top Must be supported by Server Files (Marry Husband / Wife, marry column can be
changed by config, default support for Titan Tech)
- Top Online (Top online by Total Hours in-game + Custom Ranks(by minutes), require modification of
WZ_DISCONNECT_MEMB stored procedure, guide scroll down)
- Top Voters (Top voters by total votes + Custom Ranks require new column in MEMB_INFO +
modified vote module, i'll include needed files/info)
- Top Duel (MuOnline & Ranking DB support default for IGCN & Titan Tech)
Dark styles 1-5 by config
Grey styles 6-10 by config
Custom Top Guilds - required modification
Run sql query on MuOnline db
Code:
ALTER TABLE Guild ADD G_LV bigint NOT NULL default 0
ALTER TABLE Guild ADD G_PK bigint NOT NULL default 0
ALTER TABLE Guild ADD G_STR bigint NOT NULL default 0
Top Online Ranking - required modification
Go to sql & run query
Code:
ALTER TABLE MEMB_STAT ADD TH int NOT NULL default 0
then open in sql stored procedures & replace WZ_DISCONNECT_MEMB
(Q: wth are stored procedures ?)
(A: google will tell you)
with new one
Code:
CREATE PROCEDURE WZ_DISCONNECT_MEMB
@memb___id varchar(10)
AS
Begin
set nocount on
Declare @find_id varchar(10)
Declare @ConnectStat tinyint
Set @ConnectStat = 0
Set @find_id = 'NOT'
select @find_id = S.memb___id from MEMB_STAT S INNER JOIN MEMB_INFO I ON S.memb___id =
I.memb___id
where I.memb___id = @memb___id
if( @find_id <> 'NOT' )
begin
update MEMB_STAT set ConnectStat = @ConnectStat, DisConnectTM = getdate(), TH =
TH+(DATEDIFF(mi,ConnectTM,getdate()))
where memb___id = @memb___id
end
end
GO
if you have different WZ_DISCONNECT_MEMB struct just add to update memb_stat query
Code:
, TH =
TH+(DATEDIFF(mi,ConnectTM,getdate()))
additionaly i leave exchangehours from RZ release rewrited to ado, to work with TH mod/column.
Top Voters - required modification
Since i use my own module, i've modified RZ release
(can be found there : http://forum.ragezone.com/f197/mucore-vote-credits-module-includes-830324/)
to add +1 tvote every vote.
If you use different than rz release, just add in query adding +1 tvote to MEMB_INFO table every vote.
Go to sql & run query
Code:
ALTER TABLE MEMB_INFO ADD TVote int NOT NULL default 0
& replace ur old vote_credits.php with one i've included in /VoteforCreditsMOD.
Usage :
Paste Custom_Rankings dir to ur Mu Core directory
Configure everything you need in config
Custom_Rankings/Custom_Rankings_cfg.php
& replace rankings.php in page_modules
& use tops you want by enable/disable them at config
Cron Jobs :
If you want cache on rankings, enable cron jobs in config
Ex " $corecr['TKCronJobStatus'] = "0"; // 1 = ON, 0 = OFF "
for ranking you want & add new cron job in AdminCP-> Cron job Settings for ID (by default)
2 - Top Guilds ID
20 - Top Killers ID
21 - Top Gens ID
22 - Top Zen ID
23 - Top Online ID
24 - Top Voters ID
25 - Marry Status ID
26 - Top Duel ID
Else cache msg will be
Ex " Update for Top Killers is currently Live "
If something doesn't work, check/read X times before asking for help
Download
1.
You must be registered to see links
2.
You must be registered to see links
*if you going to release on other forum, respect the credits
by Martin a.k.a 4FUNer (c) 2013, Enjoy :]
Last edited: