Register for your free account! | Forgot your password?

You last visited: Today at 20:02

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Shaiya PHP Ranking script

Discussion on Shaiya PHP Ranking script within the Shaiya PServer Development forum part of the Shaiya Private Server category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Dec 2011
Posts: 43
Received Thanks: 6
Shaiya PHP Ranking script

Hello there, i was wondering if anyone could help me with my pvp ranking script. At the moment my server is running shared kills and my pvp ranking is showing up all characters from account. How can i reduce it to just 1 character?
catalinbebe is offline  
Old 03/28/2016, 19:27   #2
 
killer2p's Avatar
 
elite*gold: 0
Join Date: Jun 2010
Posts: 417
Received Thanks: 159
make a clause where it reads slot 1, 2 ,3 ,4 etc
killer2p is offline  
Thanks
1 User
Old 03/28/2016, 19:53   #3
 
elite*gold: 0
Join Date: Dec 2011
Posts: 43
Received Thanks: 6
Well i've tryed to make it show just slot 0 characters, but there are people that arent showing on ranks because they are using another slot, so i wonder how can i make it really work. I think i need to put like a condition
catalinbebe is offline  
Old 03/30/2016, 15:35   #4
 
killer2p's Avatar
 
elite*gold: 0
Join Date: Jun 2010
Posts: 417
Received Thanks: 159
if slot is empty check slot b else c else etc
killer2p is offline  
Thanks
1 User
Old 03/30/2016, 17:56   #5
 
elite*gold: 0
Join Date: May 2012
Posts: 35
Received Thanks: 11
You can show us your query which is showing the players, and we will probably help you
HellRevenger is offline  
Thanks
2 Users
Old 03/30/2016, 22:42   #6
 
elite*gold: 0
Join Date: Dec 2011
Posts: 43
Received Thanks: 6
Atm using this one but it just shows slot 0 characters.
Quote:
//--------------Database Connection-----------------
$conn = @odbc_connect("Driver={SQL Server};Server=$server;", $dbuser, $dbpass) or die("Database Connection Error!");;

$query = "SELECT TOP ".$MaxRank." c.CharName,c.K1,c.K2,c.Job,c.Level,umg.Country
FROM PS_GameData.dbo.Chars c
INNER JOIN PS_UserData.dbo.Users_Master um ON c.useruid=um.useruid
INNER JOIN PS_GameData.dbo.UserMaxGrow umg ON umg.UserUID=c.UserUID
WHERE um.status=0 AND c.Del=0 AND c.Slot=0 AND c.K1 > 1 ORDER BY c.k1 DESC";
$result = odbc_exec($conn, $query);
catalinbebe is offline  
Old 03/31/2016, 04:16   #7
 
AxelMac's Avatar
 
elite*gold: 0
Join Date: Aug 2012
Posts: 454
Received Thanks: 111
Quote:
Originally Posted by catalinbebe View Post
Atm using this one but it just shows slot 0 characters.
try this query

after change your value.
AxelMac is offline  
Thanks
2 Users
Reply


Similar Threads Similar Threads
[Do You Have] Shaiya Vote ranking ?
07/21/2015 - Shaiya PServer Development - 3 Replies
Hi, i need a vote ranking script & not a vote for DP, Do you have that ? :) Thanks you :)
Ranking Script
10/18/2012 - Flyff Private Server - 5 Replies
Habe gehört hier gibt es ein Fixxed Ranking Script aber ich find es ned.. Hat es einer wo die Xss lücken weg sind? Will was probieren^^
[Help]Shaiya PvP ranking script
12/23/2010 - Shaiya Private Server - 0 Replies
Hello guys. İ need shaiya pvp ranking script. Any1 have this script? Ty for help =)



All times are GMT +1. The time now is 20:02.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.