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

"name" at database

Status
Not open for further replies.

Adrish

New Member
Joined
Jan 27, 2008
Messages
221
Reaction score
2
Location
Sweden
Hello..

I have the new TFS Version 0.3 with elf.

and now its after account "id" its "name" and i need a accpage some make "name" and "id" at same

sorry for my noob english
 
Last edited:
@UP ^
What he means is, that from update to 8.3 accounts use an Account name instead of an account number. He wants an acc website that requires an account name instead of a number :)

Hmm, just simple editing of TFS-CMS or Gesior's should be fine, though I don't really know much about how to change id to nameid in the database and to make it support letters + numbers instead of just numbers. Well, I'm sure someone else will be a lot more helpful :)
 
Originally Posted by virgel View Post
tfs 0.3a3 is using "account --> name" for login into tibia 8.31 client. Ill post you an small fix right now. This fix will just put "account --> id" into the "name" field.

The next code adds the account number to the name field also. This should help everyone who has the same problem like me.

In "pot" folder open "ots_account.php" and find:
Code:

$this->data['id'] = $number;

and behind/under this you may add:
Code:

$this->data['name'] = $name;

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

in root open "createaccount.php" and find:
Code:

$reg_account->save();

and behind/under this you may add:
Code:

$reg_account->setcustomfield("name", $number);

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

this should fix the loginproblem with accounts created with acc.maker 0.3.1a for tfs 0.3a3 and tibia 8.31!

Baba
virgel
 
Status
Not open for further replies.
Back
Top