I havent played with Guild Mark colors but the below code, already included in g_mark.php, should handle this.
2 levels of green color:
PHP Code:if($mark == 7){$color = "#8cff01";}
if($mark == 8){$color = "#00ff00";}
Printable View
Denied, remember to ALWAYS add the credits. Also, your not allowed to say "gtfo" here, be nice.
'Cant w8 for psychojr's updates! so here is my updated addons :sneaky2:
Update 1:
- 1. guild mark colors fixed.
- 2. added extra variable settings in config.php (hardcoded)
Update 2:
- Make the level private, mask the last digit with X, ON/OFF switch ( $priv_lvl_sw = 1 ) inside config.php
- Fixed blacklist auto-prune of Banned character, it will now update also character database.
- Record hack attempts in a file, set the file path ($hack_path="c:\\hack.txt") inside config.php.
You can now set most of important settings in config.php, its lame but better than waiting :P
PHP Code:<?php
require_once("includes/functions.php");
?>
<?php
include("xinject.php");
@mssql_connect('host','user','secret') or die('WRONG SQL INFORMATIONS');
$accdb = "MuOnline";
$chardb = "MuOnline";
@mssql_select_db($chardb);
$md5 = 0;
// Settings
// Stats Limit, it is usefull to balance the stats between classes like MG class, which dont have helm.
$limit_dk = 32767; // dk class
$limit_sm = 32767; // wizard class
$limit_ee = 32767; // elf class
$limit_mg = 35000; // magic gladiator class
$limit_dl = 32767; // dark lord class
$limit_sn = 32767; // summoner class
// Character
$rlvl = 400; // level to reset
$rlimit = 999; // Reset limit
$rtype = 1; // Reset type (1 = Stats will not be cleared | 2 = Stats will be cleared and Total_points = Reset_total x Reset_points)
$points_special = 300; // MG and DL class points to be added after reset
$points_normal = 100; // Rest of the class points to be added after reset
// Ranking Stats
$priv_lvl_sw = 1; // 1 hide the last digit of lvl (good for low rate server)
$showallstats = 1; // Show the rest of character attributes (Strength, Dexterity, Vitality, Energy & Command) in ranking. Make 0 if u want to hide.
// Character Modules
$addstat_char = 1;
$pkclear_char = 1;
$reset_char = 1;
$warp_char = 1;
// Payment
$reset_fee = 10000000;
$warp_fee = 1000000;
$pkclear_fee = 10000000;
// URL Links
$forum_lnk = 'http://yourforum.link';
$vote_lnk = 'http://yourvote.link';
$webshop_lnk = 'http://yourwebshop.link';
$donate_lnk = 'http://yourdonate.link';
// Links switch
$vote_popup = 1;
$vote_menu = 1;
$donate_menu = 1;
$webshop_menu = 1;
$forum_menu = 1;
// Other
$cstime="7:00 p.m. GMT+8"; // CS start time
$hack_path="c:\\hack.txt"; // record hack attempts here
?>
here's the design, i tried to release it on my thread but didn't show up, something's wrong i guess.
if you want to use the layout tell me and i'll send you the link for psd file, i'm working on a launcher to match the web interface, will be posted as well.
http://img262.imageshack.us/img262/4...design1.th.jpg
ENJOY
to put Russian of possible to utillize in??
please link to update ?
PS: sorry my english =\
Warning: mssql_query() [function.mssql-query]: message: Could not find stored procedure 'master.dbo.XP_MD5_EncodeKeyVal'. (severity 16) in C:\xampp\htdocs\psy\pages\register2.php(2) : eval()'d code(1) : eval()'d code on line 46
Warning: mssql_query() [function.mssql-query]: Query failed in C:\xampp\htdocs\psy\pages\register2.php(2) : eval()'d code(1) : eval()'d code on line 46
that after error??????????
set md5 to No from website configs in Administration Panel.
The message you have entered is too short. Please lengthen your message to at least 10 characters.
XD
mm the level of green are 3.
this is what happen:
http://img38.imageshack.us/img38/676/colorsrz.th.jpg
Ive fixed this with my updated addons, read above Ive already posted it.
this come after and before your updates.
hmm how to hide stats in rank ?