• 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 2012 - Version 1.0.1 for 0.2.x, 0.3.6 and all 0.4

Hello ! Im using a old Gesior Acc where "Index.php looking :
case "offline";
$topic = "Already Training";
$subtopic = "offline";
include("offline.php");
break;
On This Gesior is looking other ...
How i can add this ? ;/
 
Why would you want that? :p
 
I would like to add new tables and new stuff to the website but did not know much about this fine, old Gesior is just an added piece to index.php, and the new index is quite different and I have no idea where to add ...

- - - Updated - - -

Look:

Error occured!

Error ID: CRITICAL ERROR
More info: Cannot load page offline, file does not exist.

File: C:\UniServer\www\system/load.compat.php Line: 20
File: C:\UniServer\www/index.php Line: 33
 
Hello ! Im using a old Gesior Acc where "Index.php looking : On This Gesior is looking other ...
How i can add this ? ;/

Just go to layouts/tibiacom/layout.php and there you can add the pages... Just read it a bit and you will understand.

I would like to add new tables and new stuff to the website but did not know much about this fine, old Gesior is just an added piece to index.php, and the new index is quite different and I have no idea where to add ...

- - - Updated - - -

Look:

It totally works different, just add the new site to /pages/yournewphp.php
 
Hello all

I installed gesior 2012...
But, i don't want to delet account manager!
I want use WebSite and 1/1.

How to block acess to account 1/1 in gesior 2012?
ty

pd.with the old website Gesior "blocks it with this"

PHP:
if($login_account==1) $login_account ='';

but now the index is different and can not find the module!:huh:
 
cant start

i can't start install

ytlx.jpg

ytlx.jpg

- - - Updated - - -

uzpe.jpg

abwacue
 

Attachments

contenidopago_report.php
PHP:
$account->setPremiumpoints($account->getPremiumpoints() + $points);

no debería ser de esta manera?
PHP:
$account->setpremium_points($account->getpremium_points() + $points);


Help the script does not add the points automatically!:(
 
I have in load.compat
PHP:
//names blocked:
	$names_blocked = array('gm','cm', 'god', 'tutor', 'dragon lord', 'heoni', 'the keeper', 'glitterscale', 'lizard gate guardian', 'eternal guardian','zulazza the corruptor','chizzoron the distorter','arachir the ancient one','diblis the fair','gravelord oshuran','sir valorcrest','zevelon duskbringer','azure frog','badger','bat','bear','black sheep','blood crab','bug','brimstone bug','cat','cave rat','chicken','cockroach','coral frog','crab','crimson frog','deathspawn','deer','dog','elephant','flamin go','gnarlhound','green frog','husky','hyaena','lion','mammoth','orchid frog','panda','parrot','penguin','pig','polar bear','rabbit','rat','seagull','sheep','silver rabbit','skunk','squirrel','terror bird','thornback tortoise','tiger','toad','tortoise','war wolf','werewolf','winter wolf','wolf','carrion worm','rift worm','rotworm','rotworm queen','kongra','merlkin','sibang','amazon','assas sin','bandit','black knight','crazed beggar','dark monk','gang member','gladiator','hero','hunter','monk','nomad' ,'poacher','smuggler','stalker','valkyrie','wild warrior','barbarian bloodwalker','barbarian brutetamer','barbarian headsplitter','barbarian skullhunter','beholder','braindeath','elder beholder','gazer','the mutated pumpkin','annihilon','apprentice sheng','ashmunrah','brutus bloodbeard','countess sorrow','deadeye devious','demodras','dipthrah','dire penguin','dracola','earth overlord','energy overlord','ferumbras','fire overlord','ghazbaran','golgordan','grorlam','hellg orak','ice overlord','latrivan','lethal lissy','lord of the elements','madareth','mahrdis','man in the cave','massacre','morgaroth','morguthis','mr. punish','necropharus','omruc','orshabaal','rahemos ','ron the ripper','thalas','the count','the handmaiden','the horned fox','the imperor','the old widow','the plasmother','tiquandas revenge','ushuriel','vashresamun','warlord ruzad','zugurosh','tibia bug','hacker','primitive','achad','avalanche','aze rus','azerus1','azerus2','azerus3','axeitus headbanger','baron brute','bloodpaw','bovinus','coldheart','colerian the barbarian','cursed gladiator','darakan the executioner','deathbringer','doomhowl','drasilla', 'dreadwing','fatality','frostfur','gnorre chyllson','grimgor guteater','haunter','incineron','koshei the deathless','kreebosh the exile','mad technomancer','menace','norgle glacierbeard','orcus the cruel','pythius the rotten','rocko','rocky','slim','spirit of earth','spirit of fire','spirit of water','svoren the mad','the axeorcist','the dark dancer','the dreadorian','the hag','the hairy one','the masked marauder','the obliverator','the pit lord','tirecz','tremorak','webster','chakoya toolshaper','chakoya tribewarden','chakoya windcaller','acolyte of the cult','adept of the cult','enlightened of the cult','novice of the cult','behemoth','cyclops','cyclops drone','cyclops smith','frost giant','frost giantess','dark torturer','demon','destroyer','diabolic imp','fire devil','gozzler','hand of cursed fate','hellhound','hellspawn','juggernaut','nightm are','nightmare scion','nightstalker','plaguesmith','blue djinn','efreet','green djinn','marid','dragon','dragon hatchling','dragon lord','dragon lord hatchling','frost dragon','frost dragon hatchling','ghastly dragon','undead dragon','dwarf','dwarf geomancer','dwarf guard','dwarf soldier','dworc fleshhunter','dworc venomsniper','dworc voodoomaster','blazing fire elemental','blistering fire elemental','bog raider','charged energy elemental','defiler','earth elemental','energy elemental','fire elemental','hellfire fighter','jagged earth elemental','massive earth elemental','massive energy elemental','massive fire elemental','massive water elemental','muddy earth elemental','overcharged energy elemental','rift brood','roaring water elemental','slick water elemental','water elemental','elf','elf arcanist','elf scout','dryad','the halloween hare','grynch clan goblin','undead jester','demon (goblin)','training monk','goblin','goblin assassin','goblin leader','goblin scavenger','damaged worker golem','gargoyle','ice golem','stone golem','war golem','worker golem','esmeralda','hide','leviathan','shardhead', 'stonecracker','the bloodtusk','the many','the noxious spawn','the snapper','thul','ancient scarab','blue butterfly','butterfly','centipede','insect swarm','lancer beetle','larva','pink butterfly','red butterfly','sandcrawler','scarab','scorpion','terr amite','wasp','yellow butterfly','battlemaster zunzu','draken spellweaver','draken warmaster','draken abomination','draken elite','lizard chosen','lizard dragon priest','lizard high guard','lizard legionnaire','lizard sentinel','lizard snakecharmer','lizard templar','lizard zaogun','lizard magistratus','lizard noble','dark apprentice','dark magician','fury','ice witch','infernalist','mad scientist','necromancer','priestess','warlock','wi tch','minotaur','minotaur archer','minotaur guard','minotaur mage','mutated bat','mutated human','mutated rat','mutated tiger','orcarmor','orchelmet','orcshield','orc','o rc berserker','orc leader','orc marauder','orc rider','orc shaman','orc spearman','orc warlord','orc warrior','pirate buccaneer','pirate corsair','pirate cutthroat','pirate marauder','carniphila','haunted treeling','spit nettle','quara constrictor','quara constrictor scout','quara hydromancer','quara hydromancer scout','quara mantassin','quara mantassin scout','quara pincher','quara pincher scout','quara predator','quara predator scout','cobra','crocodile','hydra','killer caiman','medusa','sea serpent','serpent spawn','snake','wyrm','wyvern','young sea serpent','acid blob','death blob','mercury blob','slime','slime summon','son of verminor','crystal spider','giant spider','poison spider','spider','tarantula','wailing widow','deathslicer','deaththrower','eye of the seven','flamethrower','lavahole','lava hole','magicthrower','paralyzethrower','plaguethro wer','shredderthrower','a carved stone tile','mimic','frost troll','island troll','swamp troll','troll','troll champion','troll legionnaire','banshee','betrayed wraith','blightwalker','bonebeast','crypt shambler','demon skeleton','dreadbeast','ghost','ghoul','grim reaper','lich','lost soul','mummy','phantasm','phantasm summon','pirate ghost','pirate skeleton','rift scythe','skeleton','skeleton warrior','souleater','spectre','undead gladiator','undead mine worker','undead prospector','vampire','vampire bride','wisp','zombie');

But i can create monster name dragon lord,demon,vampire etc.. [not all]
why?
 
Add those in ajax_check_name.php as well.
 
Kito: when you put a name automatically puts you in capitals.
You have to put it in lowercase here.
I think now it works fine ..
thanks
 
big outfits photo..

Gesior 2012 the config outfit image http://outfit-images.ots.me/outfit.php too big photo i need link with small photo to add it on config beter than the big photo :(

Copy of backgroundasdzx.jpgbackgroundasdzx.jpg

i need anyhelp please

PHP:
$config['site']['outfit_images_url'] = 'http://outfit-images.ots.me/outfit.php';

- - - Updated - - -

Gesior 2012 dont have characters deaths on character page ?

PHP:
		//deaths list
		$player_deaths = $SQL->query('SELECT ' . $SQL->fieldName('id') . ', ' . $SQL->fieldName('date') . ', ' . $SQL->fieldName('level') . ' FROM ' . $SQL->tableName('player_deaths') . ' WHERE ' . $SQL->fieldName('player_id') . ' = '.$player->getId().' ORDER BY ' . $SQL->fieldName('date') . ' DESC LIMIT 10');
		foreach($player_deaths as $death)
		{
			$bgcolor = (($number_of_rows++ % 2 == 1) ?  $config['site']['darkborder'] : $config['site']['lightborder']);
			$deads++;
			$dead_add_content .= "<tr bgcolor=\"".$bgcolor."\"><td width=\"20%\" align=\"center\">".date("j M Y, H:i", $death['date'])."</td><td>";
			$killers = $SQL->query('SELECT ' . $SQL->tableName('environment_killers') . '.' . $SQL->fieldName('name') . ' AS monster_name, ' . $SQL->tableName('players') . '.' . $SQL->fieldName('name') . ' AS player_name, ' . $SQL->tableName('players') . '.' . $SQL->fieldName('deleted') . ' AS player_exists FROM ' . $SQL->tableName('killers') . ' LEFT JOIN ' . $SQL->tableName('environment_killers') . ' ON ' . $SQL->tableName('killers') . '.' . $SQL->fieldName('id') . ' = ' . $SQL->tableName('environment_killers') . '.' . $SQL->fieldName('kill_id') . ' LEFT JOIN ' . $SQL->tableName('player_killers') . ' ON ' . $SQL->tableName('killers') . '.' . $SQL->fieldName('id') . ' = ' . $SQL->tableName('player_killers') . '.' . $SQL->fieldName('kill_id') . ' LEFT JOIN ' . $SQL->tableName('players') . ' ON ' . $SQL->tableName('players') . '.' . $SQL->fieldName('id') . ' = ' . $SQL->tableName('player_killers') . '.' . $SQL->fieldName('player_id') . '  WHERE ' . $SQL->tableName('killers') . '.' . $SQL->fieldName('death_id') . ' = ' . $SQL->quote($death['id']) . ' ORDER BY ' . $SQL->tableName('killers') . '.' . $SQL->fieldName('final_hit') . ' DESC, ' . $SQL->tableName('killers') . '.' . $SQL->fieldName('id') . ' ASC')->fetchAll();

			$i = 0;
			$count = count($killers);
			foreach($killers as $killer)
			{
				$i++;
				if($i == 1)
				{
					if($count <= 4)
						$dead_add_content .= "killed at level <b>".$death['level']."</b> by ";
					elseif($count > 4 and $count < 10)
						$dead_add_content .= "slain at level <b>".$death['level']."</b> by ";
					elseif($count > 9 and $count < 15)
						$dead_add_content .= "crushed at level <b>".$death['level']."</b> by ";
					elseif($count > 14 and $count < 20)
						$dead_add_content .= "eliminated at level <b>".$death['level']."</b> by ";
					elseif($count > 19)
						$dead_add_content .= "annihilated at level <b>".$death['level']."</b> by ";
				}
				elseif($i == $count)
					$dead_add_content .= " and ";
				else
					$dead_add_content .= ", ";

				if($killer['player_name'] != "")
				{
					if($killer['monster_name'] != "")
						$dead_add_content .= htmlspecialchars($killer['monster_name'])." summoned by ";

					if($killer['player_exists'] == 0)
						$dead_add_content .= "<a href=\"index.php?subtopic=characters&name=".urlencode($killer['player_name'])."\">";

					$dead_add_content .= htmlspecialchars($killer['player_name']);
					if($killer['player_exists'] == 0)
						$dead_add_content .= "</a>";
				}
				else
					$dead_add_content .= htmlspecialchars($killer['monster_name']);
			}

			$dead_add_content .= "</td></tr>";
		}

		if($deads > 0)
			$main_content .= '<TABLE BORDER=0 CELLSPACING=1 CELLPADDING=4 WIDTH=100%><TR BGCOLOR="'.$config['site']['vdarkborder'].'"><TD COLSPAN=2 CLASS=white><B><FONT SIZE=2 COLOR=orange>&raquo; Character Deaths</FONT></B></TD></TR>' . $dead_add_content . '</TABLE><br />';
 
please help with this

I can do?

sdsdsdvvvv.jpg:(

PHP:
$guilds_list = $ots->createObject('Guilds_List');
$guilds_list->setFilter($filter);
$guilds_list->orderBy('name');
if(count($guilds_list) > 0) 
{
	foreach($SQL->query('SELECT `guild_name` FROM `castle` ORDER BY `id` DESC LIMIT 1;') as $result)
	{
		if($result['guild_name'] == 'No one')
			$main_content .= '<center><img src="http://images.stimax.pl/i2/zamek.gif" alt="xxx" /><b> Owner of the castle: </b> No one is castle owner</center>';
		else
		{
			foreach($guilds_list as $guild) 
			{
				if($guild->getName() == $result['guild_name'])
				{
					foreach(array("/", "\\", "..") as $char) 
						$guild_logo = str_replace($char, "", $guild->getCustomField('logo_gfx_name'));
					
					if(empty($guild_logo) || !file_exists("images/guilds/".$guild_logo)) 
						$guild_logo = "default_logo.gif";
					
					$main_content .= '<center><img src="http://images.stimax.pl/i2/zamek.gif" alt="xxx" /><b> Owner of the castle: </b> <a href="?subtopic=guilds&action=show&guild=' . $guild->getId() . '">' . $result['guild_name'] . '</a></center>';
				}
			}
		}
	}
}
 
Trying to setup my Geisor for Linux but getting this error:

Code:
Error occured!

Error ID: #C-2
More info: ERROR: #C-2 : Class::ConfigLUA - LUA config file doesn't exist. Path: root/home/stoffe/SERVER/config.lua

File: /var/www/classes/configlua.php   Line: 24
File: /var/www/classes/configlua.php   Line: 12
File: /var/www/system/load.init.php   Line: 42
File: /var/www/index.php   Line: 18
 
This script is unsafe, becouse server files are in this same directory what web files.
 
Code:
 Warning: Invalid argument supplied for foreach() in C:\xampp\htdocs\classes\account.php on line 176

PHP:
	public function getBanTime($forceReload = false)
	{
		$this->loadBans($forceReload);
		$lastExpires = 0;
		foreach($bans as $ban)
		{
			if($ban->getExpires() <= 0)
			{
				$lastExpires = 0;
				break;
			}
			if($ban->getExpires() > time() && $ban->getExpires() > $lastExpires)
				$lastExpires = $ban->getExpires();
		}
		return $lastExpires;
	}
 
I want to use this in my new Gesior, please help!

PHP:
$guilds_list = $ots->createObject('Guilds_List');
$guilds_list->setFilter($filter);
$guilds_list->orderBy('name');
if(count($guilds_list) > 0) 
{
	foreach($SQL->query('SELECT `guild_name` FROM `castle` ORDER BY `id` DESC LIMIT 1;') as $result)
	{
		if($result['guild_name'] == 'No one')
			$main_content .= '<center><h1>No one is castle owner</h1></center>';
		else
		{
			foreach($guilds_list as $guild) 
			{
				if($guild->getName() == $result['guild_name'])
				{
					foreach(array("/", "\\", "..") as $char) 
						$guild_logo = str_replace($char, "", $guild->getCustomField('logo_gfx_name'));
					
					if(empty($guild_logo) || !file_exists("guilds/".$guild_logo)) 
						$guild_logo = "kurwa123.gif";
					
					$main_content .= '<center><img src="images/screen/castle/owner.png"><br><IMG SRC="guilds/'.$guild_logo.'" WIDTH=64 HEIGHT=64 class=avatar border=0><a href="?subtopic=guilds&action=show&guild=' . $guild->getId() . '"><br><h2>' . $result['guild_name'] . '</a></h2></center>';
				}
			}
		}
	}
}
 
Back
Top