nigaz Posted October 25, 2006 Report Share Posted October 25, 2006 Karo4.... Sheit rakstam pilnīgi visu PAr un Ap HLTV ... (Ja esi atnācis uzrakstit tekstus par:tati googli un:meklēšanas pogu DROŠI VARI IET PROM!!! ----------------------------------------------------------------------------------- Ir tāda lieta...ka uztaisiiju serveri( hustle.no-ip.info:27015) Serverim uztaisiiiju WEBU AR AMXMODX UN PSYHOSTATS (pec gign.lv pamācībām) Viss iet perfekti,bet izdomāju ka noderētu arī HLTV monitors un tas ka failus var noka4āt publiski....karo4 lietoju meklētāju un atradu kaut ko.... Rezuultaats: HLTV palaizju, serveri specos paradas playeris ar noradito nsaukumu.....tikai neko neieraksta....Kā lai uzliek tā ka viņš Ik pa 30 min ieraakstīto saglaba.... Vēl deretu ja kāds pateiktu kaa lai izdara taa ka vinjsh visus failus ka4aaa direktorijaaa : C:/AppServ/www/demo/ karo4 vaig gudru cilveku help... Link to comment Share on other sites More sharing options...
LiL_Netii Posted October 25, 2006 Report Share Posted October 25, 2006 (edited) Pff nu pa šito figņu ir daudz runātszz... Labi uzrakstīšu vēlreiz ~~ jau kāda cita minēto pirms kāda laika! Kompresācijas skripts <? function zipcompressfile($source,$destination,$filename,$level=false) { $dest=$destination.$filename.'.zip'; $mode='wb'.$level; $error=false; echo $source.$filename.' -> '.$dest.'<br>'; if($fp_out=gzopen($dest,$mode)) { if($fp_in=fopen($source.$filename,'rb')) { while(!feof($fp_in)) { gzwrite($fp_out,fread($fp_in,1024*512)); } fclose($fp_in); } else { $error=true; } gzclose($fp_out); } else $error=true; if($error) return false; else return $dest; } $demo_dir = 'D:/AppServ/www/recorded_demos/'; // Folder with .dem files $dl_dir = 'D:/AppServ/www/compressed_demos/'; // Folder, where to put compressed files $handle = opendir($demo_dir); if ($handle) { while (false !== ($fails = readdir($handle))) { if ( preg_match("/(.*).dem/", $fails, $demo) ) { zipcompressfile($demo_dir, $dl_dir, $fails); } } closedir($handle); } ?> Apskatīšanas skripts <?php if ($handle = opendir('D:/AppServ/www/compressed_demos/')) { while (false !== ($file = readdir($handle))) { if (strlen($file) > 4) { $gabali = explode("-", $file); $date = $gabali[1]; $mape = $gabali[2]; $mapesgabali = explode(".", $mape); $name = $mapesgabali[0]; $year = substr($date,0,2); $month = substr($date,2,2); $day = substr($date,4,2); $hour = substr($date,6,2); $minute = substr($date,8,2); echo "<center>$day.$month.$year $hour:$minute $name <a href=\"http://yourweb.com/compressed_demos/$file\">Download</a></br></center>"; } } closedir($handle); } ?> Lai ierakstitu demo tavaa www folderii mapee demo!!! Atver hltv.cfg un pieraksti: record "../../AppServ/www/demo/demo_nosaukums" connect "hustle.no-ip.info" Tas laikam bija viss! Edited October 25, 2006 by LiL_Netii Link to comment Share on other sites More sharing options...
*venceso Posted October 25, 2006 Report Share Posted October 25, 2006 paklau LiL Netti a bet aka avr uzlikt lai tie demo sakaartojas pa datumiem kaa gign.lv ??? es ceru ka tu paliidzeesi!! Link to comment Share on other sites More sharing options...
LiL_Netii Posted October 25, 2006 Report Share Posted October 25, 2006 Lūk otrajā pievienotajā skriptā tas jau ir izdarīts!! Viss sakārtojas kā vajag! $year = substr($date,0,2); $month = substr($date,2,2); $day = substr($date,4,2); $hour = substr($date,6,2); $minute = substr($date,8,2); echo "<center>$day.$month.$year Link to comment Share on other sites More sharing options...
nigaz Posted October 25, 2006 Author Report Share Posted October 25, 2006 (edited) tnx.......eu jautajums ne pa teemu..kur jaaiet lai dabuutu kautkas.id.lv Edited October 25, 2006 by nigaz Link to comment Share on other sites More sharing options...
nigaz Posted October 25, 2006 Author Report Share Posted October 25, 2006 Blja hltv.cfg failaa pierakstiiju to suudu...atveru hltv.exe ...un tad vinjsh man uzraksta !Warning! DemoFile::StartRecording: coudn't open demo file C:/AppServ/www/demo/hustle_-0610262354-aim_map.dem. Ko dariit? Centos pievienot arii bildi BILDITE : SPIED CIK SPEKA Link to comment Share on other sites More sharing options...
shooter Posted October 25, 2006 Report Share Posted October 25, 2006 tnx.......eu jautajums ne pa teemu..kur jaaiet lai dabuutu kautkas.id.lv http://www.nic.lv Link to comment Share on other sites More sharing options...
nigaz Posted October 25, 2006 Author Report Share Posted October 25, 2006 un kur tieshi un cik tas maksaa Link to comment Share on other sites More sharing options...
LiL_Netii Posted October 26, 2006 Report Share Posted October 26, 2006 Blja hltv.cfg failaa pierakstiiju to suudu...atveru hltv.exe ...un tad vinjsh man uzraksta !Warning! DemoFile::StartRecording: coudn't open demo file C:/AppServ/www/demo/hustle_-0610262354-aim_map.dem. Ko dariit? Centos pievienot arii bildi BILDITE : SPIED CIK SPEKA Tev tur tāda mape vispār ir? Link to comment Share on other sites More sharing options...
nigaz Posted October 26, 2006 Author Report Share Posted October 26, 2006 (edited) dabiski ka ir....eu netii....pievienot prosta hltv.cfg failu...moshka manaa failaa vaia .... eu netii...ieej skype.... Edited October 26, 2006 by nigaz Link to comment Share on other sites More sharing options...
Kid Posted October 26, 2006 Report Share Posted October 26, 2006 atver ar notepat lolaakkk Link to comment Share on other sites More sharing options...
Speeed Posted October 26, 2006 Report Share Posted October 26, 2006 Blja hltv.cfg failaa pierakstiiju to suudu...atveru hltv.exe ...un tad vinjsh man uzraksta !Warning! DemoFile::StartRecording: coudn't open demo file C:/AppServ/www/demo/hustle_-0610262354-aim_map.dem. Ko dariit? Centos pievienot arii bildi BILDITE : SPIED CIK SPEKA psc man ar tas pats radas !Warning! DemoFile::StartRecording: coudn't open demo file C:/AppServ/www/demo/dfs_-0610262354-de_dust.dem. Link to comment Share on other sites More sharing options...
*venceso Posted October 26, 2006 Report Share Posted October 26, 2006 Lūk otrajā pievienotajā skriptā tas jau ir izdarīts!! Viss sakārtojas kā vajag! $year = substr($date,0,2); $month = substr($date,2,2); $day = substr($date,4,2); $hour = substr($date,6,2); $minute = substr($date,8,2); echo "<center>$day.$month.$year tu laikamnepareizi saprati! es domaaju kaa var taa kaa gign.lv kad uzspiezh uz kaadu datumu tad uzreiz atveraas tajaa datumaa ieraxtiitie demo faili!!!???? Link to comment Share on other sites More sharing options...
RadioActive Posted October 26, 2006 Report Share Posted October 26, 2006 Blja hltv.cfg failaa pierakstiiju to suudu...atveru hltv.exe ...un tad vinjsh man uzraksta !Warning! DemoFile::StartRecording: coudn't open demo file C:/AppServ/www/demo/hustle_-0610262354-aim_map.dem. Ko dariit? Centos pievienot arii bildi BILDITE : SPIED CIK SPEKA Skaidri zini ka tev ir Appserv? Mosh kaut kas cits Link to comment Share on other sites More sharing options...
*venceso Posted October 26, 2006 Report Share Posted October 26, 2006 nu man ir shitaa- record ../../../../../AppServ/www/demo/blabla un viss rukaa! Link to comment Share on other sites More sharing options...
nigaz Posted October 26, 2006 Author Report Share Posted October 26, 2006 eu venceso pievienot savu hltv failu...moshka man kaut kas tur nau pareizs Link to comment Share on other sites More sharing options...
Drumais Posted October 26, 2006 Report Share Posted October 26, 2006 (edited) eu venceso pievienot savu hltv failu...moshka man kaut kas tur nau pareizs cik dev ir HDD ja tev ir 2 tad hltv.cfg nedrikst but ../../../C:/demo/blablabla un c:/demo/blablabla ir jabut obligati ../../../../demo/blablabla man piemeram ir 2HDD uz viena man stav appserv uz 2 man stav servers ar visu hltv un man sanak taisit uz ../../../demo/blablabla tas nozime ka vins saglabasies uz HDD2 un pirmaja skripta man ir jaliek sadi $demo_dir = 'D:/demo/blablabla/'; // Folder with .dem files $dl_dir = 'c:/appserv/www/demo/blablabla/'; // Folder, where to put compressed files tas sanak ka man uz D:/ stav .dem uz C:/ .zip Edited October 26, 2006 by Drumais Link to comment Share on other sites More sharing options...
Speeed Posted October 28, 2006 Report Share Posted October 28, 2006 (edited) nezinu kaa jums bet man kad mape kur ir demo faili demo ir daudz man neuploudojas tapec es to kodu bik uzlaboju ! <html> <head> <title>demo</title> </head> <body> <? ? function zipcompressfile($source,$destination,$filename,$level=false) ? { ? ? ? $dest=$destination.$filename.'.zip'; ? ? ? $mode='wb'.$level; ? ? ? $error=false; ? ? ? ? ? echo $source.$filename.' -> '.$dest.'<br>'; ? ? ? if($fp_out=gzopen($dest,$mode)) ? ? ?{ ? ? ? ? ? if($fp_in=fopen($source.$filename,'rb')) ? ? ? ? ? { ? ? ? ? ? ? ?while(!feof($fp_in)) ? ? ? ? ? ? ? { ? ? ? ? ? ? ? ? ? gzwrite($fp_out,fread($fp_in,1024*512)); ? ? ? ? ? ? ? } ? ? ? ? ? ? ? fclose($fp_in); ? ? ? ? ?} ? ? ? ? ?else ? ? ? ? ?{ ? ? ? ? ? ? ?$error=true; ? ? ? ? ? ? ? ? ? ? ? ?} ? ? ? ? ? gzclose($fp_out); ? ? ? } ? ? ? else $error=true; ? ? ? if($error) return false; ? ? ? else return $dest; ? } ? $demo_dir = 'C:/demo/'; // Folder with .dem files ?$dl_dir = 'C:/AppServ/www/demo_zip/'; // Folder, where to put compressed files ? ? $handle = opendir($demo_dir); ? ? if ($handle) ? { ? ? ? while (false !== ($fails = readdir($handle))) ? ? ? { ? ? ? ? ? if ( preg_match("/(.*).dem/", $fails, $demo) ) ? ? ? ? ? { ? ? ? ? ? ? ? zipcompressfile($demo_dir, $dl_dir, $fails); ? ? ? ? ? ?unlink($demo_dir.$fails); ? ? ? ? } ? ? } ? ? ?closedir($handle); ? ? ? ?} ?> <meta http-equiv="Refresh" content="1800;URL=#" /> </body> </html> tagad pec demo parteisisanas zip demo izdzesisies! un ik pets pus stundas lapa atjaunosies! Edited October 28, 2006 by Speeed Link to comment Share on other sites More sharing options...
SuperRembo Posted December 29, 2006 Report Share Posted December 29, 2006 eu sis kods strada tiesam, nevelos ekperimentet ka dazam labam .dem mape visa izdzesas Link to comment Share on other sites More sharing options...
Guest priedzza Posted December 29, 2006 Report Share Posted December 29, 2006 nu ko var sist pa veciem topikiem Link to comment Share on other sites More sharing options...
SuperRembo Posted December 29, 2006 Report Share Posted December 29, 2006 Lai lieki neriskejot uz savas addas uzzinat vairak informacijas, ka redzi nevisas atbildes ir seit pateiktas tapec nakas uzdod vel un vel stulbus jautajumus Link to comment Share on other sites More sharing options...
jancis38 Posted December 29, 2006 Report Share Posted December 29, 2006 (edited) Bet neviens no shiem kodiem man nepaliidzeeeja! Es mekleetaajaa biju atradis 1 topiku un tur bija normaals php skripts, ursh man aizgaaja! Tikai kkos tomeer man tur neiet... ...nesaglabaajas,nesazpijoas manaa webaa! vajag speciaali iet iekshaa http://mansdomein.lv/demo.php lai demo tiktu paraadiiiti webaa Edited December 29, 2006 by jancis38 Link to comment Share on other sites More sharing options...
Miedzinjsh[War3-Pro-Player] Posted January 12, 2007 Report Share Posted January 12, 2007 kads nevar iedot skriptu kad automatiski sakas rakstities demkas kad palaizh kadu bat failu? Man shito ljoti vajadzetu, jo pa darba dienam es neesmu majas un mutere katru ritu iesledz dakji, bet vinja nemak palaist hltv.exe un sarakstis visu ko vajag Link to comment Share on other sites More sharing options...
LiL_Netii Posted January 13, 2007 Report Share Posted January 13, 2007 (edited) Uzliec vnk hltv shortcutu uz desktopa, tad ieej servera direktorijaa, atver failu hltv.cfg un apaksaa pieraksti: connect "ip:27015" record "demkas nosaukums" name "HLTV Proxy" Edited January 13, 2007 by LiL_Netii Link to comment Share on other sites More sharing options...
Miedzinjsh[War3-Pro-Player] Posted January 13, 2007 Report Share Posted January 13, 2007 (edited) Uzliec vnk hltv shortcutu uz desktopa, tad ieej servera direktorijaa, atver failu hltv.cfg un apaksaa pieraksti: connect "ip:27015" record "demkas nosaukums" name "HLTV Proxy" tnx aizgaja, bet man nesanaak ar tam direktorijam man ieksh hltv.cfg ir rakstits record "../../../../program files/xampp/xampp/htdocs/demkas/war3" bet nekas nemainas un ka ar tiem skriptiem darit jauztaisa par sma vai par ko? Un cik daudz vietas apmeram varetu aiznjemt demkas nedeljas laikaa, ja serveris on 16 H? Edited January 13, 2007 by Miedzinjsh[War3-Pro-Player] Link to comment Share on other sites More sharing options...
Recommended Posts