Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Dekaron > Dekaron Private Server
You last visited: Today at 18:59

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

Advertisement



[Release] Deadfront Counter by d0s3

Discussion on [Release] Deadfront Counter by d0s3 within the Dekaron Private Server forum part of the Dekaron category.

Closed Thread
 
Old   #1
 
d0s3's Avatar
 
elite*gold: 0
Join Date: Jul 2008
Posts: 45
Received Thanks: 13
[Release] Deadfront Counter by d0s3

Hallo, da eine fragen und heißaufdas script sind verde ich es puplic stellen viel spass damit


that is php
Code:
<?php
//
// War Script by d0s3
//
$hour_wars = array(14, 02, 20, 08);
sort($hour_wars);
$hour_now = date('H');
$hour_next = 02;

foreach($hour_wars as $hour_war) {
  if($hour_war > $hour_now) {
    $hour_next = $hour_war;
    break;
  }
}

$wartime = (mktime($hour_next, 0, 0) - time());
?>
$hour_wars = array(14, 02, 20, 08);

jsut change the 14, 02 , 20 , 08

for a ohter time

next df 14:00
next df 02:00
next df 20:00
next df 08:00

Nicht vergessen in die index.php/html

Code:
<script language="JavaScript" src="dfcounter.php" type="text/javascript">
Attached Files
File Type: rar dfcounter.rar (738 Bytes, 194 views)
d0s3 is offline  
Thanks
1 User
Old 09/29/2009, 10:19   #2
 
Bigshow107's Avatar
 
elite*gold: 0
Join Date: Jul 2009
Posts: 700
Received Thanks: 228
nice
bt what about a tut ? we trying to kill leecher here so lets teach them xD

oh btw for dumbs ya these is safe you can download xD
Bigshow107 is offline  
Thanks
1 User
Old 10/05/2009, 22:38   #3
 
elite*gold: 0
Join Date: Jun 2009
Posts: 608
Received Thanks: 129
Quote:
Originally Posted by Bigshow107 View Post
nice
bt what about a tut ? we trying to kill leecher here so lets teach them xD

oh btw for dumbs ya these is safe you can download xD
umm agreed ...
bullet21. is offline  
Old 10/05/2009, 23:22   #4
 
l2zeo's Avatar
 
elite*gold: 0
Join Date: Aug 2009
Posts: 267
Received Thanks: 39
manipulating a special order of the time anyway?
l2zeo is offline  
Old 10/06/2009, 12:34   #5
 
elite*gold: 0
Join Date: Sep 2009
Posts: 35
Received Thanks: 1
where tp put this file?
*[O]XYGEN* is offline  
Old 10/06/2009, 12:36   #6

 
elite*gold: 35
Join Date: Aug 2009
Posts: 5,822
Received Thanks: 1,958
website, if you dont have one you dont need the script
~Kakkarot~ is offline  
Old 04/10/2010, 15:03   #7
 
elite*gold: 0
Join Date: Aug 2009
Posts: 29
Received Thanks: 0
This now GOOD!!!

Quote:
<?php
//
// War Script by mta'chrono
//
$hour_wars = array(03, 06, 12, 15, 18, 21, 00);
sort($hour_wars);
$hour_now = date('H');
$hour_next = 03;


foreach($hour_wars as $hour_war)
{
if($hour_war > $hour_now)
{
$hour_next = $hour_war;
break;
}
}

$wartime = (mktime($hour_next, 0, 0) - time());
?>

<script type="text/javascript">

countdown_x1500 = <?php print $wartime; ?>; //**********
function convert_to_time_x1500(secs_x1500)
{
secs_x1500 = parseInt(secs_x1500);
hh_x1500 = secs_x1500 / 3600;
hh_x1500 = parseInt(hh_x1500);
mmt_x1500 = secs_x1500 - (hh_x1500 * 3600);
mm_x1500 = mmt_x1500 / 60;
mm_x1500 = parseInt(mm_x1500);
ss_x1500 = mmt_x1500 - (mm_x1500 * 60);

if (hh_x1500 > 23)
{
dd_x1500 = hh_x1500 / 24;
dd_x1500 = parseInt(dd_x1500);
hh_x1500 = hh_x1500 - (dd_x1500 * 24);
}
else
{ dd_x1500 = 0; }

if (ss_x1500 < 10) { ss_x1500 = "0"+ss_x1500; }
if (mm_x1500 < 10) { mm_x1500 = "0"+mm_x1500; }
if (hh_x1500 < 10) { hh_x1500 = "0"+hh_x1500; }
if (dd_x1500 == 0)
{ return (hh_x1500+":"+mm_x1500+":"+ss_x1500); }
else
{
if (dd_x1500 > 1)
{ return (dd_x1500+" days "+hh_x1500+":"+mm_x1500+":"+ss_x1500); }
else
{ return (dd_x1500+" day "+hh_x1500+":"+mm_x1500+":"+ss_x1500); }
}
}

function do_cd_x1500()
{
if (countdown_x1500 < 0)
{
document.getElementById('nationwarx1500').innerHTM L = "<b><span style='color: red;'>Deadfront is NOW!!</span></b>";
}
else
{
document.getElementById('nationwarx1500').innerHTM L = convert_to_time_x1500(countdown_x1500) + " hours Next DeathFront CountDown";
setTimeout('do_cd_x1500()', 1000);
}
countdown_x1500 = countdown_x1500 - 1;
}

document.write("<span id='nationwarx1500'>valami</span>\n"); //**********
do_cd_x1500();

</script>
godman2 is offline  
Old 04/10/2010, 15:08   #8
 
elite*gold: 0
Join Date: Feb 2010
Posts: 948
Received Thanks: 242
+7 Reported At: Sat 10 Apr 2010 - 13:07:52 GMT +1 Cause: Bumping old thread
iAslana is offline  
Old 04/10/2010, 15:10   #9
 
Nosferatu.'s Avatar
 
elite*gold: 22
Join Date: Jan 2008
Posts: 743
Received Thanks: 450
Quote:
Originally Posted by godman2 View Post
This now GOOD!!!
Please Create your own Thread to Release your Script.
Dont Bump Threads.
Nosferatu. is offline  
Old 04/10/2010, 15:19   #10
 
elite*gold: 0
Join Date: Aug 2009
Posts: 29
Received Thanks: 0
A sorry bad post but now this old Script good... im only reparied old and bad script...
godman2 is offline  
Old 04/10/2010, 16:13   #11

 
elite*gold: 35
Join Date: Aug 2009
Posts: 5,822
Received Thanks: 1,958
#closed
#warned
~Kakkarot~ is offline  
Closed Thread




All times are GMT +1. The time now is 19:00.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.