Navigacija
Lista poslednjih: 16, 32, 64, 128 poruka.

Mala pomoch oko ovog

[es] :: Skript jezici :: Mala pomoch oko ovog

[ Pregleda: 3197 | Odgovora: 1 ] > FB > Twit

Postavi temu Odgovori

Autor

Pretraga teme: Traži
Markiranje Štampanje RSS

StratOS
Slovenija

Član broj: 2234
Poruke: 988
*.ce.sik.si



+1 Profil

icon Mala pomoch oko ovog01.09.2003. u 10:09 - pre 232 meseci
Da, radi se o js-u.

Code:

if (document.cookie.indexOf("a34=")!=-1) {
   var a29;
   search="a34=";
   offset=document.cookie.indexOf(search);
   offset+=search.length;
   end=document.cookie.indexOf(";",offset);
   if (end==-1) end=document.cookie.length;
   a29=unescape(document.cookie.substring(offset,end));
   a29++;
}    
var a00=10;var a01=5;var a02;var a03=a00;var a04=0;var a05=0;var a06=0;var a07=0;var a08;var a09=null;var a10=null;var a11="z1.gif";var a12="z2.gif";var a13=false;var a14=new a15();function a15(){this.length=2*a00;for(var i=0;i<this.length;i++){this[i]=Math.floor(i/2)+1;}}function a16(){if (!a13) {a17=window.setTimeout("a16()",1000);a06=a06+1;}document.a18.a19.value=a06;}function a25(){var i,j,a20;for (i=0;i<a14.length;i++){a14[i]=Math.floor(i/2)+1;}a02=0;for (i=0;i<a14.length;i++){var a21=document.images[i].src;var a22=a21.length;var a23=a21.lastIndexOf("/",a22);var a24=a21.substring(a23+1,a22);if (a24!=a11){a02=a02+1;}}for (i=0;i<a14.length;i++){j=Math.round(Math.random()*(a14.length-1));a20=a14[i];a14[i]=a14[j];a14[j]=a20;}a03=a00;a04=0;a05=0;a06=0;document.a18.a19.value=a06;document.a18.a05.value=0;if (a07==0){a17=window.setTimeout("a16()",1000);a07=1;}}function a26(a08){if (a14[a08]==-1){}else{a30=a14[a08];document.images[a08+a02].src=a30+".gif";if((a04==1)&&(a08!=a09)){a04=2;a10=a08;a33=a30;a05=(eval(a05)+1);document.a18.a05.value=a05;}if (a04==0){a04=1;a09=a08;a32=a30;}}}function a27(x){if (a04==2){if (a32==a33){document.images[a09+a02].src=a12;document.images[a10+a02].src=a12;a14[a09]=-1;a14[a10]=-1;a04=0;if (a03==1){if (a05>18 || a06>35) {if (isNaN(a29)){a29=1;}document.cookie="a34="+a29;a13=true;a16();if (a29>4){a28();}else alert("Refresh to play again.");}else {a13=true;a16();document.cookie="pyr7=true";window.open("pyr7/solution.cgi/"+a05+".shtml",'_top');}}else{a03--;}}else{document.images[a09+a02].src=a11;document.images[a10+a02].src=a11;a04=0;}}}function a28() {alert("Your're now downloading Digital Dysfunktion's VIRUS!");alert("Want to exit??");alert("Crashmatik says not today!!");alert("This is gonna be rough...");a31(15);alert("Download COMPLETE!");alert("You're done for! You got 30 seconds to reformat!!");alert("HEHEHE :) Virus is now embedded in your hard drive!");}function a31(n) {if (self.moveBy){for (i=20; i>0; i--) {for (j=n;j>0; j--) {self.moveBy(0,i);self.moveBy(i,0);self.moveBy(0,-i);self.moveBy(-i,0);}}}}<!-- Fake Virus by Ken Dushane -->


Redi se o jednoj memory igri, no ja bih ju preskočio.

document.cookie="pyr7=true";window.open("pyr7/solution.cgi/"+a05+".shtml",'_top')
Znači coockie browsera mora biti "pyr7=true"
a sta bi a05 trebao da bude ?

Neradeca verzija igre (strip) je na :
http://www.angelfire.com/ma/BorisMacek/Stuff/Memory/memory.html
Zanima me kako bi brez igranja mogao ubjediti cgi skript i kakvo značenje bi trebala imati a05?

Pozdrav StratOS
"Multitasking - ability to f##k up several things at once."
"It works better if you plug it in."
"As a rule, software systems do not work well until they have been used, and have failed repeatedly, in real applications."
"The one who is digging the hole for the other to fall in is allready in it."
 
Odgovor na temu

StratOS
Slovenija

Član broj: 2234
Poruke: 988
*.ce.sik.si



+1 Profil

icon Re: Mala pomoch oko ovog03.09.2003. u 09:09 - pre 232 meseci
Zar bi se moglo nachi koji debuger js funkcija koji bi radio breakpoint u izvajanju, da bih mogao da menjam vrednosti parametra itd (nadzirati potek) ...
Pozdrav StratOS
"Multitasking - ability to f##k up several things at once."
"It works better if you plug it in."
"As a rule, software systems do not work well until they have been used, and have failed repeatedly, in real applications."
"The one who is digging the hole for the other to fall in is allready in it."
 
Odgovor na temu

[es] :: Skript jezici :: Mala pomoch oko ovog

[ Pregleda: 3197 | Odgovora: 1 ] > FB > Twit

Postavi temu Odgovori

Navigacija
Lista poslednjih: 16, 32, 64, 128 poruka.