wow,and we should gues the error?
Make a ss with the error so we can help you.
wow,and we should gues the error?
Make a ss with the error so we can help you.
Last edited by agriel; 25-03-12 at 06:56 PM.
Use xampp 1.7.1 ;)
thank very much bro Popa Andrei for helping me.
now the register are succes but still error in the rank Top Nation.
Warning: Division by zero in C:\xampp\htdocs\rank\sisRankNacao.php on line 48
Warning: Division by zero in C:\xampp\htdocs\rank\sisRankNacao.php on line 52
sisRankNacao.php
read the error very carefful.It sez divid by 0 wich means no stats are in the database.That why you get error.Make an account and create an character.
PS use Like button,does wonders :))
Everybody who uses this if you dont want to be hacked go in the functions/anti_inject.php and replace all with this
PHP Code:<?php
function xw_sanitycheck($str){
if(strpos(str_replace("''",""," $str"),"'")!=false)
return str_replace("'", "''", $str);
else
return $str;
}
function secure($str){
// Case of an array
if (is_array($str)) {
foreach($str AS $id => $value) {
$str[$id] = secure($value);
}
}
else
$str = xw_sanitycheck($str);
return $str;
}
// Get Filter
$xweb_AI = array_keys($_GET);
$i=0;
while($i<count($xweb_AI)) {
$_GET[$xweb_AI[$i]]=secure($_GET[$xweb_AI[$i]]);
$i++;
}
unset($xweb_AI);
// Request Filter
$xweb_AI = array_keys($_REQUEST);
$i=0;
while($i<count($xweb_AI)) {
$_REQUEST[$xweb_AI[$i]]=secure($_REQUEST[$xweb_AI[$i]]);
$i++;
}
unset($xweb_AI);
// Post Filter
$xweb_AI = array_keys($_POST);
$i=0;
while($i<count($xweb_AI)) {
$_POST[$xweb_AI[$i]]=secure($_POST[$xweb_AI[$i]]);
$i++;
}
// Cookie Filter (do we have a login system?)
$xweb_AI = array_keys($_COOKIE);
$i=0;
while($i<count($xweb_AI)) {
$_COOKIE[$xweb_AI[$i]]=secure($_COOKIE[$xweb_AI[$i]]);
$i++;
}
?>
Reminds me a lot of the x-gaming Cabal site.
The only thing I dislike about this release is that the files aren't English.
Hello I have a problem with the reset module of this page, it turns out that when reset any character with any account, the page resets both the level and stats points, the reset every 50, and should only reset the lvl and let points of the stats as they are!
As would do to solve this problem? greetings thanks!
It should do that, reset both level and points but it also gives few bonus points to add
Or you can paste me the reset page if there is something different you made and i will make it for you to keep the stats when reseting a player.
but should not be so, because if a person may make your character stronger? if every time you reset the points so does the stats? the idea is to reset and increase stas points but not reset them is not it?
this is my config:
confCabal.php
funQuery.php
but I delete the lines that they referred to the stat points to see if he stopped trying to reset, and if it works only when you reset puts you life and energy 50. : S! if someone could help me greetings!
thanks!
you did it correct.The life and MP are based on the level so there is nothing you can set from that query.
And you should remove this to
Because if you leave it the users will keep they stats and get the extra points to.PNT = '".$txtPNT."' * (Reset + 1),
Unless you want that.
ok thanks!!
now how fix this little error:
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at C:\Xampp\htdocs\configuracao\confCabal.php:1) in C:\Xampp\htdocs\index.php on line 10
are on top website
did not come out before, now began to suddenly leave
Hi I have 2 problems:
1 ... the mobs do not have sound, no sound when they attack or die. What would be your solution?
2 .. I have a client in Portuguese, as would do to change it into another language or Spanish?
As I said it's supposed to reset the stats but to left over some unused stats at every reset. I didn't test this website but I suppose it does that.
Please do not ninja this thread with other problems you might have.