• 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!
  • 2026 staff recruitment is open! Check it out and consider applying!

Gesior AAC Installation

I already did this stage, then something fucked up, so i went back and started again, then this error comes up...
Any help?

You can't agree tables, cuz you have it agreed. Not any error. You have already that tables in your db, it's not necessary subscribe them.

What version of Acc are you using, and in witch step gives you the first error?
 
line 516
Code:
			(NULL, "Rook Sample", 0, 1, 1, 1, 0, 150, 150, 0, 0, 0, 0, 0, 110, 0, 0, 0, 0, 0, 0, 0, 50, 50, 7, "", 400, 0, 0, 0, 0, 0, 0, 0, "", 0, 0, 0, 201660000, 0, 100, 100, 100, 100, 100, 0, 0, 0, 0, 0, "", 0, 0, "", 0, "")');

version; 0.3.8
server; tfs 0.3.6
step; 4. Add samples to DB
ive tried removing all tables from database and re-do, nothing.
 
Try delete the samples and account manager from database and add it:
SQL:
INSERT INTO `players` (`id`, `name`, `world_id`, `group_id`, `account_id`, `level`, `vocation`, `health`, `healthmax`, `experience`, `lookbody`, `lookfeet`, `lookhead`, `looklegs`, `looktype`, `lookaddons`, `maglevel`, `mana`, `manamax`, `manaspent`, `soul`, `town_id`, `posx`, `posy`, `posz`, `conditions`, `cap`, `sex`, `lastlogin`, `lastip`, `save`, `skull`, `skulltime`, `rank_id`, `guildnick`, `lastlogout`, `blessings`, `balance`, `stamina`, `direction`, `loss_experience`, `loss_mana`, `loss_skills`, `loss_containers`, `loss_items`, `premend`, `online`, `marriage`, `promotion`, `deleted`, `description`, `created`, `nick_verify`, `old_name`, `hide_char`, `worldtransfer`, `comment`, `show_outfit`, `show_eq`, `show_bars`, `show_skills`, `show_quests`, `exphist_lastexp`, `exphist1`, `exphist2`, `exphist3`, `exphist4`, `exphist5`, `exphist6`, `exphist7`, `onlinetimetoday`, `onlinetime1`, `onlinetime2`, `onlinetime3`, `onlinetime4`, `onlinetime5`, `onlinetime6`, `onlinetime7`, `onlinetimeall`, `auction_balance`) VALUES
(1, 'Account Manager', 0, 1, 1, 1, 0, 150, 150, 0, 0, 0, 0, 0, 110, 0, 0, 0, 0, 0, 0, 0, 50, 50, 7, '', 400, 0, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, 201660000, 0, 100, 100, 100, 100, 100, 0, 0, 0, 0, 0, '', 0, 0, '', 1, 0, '', 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0),
(2, 'Rook Sample', 0, 1, 1, 1, 0, 150, 150, 0, 0, 0, 0, 0, 110, 0, 0, 0, 0, 0, 0, 0, 50, 50, 7, '', 400, 0, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, 201660000, 0, 100, 100, 100, 100, 100, 0, 0, 0, 0, 0, '', 0, 0, '', 1, 0, '', 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0),
(3, 'Sorcerer Sample', 0, 1, 1, 8, 1, 185, 185, 0, 0, 0, 0, 0, 128, 0, 0, 35, 35, 0, 0, 2, 0, 0, 0, '', 600, 0, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, 201660000, 0, 100, 100, 100, 100, 100, 0, 0, 0, 0, 0, '', 0, 0, '', 1, 0, '', 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0),
(4, 'Druid Sample', 0, 1, 1, 8, 2, 185, 185, 0, 0, 0, 0, 0, 128, 0, 0, 35, 35, 0, 0, 2, 0, 0, 0, '', 600, 0, 1302858859, 16777343, 0, 0, 0, 0, '', 0, 0, 0, 201660000, 0, 100, 100, 100, 100, 100, 0, 0, 0, 0, 0, '', 0, 0, '', 1, 0, '', 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0),
(5, 'Paladin Sample', 0, 1, 1, 8, 3, 185, 185, 0, 0, 0, 0, 0, 128, 0, 0, 35, 35, 0, 0, 2, 0, 0, 0, '', 600, 0, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, 201660000, 0, 100, 100, 100, 100, 100, 0, 0, 0, 0, 0, '', 0, 0, '', 1, 0, '', 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0),
(6, 'Knight Sample', 0, 1, 1, 8, 4, 185, 185, 0, 0, 0, 0, 0, 128, 0, 0, 35, 35, 0, 0, 2, 0, 0, 0, '', 600, 0, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, 201660000, 0, 100, 100, 100, 100, 100, 0, 0, 0, 0, 0, '', 0, 0, '', 1, 0, '', 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
 
The samples and account manager I've deleted already.
I tried putting that script but I got this error;
Code:
#1054 - Unknown column 'exphist_lastexp' in 'field list'
 
SQL:
ALTER TABLE `players` ADD `exphist_lastexp` BIGINT( 255 ) NOT NULL DEFAULT '0', 
ADD `exphist1` BIGINT( 255 ) NOT NULL DEFAULT '0', 
ADD `exphist2` BIGINT( 255 ) NOT NULL DEFAULT '0', 
ADD `exphist3` BIGINT( 255 ) NOT NULL DEFAULT '0', 
ADD `exphist4` BIGINT( 255 ) NOT NULL DEFAULT '0', 
ADD `exphist5` BIGINT( 255 ) NOT NULL DEFAULT '0', 
ADD `exphist6` BIGINT( 255 ) NOT NULL DEFAULT '0', 
ADD `exphist7` BIGINT( 255 ) NOT NULL DEFAULT '0', 
ADD `onlinetimetoday` BIGINT( 255 ) NOT NULL DEFAULT '0', 
ADD `onlinetime1` BIGINT( 255 ) NOT NULL DEFAULT '0', 
ADD `onlinetime2` BIGINT( 255 ) NOT NULL DEFAULT '0', 
ADD `onlinetime3` BIGINT( 255 ) NOT NULL DEFAULT '0', 
ADD `onlinetime4` BIGINT( 255 ) NOT NULL DEFAULT '0', 
ADD `onlinetime5` BIGINT( 255 ) NOT NULL DEFAULT '0', 
ADD `onlinetime6` BIGINT( 255 ) NOT NULL DEFAULT '0', 
ADD `onlinetime7` BIGINT( 255 ) NOT NULL DEFAULT '0', 
ADD `onlinetimeall` BIGINT( 255 ) NOT NULL DEFAULT '0'; 

UPDATE `players` SET `exphist_lastexp`=`players`.`experience`;
 
Code:
#1452 - Cannot add or update a child row: a foreign key constraint fails (`theforgottenserver`.`players`, CONSTRAINT `players_ibfk_1` FOREIGN KEY (`account_id`) REFERENCES `accounts` (`id`) ON DELETE CASCADE)
 
So I created a new database
Ran through the steps again, got to create admin acc.
Created admin acc then this...........

Code:
Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[42S22]: Column not found: 1054 Unknown column 'vip_time' in 'field list'' in C:\Users\Dave\Desktop\xampp\htdocs\pot\OTS_Account.php:237 Stack trace: #0 C:\Users\Dave\Desktop\xampp\htdocs\pot\OTS_Account.php(237): PDO->query('SELECT `id`, `n...') #1 C:\Users\Dave\Desktop\xampp\htdocs\install.php(573): OTS_Account->load(1) #2 {main} thrown in C:\Users\Dave\Desktop\xampp\htdocs\pot\OTS_Account.php on line 237
 
Code:
#1452 - Cannot add or update a child row: a foreign key constraint fails (`theforgottenserver`.`players`, CONSTRAINT `players_ibfk_1` FOREIGN KEY (`account_id`) REFERENCES `accounts` (`id`) ON DELETE CASCADE)
do you have an account with id 1
So I created a new database
Ran through the steps again, got to create admin acc.
Created admin acc then this...........

Code:
Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[42S22]: Column not found: 1054 Unknown column 'vip_time' in 'field list'' in C:\Users\Dave\Desktop\xampp\htdocs\pot\OTS_Account.php:237 Stack trace: #0 C:\Users\Dave\Desktop\xampp\htdocs\pot\OTS_Account.php(237): PDO->query('SELECT `id`, `n...') #1 C:\Users\Dave\Desktop\xampp\htdocs\install.php(573): OTS_Account->load(1) #2 {main} thrown in C:\Users\Dave\Desktop\xampp\htdocs\pot\OTS_Account.php on line 237
search for the query, or add the column manually through phpmyadmin
 
Done the columns
now I get these errors on my webpage;
Code:
Notice: Undefined index: sqliteDatabase in C:\Users\Dave\Desktop\xampp\htdocs\config-and-functions.php on line 30

Notice: Undefined index: action in C:\Users\Dave\Desktop\xampp\htdocs\index.php on line 13

Notice: Undefined index: account_login in C:\Users\Dave\Desktop\xampp\htdocs\index.php on line 35

Notice: Undefined index: password_login in C:\Users\Dave\Desktop\xampp\htdocs\index.php on line 36

Notice: Undefined variable: main_content in C:\Users\Dave\Desktop\xampp\htdocs\latestnews.php on line 34

Notice: Use of undefined constant div - assumed 'div' in C:\Users\Dave\Desktop\xampp\htdocs\latestnews.php on line 39

Notice: Undefined variable: str in C:\Users\Dave\Desktop\xampp\htdocs\latestnews.php on line 78

Notice: Undefined variable: char_id in C:\Users\Dave\Desktop\xampp\htdocs\latestnews.php on line 79

Notice: Undefined variable: char_id in C:\Users\Dave\Desktop\xampp\htdocs\latestnews.php on line 79

Notice: Undefined variable: char_id in C:\Users\Dave\Desktop\xampp\htdocs\latestnews.php on line 79

Notice: Undefined variable: char_id in C:\Users\Dave\Desktop\xampp\htdocs\latestnews.php on line 79

Notice: Undefined variable: char_id in C:\Users\Dave\Desktop\xampp\htdocs\latestnews.php on line 79

Notice: Undefined variable: char_id in C:\Users\Dave\Desktop\xampp\htdocs\latestnews.php on line 79

Notice: Undefined variable: news_content in C:\Users\Dave\Desktop\xampp\htdocs\latestnews.php on line 93

Notice: Undefined variable: tickers_to_add in C:\Users\Davee\Desktop\xampp\htdocs\latestnews.php on line 159

Notice: Use of undefined constant newticker - assumed 'newticker' in C:\Users\Dave\Desktop\xampp\htdocs\latestnews.php on line 181

Thats at the top of webpage


herpderp , been trying to fix an aac for around 5 hours now -.-
 
Back
Top