Rowhan1337
New Member
- Joined
- Oct 2, 2008
- Messages
- 4
- Reaction score
- 2
You need to forward port 80 on your router to the computer running the webserver.
Oh it was that easy, had been boggling my mind for days, thanks alot!
You need to forward port 80 on your router to the computer running the webserver.
Sounds like either your router is running a remote admin interface on port 80 or you forwarded port 80 to the router's IP address. There is usually a setting on the router to disable the public admin interface or move it to a different port. On my D-Link it's called remote management.i port fowared 80, but i dont know what ip give to ppl so they can acess to my website, im using that noip thing
when i try to acess to my noip it shows my router panel lol,
User "root" exists in your db? Check it.PHP Parse error: syntax error, unexpected 'sqlUser' (T_STRING) in /var/www/html/acc/config.php on line 23
line 23: $config['sqlUser'] = 'root';
What's wrong?!
tfs 0.3.7 8.6
Ubuntu 14.04 64bit
Znote 1.5
I think this is what you're looking for?Someone knows how to limit the number of highscores that are shown?
Not really.. The version of the Znote ACC that I have it does not support that code in the config.lua. But after some time exploring the folders I found what I was looking for. For those who maybe are searching for the same thing, it is in engine/function/users.php. In there you will find the following code:I think this is what you're looking for?
https://github.com/Znote/ZnoteAAC/blob/master/config.php#L414-L418
// Returns an array containing up to 30 best players in terms of (selected skillid). Returns player ID and skill value.
function highscore_skills($skillid) {
$skillid = (int)$skillid;
$query = mysql_query("SELECT `player_id`, `value` FROM `player_skills` WHERE `skillid`='$skillid' ORDER BY `value` DESC LIMIT 0, 30");
while ($row = mysql_fetch_assoc($query)) {
if ($skillid == 6 || $skillid == 5) {// If skillid is fish fighting, lets display vocation name instead of id.
$row['vocation'] = vocation_id_to_name(mysql_result(mysql_query("SELECT `vocation` FROM `players` WHERE `id` = '". $row['player_id'] ."';"), 0));
}
$row['group_id'] = mysql_result(mysql_query("SELECT `group_id` FROM `players` WHERE `id` = '". $row['player_id'] ."';"), 0);
$row['name'] = mysql_result(mysql_query("SELECT `name` FROM `players` WHERE `id` = '". $row['player_id'] ."';"), 0);
unset($row['player_id']);
$array[] = $row;
}
if (isset($array)) {return $array; } else {return false;}
}
User "root" exists in your db? Check it.
It was a wierd error. Good to know you solved it.Ofcourse i have. I have enabled error log, dig a little and discovered that to run znote on lamp you need curl php to be installed. Without it you'll have many weird errors. So i solved my problem but thanks for help .
Greetings
https://github.com/Znote/ZnoteAACAny compatible TFS 1.0? 1.1?
$config['client_download'] = 'http://clients.************/windows.php?tibia='. $config['client'] .'';
$config['client_download_linux'] = 'http://clients.************/linux.php?tibia='. $config['client'] .'';
You need phpcURL enabled.After people donate they do not get there points some poeple say there was an error, but i do get their paypal donation, but they do not get their points. i need to give them it manually