Register for your free account! | Forgot your password?

You last visited: Today at 07:51

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

 

Shortcut to fix speculat?

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Jan 2010
Posts: 414
Received Thanks: 94
Shortcut to fix speculat?

Any know how to fix speed?

+0 armour/weaphon ----> magic_pct="15" specular="0" socket_pct="3" />
+1 armour/weaphon ----> magic_pct="15" specular="0" socket_pct="3" />
+2 armour/weaphon ----> magic_pct="15" specular="0" socket_pct="3" />
+3 armour/weaphon ----> magic_pct="15" specular="0" socket_pct="3" />
+4 armour/weaphon ----> magic_pct="15" specular="30" socket_pct="3" />
+5 armour/weaphon ----> magic_pct="15" specular="40" socket_pct="3" />
+6 armour/weaphon ----> magic_pct="15" specular="50" socket_pct="3" />
+7 armour/weaphon ----> magic_pct="15" specular="65" socket_pct="3" />
+8 armour/weaphon ----> magic_pct="15" specular="80" socket_pct="3" />
+9 armour/weaphon ----> magic_pct="15" specular="100" socket_pct="3" />


Any php code, or something like that?


Thank.



KillHumans is offline  
Old   #2
 
elite*gold: 0
Join Date: Aug 2009
Posts: 67
Received Thanks: 23
something like this?
Quote:
if(($row->type == 2 and $row->subtype == 0 and $row->vnum < 20000) OR ($row->type == 1 and $row->subtype != 6)){
$vnum = $row->vnum /10;
$level = round(($vnum - intval($vnum))*10);
if($level >= 0 and $level <= 3) $tmp['specular'] = 0;
elseif($level == 4) $tmp['specular'] = 30;
elseif($level == 5) $tmp['specular'] = 40;
elseif($level == 6) $tmp['specular'] = 50;
elseif($level == 7) $tmp['specular'] = 65;
elseif($level == 8) $tmp['specular'] = 80;
elseif($level == 9) $tmp['specular'] = 100;
//print$row->vnum."/".$vnum."/".$level."| |";
}else{
$tmp['specular'] = $row->specular;
}


MityQ is offline  
Reply



« Previous Thread | Next Thread »

Similar Threads
Shortcut Vip
wanted to know how to put shortcut for VIPs only 4-7, the diamond appears to the...
1 Replies - EO PServer Hosting
SRO DB-BOT Shortcut Key
Hi, can someone tell me if there is a shortcut key to pop-up the botmenu? Like in isrobot. Pos1 or something. Since I am using Windows 7 it does...
10 Replies - SRO PServer - Discussions / Questions



All times are GMT +1. The time now is 07:51.


Powered by vBulletin®
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Abuse
Copyright ©2017 elitepvpers All Rights Reserved.