Register for your free account! | Forgot your password?

Go Back   elitepvpers > Popular Games > Silkroad Online > SRO Private Server
You last visited: Today at 13:26

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

Advertisement



There is a have any Unique Rank System?

Discussion on There is a have any Unique Rank System? within the SRO Private Server forum part of the Silkroad Online category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: May 2007
Posts: 70
Received Thanks: 355
There is a have any Unique Rank System?

i'm looking for my server unique rank system. I have Searching but i can't finding it :P anywhere..

Thank you
xtollgax is offline  
Old 06/21/2012, 08:49   #2

 
sarkoplata's Avatar
 
elite*gold: 166
Join Date: Apr 2009
Posts: 2,339
Received Thanks: 2,654
PHP Code:
// Script coded by: sarkolata
$fullpath 'path to gameserver.exe' "\\" 'file name of fatallog.txt. 
You have to choose the latest one.'
// Be careful using slashes

$fileArray file($fullpath);      
 foreach(
$fileArray as $key => $value)
{
    if(
stristr($value"UNIQUE MONSTER KILLED") !== FALSE)
    {
        
$explodearray explode("\t"$value);
        
$time $explodearray[0] . " " $explodearray[1];
        
$alltext str_replace("Unique Monster Killed! UNIQUE["""$explodearray[3]);
        
$exploded explode("] by ["$alltext);                                                              
        
$uniquename $exploded[0];
        
$killername11 str_replace("]"""$exploded[1]);
        
$killername trim($killername11);
                            
        
writetodb($uniquename$killername$time);
          
// your own function to write into database
    
}


sarkoplata is offline  
Thanks
1 User
Old 06/21/2012, 11:21   #3
 
elite*gold: 0
Join Date: May 2007
Posts: 70
Received Thanks: 355
Quote:
Originally Posted by sarkoplata View Post
PHP Code:
// Script coded by: sarkolata
$fullpath 'path to gameserver.exe' "\\" 'file name of fatallog.txt. 
You have to choose the latest one.'
// Be careful using slashes

$fileArray file($fullpath);      
 foreach(
$fileArray as $key => $value)
{
    if(
stristr($value"UNIQUE MONSTER KILLED") !== FALSE)
    {
        
$explodearray explode("\t"$value);
        
$time $explodearray[0] . " " $explodearray[1];
        
$alltext str_replace("Unique Monster Killed! UNIQUE["""$explodearray[3]);
        
$exploded explode("] by ["$alltext);                                                              
        
$uniquename $exploded[0];
        
$killername11 str_replace("]"""$exploded[1]);
        
$killername trim($killername11);
                            
        
writetodb($uniquename$killername$time);
          
// your own function to write into database
    
}


it's showing only killer and killer time. I'm looking for Rank System like point.
xtollgax is offline  
Old 06/21/2012, 23:18   #4

 
sarkoplata's Avatar
 
elite*gold: 166
Join Date: Apr 2009
Posts: 2,339
Received Thanks: 2,654
Quote:
Originally Posted by xtollgax View Post
it's showing only killer and killer time. I'm looking for Rank System like point.
Dude after you log them to db, you can make loop through all kills and points using associative arrays. You will need a little PHP knowledge
sarkoplata is offline  
Old 06/22/2012, 02:18   #5
 
elite*gold: 0
Join Date: May 2007
Posts: 70
Received Thanks: 355
yup but i don't have any idea about php
xtollgax is offline  
Reply


Similar Threads Similar Threads
CreddyOnline ~ 100Cap [BLACKROGUE] ~ UNIQUE RANK SYSTEM!
06/30/2012 - SRO PServer Advertising - 276 Replies
CreddyOnline Website Rank Page GOLD RATE IS DOUBLED! http://img7.imagebanana.com/img/oe5gfyfz/ALLPSD.p ng
Was is mit dem Rank System los?
05/23/2012 - DarkOrbit - 6 Replies
= 43.903 Rangpunkte Um den nächsthöheren Rang Chief Captain zu besitzen, benötigt man derzeit insgesamt ca. 37.330 Rangpunkte. Basic Captain seit 2 tagen schon ? why bin ich nich Chief captain
Adult Online 90 Cap Only Chine New Uniques (FREE SİLK) PVP And Unique Rank
03/23/2012 - SRO PServer Advertising - 29 Replies
EDİT



All times are GMT +2. The time now is 13:26.


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.