Scripts e JobsEstamos postando aqui, Scripts e Jobs para Mu!Scripts PHP: Status do servidor: < ? $fp = @fsockopen("127.0.0.1", 55901, $errno, $errstr, 1); if($fp >= 1){ echo '<font color=00FF00>Online</font>';} else{ echo '<font color=990000>Offline</font>'; } ?> Numero de Usuarios Banidos: < ?php $sql = mssql_query("SELECT count(*) FROM Character where ctlcode=1"); echo mssql_result($sql, 0, 0); ?> Numero de Usuarios Online: "< ?php $sql = mssql_query("SELECT count(*) FROM MEMB_STAT WHERE ConnectStat = 1"); if( mssql_result($sql, 0, 0) <= 50){ //esse script da pra configurar a cor dos numeros echo "<font color=black>"; //de 0 a 50 fica preto de 50 a 100 fica laranja echo mssql_result($sql, 0, 0);} //e de 100 pra cima fica vermelho elseif( mssql_result($sql, 0, 0) >= 50 AND mssql_result($sql, 0, 0) <= 100){ echo "<font color=FF6600>"; echo mssql_result($sql, 0, 0);} elseif( mssql_result($sql, 0, 0) > 100){ echo "<font color=990000>"; echo mssql_result($sql, 0, 0);} ?> Numero de Contas: < ?php $tacountresult= mssql_query("select memb___id from MEMB_INFO"); $tacount = mssql_num_rows ($tacountresult); ?> <?php print "$tacount"; ?> Numero de Personagens: QUOTE < ?php $tcharsresult = mssql_query("select Name from Character"); $tchars = mssql_num_rows ($tcharsresult); ?> < ?php print "$tchars"; ?> Lembrando que para esses scripts funcionarem, e nesessario a conexao com o mssql. exemplo: < ?php $alogin = "sa"; $apass = "Senha do SQL"; $db = "MuOnline"; $host = "Seu IP Aqui"; $msconnect=mssql_connect($host,$alogin,$apass); $msdb=mssql_select_db("$db",$msconnect); ?> Codigo do tempo para Abrir BC e DS : Coloque o codico no lugar da pagina que voce quiser ou se preferir criei um link OBS: O codico e em php <span class="texto">Devil Square:</span><span class="textoR"><span id=timespan> </span> <script> var czas; < ? echo "var minuta = ".date("i").";"; echo "var sekunda = ".date("s").";"; ?> //document.write(55-minuta); danagodzina = minuta * 60 + sekunda; function changetimea() { danagodzina = danagodzina + 1; czas = 55*60 - danagodzina; min = Math.floor(czas/60); sec = czas%60; if(czas < 0) { document.getElementById("timespan").innerHTML="<? echo 'Aberto'; ?>"; } else { if(min < 10) min = "0"+min; if(sec < 10) sec = "0"+sec; document.getElementById("timespan").innerHTML=min+":"+sec; } window.setTimeout("changetimea()",1000); } changetimea(); </script> </font> <font style=""><span class="texto">Blood Castle:</span><span class="textoR"><span id=timespan2></span> <script> < ? echo "var minuta2 = ".date("i").";"; echo "var sekunda2 = ".date("s").";"; ?> danagodzina2 = minuta2 * 60 + sekunda2; if(minuta2 > 30) dopelnej = 3600 - danagodzina2; else dopelnej = -danagodzina2; dobc = dopelnej + 25*60; function changetimea2() { dobc = dobc - 1; if(dobc < -5*60) { dobc = 3600 + 30*60; dobc = dobc-1; } min2 = Math.floor(dobc/60); sec2 = dobc%60; if(min2 < 0) { document.getElementById("timespan2").innerHTML="<? echo 'Aberto'; ?>"; } else { if(min2 < 10) min2 = "0"+min2; if(sec2 < 10) sec2 = "0"+sec2; document.getElementById("timespan2").innerHTML=min2+":"+sec2; } window.setTimeout("changetimea2()",1000); } changetimea2(); </script> Ranking de Resets Top 100 < ?php $alogin = "sa"; $apass = "Senha do SQL"; $db = "MuOnline"; $host = "127.0.0.1"; $msconnect=mssql_connect($host,$alogin,$apass); $msdb=mssql_select_db("$db",$msconnect); $query = 'select Name,Class,cLevel,Strength,Dexterity,Vitality,Energy,LevelUpPoint,CtlCode,resets from Character order by resets desc , cLevel desc'; $result = mssql_query( $query ); echo '<html>'; echo "<head>\n"; echo '<body>'; echo '<font face=Verdana>'; echo '<center><table cellSpacing=1 width=100% align=center>'; echo '<tr> < td bgcolor=F5F5F5><center><b>Rank</td> < td bgcolor=F5F5F5><b>Personagem</td> < td bgcolor=F5F5F5><b>Classe</td> < td bgcolor=F5F5F5><b>Level</td> < td bgcolor=F5F5F5><b>Strenght</td> < td bgcolor=F5F5F5><b>Agility</td> < td bgcolor=F5F5F5><b>Vitality</td> < td bgcolor=F5F5F5><b>Energy</font></td> <