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

Gesior acc. maker for TFS

Status
Not open for further replies.
Gesior.
Code:
stripslashes($news['text'])
to:
Code:
stripslashes(nl2br($news['text']))
at latestnews.php and no more <br />'s.
 
Elf, i don't think this is good option. There write news in HTML no plain text.

Gesior, what do you think about add WYSWIG editor to your AAC? Maybe FCKEditor?
 
i got an error i have 0.3 TFS distro and 0.3 acc maker of gisior and i did all figs right and corrected 3 errors! but theres one left! site is on but when i creat one accnt its does this error:

Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[HY000]: General error: Extraneous additional parameters' in C:\xampp\htdocs\pot\OTS_SQLite_Results.php:75 Stack trace: #0 C:\xampp\htdocs\pot\OTS_SQLite_Results.php(75): PDOStatement->fetchAll(0, NULL, NULL) #1 C:\xampp\htdocs\pot\OTS_Account.php(76): OTS_SQLite_Results->fetchAll() #2 C:\xampp\htdocs\createaccount.php(196): OTS_Account->create(46364576, 46364576) #3 C:\xampp\htdocs\index.php(140): include('C:\xampp\htdocs...') #4 {main} thrown in C:\xampp\htdocs\pot\OTS_SQLite_Results.php on line 75


plz help!
 
there's a way to add a media player? or somehintg like, eg: I want add some mp3's but I dont know the "right way" to add the codes

im using(trying) add the following code:
Code:
<div style="text-align: center; margin-left: auto; visibility:visible; margin-right: auto; width:450px;"><embed style="width:435px; visibility:visible; height:270px;" allowScriptAccess="never" src="http://www.profileplaylist.net/mc/mp3player-othersite.swf?config=http://www.profileplaylist.net/mc/config/config_black_shuffle.xml&mywidth=435&myheight=270&playlist_url=http://www.profileplaylist.net/loadplaylist.php?playlist=33356606" menu="false" quality="high" width="435" height="270" name="mp3player" wmode="transparent" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" border="0"/><BR><a href=http://www.profileplaylist.net><img src=http://www.profileplaylist.net/mc/images/create_black.jpg border=0></a><a href=http://www.profileplaylist.net/standalone/33356606 target=_blank><img src=http://www.profileplaylist.net/mc/images/launch_black.jpg border=0></a><a href=http://www.profileplaylist.net/download/33356606><img src=http://www.profileplaylist.net/mc/images/get_black.jpg border=0></a> </div>

where should i insert this code? (this code works with the acc maker?)

question 2:
Can I remove the " " from the monsters that show in teh death list?

eg. "Died at lv 39 by "dragon lord"

I want like that :
Died at lv 39 by dragon lord (w/o the "quotes")

thanks.
 
Gesior ive used this following all your instructions.
Works Perfectly.

Thank you So Much!
 
Error: Temple in wrong position. contact your administrator!

plz help where can i change pos character?

i use FTS 2.12 and acc creator of gesior! i dont know where to config the pos of where the character will spaw! and i dont have in hdocs config.inc
 
I have TFS 0.3 and i have bug for acc maker install in 2 STEP :( .
Warning: Error parsing C:/Documents and Settings/Mietek/Pulpit/TFS 0.3/config.lua on line 33 in C:\xampp\htdocs\install.php on line 183
Database error. Unknown database type in C:/Documents and Settings/Mietek/Pulpit/TFS 0.3/config.lua . Must be equal to: "mysql" or "sqlite". Now is: ""

config.lua :

-- Database
passwordType = "plain"
sqlType = "mysql"
sqliteDatabase = "datebase.mysql"
mysqlHost = "localhost"
mysqlUser = "root"
mysqlPass = "xxxxx"
mysqlDatabase = "otserver"
mysqlPort = 3306

Please help my!

I had this problem as well but found a solution shortly after. In your config.lua, the TFS team added some comments in two places that conflict with the AAC installation.

The first comment is:
Code:
	--[[ 
	*** temporally(?) deprected ***
	deathLosePercent = 10
	]]--

Delete that entire block (and since its just a comment you don't need it for now).

The second comment is located behind:

Code:
	housesPerAccount = 0

Delete the part at the end that says -- 0 = no limit

Error: Temple in wrong position. contact your administrator!

plz help where can i change pos character?

i use FTS 2.12 and acc creator of gesior! i dont know where to config the pos of where the character will spaw! and i dont have in hdocs config.inc

To change the player's "current" spawn position:

If you use phpMyAdmin, browse to the players table in your database and edit the following fields posx, posy, posz to the coordinates you desire.

To change the player's "temple" spawn position:

It first depends on the positions you have set in your map editor for each town. Be sure that the town positions are correct (actually exist for a player to spawn there). Then you need to browse to the players table and change the field town_id to match the id of the town you want the player to spawn in.

You might also want to update your town ids and names in the aac admin panel after doing this, if you have made any changes to the town positions.
 
I was doing the first step and I came across this problem.

Check server configuration

Warning: Error parsing C:/Documents and Settings/Long/Desktop/TFS 0.3 rev. 815/config.lua on line 33 in C:\xampp\htdocs\install.php on line 156
File config.lua loaded from C:/Documents and Settings/Long/Desktop/TFS 0.3 rev. 815/config.lua and it's not valid TFS config.lua file. Go to STEP 1 - select other directory. If it's your config.lua file from TFS contact with acc. maker author.

How do I fix that?
 
Last edited:
[To change the player's "current" spawn position:

If you use phpMyAdmin, browse to the players table in your database and edit the following fields posx, posy, posz to the coordinates you desire.

To change the player's "temple" spawn position:

It first depends on the positions you have set in your map editor for each town. Be sure that the town positions are correct (actually exist for a player to spawn there). Then you need to browse to the players table and change the field town_id to match the id of the town you want the player to spawn in.

You might also want to update your town ids and names in the aac admin panel after doing this, if you have made any changes to the town positions.]






I dont have config.inc
i use xampp, 0.3 TFS, gesior acc creator 0.3--this is correct and fine! fixed!
Problem: lol where are players tables?
iam really a noob, or its because i cant understand u well cuz iam portuguese :( can u help me?
I set the positions on map editor! and i changed on the site too! theres that left i dont know where to go!
players tables are in??
and where do i edit?
thx

its this in data base?:
"town_id" INTEGER NOT NULL,
"posx" INTEGER NOT NULL DEFAULT 0,
"posy" INTEGER NOT NULL DEFAULT 0,
"posz" INTEGER NOT NULL DEFAULT 0,
or this
‘¢tableplayersplayersCREATE TABLE "players"

if yes what i do in here?
 
Last edited:
I was doing the first step and I came across this problem.

Check server configuration

Warning: Error parsing C:/Documents and Settings/Long/Desktop/TFS 0.3 rev. 815/config.lua on line 33 in C:\xampp\htdocs\install.php on line 156
File config.lua loaded from C:/Documents and Settings/Long/Desktop/TFS 0.3 rev. 815/config.lua and it's not valid TFS config.lua file. Go to STEP 1 - select other directory. If it's your config.lua file from TFS contact with acc. maker author.

How do I fix that?


goto gesior acc maker where u downloaded and there is fagg! open it and u got ur problem solved
 
You not need change the posx posy and posz, you need change the town_id to the sorc sample, druid sample, knight sample, paladin sample or rook sample :D
 
I was doing the first step and I came across this problem.

Check server configuration

Warning: Error parsing C:/Documents and Settings/Long/Desktop/TFS 0.3 rev. 815/config.lua on line 33 in C:\xampp\htdocs\install.php on line 156
File config.lua loaded from C:/Documents and Settings/Long/Desktop/TFS 0.3 rev. 815/config.lua and it's not valid TFS config.lua file. Go to STEP 1 - select other directory. If it's your config.lua file from TFS contact with acc. maker author.

How do I fix that?

Take a second look at the post I made above yours. As I mentioned, you have to delete those two comments from your config.lua (not config.inc or config.ini) in your TFS folder then try again. :thumbup:

goto gesior acc maker where u downloaded and there is fagg! open it and u got ur problem solved

No need for namecalling. I didn't notice anyone get offensive with you when you asked your question just a few posts above. <_<
 
I dont have config.inc
i use xampp, 0.3 TFS, gesior acc creator 0.3--this is correct and fine! fixed!
Problem: lol where are players tables?
iam really a noob, or its because i cant understand u well cuz iam portuguese :( can u help me?
I set the positions on map editor! and i changed on the site too! theres that left i dont know where to go!
players tables are in??
and where do i edit?
thx

its this in data base?:
"town_id" INTEGER NOT NULL,
"posx" INTEGER NOT NULL DEFAULT 0,
"posy" INTEGER NOT NULL DEFAULT 0,
"posz" INTEGER NOT NULL DEFAULT 0,
or this
‘¢tableplayersplayersCREATE TABLE "players"

if yes what i do in here?

Yes, the changes need to be made in your database.

...browse to the players table and change the field town_id to match the id of the town you want the player to spawn in.

You mentioned you are using XAMPP, so to browse your database you need to open this location: http://localhost/phpmyadmin/ in your browser. Assuming you have already set up a password for your database, you should enter that when prompted for your username and password, otherwise the page should load up right away. Now look on the left side in the navigation frame and select your database (default: "theforgottenserver") from the list. After that you'll see a list of all your database tables. You'll want to click
bsbrowsetn4.png
next to players. There you'll see the table rows for every character in your database.

If what you want is to change the spawn position for new characters created by players in Gesior AAC then you need to select the row you want and click
beditsm8.png
to edit it. Look for the field named town_id and set it to the id of the town you want the player to spawn in. Do this for all five sample characters named "Rook Sample", "Druid Sample", "Sorcerer Sample", "Paladin Sample", and "Knight Sample".

You not need change the posx posy and posz, you need change the town_id to the sorc sample, druid sample, knight sample, paladin sample or rook sample :D

That's exactly what I said, you should read my post again. I just forgot to mention the characters that should be changed were the sample characters. And the reason I mentioned the pos fields was in case he or someone else may want to change the "current" player spawn position. It might be useful to someone, you never know. ^_^
 
I have this function, but its really destructive if you config it wrong :p
I can add it in next version, but i'll not add button "delete old players/accounts". Advanced admin will find info how to run it in first post. I made it for friend:
PHP:
<?PHP
//if ACCOUNT did not login from $daysago days check character levels
$daysago = 1;
//if any character from account have level $minlevel --> delete account, all characters
$minlevel = 2;
//-------------KONIEC KONFIGA -----------------------
$time_delete = time() - $daysago * 3600 * 24;
$usunietych_kont = 0;
$usunietych_charow = 0;
$lista_kont = $SQL->query("SELECT * FROM accounts WHERE lastday < ".$time_delete);
foreach($lista_kont as $konto_do_zaladowania) {
$account = new OTS_Account;
$account->load($konto_do_zaladowania['id']);
$players = $account->getPlayers();
$to_delete = TRUE;
if(count($players) != 0) {
foreach($players as $player) {
if($player->getLevel() >= $minlevel) {
$to_delete = FALSE;
}
}
}
if($to_delete) {
//kasowanie charow i konta
foreach($players as $player) {
delete_player($player->getName());
$usunietych_charow++;
}
$account->delete();
$usunietych_kont++;
}
}
$main_content .= 'Deleted accounts: '.$usunietych_kont.'<br>Deleted characters: '.$usunietych_charow;
?>
With config:
Code:
$daysago = 1;
$minlevel = 2;
It will delete all accounts made 1 day or more ago and with chars with 1 lvl (accounts created with characters, but never logged any character and gain 2 lvl). You can put this code in place of any .php subpage in accmaker (server rules.php?) and open this page to run.
----------------------------
EDIT
My server acc. maker page :)
(layout "sick vision of gesior") - made in 1 hour
(I'll change all cipsoft buttons to my own buttons, first legal layout :) )

@Gesior:

Just curious, did you ever add in this function? I'll probably want to make use of it.
 
Would be great if you added a Ban function to the Admin Panel where you can enter Character name, how long the banishment will be and the reason. :)
 
ok homem, o que você precisa fazer é TFS banco de dados (the forgotten server) colocados em banco de dados, criar uma nova base de dados com o nome que você deseja importar e, depois, colocar um banco de dados e adicionar TFS. <<---- Google Traductor Rox :) xd
I can speak english and spanish men :) if you like help (;


TibiaBot NG ROX! :) lvl 55 in 3 weeks :O
 
ok homem, o que você precisa fazer é TFS banco de dados (the forgotten server) colocados em banco de dados, criar uma nova base de dados com o nome que você deseja importar e, depois, colocar um banco de dados e adicionar TFS. <<---- Google Traductor Rox :) xd
I can speak english and spanish men :) if you like help (;


TibiaBot NG ROX! :) lvl 55 in 3 weeks :O

talk english lol
what type of information i add to it?
what u said isnt complete correct say it on english

CAN U DO A SMALL TUTURIAL PLZ?
 
Last edited:
Take a second look at the post I made above yours. As I mentioned, you have to delete those two comments from your config.lua (not config.inc or config.ini) in your TFS folder then try again. :thumbup:



No need for namecalling. I didn't notice anyone get offensive with you when you asked your question just a few posts above. <_<


LOL srry its my english i meaned fag=tuturial srry! didnt mean to ofense
 
Status
Not open for further replies.
Back
Top