• 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.
Players table, then click "Visa", find 'Sorcerer Sample' and others, press "Edit" on them, set the values and press "Execute"/"Ok".
 
Thank you very much Marcinek.

Now i do have another problem that the acc maker is causing, it reads from the config.lua and in there exp rate is set to 100x. I have stages i want to use. How do i use them instead? When i start server it says its loadong Experience Stages, but it doesnt...
 
xml/stages change to
Code:
	<config enabled="1"/>
and write ur stages
 
Last edited:
You cant see 'Ek, Ms, Ed, Rp' at account page
The guild manager is a little bit bugged when youre using account page function
 
Last edited:
Hey Gesior,

same question then christiandb, when do you expect to release the update?

I hope you'll release it soon.. Did you update to the new POT Version?

Regards,
Deaktiver
 
How do I use signatures.php, as a image or how? :S
I tried creating a new subtopic, but when opening it, I get this error message:
Code:
The image “http://localhost/index.php?subtopic=signature” cannot be displayed, because it contains errors.

Here is the PHP:
PHP:
<?PHP
/*
	Script made by Kofel (www.otland.net forum user)
	Modified by Gesior
*/
$config['site'] = parse_ini_file('config/config.ini');
if($config['site']['signatures'] == 1)
{
	$config['server'] = parse_ini_file($config['site']['server_path'].'config.lua');
	header("Content-type: image/png");
	$ID=(int)$_GET['uid'];
	

$vocs=array(1=>'Acolyte',2=>'Priest',3=>'Archer',4=>'Squire',5=>'Wizard',6=>'Enchanter',7=>'Sharpshooter'

,8=>'Warrior',9=>'Arcane Master',10=>'Prophet',11=>'Bowmaster',12=>'Centurion');
	$mysqlhost = $config['server']['mysqlHost'];
	$mysqluser = $config['server']['mysqlUser'];
	$mysqlpass = $config['server']['mysqlPass'];
	$mysqldatabase = $config['server']['mysqlDatabase'];
	$sqlitefile = $config['server']['sqliteDatabase'];
	include('pot/OTS.php');
	$ots = POT::getInstance();
	if(strtolower($config['server']['sqlType']) == "mysql")
	{
		try
		{
			$ots->connect(POT::DB_MYSQL, array('host' => $mysqlhost, 'user' => 

$mysqluser, 'password' => $mysqlpass, 'database' => $mysqldatabase));
		}
		catch(PDOException $error)
		{
			exit;
		}
	}
	elseif(strtolower($config['server']['sqlType']) == "sqlite")
	{
		try
		{
			$ots->connect(POT::DB_SQLITE, array('database' => 

$config['site']['server_path'].$sqlitefile));
		}
		catch(PDOException $error)
		{
			exit;
		}
	}
	else
		exit;
	$player = new OTS_Player();
	$player->load($ID);

	if(!$player->getAccount()->getCustomField('premdays'))
		$pacc='Free account';
	else
		$pacc='Premium account';
	$image=imagecreatefrompng('images/signature/img.png');
	$text_color=imagecolorallocate($image, 0, 0, 0);
	Imagestring($image,3,(imagesy+18),(imagesy+18),'Nick:      '.$player->getName(),$text_color);
	Imagestring($image,3,(imagesy+18),(imagesy+32),'Level:     '.$player->getLevel(),$text_color);
	Imagestring($image,3,(imagesy+18),(imagesy+46),'Profesion: 

'.$vocs[$player->getVocation()],$text_color);
	Imagestring($image,3,(imagesy+18),(imagesy+58),'Account:   '.$pacc,$text_color);
	imagepng($image);
	imagedestroy($image);
}
?>

Plz Help? ^^
 
Nice account page, I realy like it! But I have two problems!

1st. In character death list i cant see the name of player who killed me! For example: Killed at Level 136 by a 200. (It shoves Id, not the name of player)

2nd. When I create character in website, and try to login, the temple positions are wrong. I can't find place where to set them! But if I log with my admin samples(druid sample etc.) everything is fine(i log in temple).

My questions probably are stupid, but im new to making OT's, and i would be very thankfull if someone could help me :D
THank you!
 
hey

i fixed the characters deaths but how do u fix it so that it doesnt show in last kills that u died by an id?
 
I am asking the same thing here :) Do you know how to cahnge temple positions?
 
Status
Not open for further replies.
Back
Top