New Script Request Thred :p

Website Scripts for your Helbreath Server.
locobans
Outpost Junkie
Posts: 2264
Joined: Tue Jul 13, 2004 3:51 am
Location: Behind You
Contact:

Post by locobans »

Thanks you very much wannabee, i ll try it as soon as i get the installation of easyphp again in my computer.

~Locobans
QUOTE (ADDKiD @ Dec 1 2006, 4:01 PM) <br>You guys make me laugh alot, half the shit I say, is bullshit...<br><br><img src='http://img485.imageshack.us/img485/492/banssig1ng.gif' border='0' alt='user posted image' /><br><br><b>I see no changes at all, wake up in the morning and ask myself...<br>Is life worth living? Should I blast myself?</b><br><br><b><a href='http://2paclegacy.com' target='_blank'>2PacLegacy.com</a></b>
locobans
Outpost Junkie
Posts: 2264
Joined: Tue Jul 13, 2004 3:51 am
Location: Behind You
Contact:

Post by locobans »

The cape that must change normal cape to PriceCape...aint working right :blink:

If i try it just like this, when i put my password it will redirect me to <a href='http://iphere/caper.php' target='_blank'>http://iphere/caper.php</a> wich doesnt exist.

If i change blue stuff to cape.php, then when i put my password on it, it just load...but doesnt actually do nothing on the characters...and after it finish loading...nothing shows up :unsure:
<?
Error_reporting(0);

$dir = 'C:\\Documents and Settings\\Danilo\\Desktop\\HBServer 3.51 HBX 3.00'; //The only config line
$pass = 'xxxxxx';


if ($_POST['pass'] == $pass) {
function dirList ($directory)
{
  $results = array();
  $handler = opendir($directory);
  while ($file = readdir($handler)) {
      if ($file != '.' && $file != '..')
          $results[] = $file;
  }
  closedir($handler);
  return $results;
}

$chardir = $dir.'\\Character';

$folder = 0;
while ($folder != 256) {
$listings = array();
$listings = dirList($chardir."\\ASCII".$folder);

foreach($listings as $filename){
  $lines = file($filename);
  $a=0;
  $b = 0;
  $c = array();
  foreach($lines as $b){
    if(substr_count($b, 'character-location') > 0) {
      $townline = $a;
    }
    if(substr_count($b, 'character-loc-map') > 0) {
      $locline = $a;
    }
    if(substr_count($b, 'character-contribution') > 0) {
      $clocline = $a;
    }
    if(substr_count($b, 'character-item = Cape') > 0) {
      $c[$b] = $a;
      $b++;
     }
     $a++;
  }
  $con = ereg_replace("character-contribution =","\n",$lines[$clocline]);
  $con2 = array_merge($con2, $con);
  if ($con2 >= 150) {
    $town = str_replace(' ', NULL, $lines[$townline]);
    $town = str_replace('character-location=', NULL, trim($town));
    if($town == 'aresden') {
      foreach($c as $line5){
        $lines[$line5] = 'character-item = AresdenPriceCape     1 2 17819 25370 729 1 0 0 0 300 0
';
      }
    } elseif($town == 'elvine') {
      foreach($c as $line5){
        $lines[$line5] = 'character-item = ElvinePriceCape      1 2 16042 15766 729 1 0 0 0 300 0
';
      }
      $lines = chop(implode('', $lines));
      $fo = fopen($filename, 'w+');
      fwrite($fo, $lines);
      echo 'Character successfully un-stuck.';
    }
    $folder++;
  }
}
}
} else {
echo "<form action=<span style='color:blue'>caper.php</span> method=post>Password:<input type=password name=pass></form>";
}
?>
QUOTE (ADDKiD @ Dec 1 2006, 4:01 PM) <br>You guys make me laugh alot, half the shit I say, is bullshit...<br><br><img src='http://img485.imageshack.us/img485/492/banssig1ng.gif' border='0' alt='user posted image' /><br><br><b>I see no changes at all, wake up in the morning and ask myself...<br>Is life worth living? Should I blast myself?</b><br><br><b><a href='http://2paclegacy.com' target='_blank'>2PacLegacy.com</a></b>
Inf3ktion
Regular
Posts: 42
Joined: Tue Jul 05, 2005 1:34 am

Post by Inf3ktion »

I need a 100% skills php that dosn't ask for a password and account name, just character name. The one that I had f---ed up the char files and the one I made did the same.
Datafly
just visiting
Posts: 5
Joined: Sat Jul 02, 2005 2:55 pm

Post by Datafly »

I need EK shop script what needs log in with char name as usual,when logged in it displays your number of ek-s and cont and list of items sale for ek-s and/or contrib aand buy link after em, i hope its not too much of trouble :P
Basicly it would be shop where i could buy items for a)EK-s b)Cont c)EK-s & Cont
Could you make it please :lol:
EDIT:Actually only EK-s would be just fine :) i just really need this script as my webmaster turned out to be dumber as i thought <_<
ptuhkim0
just visiting
Posts: 6
Joined: Wed Sep 28, 2005 3:55 pm

Post by ptuhkim0 »

i got php scripts on my computer but i dont know how to get em into sites
wannabee
Loyal fan
Posts: 270
Joined: Sun Dec 21, 2003 12:42 am

Post by wannabee »

install easyphp, then put those scripts into the web directory...

then in your browser, goto: <a href='http://127.0.0.1/unstick.php' target='_blank'>http://127.0.0.1/unstick.php</a> (or some other script)
<!--QuoteBegin--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> </td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->Human knowleag belongs to THE WORLD<!--QuoteEnd--></td></tr></table><div class='signature'><!--QuoteEEnd--><br>So i highly dislike people who keep to their proud selfs... thats why i wanna share everything i got with you guys :D
soul40k
Regular
Posts: 36
Joined: Thu Mar 11, 2004 2:04 am

Post by soul40k »

Would it be possible to get a differently made contribution PHP?

I have tried your other ones, and they don't seem to work for me. Is it out of date? Am I just retarded? Anyone ahve any ideas?
diuuude
Outpost bitch
Posts: 592
Joined: Wed Dec 28, 2005 11:57 pm

Post by diuuude »

soul40k wrote: Would it be possible to get a differently made contribution PHP?

I have tried your other ones, and they don't seem to work for me. Is it out of date? Am I just retarded? Anyone ahve any ideas?
you seems to be retarded... worked fine when i tryed it...
<a href='http://www.technohell.net' target='_blank'><b><span style='color:red'>>>> Helbreath Ressources Website Here <<<</span></b></a><br>C++ Sources, Tools, Server Files, Help on Forum, C++ Snippets, Toplist... Updated often, come visit us !
soul40k
Regular
Posts: 36
Joined: Thu Mar 11, 2004 2:04 am

Post by soul40k »

diuuude wrote:
soul40k wrote: Would it be possible to get a differently made contribution PHP?

I have tried your other ones, and they don't seem to work for me. Is it out of date? Am I just retarded? Anyone ahve any ideas?
you seems to be retarded... worked fine when i tryed it...
Kk ima redownload it and try again.
wannabee
Loyal fan
Posts: 270
Joined: Sun Dec 21, 2003 12:42 am

Post by wannabee »

:S if it still dosn't work, PM me.
<!--QuoteBegin--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> </td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->Human knowleag belongs to THE WORLD<!--QuoteEnd--></td></tr></table><div class='signature'><!--QuoteEEnd--><br>So i highly dislike people who keep to their proud selfs... thats why i wanna share everything i got with you guys :D
Post Reply