Ir para conteúdo
  • Cadastre-se
  • 0

Map online


renanvl

Pergunta

3 respostass a esta questão

Posts recomendados

Se é so o script ta aqui

se for a pasta completa tem que esperar alguem upa ela

 

<html>

<head>

<body bgcolor="#000000" text="lime" link="#009933" vlink="#009933" padding="0" leftmargin="0">

<font size="2">

<TITLE><?php

include"connection.php";

echo $htitle . " - Live map";

if (($ms3)==1) {

?></TITLE>

 

<script>

<!--

//enter refresh time in "minutes:seconds" Minutes should range from 0 to inifinity. Seconds should range from 0 to 59

var limit="1:00"

 

if (document.images){

var parselimit=limit.split(":")

parselimit=parselimit[0]*60+parselimit[1]*1

}

function beginrefresh(){

if (!document.images)

return

if (parselimit==1)

window.location.reload()

else{

parselimit-=1

curmin=Math.floor(parselimit/60)

cursec=parselimit%60

if (curmin!=0)

curtime=curmin+" minutes "+cursec+" seconds to automatic refresh!"

else

curtime=cursec+" seconds to automatic refresh!"

window.status=curtime

setTimeout("beginrefresh()",1000)

}

}

 

window.onload=beginrefresh

//-->

</script>

<script type="text/javascript">

//desabilita menu de opções após clicar no botão direito

function desabilitaMenu(e)

{

if (window.Event)

{

if (e.which == 2 || e.which == 3)

return false;

}

else

{

event.cancelBubble = true

event.returnValue = false;

return false;

}

}

 

//desabilita botão direito

function desabilitaBotaoDireito(e)

{

if (window.Event)

{

if (e.which == 2 || e.which == 3)

return false;

}

else

if (event.button == 2 || event.button == 3)

{

event.cancelBubble = true

event.returnValue = false;

return false;

}

}

 

//desabilita botão direito do mouse

if ( window.Event )

document.captureEvents(Event.MOUSEUP);

if ( document.layers )

document.captureEvents(Event.MOUSEDOWN);

 

document.oncontextmenu = desabilitaMenu;

document.onmousedown = desabilitaBotaoDireito;

document.onmouseup = desabilitaBotaoDireito;

</script>

</head>

<?php

$query_players=mysql_query("SELECT char_name,x,y,race,z,level FROM characters WHERE online = '1'");

echo "<div style=position:absolute;top:0px;left:0px><img src=CT1.jpg></div>";

 

while ($res=mysql_fetch_array($query_players))

{

$name=$res['char_name'];

$valx=$res['x'];

$valy=$res['y'];

$valz=$res['z'];

$race=$res['race'];

$level=$res['level'];

 

$x=116+($valx+107823)/200; //Aden

$y=2580+($valy-255420 )/200; //Aden

echo "<div style=\"position:absolute;top:".$y."px;left:".$x."px\"><img src=".$race.".png title=\"$name x:$valx y:$valy z:$valz\"></div>";

}

 

$query_online_count="SELECT count(*) FROM characters WHERE accesslevel<100 and online = '1'";

$result = mysql_query($query_online_count);

$online = mysql_result ($result, 0, 0);

 

echo '<div style=position:absolute;top:10px;left:120px><table><tr><td align=center><b><u><font color=000000>'.$online.'</font></b></u></td><td><b><u><font color=000000>Players Online</font></u></b></td><tr>

<tr><td><img src=0.png width=15></td><td><b><font color=red>Human</font></b></td><tr>

<tr><td><img src=1.png width=15></td><td><b><font color=yellow>Elf</font></b></td><tr>

<tr><td><img src=2.png width=15></td><td><b><font color=blue>Dark Elf</font></b></td><tr>

<tr><td><img src=3.png width=15></td><td><b><font color=green>Orc</font></b></td><tr>

<tr><td><img src=4.png width=15></td><td><b><font color=cyan>Dwarf</font></b></td></tr>

<tr><td><img src=5.png width=15></td><td><b><font color=coral>Kamael</font></b></td></tr>

</table></div>';

"<!-- Author Unknown, converted for use with L2J by Greg Keys, and mod version for Hellbound by Grundor [email protected] -->\n";//Do Not Remove

mysql_close();

} else {echo '<center><font color=red size=4><b>Ýòîò ìîäóëü îòêëþ÷åí àäìèíèñòðàòîðîì !!!</b></font></center>';}

?>

banerparasites1uh7.jpg

www.l2pecadores.com.br

Link para o comentário
Compartilhar em outros sites


  • L2JBr ADM

EJoOSOj.gif

Sua pergunta foi respondida? Certifique-se de marcar a resposta como a solução aceita.
Se existe mais de uma resposta, utilize o "vote up" para destacá-la.
Se você achar uma resposta útil, diga obrigado clicando no botão "Gostei".

Link para o comentário
Compartilhar em outros sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Visitante
Responder esta pergunta...

×   Você colou conteúdo com formatação.   Remover formatação

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Processando...




×
×
  • Criar Novo...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.