Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

Mu Core 1.0.8 Custom Rankings (10 ranks + config + styles)

Status
Not open for further replies.
-( . ) ( . )-
Loyal Member
Joined
Mar 28, 2012
Messages
1,356
Reaction score
68
Re: Mu Core 1.0.8 Custom Rankings (8 ranks + config + styles)

tnaks for this 4Funer it work but i will test the online hour trade maybe later cause i'm busy right now and how can i test the online hour trade by yours?
 
Newbie Spellweaver
Joined
Sep 2, 2013
Messages
27
Reaction score
1
Re: Mu Core 1.0.8 Custom Rankings (8 ranks + config + styles)

after the sql queries now my mucore dont want to register accounts, now says system error i tryed to reinstall db and mucore and i cant register
 
-( . ) ( . )-
Loyal Member
Joined
Mar 28, 2012
Messages
1,356
Reaction score
68
Re: Mu Core 1.0.8 Custom Rankings (8 ranks + config + styles)

after the sql queries now my mucore dont want to register accounts, now says system error i tryed to reinstall db and mucore and i cant register

give us the picture of the error so that 4funer or the others can you help with your problem
 
Skilled Illusionist
Joined
Jul 16, 2013
Messages
317
Reaction score
9
Re: Mu Core 1.0.8 Custom Rankings (8 ranks + config + styles)

2009x2014 - Mu Core 1.0.8 Custom Rankings (10 ranks + config + styles) - RaGEZONE Forums


Sir why I can't see WZ_DISCONNECT_MEM

But when i'm creating new query and naming it WZ_DISCONNECT_MEM it tells that WZ_DISCOONECT_MEM is already exist -.-"
Need help please.
 
-( . ) ( . )-
Loyal Member
Joined
Mar 28, 2012
Messages
1,356
Reaction score
68
Re: Mu Core 1.0.8 Custom Rankings (8 ranks + config + styles)

2009x2014 - Mu Core 1.0.8 Custom Rankings (10 ranks + config + styles) - RaGEZONE Forums


Sir why I can't see WZ_DISCONNECT_MEM

But when i'm creating new query and naming it WZ_DISCONNECT_MEM it tells that WZ_DISCOONECT_MEM is already exist -.-"
Need help please.
did you go to your stored procedure?? you can check the WZ_DISCONNECT_MEM in stored procedure..
 
Skilled Illusionist
Joined
Jul 16, 2013
Messages
317
Reaction score
9
Re: Mu Core 1.0.8 Custom Rankings (8 ranks + config + styles)

Not yet sir, I'm a newbie on developing but i'm a good follower of the instruction

Can you give me a Screenshot guides? So that I can easily follow you. Thank you :)

Or any instructions besides Screenshot Guides
 
-( . ) ( . )-
Loyal Member
Joined
Mar 28, 2012
Messages
1,356
Reaction score
68
Re: Mu Core 1.0.8 Custom Rankings (8 ranks + config + styles)

Not yet sir, I'm a newbie on developing but i'm a good follower of the instruction

Can you give me a Screenshot guides? So that I can easily follow you. Thank you :)

Or any instructions besides Screenshot Guides

try to use the search engine here in ragezone sir...
 
Newbie Spellweaver
Joined
Aug 27, 2013
Messages
57
Reaction score
3
Re: Mu Core 1.0.8 Custom Rankings (8 ranks + config + styles)

online - Mu Core 1.0.8 Custom Rankings (10 ranks + config + styles) - RaGEZONE Forums
I had this error and also with the other php modules.
when I use the default rankings module it functions without no error
but when I use Sir Martin's php module nothing came out in the rankings module.

like I read on the first page I put all the php files on the page module.


help please?
 

Attachments

You must be registered for see attachments list
Newbie Spellweaver
Joined
Aug 13, 2013
Messages
27
Reaction score
6
Re: Mu Core 1.0.8 Custom Rankings (8 ranks + config + styles)

View attachment 137395
I had this error and also with the other php modules.
when I use the default rankings module it functions without no error
but when I use Sir Martin's php module nothing came out in the rankings module.

like I read on the first page I put all the php files on the page module.


help please?

Maybe you connect it with MSSQL.Or maybe you didn't run Sir.Martin sql queries for TH Column on MEMB_STAT.
 
Custom Title Activated
Loyal Member
Joined
Dec 5, 2009
Messages
2,657
Reaction score
1,178
Re: Mu Core 1.0.8 Custom Rankings (8 ranks + config + styles)

Maybe you connect it with MSSQL.Or maybe you didn't run Sir.Martin sql queries for TH Column on MEMB_STAT.

nah online players doesn't require this mod.

View attachment 137395
I had this error and also with the other php modules.
when I use the default rankings module it functions without no error
but when I use Sir Martin's php module nothing came out in the rankings module.

like I read on the first page I put all the php files on the page module.


help please?

Are you Mu Core 1.0.8 User ?

If yes, then

module .php going to pages_modules (or pages_modules/user_cp)

and Custom_Rankings directory there

2009x2014 - Mu Core 1.0.8 Custom Rankings (10 ranks + config + styles) - RaGEZONE Forums



if still doesn't work, change in config.php
$core['debug'] = '0';

to $core['debug'] = '1';


log in admincp

and check ranking for error
 
Last edited:
Newbie Spellweaver
Joined
Aug 27, 2013
Messages
57
Reaction score
3
Re: Mu Core 1.0.8 Custom Rankings (8 ranks + config + styles)

nah online players doesn't require this mod.



Are you Mu Core 1.0.8 User ?

If yes, then

module .php going to pages_modules (or pages_modules/user_cp)

and Custom_Rankings directory there

2009x2014 - Mu Core 1.0.8 Custom Rankings (10 ranks + config + styles) - RaGEZONE Forums



if still doesn't work, change in config.php
$core['debug'] = '0';

to $core['debug'] = '1';


log in admincp

and check ranking for error

----------------------
this is the error i got from the rankings using the original rankings.php module

(mssql): Select next_cron from MUCore_Cron_Jobs where cron_id=? [ (0=>'1') ]
[SIZE=-1]sp_executesql N'Select next_cron from MUCore_Cron_Jobs where cron_id=@P0',N'@P0 NVARCHAR(1)',@P0=N'1'[/SIZE]


when i tried your module it's the same nothing displays and no error ...

other modules like "Online Players and Top Killers" works great.

Any idea Sir Martin?
 
Custom Title Activated
Loyal Member
Joined
Dec 5, 2009
Messages
2,657
Reaction score
1,178
Re: Mu Core 1.0.8 Custom Rankings (8 ranks + config + styles)

----------------------
this is the error i got from the rankings using the original rankings.php module

(mssql): Select next_cron from MUCore_Cron_Jobs where cron_id=? [ (0=>'1') ]
[SIZE=-1]sp_executesql N'Select next_cron from MUCore_Cron_Jobs where cron_id=@P0',N'@P0 NVARCHAR(1)',@P0=N'1'[/SIZE]


when i tried your module it's the same nothing displays and no error ...

other modules like "Online Players and Top Killers" works great.

Any idea Sir Martin?

i thought u have problem with online players... and i told u to check for error there... not rankings.php

maybe explain me which ranking doesn't work for you, and check for ERROR there
 
Newbie Spellweaver
Joined
Aug 27, 2013
Messages
57
Reaction score
3
Re: Mu Core 1.0.8 Custom Rankings (8 ranks + config + styles)

at first i forgot to restart my xampp CP sorry for that
now it works but the problem is about the rankings module i had
it displays nothing and no error displayed when i set the debug module to 1
 
Custom Title Activated
Loyal Member
Joined
Dec 5, 2009
Messages
2,657
Reaction score
1,178
Re: Mu Core 1.0.8 Custom Rankings (8 ranks + config + styles)

------ Note ------
Rankings works perfectly, few server is using them with no errors (cache all fine)

so before you report problem, re-check everything, as well with debug enabled.

at first i forgot to restart my xampp CP sorry for that
now it works but the problem is about the rankings module i had
it displays nothing and no error displayed when i set the debug module to 1

if i understand correctly, u have problem with rankings.php, not my release ?

if yes then create topic on help section, since it's not releated to this release

i'll check asap ofc.
 
Newbie Spellweaver
Joined
Aug 27, 2013
Messages
57
Reaction score
3
Re: Mu Core 1.0.8 Custom Rankings (8 ranks + config + styles)

hmmmm, maybe there is a misunderstanding?

Rankings.php on MU Core 1.0.8 is the default right?

so your file Sir Martin is a module to replace/modify the original rankings.php or create another one?

If to replace/modify then I will to go admincp and then edit module right?

sorry if i am wrong.... just confused and i dont really get the idea until now my bad ..
 
Custom Title Activated
Loyal Member
Joined
Dec 5, 2009
Messages
2,657
Reaction score
1,178
Re: Mu Core 1.0.8 Custom Rankings (8 ranks + config + styles)

hmmmm, maybe there is a misunderstanding?

Rankings.php on MU Core 1.0.8 is the default right?

so your file Sir Martin is a module to replace/modify the original rankings.php or create another one?

If to replace/modify then I will to go admincp and then edit module right?

sorry if i am wrong.... just confused and i dont really get the idea until now my bad ..

You have to add as new module/page on admincp

u don't have to replace rankings.php :)
 
Newbie Spellweaver
Joined
Aug 27, 2013
Messages
57
Reaction score
3
Re: Mu Core 1.0.8 Custom Rankings (8 ranks + config + styles)

Top Online Ranking - required modification

Go to sql & run query
Code:
ALTER TABLE dbo.MEMB_STAT ADD TH int NOT NULL CONSTRAINT DF_MEMB_STAT_TH 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

additionaly i leave exchangehours from RZ release rewrited by myself 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 & Create column in MEMB_INFO table
Code:
Name = TVote
Data type = int
default 0


Sorry for late reply UnCleanOne, exchange hours works perfectly with TopOnline db modification (TH Column)
2009x2014 - Mu Core 1.0.8 Custom Rankings (10 ranks + config + styles) - RaGEZONE Forums


So execute query
Code:
ALTER TABLE dbo.MEMB_STAT ADD TH int NOT NULL CONSTRAINT DF_MEMB_STAT_TH DEFAULT 0

on MuOnline (or if you use Me_MuOnline for accounts) database

+ modify Stored procedure WZ_DISCONNECT_MEMB

to this 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

Time will be saved by minutes on account, so every 60 min, 1 hour will appear on exchange hours.

HF

Sir Martin if you combine this 2 query what will be the new look of the QUERY?
 
Newbie Spellweaver
Joined
Aug 27, 2013
Messages
57
Reaction score
3
Re: Mu Core 1.0.8 Custom Rankings (8 ranks + config + styles)

You have to add as new module/page on admincp

u don't have to replace rankings.php :)
Custom rank error - Mu Core 1.0.8 Custom Rankings (10 ranks + config + styles) - RaGEZONE Forums

Custom rank error 1 - Mu Core 1.0.8 Custom Rankings (10 ranks + config + styles) - RaGEZONE Forums
Custom rank error 2 - Mu Core 1.0.8 Custom Rankings (10 ranks + config + styles) - RaGEZONE Forums

Sir Martin, is there something i missed???
 

Attachments

You must be registered for see attachments list
Custom Title Activated
Loyal Member
Joined
Dec 5, 2009
Messages
2,657
Reaction score
1,178
Re: Mu Core 1.0.8 Custom Rankings (8 ranks + config + styles)


Customs_rankings_cfg.php its only CONFIG FILE, u don't have to add this, leave it in Custom_Rankings directory


about queries, 1 is for top voters ranking
second for top online ranking to work correctly

if u got different db structure top online query may require modification, but most of files use the same

also only top voter query need to be executed, top online u don't have to run query but replace current stored procedure.
 
Status
Not open for further replies.
Back
Top