• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Znote AAC 1.4 - [TFS 0.2.13+] & [TFS 0.3.6+/0.4]

please help in characterprofile.php missing town, no set town_id

lols.png

https://github.com/Znote/ZnoteAAC/blob/master/config.php#L182
Configure town ID and names in config.php
 
my towns in config.php

$config['towns'] = array(
1 => 'Venore',
2 => 'Thais',
3 => 'Kazordoon',
4 => 'Carlin',
5 => 'Abdendriel',
6 => 'Rookgard',
7 => 'Liberty bay',
8 => 'Port Hope',
9 => 'Ankrahmun',
10 => 'Darashia',
11 => 'Edron',
12 => 'Svargrond',
13 => 'Yalahar',
14 => 'Farmine',


my code in characterprofile.php

<?php echo town_id_to_name($profile_data['town_id']); ?>
 
my towns in config.php

$config['towns'] = array(
1 => 'Venore',
2 => 'Thais',
3 => 'Kazordoon',
4 => 'Carlin',
5 => 'Abdendriel',
6 => 'Rookgard',
7 => 'Liberty bay',
8 => 'Port Hope',
9 => 'Ankrahmun',
10 => 'Darashia',
11 => 'Edron',
12 => 'Svargrond',
13 => 'Yalahar',
14 => 'Farmine',


my code in characterprofile.php

<?php echo town_id_to_name($profile_data['town_id']); ?>

Which town id does it display when you just do this:
PHP:
<?php echo $profile_data['town_id']; ?>

And have you configured that town id in $config['towns']?
 
I have a little problem when someone create a druid in the game all is normal but when the druid log out and log in de druid became to sorcerer :/ at the db change the vocation from 2 to 1 and if I changed manually the vocation to druid again if exist another druid on db the other druid became to sorcerer I mean the db only allow have 1 druid and no more
 
I have a little problem when someone create a druid in the game all is normal but when the druid log out and log in de druid became to sorcerer :/ at the db change the vocation from 2 to 1 and if I changed manually the vocation to druid again if exist another druid on db the other druid became to sorcerer I mean the db only allow have 1 druid and no more

Sounds like a LUA script bug, make sure you don't call any functions like setVocation in any globalevents or creaturescripts
 
When I try to view a forum thread it iend me to wrong link like this _/forum.php?cat=3 _ <- should be my webpage but it dose not. Dose anyone know why=?
 
which are the payment options in znote acc?
for example paypal, paygol, zaopay, contenido pago

znote is the best option?
im an amateur at this i only need a nice page with payment systems and quite simple to understand
 
which are the payment options in znote acc?
for example paypal, paygol, zaopay, contenido pago

znote is the best option?
im an amateur at this i only need a nice page with payment systems and quite simple to understand
Znote AAC comes with paypal(credit card) and paygol (phone) payment options.

When I try to view a forum thread it iend me to wrong link like this _/forum.php?cat=3 _ <- should be my webpage but it dose not. Dose anyone know why=?
https://github.com/Znote/ZnoteAAC/issues/131
 
I have a question. The server status widget shows my server is offline when my tfs is up and running (it is online). How can I fix that?

And how can I change the header on the layout?
 
I have a question. The server status widget shows my server is offline when my tfs is up and running (it is online). How can I fix that?

And how can I change the header on the layout?
All layout specific content is inside the layout folder somewhere. Depends on which layout you use.
Server status widget, could it be the status port does not match what is written in config.php?
 
Znote there is a problem with the gallery i used the direct url and the other link but never show the pic

rNwTGm4a.jpg
 
No changelogs submitted.string(165) "SELECT `n`.`id`, `n`.`title`, `n`.`text`, `n`.`date`, `p`.`name` FROM `znote_news` AS `n` INNER JOIN `players` AS `p` ON `n`.`pid` = `p`.`id` ORDER BY `n`.`id` DESC;"
(query - SQL error)
Type: select_multi (select multiple rows from database)

Unknown column 'n.text' in 'field list'
 
string(98) "SELECT `ip`, `created`, `points`, `cooldown` FROM `znote_accounts` WHERE `account_id` = 1 LIMIT 1;"
(query - SQL error)
Type: select_single (select single row from database)

Table 'forgotten.znote_accounts' doesn't exist
 
No changelogs submitted.string(165) "SELECT `n`.`id`, `n`.`title`, `n`.`text`, `n`.`date`, `p`.`name` FROM `znote_news` AS `n` INNER JOIN `players` AS `p` ON `n`.`pid` = `p`.`id` ORDER BY `n`.`id` DESC;"
(query - SQL error)
Type: select_multi (select multiple rows from database)

Table 'ot.znote_news' doesn't exist

string(98) "SELECT `ip`, `created`, `points`, `cooldown` FROM `znote_accounts` WHERE `account_id` = 1 LIMIT 1;"
(query - SQL error)
Type: select_single (select single row from database)

Table 'forgotten.znote_accounts' doesn't exist
 
No changelogs submitted.string(165) "SELECT `n`.`id`, `n`.`title`, `n`.`text`, `n`.`date`, `p`.`name` FROM `znote_news` AS `n` INNER JOIN `players` AS `p` ON `n`.`pid` = `p`.`id` ORDER BY `n`.`id` DESC;"
(query - SQL error)
Type: select_multi (select multiple rows from database)

Table 'ot.znote_news' doesn't exist

string(98) "SELECT `ip`, `created`, `points`, `cooldown` FROM `znote_accounts` WHERE `account_id` = 1 LIMIT 1;"
(query - SQL error)
Type: select_single (select single row from database)

Table 'forgotten.znote_accounts' doesn't exist
youre missing a table, re install it correctly..
 
Back
Top