Skip to content

Raid boss

Featured Replies

HI all! mengz how i can add raid boss status to my website(diskw)?can you give me any script...

and one more i dont need status for all rb only for some what i need.

thx

============================================

Gia sas! pos mporo na kano add raid boss status sto site mou(diskw)?an mporite doste m kana script gia afto...

a kai kati allo egw 8elo stat mono gia rb pou xriazoume,oxi gia ola.

thx

 

Ps egw exw ena script ala dn doulevi kanonika...dld m dixni ola ta rb kai otan einai dead m leei alive...

 

[move]plz help.[/move]

 

<?php

if(empty($mw))

{

 header ("Location: ..");

 exit;

}

?>

 

<?php

$hostname = "localhost"; // your database location

$database = "l2jdb";

$user = "root"; // your database user

$pass = ""; // your database password

 

$connect = @mysql_connect($hostname, $user, $pass);

@mysql_select_db($database, $connect);

 

if(!$connect)

echo 'Can\'t connect to the database';

else

{

$raidspawn = mysql_query("SELECT boss_id,respawn_time FROM raidboss_spawnlist ORDER BY respawn_time DESC");

while(list($boss_id) = mysql_fetch_row($raidspawn))

{

$raidnames = mysql_query("SELECT name FROM npc WHERE id = $boss_id");

$text = '<font color="00FF00">alive</font>';

$respawn = '<font color="0000FF">spawned</font>';

if($respawn_time > 0)

{

$respawntime = date('r',($respawn_time / 1000));

$text = '<font color="FF0000">dead</font>';

$respawn = '<font color="FF0000">Will respawn '.$respawntime.'</font>';

}

 

while(list($raidname) = mysql_fetch_row($raidnames))

{

echo '<tr><td>'.$raidname.'</td><td>'.$text.'</td><td>'.$respawn.'</td></tr>';

}

}

}

?>

 

</body>

</html>

mhn kaneis double post

na perimeneis otan to dei kapios pou gnwrizei kai 3erei 8a sou apanthsei

  • 3 weeks later...

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.