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

Nice AAC Znote

I have installed AAC in webhosting separated with my server.
More secure.

Nice Nice
 
ZNOTEEE!!! I have very big problem bro how i make all char start with X hp please tell me? :D
 
ZNOTEEE!!! I have very big problem bro how i make all char start with X hp please tell me? :D

Edit values in config.php:
PHP:
	$config['level'] = 8;
	$config['health'] = 185;
	$config['mana'] = 35;
	$config['cap'] = 435;
	$config['soul'] = 0;
	
	$config['maleOutfitId'] = 128;
	$config['femaleOutfitId'] = 138;
	// $config['']
	
	// No vocation info (if user select vocation id 0, we force thees configurations on him
	$config['nvlevel'] = 1;
	$config['nvHealth'] = 150;
	$config['nvMana'] = 0;
	$config['nvCap'] = 400;
	$config['nvSoul'] = 0;
 
Znote bro look let me explain to you okay? (nice tutorial btw all worked)
(my ot is a war server all starting 130 but with rly low hp lmfao)
anyways look i want
Mages 795/3670 ml 85
Rps: 1405 / 1935 dist 91 shielding 87 21ml
Eks : 2015 645 97 92 ml 9

how do i do this please tell me? :p

- - - Updated - - -

please do it and send me script :S
 
Znote bro look let me explain to you okay? (nice tutorial btw all worked)
(my ot is a war server all starting 130 but with rly low hp lmfao)
anyways look i want
Mages 795/3670 ml 85
Rps: 1405 / 1935 dist 91 shielding 87 21ml
Eks : 2015 645 97 92 ml 9

how do i do this please tell me? :p

- - - Updated - - -

please do it and send me script :S

For now you need to hard-code that.

znoteaac/engine/function/users.php:

Line 910~ Above:
PHP:
// If you are no vocation (id 0), use these details instead:
if ($character_data['vocation'] === '0') {

Paste in:
PHP:
// If you are voc 1 (sorcerer), use these details instead:
	if ($character_data['vocation'] === '1') {
		$import_data['level'] = 100;
		$import_data['experience'] = level_to_experience(100); // Same as import_data[level]
		$import_data['health'] = 600;
		$import_data['healthmax'] = 600; // Same as health
		$import_data['cap'] = 500;
		$import_data['mana'] = 1500;
		$import_data['manamax'] = 1500; // same as mana
		$import_data['soul'] = 100;
	}
	// If you are voc 2 (druid), use these details instead:
	if ($character_data['vocation'] === '2') {
		$import_data['level'] = 100;
		$import_data['experience'] = level_to_experience(100); // Same as import_data[level]
		$import_data['health'] = 600;
		$import_data['healthmax'] = 600; // Same as health
		$import_data['cap'] = 500;
		$import_data['mana'] = 1500;
		$import_data['manamax'] = 1500; // same as mana
		$import_data['soul'] = 100;
	}
	// If you are voc 3 (paladin), use these details instead:
	if ($character_data['vocation'] === '3') {
		$import_data['level'] = 100;
		$import_data['experience'] = level_to_experience(100); // Same as import_data[level]
		$import_data['health'] = 600;
		$import_data['healthmax'] = 600; // Same as health
		$import_data['cap'] = 500;
		$import_data['mana'] = 1500;
		$import_data['manamax'] = 1500; // same as mana
		$import_data['soul'] = 100;
	}
	// If you are voc 4 (knight), use these details instead:
	if ($character_data['vocation'] === '4') {
		$import_data['level'] = 100;
		$import_data['experience'] = level_to_experience(100); // Same as import_data[level]
		$import_data['health'] = 600;
		$import_data['healthmax'] = 600; // Same as health
		$import_data['cap'] = 500;
		$import_data['mana'] = 1500;
		$import_data['manamax'] = 1500; // same as mana
		$import_data['soul'] = 100;
	}

And just edit values to have as much HP/mana as you want.
 
Last edited:
sorry for this question but where i set the global ip for the players?
i mean go to server.com in which one document insert that info?
 
sorry for this question but where i set the global ip for the players?
i mean go to server.com in which one document insert that info?

You cannot see it by just visiting the website. I havent made a system for that yet. So its currently just a record in the database.
 
Thx for the answer..
So how can i show my web in public? Or this acc only work on localhost for the moment? Well if is that case i wait the next release to include a web for my server because i really Love the way how work this acc sorry for my bad english
 
Thx for the answer..
So how can i show my web in public? Or this acc only work on localhost for the moment? Well if is that case i wait the next release to include a web for my server because i really Love the way how work this acc sorry for my bad english

You just need to open port 80 and website should be available for everybody.
 
Hey znote, how do i change only 3 or 4 player per ip login to more?

in config.php you can modify the values in $config['ip_security'] to allow users to have bigger website activity.
You can set $config['log_ip'] to false to disable this system completely. Tho I don't recommend it.
 
Back
Top Bottom