Flash
 
HeXeR 31. okt 2007 18:10:11 Pridružen od:
13. dec 2006
3268 objav
122 22 5
#1

Prosil bi če kdo, ve pod katerim pogojem se izvede pravi ali drugi if stavek in s tem POST na arcade.php, ker sam Action scripta še nisem nikoli delal ...



Zadeva deluje na kolegi strani ki ima PHP Nuke, zdaj pa bi prestavil v svoj sistem, pa je problem da se tukaj POST ne zgodi, nič se ne zgodi ...



Če mi je prav jasno, zato ker nobeden od teh dveh pogojev ni izpolnjen, tako da če bi mi kdo lahko kdo malce to razložil ...



Oziroma če kdo ve za kak forum kjer so Flash experti, po možnosti slovenski, ampak mislim da takega ni ...


// Action script...

// [Action in Frame 1]
if (this.sessionstarted != 1)
{
this.arcade = new LoadVars();
this.sessionvars = new LoadVars();
this.arcade.gamename = "arkanoid";
this.arcade.sessdo = "sessionstart";
this.arcade.sendAndLoad("arcade.php", sessionvars, "POST");
if (this.sessionvars.sessiontype != 2)
{
_root.is_a_challenge = 0;
}
else
{
_root.is_a_challenge = 1;
} // end if
this.sessionstarted = 1;
} // end if
if (_root.gameover == 1)
{
if (this.askpermission != 1 && this.sessionvars.connStatus == 1)
{
this.prequestvars = new LoadVars();
this.pranswer = new LoadVars();
this.prequestvars.gametime = this.sessionvars.gametime;
this.prequestvars.fakekey = this.sessionvars.initbar;
_root.score = int(Number(_root.score));
if (_root.score != 0)
{
this.prequestvars.score = _root.score;
}
else
{
this.prequestvars.score = -1;
} // end if
this.prequestvars.id = this.sessionvars.lastid;
this.prequestvars.sessdo = "permrequest";
this.prequestvars.note = this.prequestvars.id * this.prequestvars.score * this.prequestvars.fakekey;
this.prequestvars.sendAndLoad("./arcade.php", this.pranswer, "POST");
this.askpermission = 1;
} // end if
if (this.pranswer.validate == 1 && this.finalsent != 1)
{
this.burnscore = new LoadVars();
this.burnscore.microone = this.pranswer.microone;
this.burnscore.gametime = this.prequestvars.gametime;
this.burnscore.id = this.prequestvars.id;
if (_root.score == 0)
{
this.burnscore.noscore = 1;
} // end if
this.burnscore.sessdo = "burn";
this.burnscore.send("./arcade.php", "_self", "POST");
this.finalsent = 1;
} // end if
} // end if
všeč(0) ni všeč(0) spam(0)
First rule of business, protect your investment.
 
 

🔒 Za odgovor na to temo se moraš prijaviti.

Prijavi se