Register for your free account! | Forgot your password?

You last visited: Today at 11:47

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

Advertisement



[Release][PHP] Unique Rank

Discussion on [Release][PHP] Unique Rank within the SRO PServer Guides & Releases forum part of the SRO Private Server category.

Reply
 
Old   #1
 
B1Q's Avatar
 
elite*gold: 350
Join Date: Aug 2015
Posts: 1,999
Received Thanks: 1,184
[Release][PHP] Unique Rank



k the script i released a year ago was bugged and didn't work for a lot of people

here's a new script that i wrote 2 hours ago


Change your SQL Information in the config.php file
create the unique points table in your database (table.sql file)
change how much points you get for each unique
enable pdo_sqlsrv in your webserver


the rest is all html

Image

Attached Files
File Type: rar uniquerank.rar (2.0 KB, 402 views)
B1Q is offline  
Thanks
8 Users
Old 03/21/2017, 14:59   #2
 
elite*gold: 0
Join Date: Jul 2015
Posts: 37
Received Thanks: 17
nice one keep it
xxxvip2019 is offline  
Thanks
1 User
Old 03/21/2017, 14:59   #3
 
Gidzy's Avatar
 
elite*gold: 0
Join Date: Mar 2015
Posts: 402
Received Thanks: 154
Very helpful, thanks.
Gidzy is offline  
Thanks
1 User
Old 03/21/2017, 18:53   #4
 
elite*gold: 26
Join Date: Jan 2009
Posts: 810
Received Thanks: 1,212
Nice release, keep it up!
Damitsu is offline  
Thanks
2 Users
Old 03/21/2017, 21:17   #5
 
elite*gold: 0
Join Date: Feb 2012
Posts: 551
Received Thanks: 46
why i have this ?


and that's my line 20 in config i didn't even touch it
thebigbody is offline  
Old 03/22/2017, 05:23   #6
 
B1Q's Avatar
 
elite*gold: 350
Join Date: Aug 2015
Posts: 1,999
Received Thanks: 1,184
Quote:
Originally Posted by thebigbody View Post
why i have this ?


and that's my line 20 in config i didn't even touch it
you're not using PHP 5.6
B1Q is offline  
Old 03/22/2017, 11:05   #7
 
elite*gold: 0
Join Date: Feb 2012
Posts: 551
Received Thanks: 46
Quote:
Originally Posted by B1QB0SS :3 View Post
you're not using PHP 5.6
well i tried many ways to upgrade my php in my appserv but didn't work
could u tell me ?
thebigbody is offline  
Old 03/22/2017, 11:22   #8
dotCom
 
Devsome's Avatar
 
elite*gold: 12400
The Black Market: 104/0/0
Join Date: Mar 2009
Posts: 15,865
Received Thanks: 4,375
Quote:
Originally Posted by thebigbody View Post
well i tried many ways to upgrade my php in my appserv but didn't work
could u tell me ?
Replace
Code:
$_Columns[0] with $_tableName 
$_Columns[1] with $_charnameColumn
$_Columns[2] with $_modCodeColumn
$_Columns[3] with $_Columns
Devsome is offline  
Old 03/22/2017, 12:25   #9
 
elite*gold: 0
Join Date: Feb 2012
Posts: 551
Received Thanks: 46
Quote:
Originally Posted by Devsome View Post
Replace
Code:
$_Columns[0] with $_tableName 
$_Columns[1] with $_charnameColumn
$_Columns[2] with $_modCodeColumn
$_Columns[3] with $_Columns
i did that and i removed the columns but i have many other errors with PDO Statement i solved some of them but others can't :/





ofc that's because the difference between versions but how to change that code to the old one ?
thebigbody is offline  
Old 03/22/2017, 23:24   #10
 
B1Q's Avatar
 
elite*gold: 350
Join Date: Aug 2015
Posts: 1,999
Received Thanks: 1,184
Quote:
Originally Posted by Devsome View Post
Replace
Code:
$_Columns[0] with $_tableName 
$_Columns[1] with $_charnameColumn
$_Columns[2] with $_modCodeColumn
$_Columns[3] with $_Columns
it's not just the array hh

Quote:
Originally Posted by thebigbody View Post
i did that and i removed the columns but i have many other errors with PDO Statement i solved some of them but others can't :/


ofc that's because the difference between versions but how to change that code to the old one ?
not sure tbh. haven't used PHP 5.5 or less for years now

use this version of appserv


don't forget to enable pdo_sqlsrv
B1Q is offline  
Old 03/23/2017, 19:45   #11
 
elite*gold: 0
Join Date: Feb 2012
Posts: 551
Received Thanks: 46
Quote:
Originally Posted by B1QB0SS :3 View Post
it's not just the array hh



not sure tbh. haven't used PHP 5.5 or less for years now

use this version of appserv


don't forget to enable pdo_sqlsrv
didn't work too same error
thebigbody is offline  
Old 03/23/2017, 19:48   #12
 
B1Q's Avatar
 
elite*gold: 350
Join Date: Aug 2015
Posts: 1,999
Received Thanks: 1,184
Quote:
Originally Posted by thebigbody View Post
didn't work too same error
you ****** up the query with a non existent variable that will print empty space.
which caused the error you specified before.

B1Q is offline  
Thanks
1 User
Old 03/23/2017, 23:52   #13
 
elite*gold: 0
Join Date: Feb 2012
Posts: 551
Received Thanks: 46
Quote:
Originally Posted by B1QB0SS :3 View Post
you ****** up the query with a non existent variable that will print empty space.
which caused the error you specified before.

i didn't mean that error i meant the first one
thebigbody is offline  
Old 03/24/2017, 00:22   #14
 
B1Q's Avatar
 
elite*gold: 350
Join Date: Aug 2015
Posts: 1,999
Received Thanks: 1,184
Quote:
Originally Posted by thebigbody View Post
i didn't mean that error i meant the first one
remove the line 20 because you're not using the array.

as for the error message it means
you're not using PHP 5.4+ because the new array initializer was introduced in PHP 5.4
B1Q is offline  
Old 03/24/2017, 11:49   #15
 
elite*gold: 0
Join Date: Feb 2012
Posts: 551
Received Thanks: 46
Quote:
Originally Posted by B1QB0SS :3 View Post
remove the line 20 because you're not using the array.

as for the error message it means
you're not using PHP 5.4+ because the new array initializer was introduced in PHP 5.4
alright look i have installed the app version u gave me and started from the beginning
first error in the website itself cuz iam using Falcon website is this


and this error in your files
thebigbody is offline  
Reply


Similar Threads Similar Threads
Dark Soul ( Cap 140 / DG 15 / Free Silk / Play to win / Unique Rank / Pvp Rank )
04/22/2017 - SRO PServer Advertising - 30 Replies
( Dark Soul ( Cap 140 / DG 15 / Free Silk / Play to win / Unique Rank / Pvp Rank / New Quest http://image.prntscr.com/image/1b525afd7e89431988 d3a12e2ff0dded.jpg http://3arb2day.com/taz/sub/فوا صل/61842/img.png
[Reuqest] Unique Rank aka Unique Killer Score
02/08/2015 - SRO Private Server - 0 Replies
simple as that, i want to add a table that collect the uniques kills score for a player for the whole month. can any one guide me throw it please ?
There is a have any Unique Rank System?
06/22/2012 - SRO Private Server - 4 Replies
i'm looking for my server unique rank system. I have Searching but i can't finding it :P anywhere.. Thank you



All times are GMT +1. The time now is 11:47.


Powered by vBulletin®
Copyright ©2000 - 2024, 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 ©2024 elitepvpers All Rights Reserved.