• 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!

UNNAMED acc. maker 0.3.2 beta for TFS

Status
Not open for further replies.
@Gesior

---------------------------

You don't have triggers in database?

@Gesior : i don't know

but don't load skills of samples

i change the skills of samples and don't change in the new characters this log with 10 skills xS

and i put the code in sql

Fatal error: Maximum execution time of 300 seconds exceeded in C:\xampp\phpMyAdmin\libraries\import\sql.php on line 129


xS

Darknexz~
 
Last edited:
Yay! Finaly its working 100% for me! This acc maker is awesome! thx you gesiour for spending so much time on it! My suggestions for next update:
It would be nice if there would be ability to insert pictures in latest news page, like in real cipsoft page. Cuz now pictures can be added only in gallery!
 
it dosent work o_O... when you create acc, it makes accountName and password, but when you try to login it check the accountID not the accountname, so people cant login to their account on the web

EDIIIIIIIT: sorry my bad.. i changed the index and didnt knew it would affect acc login :p ty for insane aac gesior
 
Last edited:
From step 8 till the "configure site" option. It opens a new window without showing any text. just the tibia layout, nothing configurable. Also when I just cancel that and look on my site. It doesnt show the "login" button. You see a blue bar, but without Login on it. When I click on the login bar I get "page not found". Im using my "already used" database. Maybe refresh database and try again? Let me know :)
 
the admin panel dosent work for me... it shows the site, but in the area the configurations etc is gonna be, is just empty and just the background scroll is shown..also, i cant make players etc because some pots aint loaded

PHP:
Fatal error: Uncaught exception 'E_OTS_NotLoaded' in C:\xampp\htdocs\pot\OTS_Player.php:1832 Stack trace: #0 C:\xampp\htdocs\accountmanagement.php(703): OTS_Player->getSkill(0) #1 C:\xampp\htdocs\index.php(142): include('C:\xampp\htdocs...') #2 {main} thrown in C:\xampp\htdocs\pot\OTS_Player.php on line 1832
 
Last edited:
Yay! Finaly its working 100% for me! This acc maker is awesome! thx you gesiour for spending so much time on it! My suggestions for next update:
It would be nice if there would be ability to insert pictures in latest news page, like in real cipsoft page. Cuz now pictures can be added only in gallery!
In news you can use HTML code, javascript...
To insert image:
PHP:
<img src="http://imagesserver.com/myimage.jpg" width="100%" />
(100% mean 100% of news width)
Enter (move to next line):
PHP:
<br />
If you want post server gallery in news you can copy text from gallery.php:
PHP:
<embed 
src="gallery/imagerotator.swf" 
width="640" 
height="480"
allowscriptaccess="always" 
allowfullscreen="true" 
flashvars="width=640&height=480&file=gallery/images/imageslist.xml" />
Search in google for "html tutorial".
From step 8 till the "configure site" option. It opens a new window without showing any text. just the tibia layout, nothing configurable. Also when I just cancel that and look on my site. It doesnt show the "login" button. You see a blue bar, but without Login on it. When I click on the login bar I get "page not found". Im using my "already used" database. Maybe refresh database and try again? Let me know :)
1. About blue bar without "Login" button:
open config.lua in TFS folder and set your address in:
PHP:
url = "http://otland.net/"
like:
PHP:
url = "http://debestia.hopto.org/"
or:
url = "http://debestia.hopto.org/serv1/"
2. Admin panel options are deleted (only Load Monsters and Load Spells work). I forgot to delete links in install.php, config is in file config/config.php
PHP:
<?PHP
// ACCOUNT config
$config['site']['one_email'] = 0; // one e-mail can be used only to create one account 0 / 1
$config['site']['verify_code'] = 1; // show verify code to block stupid scripts, set 0 if you have problems with image
$config['site']['email_days_to_change'] = 2; // how many days user need to change e-mail to account - block hackers
$config['site']['newaccount_premdays'] = 0; // how many days receive new account
// USE ONLY IF YOU CONFIGURED E-MAIL AND IT WORK
$config['site']['create_account_verify_mail'] = 0; // when create account player must use right e-mail, he will receive random password to account like on RL tibia, 1 = yes, 0 = no
$config['site']['generate_new_reckey'] = 0; // let player generate new recovery key, he will receive e-mail with new rec key (not display on page, hacker can't generate rec key)
$config['site']['generate_new_reckey_price'] = 5; // you can get some Premium Points for new rec key
$config['site']['send_mail_when_change_password'] = 0; // send e-mail with new password when change password to account, set 0 if someone abuse to send spam
$config['site']['send_mail_when_generate_reckey'] = 0; // send e-mail with rec key (key is displayed on page anyway when generate), set 0 if someone abuse to send spam
$config['site']['send_register_email'] = 0; // send e-mail when register account

// CHARACTER config, format: ID_of_vocation => 'Name of Character to copy', load vocation name from $vocation_name[0] (below)
$config['site']['newchar_vocations'] = array(1 => 'Sorcerer Sample', 2 => 'Druid Sample', 3 => 'Paladin Sample', 4 => 'Knight Sample');
// sample, if rook only:             $config['site']['newchar_vocations'] = array(0 => 'Rook Sample');
$config['site']['newchar_towns'] = array(1, 2, 5);
// sample, if all players should spawn in one city (city with ID 4):          $config['site']['newchar_towns'] = array(4);
// list of vocations on ots
$vocation_name[0] = array(0 => 'None', 1 => 'Sorcerer', 2 => 'Druid', 3 => 'Paladin', 4 => 'Knight'); // id => 'name' , $vocation_name[0] - promotion level 0
$vocation_name[1] = array(1 => 'Master Sorcerer', 2 => 'Elder Druid', 3 => 'Royal Paladin', 4 => 'Elite Knight'); // id => 'name' , $vocation_name[1] - promotion level 1
// list of towns on ots
$towns_list = array(1 => 'Carlin', 2 => "Ab'Dendriel", 3 => "Kazordoon", 4 => 'Thais', 5 => 'Venore', 12 => 'my new city', 8 => 'any other city?'); // list of towns, id => 'name'
// list of monsters on ots - names blocked, you can generate list of your monsters in acc. maker admin panel ( Reload Monsters )
$config['site']['monsters'] = array("amazon","valkyrie");
// list of NPCs on ots - names blocked
$config['site']['npc'] = array('alice', 'oarkhal', 'equer', 'parkhal');
$config['site']['max_players_per_account'] = 15; // max. number of characters on account


// GUILDS config
$config['site']['guild_need_level'] = 8; // minimum level to create guild
$config['site']['guild_need_pacc'] = 0; // guild need pacc 0 / 1
$config['site']['guild_image_size_kb'] = 50; // maximum size of image in KB
$config['site']['guild_description_chars_limit'] = 1000; // limit of guild description
$config['site']['guild_description_lines_limit'] = 6; // limit of lines, if description has more lines it will be showed as long text, without 'enters'
$config['site']['guild_motd_chars_limit'] = 150; // limit of MOTD (show in game?)


// E-MAIL config
$config['site']['send_emails'] = 0; // is acc. maker configured to send e-mails?
$config['site']['mail_address'] = "[email protected]"; // e-mail address
$config['site']['smtp_enabled'] = "yes"; // send by smtp or mail function (set 0 if use mail function)
$config['site']['smtp_host'] = "smtp.poczta.onet.pl"; // address
$config['site']['smtp_port'] = 25; // port
$config['site']['smtp_auth'] = "yes"; // need authorization? (set 0 if not need auth)
$config['site']['smtp_user'] = "[email protected]"; // login
$config['site']['smtp_pass'] = "secretpassword"; // password



// ACC MAKER OPTIONS config
$config['site']['access_news'] = 2; // access level needed to edit news
$config['site']['access_admin_panel'] = 3; // access level needed to open admin panel
$config['site']['news_big_limit'] = 3; // limit of news on latest news page
$config['site']['forum_link'] = ""; // link to server forum, leave empty if server doesn't have forum
$config['site']['show_creationdate'] = 1; // show date of character creation 1 = yes, 0 = no (when use Search Player)
$config['site']['show_mlvl'] = 1; // show mlvl of character (when use Search Player)
$config['site']['last_deaths_limit'] = 40; // max. number of death on last death page
$config['site']['players_group_id_block'] = 4; // don't show in statistics players with group ID higher (or equal) then (show tutors, senior tutors and normal players)
$config['site']['support_group_id'] = 2; // on game masters list show players with group id 2 or higher
$config['site']['shop_system'] = 0; // show server shop page? 1 = yes, 0 = no, use only if you installed LUA scripts of shop
$config['site']['download_page'] = 1; // show download page? 1 = yes, 0 = no
$config['site']['serverinfo_page'] = 1; // show server info page? 1 = yes, 0 = no
$config['site']['verify_code_shop'] = 0; // show verify code when player try to check premium code
$config['site']['gallery_page'] = 1; // show gallery page? 1 = yes, 0 = no
$config['site']['email_lai_sec_interval'] = 180; // time in seconds between e-mails to one account from lost account interface, block spam
// layout, available layouts: rasta,tibiacom,darkritual
$config['site']['layout'] = "tibiacom"; // layout name
?>
the admin panel dosent work for me... it shows the site, but in the area the configurations etc is gonna be, is just empty and just the background scroll is shown..also, i cant make players etc because some pots aint loaded

PHP:
Fatal error: Uncaught exception 'E_OTS_NotLoaded' in C:\xampp\htdocs\pot\OTS_Player.php:1832 Stack trace: #0 C:\xampp\htdocs\accountmanagement.php(703): OTS_Player->getSkill(0) #1 C:\xampp\htdocs\index.php(142): include('C:\xampp\htdocs...') #2 {main} thrown in C:\xampp\htdocs\pot\OTS_Player.php on line 1832
1. Delete characters Sorcerer Sample, Druid Sample and other Samples from database.
2. In database execute:
PHP:
DELIMITER |

CREATE TRIGGER `oncreate_players`
AFTER INSERT
ON `players`
FOR EACH ROW
BEGIN
    INSERT INTO `player_skills` (`player_id`, `skillid`, `value`) VALUES (NEW.`id`, 0, 10);
    INSERT INTO `player_skills` (`player_id`, `skillid`, `value`) VALUES (NEW.`id`, 1, 10);
    INSERT INTO `player_skills` (`player_id`, `skillid`, `value`) VALUES (NEW.`id`, 2, 10);
    INSERT INTO `player_skills` (`player_id`, `skillid`, `value`) VALUES (NEW.`id`, 3, 10);
    INSERT INTO `player_skills` (`player_id`, `skillid`, `value`) VALUES (NEW.`id`, 4, 10);
    INSERT INTO `player_skills` (`player_id`, `skillid`, `value`) VALUES (NEW.`id`, 5, 10);
    INSERT INTO `player_skills` (`player_id`, `skillid`, `value`) VALUES (NEW.`id`, 6, 10);
END|

DELIMITER ;
3. Install acc. maker again.
It's error because Sample character or new character doesn't have skills in database.

@redbull915
config/config.php
Vocations list:
PHP:
$vocation_name[0] = array(0 => 'None', 1 => 'Sorcerer', 2 => 'Druid', 3 => 'Paladin', 4 => 'Knight'); // id => 'name' , $vocation_name[0] - promotion level 0
$vocation_name[1] = array(1 => 'Master Sorcerer', 2 => 'Elder Druid', 3 => 'Royal Paladin', 4 => 'Elite Knight'); // id => 'name' , $vocation_name[1] - promotion level 1
Characters to create:
PHP:
$config['site']['newchar_vocations'] = array(1 => 'Sorcerer Sample', 2 => 'Druid Sample', 3 => 'Paladin Sample', 4 => 'Knight Sample');
 
gesior... so what u said to faint is that there is not admin panel anymore? everything need to be done via codes?

third vocation dosent work.
PHP:
$vocation_name[0] = array(0 => 'None', 1 => 'Sorcerer', 2 => 'Druid', 3 => 'Paladin', 4 => 'Knight'); // id => 'name' , $vocation_name[0] - promotion level 0
$vocation_name[1] = array(1 => 'Master Sorcerer', 2 => 'Elder Druid', 3 => 'Royal Paladin', 4 => 'Elite Knight'); // id => 'name' , $vocation_name[1] - promotion level 1
$vocation_name[2] = array(2 => 'Grand Sorcerer', 2 => 'Wise Druid', 3 => 'Veteran Paladin', 4 => 'Heroic Knight'); // id => 'name' , $vocation_name[1] - promotion level 1

the vocation on the character is blank on web

also, if u put only 1 town, it bugs.. when u try make char u get error: please select valid town
 
Last edited:
Omg Gesior, the other one was much better! Guys look at the highscore its fuc*ed up man ;)

i prefer to use the other one ;)

Gesior, Explain how to configure the mailsender ;)

Thanks
 
Thanks Gesior, it works fine. Great ACC maker. Bugs are always present in new versions. Give him the time to discover/fix them. He's done a great job
 
When i installing AAC get error:

STEP 4
Add samples to DB:

Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[42S02]: Base table or view not found: 1146 Table 'theforgottenserver.z_news_tickers' doesn't exist' in /var/www/install.php:394 Stack trace: #0 /var/www/install.php(394): PDO->query('SELECT * FROM z...') #1 {main} thrown in /var/www/install.php on line 394


PS. ON STEP 3 AAC don't make new tables. (i check in phpmyadmin)
 
Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[42S22]: Column not found: 1054 Unknown column 'name' in 'field list'' in C:\xampp\htdocs\pot\OTS_Account.php:229 Stack trace: #0 C:\xampp\htdocs\pot\OTS_Account.php(229): PDO->query('SELECT `id`, `n...') #1 C:\xampp\htdocs\index.php(27): OTS_Account->load(1) #2 {main} thrown in C:\xampp\htdocs\pot\OTS_Account.php on line 229
 
Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[42S22]: Column not found: 1054 Unknown column 'name' in 'field list'' in C:\xampp\htdocs\pot\OTS_Account.php:229 Stack trace: #0 C:\xampp\htdocs\pot\OTS_Account.php(229): PDO->query('SELECT `id`, `n...') #1 C:\xampp\htdocs\index.php(27): OTS_Account->load(1) #2 {main} thrown in C:\xampp\htdocs\pot\OTS_Account.php on line 229
New version is for TFS 0.3 beta. Maybe first install server and TFS 0.3 database? :>
 
I'm having trouble getting the towns to work.

Code:
$config['site']['newchar_towns'] = array(5);
// sample, if all players should spawn in one city (city with ID 4):          $config['site']['newchar_towns'] = array(4);
// list of vocations on ots
$vocation_name[0] = array(0 => 'None', 1 => 'Sorcerer', 2 => 'Druid', 3 => 'Paladin', 4 => 'Knight'); // id => 'name' , $vocation_name[0] - promotion level 0
$vocation_name[1] = array(1 => 'Master Sorcerer', 2 => 'Elder Druid', 3 => 'Royal Paladin', 4 => 'Elite Knight'); // id => 'name' , $vocation_name[1] - promotion level 1
// list of towns on ots
$towns_list = array(5 => 'Thais'); // list of towns, id => 'name'

And then when I try to make a character:
Code:
The Following Errors Have Occurred:
# Please select valid town.
 
I've got problem with spells list. It's not showing vocations on list, only get a big height but there isn't any text. What's wrong?
 
Status
Not open for further replies.
Back
Top