<?xml version="1.0" encoding="ISO-8859-1" ?>
<rss version="2.0">
<channel>
	<title>OTserv</title>
	<description>OTserv Geral</description>
	<link>http://www.xtibia.com/forum/index.php</link>
	<pubDate>Fri, 12 Mar 2010 01:37:52 +0000</pubDate>
	<ttl>60</ttl>
	<item>
		<title><![CDATA[[Pack] Monsters]]></title>
		<link>http://www.xtibia.com/forum/topic/129406-pack-monsters/</link>
		<description><![CDATA[<span style='color: #FF0000'><span style='font-family: Comic Sans MS'>Eai pessoal tudo beleza?<br />
Eu andei criando varios monstros, mas como não tenho OTServer resolvi postar aqui, os monstros sao para 8.54<br />
<br />
Irei posta-los em ordem alfabetica. E no final do topico o download de todos eles em .rar , mas os monstros em .xml<br />
<br />
Alien 13<br />
Androide<br />
Arcanjo Possuido<br />
Bad Hero<br />
Bandido<br />
Cientista<br />
Cientista Mutante<br />
Demon Hatchling<br />
Devil Link<br />
Elite Archer<br />
Elite Knight<br />
Elite Mage<br />
God<br />
Homen das Cavernas<br />
Master Sorcerer BDM<br />
Member Superior<br />
Member<br />
Mutante<br />
Ninja Desonrado<br />
Professor de Matematica<br />
Sacerdote Maligno<br />
Salazar<br />
Sobrevivente<br />
Torcedor<br />
Veneno Venenoso ( Monstro igual ao player que eu uso em OTS. )<br />
Zeus<br />
<br />
<a href='https://www.virustotal.com/pt/analis...8b3-1268357354' class='bbc_url' title='Link externo' rel='nofollow'>SCAN</a><br />
<br />
<a href='http://www.megaupload.com/?d=WP0NLAZV' class='bbc_url' title='Link externo' rel='nofollow'>Download</a><br />
<br />
Vlw!</span></span>]]></description>
		<pubDate>Fri, 12 Mar 2010 01:37:52 +0000</pubDate>
		<guid>http://www.xtibia.com/forum/topic/129406-pack-monsters/</guid>
	</item>
	<item>
		<title>Npc Bugado!</title>
		<link>http://www.xtibia.com/forum/topic/129404-npc-bugado/</link>
		<description><![CDATA[<strong class='bbc'>coloquei um Npc que ele troca 5 queijos por um shield...<br />
<br />
mais ele nao pega os queijo ele está bugado...<br />
<br />
só falar Yes que ele da o shield sem precisar estar com os 5 queijos!<br />
<br />
alguem ai pode me ajudar?<br />
<br />
ta ai o script<br />
<br />
<p class='citation'>Quote</p><div class="blockquote"><div class='quote'>-- NPC de troca - By Conde Sapo<br />
local focus = 0<br />
local talk_start = 0<br />
local target = 0<br />
local following = false<br />
local attacking = false<br />
local addon_state = 0<br />
<br />
function onThingMove(creature, thing, oldpos, oldstackpos)<br />
end<br />
<br />
function onCreatureAppear(creature)<br />
end<br />
<br />
function onCreatureDisappear(cid, pos)<br />
        if focus == cid then<br />
                selfSay('Good bye then.')<br />
                focus = 0<br />
                talk_start = 0<br />
        end<br />
end<br />
<br />
function onCreatureTurn(creature)<br />
end<br />
<br />
function msgcontains(txt, str)<br />
        return (string.find(txt, str) and not string.find(txt, '(%w+)' .. str) and not string.find(txt, str .. '(%w+)'))<br />
end<br />
<br />
function onCreatureSay(cid, type, msg)<br />
        msg = string.lower(msg)<br />
<br />
        if (msgcontains(msg, 'hi') and (focus == 0)) and getDistanceToCreature(cid) &lt; 4 then<br />
                selfSay('Olá ' .. getCreatureName(cid) .. '... Eu daria tudo por alguns queijos... Você tem 5 sobrando aí? Eu posso te dar meu escudo em troca!')<br />
                focus = cid<br />
                talk_start = os.clock()<br />
<br />
        elseif msgcontains(msg, 'hi') and (focus ~= cid) and getDistanceToCreature(cid) &lt; 4 then<br />
                selfSay('Sorry, ' .. getCreatureName(cid) .. '! I talk to you in a minute.')<br />
<br />
        elseif focus == cid then<br />
                talk_start = os.clock()<br />
                if msgcontains(msg, 'queijo') or msgcontains(msg, 'escudo') then<br />
                        if doPlayerRemoveItem(cid,2696,5) == 0 then<br />
                                selfSay('Eu disse 5 QUEIJOS!')<br />
                                addon_state = 0<br />
                        else <br />
                                selfSay('Obrigado, muito mesmo! Tome, isto pode ser útil para você!')<br />
                                doPlayerAddItem(cid, 2512, 1)<br />
                                talk_start = 0<br />
                        end <br />
<br />
                elseif msgcontains(msg, 'bye') and getDistanceToCreature(cid) &lt; 4 then<br />
                        selfSay('Good bye, ' .. getCreatureName(cid) .. '! Come back soon..')<br />
                        focus = 0<br />
                        talk_start = 0<br />
                end<br />
        end<br />
end<br />
<br />
function onCreatureChangeOutfit(creature)<br />
end<br />
<br />
function onThink()<br />
        doNpcSetCreatureFocus(focus)<br />
        if (os.clock() - talk_start) &gt; 30 then<br />
                if focus &gt; 0 then<br />
                        selfSay('Next Please...')<br />
                end<br />
                focus = 0<br />
        end<br />
        if focus ~= 0 then<br />
                if getDistanceToCreature(focus) &gt; 5 then<br />
                        selfSay('Good bye then.')<br />
                        focus = 0<br />
                end<br />
        end<br />
end</div></div><br />
<br />
obrigado</strong>]]></description>
		<pubDate>Fri, 12 Mar 2010 01:01:35 +0000</pubDate>
		<guid>http://www.xtibia.com/forum/topic/129404-npc-bugado/</guid>
	</item>
	<item>
		<title>Problema Ao Abrir Phps</title>
		<link>http://www.xtibia.com/forum/topic/129403-problema-ao-abrir-phps/</link>
		<description><![CDATA[&lt;----------&gt;<br />
<br />
<br />
<br />
<br />
<pre class='prettyprint'>Fatal error: Call to undefined function get_magic_quotes_gpc() in C:&#092;AppServ&#092;www&#092;include.inc.php on line 35</pre><br />
<br />
Venho tendo esse erro sempre que tento acessar o news.php assim como muitas outras p&#225;ginas do meu site.<br />
<br />
O Meu atual news.php<br />
<br />
<pre class='prettyprint'>
&lt;?php 
/*
    Copyright (C) 2007 - 2008  Nicaw

    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation; either version 2 of the License, or
    (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License along
    with this program; if not, write to the Free Software Foundation, Inc.,
    51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
include ("include.inc.php");

if (isset($_GET&#91;'RSS2'&#93;)){
header("Content-type: application/rss+xml");

echo '&lt;?xml version="1.0"?&gt;&lt;rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/"&gt;&lt;channel&gt;&lt;title&gt;'.htmlspecialchars($cfg&#91;'server_name'&#93;).' News&lt;/title&gt;&lt;link&gt;'.htmlspecialchars($cfg&#91;'server_url'&#93;).'&lt;/link&gt;&lt;description&gt;Server news contains latest information about updates, downtimes and events.&lt;/description&gt;';

$mysql = new SQL();
$sql = $mysql-&gt;myQuery('SELECT * FROM `nicaw_news` ORDER BY `date` DESC LIMIT 10');
if ($sql === false) 
	throw new Exception('SQL query failed:&lt;br/&gt;'.$SQL-&gt;getError());
while ($a = $mysql-&gt;fetch_array()){
  echo '&lt;item&gt;';
  echo '&lt;guid&gt;http://'.htmlspecialchars($cfg&#91;'server_url'&#93;.$_SERVER&#91;'PHP_SELF'&#93;.'?id='.$a&#91;'id'&#93;).'&lt;/guid&gt;';
  echo '&lt;title&gt;'.htmlspecialchars($a&#91;'title'&#93;).'&lt;/title&gt;';
  echo '&lt;pubDate&gt;'.date('D, d M Y H:i:s O',$a&#91;'date'&#93;).'&lt;/pubDate&gt;';
  echo '&lt;dc:creator&gt;'.htmlspecialchars($a&#91;'creator'&#93;).'&lt;/dc:creator&gt;';
  if ((bool)(int)$a&#91;'html'&#93;){
    echo '&lt;content:encoded&gt;'.htmlspecialchars($a&#91;'text'&#93;).'&lt;/content:encoded&gt;';
  }else{
    require_once('extensions/simple_bb_code.php');
    $bb = new Simple_BB_Code();
    echo '&lt;content:encoded&gt;'.htmlspecialchars($bb-&gt;parse($a&#91;'text'&#93;)).'&lt;/content:encoded&gt;';
  }
  echo '&lt;/item&gt;';
}
echo '&lt;/channel&gt;&lt;/rss&gt;';

}else{
$ptitle= "News - $cfg&#91;server_name&#93;";
include ("header.inc.php");
?&gt;
&lt;div id="content"&gt;&lt;center&gt; &lt;a href="http://www.xtibia.com/forum" target="_blank"&gt;&lt;img src="http://img44.imageshack.us/img44/6152/imgadv.gif" alt=".::XTibia.com::. A sua comunidade brasileira de OTServer" align="top" border="0" width="468" height="60"&gt;&lt;/a&gt;&lt;/center&gt;

&lt;div class="top"&gt;&lt;img src="ico/feeds.gif" title="Subscribe to RSS" alt="rss" style="vertical-align: middle;"/&gt;&lt;/div&gt;
&lt;div class="mid&gt;
&lt;img src="ico/feeds.gif" title="Subscribe to RSS" alt="rss" style="vertical-align: middle;"/&gt;
&lt;a href="news.php?RSS2" style="text-decoration: none; float: right;"&gt;&lt;img src="ico/feed.png" title="Subscribe to RSS" alt="rss" style="vertical-align: middle;"/&gt;&lt;/a&gt;
&lt;?php 
$mysql = new SQL();
if (isset($_GET&#91;'id'&#93;))
	$mysql-&gt;myQuery('SELECT * FROM `nicaw_news` WHERE `id` = &#092;''.mysql_escape_string((int)$_GET&#91;'id'&#93;).'&#092;'');
else
	$mysql-&gt;myQuery('SELECT * FROM `nicaw_news` ORDER BY `date` DESC LIMIT 10');
if ($mysql-&gt;failed())
	throw new Exception('SQL query failed:&lt;br/&gt;'.$mysql-&gt;getError());
while ($a = $mysql-&gt;fetch_array()){
  echo '&lt;i&gt;'.date("jS F Y",$a&#91;'date'&#93;).'&lt;/i&gt;';
  echo ' - &lt;b&gt;'.htmlspecialchars($a&#91;'creator'&#93;).'&lt;/b&gt;';
  echo '&lt;h2&gt;'.htmlspecialchars($a&#91;'title'&#93;).'&lt;/h2&gt;';
  echo '&lt;blockquote&gt;';
  if ((bool)(int)$a&#91;'html'&#93;){
    echo $a&#91;'text'&#93;;
  }else{
    require_once('extensions/simple_bb_code.php');
    $bb = new Simple_BB_Code();
    echo $bb-&gt;parse($a&#91;'text'&#93;);
  }
  echo '&lt;/blockquote&gt;';
  echo '&lt;br/&gt;&lt;br/&gt;';
}
?&gt;
&lt;/div&gt;
&lt;div class="bot"&gt;&lt;/div&gt;
&lt;/div&gt;

&lt;?php include ("footer.inc.php");}?&gt;
</pre>]]></description>
		<pubDate>Fri, 12 Mar 2010 00:35:48 +0000</pubDate>
		<guid>http://www.xtibia.com/forum/topic/129403-problema-ao-abrir-phps/</guid>
	</item>
	<item>
		<title>Vip System</title>
		<link>http://www.xtibia.com/forum/topic/129402-vip-system/</link>
		<description><![CDATA[Tipo do script:Vip<br />
Protocolo (versão do Tibia):8.5<br />
Servidor utilizado:..<br />
Nível de experiência:médio<br />
Adicionais/Informações:<br />
<br />
Galera alguem me explica algum Vip system para 8.50 detalhadoo ,todos que tem ae nao fumfam ,alguem poderia ?]]></description>
		<pubDate>Fri, 12 Mar 2010 00:29:02 +0000</pubDate>
		<guid>http://www.xtibia.com/forum/topic/129402-vip-system/</guid>
	</item>
	<item>
		<title>Talkaction Que Vende Skill</title>
		<link>http://www.xtibia.com/forum/topic/129401-talkaction-que-vende-skill/</link>
		<description><![CDATA[Ae galera do xtibia,<br />
Gostaria de uma talkaction que adcione 1 skill por 1 item de id: 10556<br />
Assim,<br />
Eu diria !axe ou !sword ou !club(Somente knights) ou !magic (somente druids e sorcerers) !distance(Somente paladin)<br />
<br />
E trocaria 1 item de id 10556 por 1 skills das qual eu citei acima, mas o maximo de skill que pode e 350<br />
<br />
Se pudessem postar so 1 de cada (axe,magic e distance) Ficaria agradecico ^.^<br />
<br />
<br />
Versao do ot: 8.5-8.52]]></description>
		<pubDate>Fri, 12 Mar 2010 00:24:38 +0000</pubDate>
		<guid>http://www.xtibia.com/forum/topic/129401-talkaction-que-vende-skill/</guid>
	</item>
	<item>
		<title><![CDATA[[Ajuda] Map Editor Por Favor Me Ajudem]]></title>
		<link>http://www.xtibia.com/forum/topic/129400-ajuda-map-editor-por-favor-me-ajudem/</link>
		<description><![CDATA[eu tenho dois ots prontos, axo os dois legais,so que queria fazer em um soh o mapa<br />
alguem pode me passar o map editor 8.54 e me ajuda a ve se tem como juntar esses mapas em um ot serv<br />
sem um ficar em cima do outro?]]></description>
		<pubDate>Thu, 11 Mar 2010 23:49:55 +0000</pubDate>
		<guid>http://www.xtibia.com/forum/topic/129400-ajuda-map-editor-por-favor-me-ajudem/</guid>
	</item>
	<item>
		<title>Alguém Sabe O Que Pode Ser?</title>
		<link>http://www.xtibia.com/forum/topic/129399-alguem-sabe-o-que-pode-ser/</link>
		<description>Seguinte, meu ot, styller yourots 8.50 está tendo um problema com quedas, ele cai mais ou menos de 1 em 1 hora, bom, o que aconteçe com o ot? Nada, no auto-restarter ele simplesmente para, e ja começa a reiniciar, sem mensagem de erro nem nada, alguém sabe o que pode ser isso? Sendo que eu praticamente descartei possibilidade de nuke, overload também, pois o servidor aguenta bem mais players que o atual, quem puder me ajudar, agradeço...</description>
		<pubDate>Thu, 11 Mar 2010 23:01:45 +0000</pubDate>
		<guid>http://www.xtibia.com/forum/topic/129399-alguem-sabe-o-que-pode-ser/</guid>
	</item>
	<item>
		<title>Script De Magias Ot 8.31</title>
		<link>http://www.xtibia.com/forum/topic/129395-script-de-magias-ot-831/</link>
		<description><![CDATA[desculpem-me por estar postando aki<br />
sou novo no site, e gostaria de uma ajuda<br />
<br />
eu gostaria de saber algum link ,<br />
qualquer ajuda serve,<br />
preciso de um script de uma magia de sorc<br />
q s&#243; tem em ot 8.31 <br />
o nome da magia &#233; "invocar os mil ossos protetores"<br />
eu s&#243; acho o mapa, e quando tento baxar o mapa<br />
diz q o mesmo ja foi removido do site.<br />
ja n&#227;o sei mais oque fazer para por essa <br />
magia muito massa no meu ot.<br />
<br />
<br />
se conseguirem me enviar o link do script<br />
estarei muito grato mesmo.<br />
<br />
agrade&#231;o desde j&#225;.]]></description>
		<pubDate>Thu, 11 Mar 2010 18:24:22 +0000</pubDate>
		<guid>http://www.xtibia.com/forum/topic/129395-script-de-magias-ot-831/</guid>
	</item>
	<item>
		<title>Galera Da Uma Ajudinha Aki</title>
		<link>http://www.xtibia.com/forum/topic/129389-galera-da-uma-ajudinha-aki/</link>
		<description><![CDATA[Galera eu to tentando hostear um ot, ja sei como desbloquea as portas do modem para otserv so que eu preciso <br />
libera as portas a onde?<br />
<br />
1=Fire wall do windows eu libero as portas como eu ja liberei uma fiz assim add port 7171 nome tibia tcp algo asim ta serto? presciso pow outra porta como 7172?<br />
<br />
2=Na conex&#245;es local  no luga tcp/ip ta sem as coisas configuradas eu tenho que configura por endereco ip,mascara de sub red etc? <br />
<br />
3= Deve ser pra configura neh, pq as veses O indereco de ip muda ip da lan, quando a net cai <br />
<br />
4= Minha net e puxada acabeoi  de me mudar =/ eu ja tive ot como net compartilhada  e desbloquei so que nao me lembro + essa  parte =/<br />
<br />
5= Pronto so presciso disso pq ja sei desbloquea o modem pelo virtual server so que falta isso aew  asima<br />
<br />
<br />
6= Aew na no tcp/ip fala assim se nao tive configurada ja com os ips vc tera que configura da uma ajuda<br />
<br />
Vlw =d]]></description>
		<pubDate>Thu, 11 Mar 2010 14:54:33 +0000</pubDate>
		<guid>http://www.xtibia.com/forum/topic/129389-galera-da-uma-ajudinha-aki/</guid>
	</item>
	<item>
		<title>Potion Infinita?</title>
		<link>http://www.xtibia.com/forum/topic/129385-potion-infinita/</link>
		<description><![CDATA[<strong class='bbc'><br />
Meu serve tem Potion infinta<br />
mais a <span style='color: #FF8C00'>great spirit potion</span> não está infinita?<br />
como faço pra bota ela infinita como a ultimate health potion tbm?<br />
<br />
obrigado.<br />
<br />
</strong>]]></description>
		<pubDate>Thu, 11 Mar 2010 13:04:03 +0000</pubDate>
		<guid>http://www.xtibia.com/forum/topic/129385-potion-infinita/</guid>
	</item>
	<item>
		<title>!rank Bugado</title>
		<link>http://www.xtibia.com/forum/topic/129384-rank-bugado/</link>
		<description><![CDATA[<span style='color: #000080'>Meu problema &#233; o seguinte:<br />
tenho um script de !rank que funciona quando executado, mais depois disso os player param de ser salvos...<br />
o script &#233; esse ai:</span><br />
<p class='citation'>Quote</p><div class="blockquote"><div class='quote'>function onSay(cid, words, param)<br />
dofile("./config.lua")<br />
local players = 40 -- The amount of players that is shown in the list<br />
local maxgroupid = 1 -- Players in groups above this is not shown in the list<br />
<br />
if sqlType == "sqlite" then<br />
env = assert(luasql.sqlite3())<br />
con = assert(env:connect(sqliteDatabase))<br />
end<br />
<br />
local str = ""<br />
if param == "level" or param == "exp" or param == "lvl" or param == "" then<br />
cur = assert(con:execute("SELECT `name`, `level`, `experience` FROM `players` WHERE `group_id` &lt;= "..maxgroupid.." ORDER BY `experience` DESC LIMIT 0,"..players..";"))<br />
row = cur:fetch({}, "a")<br />
str = "# [Level] - Name - (Experience)&#092;n"<br />
local i = 0<br />
while row do<br />
str = str.."&#092;n#"..(i+1).." ["..row.level.."] - "..row.name.." - ("..row.experience..")"<br />
row = cur:fetch (row, "a")<br />
i = i+1<br />
end<br />
elseif param == "maglevel" or param == "magic" or param == "ml" then<br />
cur = assert(con:execute("SELECT `name`, `maglevel` FROM `players` WHERE `group_id` &lt;= "..maxgroupid.." ORDER BY `maglevel` DESC LIMIT 0,"..players..";"))<br />
row = cur:fetch({}, "a")<br />
str = "# [Magic Level] - Name&#092;n"<br />
local i = 0<br />
while row do<br />
str = str.."&#092;n#"..(i+1).." ["..row.maglevel.."] - "..row.name..""<br />
row = cur:fetch (row, "a")<br />
i = i+1<br />
end<br />
elseif param == "fist" then<br />
cur = assert(con:execute("SELECT `player_id`, `value` FROM `player_skills` WHERE `skillid` = 0 ORDER BY `value` DESC;"))<br />
row = cur:fetch({}, "a")<br />
str = "# [Fist Fighting] - Name&#092;n"<br />
local i = 0<br />
while row do<br />
if i == players then<br />
break<br />
end<br />
query = assert(con:execute("SELECT `name` FROM `players` WHERE `group_id` &lt;= "..maxgroupid.." AND `id` = "..row.player_id..""))<br />
sql = query:fetch({}, "a")<br />
if sql ~= nil then<br />
str = str.."&#092;n#"..(i+1).." ["..row.value.."] - "..sql.name..""<br />
i = i+1<br />
end<br />
row = cur:fetch (row, "a")<br />
end<br />
elseif param == "club" then<br />
cur = assert(con:execute("SELECT `player_id`, `value` FROM `player_skills` WHERE `skillid` = 1 ORDER BY `value` DESC;"))<br />
row = cur:fetch({}, "a")<br />
str = "# [Club Fighting] - Name&#092;n"<br />
local i = 0<br />
while row do<br />
if i == players then<br />
break<br />
end<br />
query = assert(con:execute("SELECT `name` FROM `players` WHERE `group_id` &lt;= "..maxgroupid.." AND `id` = "..row.player_id..""))<br />
sql = query:fetch({}, "a")<br />
if sql ~= nil then<br />
str = str.."&#092;n#"..(i+1).." ["..row.value.."] - "..sql.name..""<br />
i = i+1<br />
end<br />
row = cur:fetch (row, "a")<br />
end<br />
elseif param == "sword" then<br />
cur = assert(con:execute("SELECT `player_id`, `value` FROM `player_skills` WHERE `skillid` = 2 ORDER BY `value` DESC;"))<br />
row = cur:fetch({}, "a")<br />
str = "# [Sword Fighting] - Name&#092;n"<br />
local i = 0<br />
while row do<br />
if i == players then<br />
query = assert(con:execute("SELECT `name` FROM `players` WHERE `group_id` &lt;= "..maxgroupid.." AND `id` = "..row.player_id..""))<br />
sql = query:fetch({}, "a")<br />
if sql ~= nil then<br />
str = str.."&#092;n#"..(i+1).." ["..row.value.."] - "..sql.name..""<br />
i = i+1<br />
end<br />
row = cur:fetch (row, "a")<br />
end<br />
elseif param == "axe" then<br />
cur = assert(con:execute("SELECT `player_id`, `value` FROM `player_skills` WHERE `skillid` = 3 ORDER BY `value` DESC;"))<br />
row = cur:fetch({}, "a")<br />
str = "# [Axe Fighting] - Name&#092;n"<br />
local i = 0<br />
while row do<br />
if i == players then<br />
break<br />
end<br />
query = assert(con:execute("SELECT `name` FROM `players` WHERE `group_id` &lt;= "..maxgroupid.." AND `id` = "..row.player_id..""))<br />
sql = query:fetch({}, "a")<br />
if sql ~= nil then<br />
str = str.."&#092;n#"..(i+1).." ["..row.value.."] - "..sql.name..""<br />
i = i+1<br />
end<br />
row = cur:fetch (row, "a")<br />
end<br />
elseif param == "dist" or param == "distance" then<br />
cur = assert(con:execute("SELECT `player_id`, `value` FROM `player_skills` WHERE `skillid` = 4 ORDER BY `value` DESC;"))<br />
row = cur:fetch({}, "a")<br />
str = "# [Distance Fighting] - Name&#092;n"<br />
local i = 0<br />
while row do<br />
if i == players then<br />
break<br />
end<br />
query = assert(con:execute("SELECT `name` FROM `players` WHERE `group_id` &lt;= "..maxgroupid.." AND `id` = "..row.player_id..""))<br />
sql = query:fetch({}, "a")<br />
if sql ~= nil then<br />
str = str.."&#092;n#"..(i+1).." ["..row.value.."] - "..sql.name..""<br />
i = i+1<br />
end<br />
row = cur:fetch (row, "a")<br />
end<br />
elseif param == "shield" or param == "shielding" then<br />
cur = assert(con:execute("SELECT `player_id`, `value` FROM `player_skills` WHERE `skillid` = 5 ORDER BY `value` DESC;"))<br />
row = cur:fetch({}, "a")<br />
str = "# [Shielding] - Name&#092;n"<br />
local i = 0<br />
while row do<br />
if i == players then<br />
break<br />
end<br />
query = assert(con:execute("SELECT `name` FROM `players` WHERE `group_id` &lt;= "..maxgroupid.." AND `id` = "..row.player_id..""))<br />
sql = query:fetch({}, "a")<br />
if sql ~= nil then<br />
str = str.."&#092;n#"..(i+1).." ["..row.value.."] - "..sql.name..""<br />
i = i+1<br />
end<br />
row = cur:fetch (row, "a")<br />
end<br />
elseif param == "fish" or param == "fishing" then<br />
cur = assert(con:execute("SELECT `player_id`, `value` FROM `player_skills` WHERE `skillid` = 6 ORDER BY `value` DESC;"))<br />
row = cur:fetch({}, "a")<br />
str = "# [Fishing] - Name&#092;n"<br />
local i = 0<br />
while row do<br />
if i == players then<br />
break<br />
end<br />
query = assert(con:execute("SELECT `name` FROM `players` WHERE `group_id` &lt;= "..maxgroupid.." AND `id` = "..row.player_id..""))<br />
sql = query:fetch({}, "a")<br />
if sql ~= nil then<br />
str = str.."&#092;n#"..(i+1).." ["..row.value.."] - "..sql.name..""<br />
i = i+1<br />
end<br />
row = cur:fetch (row, "a")<br />
end<br />
end<br />
if str ~= "" then<br />
doPlayerPopupFYI(cid, str)<br />
end<br />
end</div></div><br />
<br />
A unica solu&#231;&#227;o que deu certo foi deixar apenas a parte de lvl, as outras op&#231;&#245;es bugam ao ser usadas..<br />
<br />
Meu server &#233; 8.40 tfs 0.2.0.0 e uso sqlite e a fun&#231;&#227;o <p class='citation'>Quote</p><div class="blockquote"><div class='quote'>str = getHighscoreString((ranks[msg][1]))</div></div> n&#227;o &#233; aceita!<br />
<br />
<span style='color: #000080'>eu creio que esse script pode ser editado para encontrar as informa&#231;&#245;es em um sqlite, pelo que eu entendi ele foi criado pra mysql<br />
<br />
OBS.: trocar para mysql n&#227;o &#233; uma op&#231;&#245;es pois isso resultaria em um reset em meu server, e ninguem quer isso n&#233;??<br />
Se alguem souber como arrumar fico mt grato...</span>]]></description>
		<pubDate>Thu, 11 Mar 2010 07:44:54 +0000</pubDate>
		<guid>http://www.xtibia.com/forum/topic/129384-rank-bugado/</guid>
	</item>
	<item>
		<title>Perda De Xp Bugada</title>
		<link>http://www.xtibia.com/forum/topic/129383-perda-de-xp-bugada/</link>
		<description><![CDATA[<span style='color: #000080'>Estou com um problema que n&#227;o consegui achar solu&#231;&#227;o nem aqui, nem em outros sites e nem em minha modesta sabedoria..</span><br />
<br />
O problema &#233; o seguinte:<br />
Quando um player morre em meu server, esta perdendo uma media mt alta de xp (cerca de 5 lvls+) mesmo estando com bless...<br />
Eu ja busquei todas as solu&#231;&#245;es possiveis, ja alterei a perda de xp no config.lua, ja adicionei mais lessloss nas vocations, ja troquei de npc de bless, ja adicionei <p class='citation'>Quote</p><div class="blockquote"><div class='quote'>doPlayerSetLossPercent(target, PLAYERLOSS_EXPERIENCE, 1)</div></div> e <p class='citation'>Quote</p><div class="blockquote"><div class='quote'>doPlayerSetLossPercent(cid, PLAYERLOSS_EXPERIENCE, 1)</div></div> nos arquivos login.lua e em playerdeath.lua em Creaturescripts, ja at&#233; modifiquei meu arquivo s3db mais mesmo assim o problema persiste.<br />
Obs.: Meu server ja esta ativo a um bom tempo e trocar o banco de dados s3db ou o executavel pode ser bem inviavel..<br />
Obs&#178;.: Meu server &#233; 8.40 tfs 0.2.0.0 sqlite <br />
<span style='color: #FF8C00'>Se alguem tiver alguma solu&#231;&#227;o por favor me ajude...</span>]]></description>
		<pubDate>Thu, 11 Mar 2010 07:32:33 +0000</pubDate>
		<guid>http://www.xtibia.com/forum/topic/129383-perda-de-xp-bugada/</guid>
	</item>
	<item>
		<title><![CDATA[[Ajuda] Tornando Item Imóvel]]></title>
		<link>http://www.xtibia.com/forum/topic/129382-ajuda-tornando-item-imovel/</link>
		<description><![CDATA[Bom gostaria de saber como torna um item imóvel e intocáveis  , ja vi OTS que eles usam algum 'floor' ou item, em cima, não sei dizer qual. <br />
gostaria muito de saber algum modo de torna coisas imoveis e intocáveis , tais como.. mesa , cadeiras , book , items.. <br />
obg.<br />
att. Cosaki<br />
Aguardo resp.]]></description>
		<pubDate>Thu, 11 Mar 2010 04:34:01 +0000</pubDate>
		<guid>http://www.xtibia.com/forum/topic/129382-ajuda-tornando-item-imovel/</guid>
	</item>
	<item>
		<title><![CDATA[[Pedido] Player Escrevendo Nos Livros]]></title>
		<link>http://www.xtibia.com/forum/topic/129381-pedido-player-escrevendo-nos-livros/</link>
		<description><![CDATA[Olá gostaria que alguem me ajudace a fazer um Script de Action que os players possão escrever em livros <br />
Exemplo.: aquele que dropa do Wyrven.<br />
<br />
Porfavor ajudem. s2]]></description>
		<pubDate>Thu, 11 Mar 2010 04:28:56 +0000</pubDate>
		<guid>http://www.xtibia.com/forum/topic/129381-pedido-player-escrevendo-nos-livros/</guid>
	</item>
	<item>
		<title><![CDATA[[Walkalone] O Que Falta No Tibia?idéias?]]></title>
		<link>http://www.xtibia.com/forum/topic/129380-walkalone-o-que-falta-no-tibiaideias/</link>
		<description><![CDATA[Olá, eu sou um dos membros da equipe WalkAlone (criadora dos servidores: TibiaSoul, DarkAdventure, AnarchyOT, entre outros)!  <img src='http://www.xtibia.com/forum/public/style_emoticons/default/unsure.gif' class='bbc_emoticon' alt=':unsure:' /> <br />
<br />
Estamos aqui com o objetivo de mudar TOTALMENTE o Tibia, de forma que seja mais fácil de jogar (uma melhor jogabilidade não necessariamente significa fácil acesso a ítems, níveis, etc).<br />
<br />
Nosso projeto no momento era privado, agora estamos declarando-o ao público.<br />
<br />
<br />
<strong class='bbc'>Agora as perguntas que vem em mente:<br />
<br />
<span style='font-size: 13px;'>1- O QUE FALTA NO TIBIA?  <img src='http://www.xtibia.com/forum/public/style_emoticons/default/blink.gif' class='bbc_emoticon' alt=':blink:' /> <br />
2- O QUE PRECISA PRA MELHORAR?</span></strong><br />
<br />
<br />
Por favor, dêem as suas idéias, iremos avaliar TODAS elas e quem sabe, criamos um servidor perfeito, como vocês gostam!<br />
<br />
<strong class='bbc'>O que não são mais idéias e sim realidade (fizemos):</strong><br />
- Sit mode (personagens sentando em cadeiras)<br />
- Painel de skills (janela com as magias, assim como nos outros RPG's)<br />
- Magias com chance de dar critical (dano crítico) ou miss (falhar)<br />
- Barra de exhausted (uma barra como a de HP, informando o tempo de exaustão do personagem)<br />
- Slots adicionais (pode usar agora 2 aneis, 2 brincos, colar, luva e capa)<br />
- Trêm (passa na estação a cada X minutos e lhe leva a diversos lugares, com paradas em cada estação)<br />
- Skills agora começam no nível 0, e não no 10 (como default no Tibia)<br />
- Ao usar uma magia, o personagem fica impossibilitado de andar pelo tempo de exhausted (exhausted diminuído)<br />
- Ao subir/descer escadas ou rampas, você ficara exausto por um determinado tempo (meio segundo)<br />
<br />
<strong class='bbc'>Idéias com o objetivo de fazer:</strong><br />
- Montaria (em cavalos, dragões e dragões voadores)<br />
- Navegação (navegar em canoas, em alguns lugares)<br />
- Gore mode (jorrar sangue, quando estiver com pouca vida)<br />
- Follow the Wounded (pegadas de sangue, com MUITO pouca vida)<br />
- Novo tipo de arma: Blunt (atacar corpo-a-corpo com mais de 1 tile de distância, e acertar mais de um oponente a sua volta com apenas um ataque)<br />
- Novo tipo de arma: Besta (estilo de crossbow, porém com munição à armas de fogo)<br />
<br />
<strong class='bbc'>Idéias em avaliação:</strong><br />
- Ganhar pontos para distribuir conforme o nível ganho (INT, DEX, CON, etc)<br />
- Futebol (jogo de futebol descente, com animação da bola e dos gols)<br />
- Bazooka (uma bazooka antiga, não muito forte; tempo de disparo lento)<br />
<br />
Tem uma idéia? Compartilhe conosco!  <img src='http://www.xtibia.com/forum/public/style_emoticons/default/rolleyes.gif' class='bbc_emoticon' alt=':rolleyes:' /> <br />
<br />
<br />
Um abraço a todos, Kazz!  <img src='http://www.xtibia.com/forum/public/style_emoticons/default/happy.gif' class='bbc_emoticon' alt=':happy:' />]]></description>
		<pubDate>Thu, 11 Mar 2010 04:24:52 +0000</pubDate>
		<guid>http://www.xtibia.com/forum/topic/129380-walkalone-o-que-falta-no-tibiaideias/</guid>
	</item>
	<item>
		<title>Informações Que Vai Precisar Ou Já Precisou</title>
		<link>http://www.xtibia.com/forum/topic/129378-informacoes-que-vai-precisar-ou-ja-precisou/</link>
		<description><![CDATA[<strong class='bbc'>T</strong>enho em meu pc algumas listas copm informações para se colocar em algumas funções que não se acha tão facilmente...<br />
<br />
<br />
<span style='font-size: 17px;'><span style='color: Red'><strong class='bbc'><div class='bbc_center'>- = Slots = -</div></strong></span></span><br />
<br />
<br />
<strong class='bbc'>A</strong>posto que muitos já se perguntaram o que por em slot na função getPlayerSlotItem(cid, slot). Abaixo há a resposta:<br />
<br />
<br />
<pre class='prettyprint'>CONST_SLOT_HEAD (1) = helmet
CONST_SLOT_NECKLACE (2) = necklace slot
CONST_SLOT_BACKPACK (3) = backpack
CONST_SLOT_ARMOR (4) = armor
CONST_SLOT_LEFT (5) = left hand
CONST_SLOT_RIGHT (6) = right hand
CONST_SLOT_LEGS (7) = legs
CONST_SLOT_FEET (8) = boots
CONST_SLOT_RING (9) = ring slot
CONST_SLOT_AMMO (10) = ammo slot</pre><br />
<br />
<br />
<strong class='bbc'>E</strong>xemplo de uso:<br />
<br />
<br />
<pre class='prettyprint'>if getPlayerSlotItem(cid, 10).itemid == 2229 then
	doPlayerSendTextMessage(cid, 22, "Você tem uma caveirano lugar das munições.")
end</pre><br />
<br />
<br />
<strong class='bbc'>Q</strong>ue seria o mesmo que:<br />
<br />
<br />
<pre class='prettyprint'>if getPlayerSlotItem(cid, CONST_SLOT_AMMO).itemid == 2229 then
	doPlayerSendTextMessage(cid, 22, "Você tem uma caveirano lugar das munições.")
end</pre><br />
<br />
<br />
<strong class='bbc'><span style='color: Red'>Nota:</span></strong> a função getPlayerSlotItem(cid, slot) retorna uma table de três valores: itemid, uid e actionid.<br />
<br />
<br />
<br />
<br />
<span style='color: Red'><span style='font-size: 17px;'><strong class='bbc'><div class='bbc_center'>- = Keys = -</div></strong></span></span><br />
<br />
<strong class='bbc'>O</strong>utra coisa importante são as keys de itens, usadas nas funções doItemSetAttribute(uid, key, value), doItemEraseAttribute(uid, key) e getItemAttribute(uid, key). Abaixo há uma lista com as keys:<br />
<br />
<br />
<pre class='prettyprint'>description
weight
defense
attack
attackspeed
weaponType
extradef
absorbPercentDeath
absorbPercentHoly
absorbPercentIce
absorbPercentEnergy
absorbPercentEarth
absorbPercentFire
absorbPercentPhysical
skillShield
magiclevelpoints
defense
weaponType
armor
slotType
weight
speed</pre><br />
<br />
<br />
<strong class='bbc'>U</strong>m exemplo muito usado em scripts de refinamento:<br />
<br />
<br />
<pre class='prettyprint'>doItemSetAttribute(item2.uid,"extradefense",8)</pre><br />
<br />
<br />
<strong class='bbc'><span style='color: Red'>Nota:</span></strong> as keys devem sempre ser usadas como uma string, ou seja, entre aspas.<br />
<br />
<br />
<strong class='bbc'><span style='color: Red'>Nota2:</span></strong> Aquelas keys listadas não são as únicas, mas são as menos conhecidas. há também aid que representa a action id entre outras(que também precisam ser usadas como string).<br />
<br />
<br />
<br />
<br />
<span style='font-size: 17px;'><span style='color: Red'><strong class='bbc'><div class='bbc_center'>- = Skills = -</div></strong></span></span><br />
<br />
<strong class='bbc'>P</strong>or último mas não menos importante há os skills, onde são usados em funções como doPlayerAddSkillTry(cid, skillid, n[, useMultiplier]), doPlayerAddSkill(cid, skillid, amount) entre outras. Abaixo segue a lista:<br />
<br />
<br />
<pre class='prettyprint'>SKILL_FIST (0) = Fist Fighting
SKILL_CLUB (1) = Club Fighting
SKILL_SWORD (2) = Sword Fighting
SKILL_AXE (3) = Axe Fighting
SKILL_DISTANCE (4) = Distance Fighting
SKILL_SHIELD (5) = Shielding
SKILL_FISHING (6) = Fishing </pre><br />
<br />
<br />
<strong class='bbc'>E</strong>xemplo:<br />
<br />
<br />
<pre class='prettyprint'>doPlayerAddSkill(cid, 1, 8)</pre><br />
<br />
<br />
<strong class='bbc'>Q</strong>ue seria o mesmo que:<br />
<br />
<br />
<pre class='prettyprint'>doPlayerAddSkill(cid, SKILL_CLUB, 8)</pre><br />
<br />
<br />
<br />
<br />
<br />
<strong class='bbc'>E</strong>u poderia ter criado três tópicos falando de cada um dos três, mas não sou como estes membros que só pensam em posts -.-'<br />
<br />
<br />
<strong class='bbc'>E</strong>spero que tenha ajudado ;)]]></description>
		<pubDate>Thu, 11 Mar 2010 03:48:31 +0000</pubDate>
		<guid>http://www.xtibia.com/forum/topic/129378-informacoes-que-vai-precisar-ou-ja-precisou/</guid>
	</item>
	<item>
		<title><![CDATA[[Pedido] Quest Que Da Keys Com Actionid]]></title>
		<link>http://www.xtibia.com/forum/topic/129377-pedido-quest-que-da-keys-com-actionid/</link>
		<description><![CDATA[Olá gostaria que o pessoal ae me ajudace a fazer que uma quest que de a key para abrir uma porta ou um NPC que venda a chave da porta ... <br />
Ajude porfavor !]]></description>
		<pubDate>Thu, 11 Mar 2010 03:02:05 +0000</pubDate>
		<guid>http://www.xtibia.com/forum/topic/129377-pedido-quest-que-da-keys-com-actionid/</guid>
	</item>
	<item>
		<title><![CDATA[[Help] Config.lua]]></title>
		<link>http://www.xtibia.com/forum/topic/129376-help-configlua/</link>
		<description><![CDATA[Boa noite a todos<br />
Estou com alguns problemas com esse novo config.lua<br />
Nessa parte:<br />
<br />
loginPort = 7171<br />
gamePort = 7172 <br />
adminPort = 7171<br />
statusPort = 7171<br />
<br />
&#201; preciso abrir a porta 7172? Por que tantas portas? N&#227;o tem bem um l&#243;gico nisso, e tamb&#233;m ocorre aquele erro de Packet Size<br />
Algumas pessoas tentam logar, ai elas entram na conta mais quando v&#227;o entrar no jogo aparece q esta offline :/<br />
<br />
<br />
Se algu&#233;m puder me ajudar eu agrade&#231;o]]></description>
		<pubDate>Thu, 11 Mar 2010 02:49:42 +0000</pubDate>
		<guid>http://www.xtibia.com/forum/topic/129376-help-configlua/</guid>
	</item>
	<item>
		<title>Fazendo Player Receber Outfit Sem Poder Alterá-Lo</title>
		<link>http://www.xtibia.com/forum/topic/129375-fazendo-player-receber-outfit-sem-poder-altera-lo/</link>
		<description><![CDATA[<strong class='bbc'>B</strong>em, vou ensinar como fazer com que um player receba o outfit que voc&#234; quer colocar nele sem que ele consiga mudar pelo "set outfit".<br />
<br />
<br />
<strong class='bbc'>P</strong>rimeiro coloque uma vari&#225;vel com o outfit desejado. No caso usei o do war:<br />
<br />
<br />
<pre class='prettyprint'>local visual = {lookType = 335, lookHead = 0, lookBody = 0, lookLegs = 0, lookFeet = 0, lookTypeEx = 0, lookAddons = 0}</pre><br />
<br />
<br />
<strong class='bbc'>L</strong>ogo depois use a vari&#225;vel na function doSetCreatureOutfit(cid, outfit, time), mas ao inv&#233;s de determinar um tempo maior que 0 para ficar com o outfit, coloque -1, ficando assim:<br />
<br />
<br />
<strong class='bbc'>doSetCreatureOutfit(cid, visual, -1)</strong><br />
<br />
<br />
<strong class='bbc'><span style='color: Lime'>Juquinha: </span></strong>lol, t&#225; seu vagabundo, agora o player n&#227;o consegue mudar nem fud***** o outfit, ja tentei com doCreatureChangeOutfit, doPlayerRemoveOutfit e outras fun&#231;&#245;es. &#201; bom voc&#234; falar como que volta ao normal sen&#227;o...<br />
<br />
<br />
<span style='color: Blue'><strong class='bbc'>Antharaz:</strong></span> Calma fiote. :p basta usar a fun&#231;&#227;o doRemoveCondition dessa maneira:<br />
<br />
<br />
<strong class='bbc'>doRemoveCondition(cid, CONDITION_OUTFIT)</strong><br />
<br />
<br />
<strong class='bbc'>P</strong>erceba que o looktype varia de acordo com o sexo, ent&#227;o para um char female n&#227;o ficar com outfit de char male e vice versa, vamos fazer o seguinte, declarar 2 vari&#225;veis, 1 com cada looktype:<br />
<br />
<br />
<pre class='prettyprint'>local visual = {lookType = 335, lookHead = 0, lookBody = 0, lookLegs = 0, lookFeet = 0, lookTypeEx = 0, lookAddons = 0}
local visual2 = {lookType = 336, lookHead = 0, lookBody = 0, lookLegs = 0, lookFeet = 0, lookTypeEx = 0, lookAddons = 0}</pre><br />
<br />
<br />
<strong class='bbc'>A</strong>gora, colocamos em nosso script a fun&#231;&#227;o de verifica&#231;&#227;o de sexo:<br />
<br />
<br />
<pre class='prettyprint'>if getPlayerSex(cid) == 0 then --Verifica o sexo, se for 0
	visual = visual2 --A vari&#225;vel local visual receber os valores da vari&#225;vel local visual2
end --fim do if

doSetCreatureOutfit(cid, visual, -1) --Muda o outfit do player para o valor contido em visual que, no caso, depender&#225; do sexo</pre><br />
<br />
<br />
<strong class='bbc'>N</strong>o caso, eu fiz visual receber visual2 se o sexo for 0 para encurtar o script.<br />
<br />
<br />
<strong class='bbc'><span style='color: Red'>Dica: </span>o ingl&#234;s ajuda muito qualquer scripter...</strong><br />
<br />
<br />
<br />
<strong class='bbc'><span style='color: #FF0000'>IMPORTANTE:</span> Declare as vari&#225;veis dentro da functon que voc&#234; usar, caso contr&#225;rio acontecer&#225; o que o  Marcryzius  disse abaixo.</strong>]]></description>
		<pubDate>Thu, 11 Mar 2010 02:42:58 +0000</pubDate>
		<guid>http://www.xtibia.com/forum/topic/129375-fazendo-player-receber-outfit-sem-poder-altera-lo/</guid>
	</item>
	<item>
		<title>Npc Que Vende Outfit!</title>
		<link>http://www.xtibia.com/forum/topic/129373-npc-que-vende-outfit/</link>
		<description><![CDATA[Quero um Npc Muintu Loko que vende Outfit falando<br />
<br />
hi...o nome do outfit...yes<br />
<br />
e a pessoa ganha o outfit que compra<br />
<br />
cada outfit custa 10kk<br />
<br />
<br />
quero que venda separado e os outfit sao esses<br />
<br />
<br />
<br />
&lt!-- Custom outfits --!&gt;<br />
&lt;outfit type="1" looktype="287" enabled="1" name="Evil" premium="1"/&gt;<br />
&lt;outfit type="1" looktype="332" enabled="1" name="Rei" premium="1"/&gt;<br />
&lt;outfit type="0" looktype="331" enabled="1" name="Rainha" premium="1"/&gt;<br />
&lt;outfit type="2" looktype="12" enabled="1" name="Archdemon" premium="1"/&gt;<br />
&lt;outfit type="2" looktype="159" enabled="1" name="Elf" premium="1"/&gt;<br />
&lt;outfit type="2" looktype="160" enabled="1" name="Dwarf" premium="1"/&gt;<br />
&lt;outfit type="2" looktype="226" enabled="1" name="Frog" premium="1"/&gt;<br />
&lt;outfit type="2" looktype="194" enabled="1" name="Cult" premium="1"/&gt;<br />
&lt;outfit type="2" looktype="253" enabled="1" name="Headsplitter" premium="1"/&gt;<br />
&lt;outfit type="2" looktype="254" enabled="1" name="Skullhunter" premium="1"/&gt;<br />
&lt;outfit type="2" looktype="255" enabled="1" name="Bloodwalker" premium="1"/&gt;<br />
&lt;outfit type="2" looktype="264" enabled="1" name="Brutetamer" premium="1"/&gt;<br />
<br />
estou aguardadando!<br />
<br />
<br />
OBS&gt; queria que me encinassem como eu poderia mudar os ekipamento que come&#231;a no lvl 8 tipow crio o char e vem com plate set quero mudar quero que venha outro set poderia me encinar tbm?]]></description>
		<pubDate>Thu, 11 Mar 2010 01:50:12 +0000</pubDate>
		<guid>http://www.xtibia.com/forum/topic/129373-npc-que-vende-outfit/</guid>
	</item>
	<item>
		<title>Pedido De Magia 8.50</title>
		<link>http://www.xtibia.com/forum/topic/129370-pedido-de-magia-850/</link>
		<description><![CDATA[[8.50] TFS 0.3.4<br />
<br />
Eu queria uma magia que fosse forte de acordo com o level do personagem, sem nenhuma influência de magic level ou skills, já tentei de varias maneiras, mas nunca consegui. Quem puder me ajudar eu agradeço :D]]></description>
		<pubDate>Wed, 10 Mar 2010 23:54:30 +0000</pubDate>
		<guid>http://www.xtibia.com/forum/topic/129370-pedido-de-magia-850/</guid>
	</item>
	<item>
		<title>Moedas Por Sistema Pago</title>
		<link>http://www.xtibia.com/forum/topic/129369-moedas-por-sistema-pago/</link>
		<description><![CDATA[Tipo do Script: Database<br />
Protocolo: 8.54<br />
Servidor Utilizado: Alissow OTs<br />
Nivel de Experiência: Sei o básico no scripting<br />
Adicionais/Informações: É por pagamento bancário<br />
<br />
Oi galera, =D<br />
<br />
Enfim, eu estava criando um ot e pensei em fazer um sistema que fosse o seguinte:<br />
O Jogador paga por moedas do servidor (Heaton Coins - HT) e ganha com elas possibilidade de obter várias coisas no jogo, como:<br />
<br />
Sets exclusivos;<br />
Serviços como mudança de mundo, nome, sexo;<br />
Tempo VIP;<br />
<br />
Enfim... aí está =D]]></description>
		<pubDate>Wed, 10 Mar 2010 23:26:32 +0000</pubDate>
		<guid>http://www.xtibia.com/forum/topic/129369-moedas-por-sistema-pago/</guid>
	</item>
	<item>
		<title>Wand Hitando Por Ml E Lv</title>
		<link>http://www.xtibia.com/forum/topic/129367-wand-hitando-por-ml-e-lv/</link>
		<description><![CDATA[Oi Gente...<br />
 Estou Precisando De Um Script De Weapons Que Faça Por Exemplo... A Cada Lv O Hit Da Wand Aumenta +1 Ou Por Ml... A Cada Ml O Hit Da Wand/Rod Aumenta +1<br />
Exemplo:<br />
Snakebite Rod: Player Lv 8  Hit: 20<br />
Snakebite Rod: Player Lv 50 Hit: 70<br />
<br />
Agradecido ;]]]></description>
		<pubDate>Wed, 10 Mar 2010 22:43:29 +0000</pubDate>
		<guid>http://www.xtibia.com/forum/topic/129367-wand-hitando-por-ml-e-lv/</guid>
	</item>
	<item>
		<title>Pedido - Ring Of Healing (Roh) 7.6</title>
		<link>http://www.xtibia.com/forum/topic/129360-pedido-ring-of-healing-roh-76/</link>
		<description><![CDATA[<strong class='bbc'>Seguinte, eu to querendo uma ajuda, n sei se isso eh um script ou eh pelo items.xml mesmo, mas quero que vcs me ajudem ou me orientem!<br />
<br />
O que eu to querendo eh criar um roh, eu sei deixar ele infinito, soh ir em items.xml e coloca lah Time 99999999999, eu quero criar um com o nome do player, exemplo: Ring of Healing do Pringles!<br />
<br />
Tem ots 7.6 que tem esse sistema, eh o hams e o salgado, n sei se vcs conhe&#231;em, eles usam esse neg&#243;cio ae do roh com nome do player, ai quando o player querer passar o roh pra outro char ele nao vai conseguir, pq o roh vai buga e vai fica brilhando no chao! <br />
<br />
Quero uma ajudinha sobre isso, como edito meu ring of healing ? Pretendo fazer um sistema de doa&#231;&#227;o pro meu ot e coloca ROH infinito pra vender, aqueles que comprar vao ter ele na sua acc, sendo que nao pode tirar ele do dedo pq se nao ele buga, please ajuda ae galera!<br />
<br />
Num sei se eh script ou pelo items.xml ou sla, help me please =/<br />
<br />
Espero respostas! e de pre&#231;a :D</strong>]]></description>
		<pubDate>Wed, 10 Mar 2010 19:38:21 +0000</pubDate>
		<guid>http://www.xtibia.com/forum/topic/129360-pedido-ring-of-healing-roh-76/</guid>
	</item>
	<item>
		<title><![CDATA[Bug Quando O Player Morre!  O_O']]></title>
		<link>http://www.xtibia.com/forum/topic/129359-bug-quando-o-player-morre-o-o/</link>
		<description><![CDATA[Bem, o nome do topic ja diz, quando o player morre da um bug no console, esse &#233; o bug que aparece:<br />
<img src='http://img519.imageshack.us/img519/2194/otbug.jpg' alt='Imagem' class='bbc_img' /><br />
<br />
:/<br />
<br />
Oque acontece &#233; o seguinte:<br />
Quando o player morre, seu corpo NAO APARECE NO CHAO, e o player NAO PERDE LOOT...<br />
Por&#233;m perde lvl e skills...<br />
<br />
SCRIPT: <strong class='bbc'> PLAYERDEATH.LUA  </strong>DA PASTA  CREATURESCRIPTS:<br />
<p class='citation'>Quote</p><div class="blockquote"><div class='quote'><em class='bbc'>local config = {<br />
	deathListEnabled = getBooleanFromString(getConfigInfo('deathListEnabled')),<br />
	sqlType = getConfigInfo('sqlType'),<br />
	maxDeathRecords = getConfigInfo('maxDeathRecords')<br />
}<br />
<br />
config.sqlType = config.sqlType == "sqlite" and DATABASE_ENGINE_SQLITE or DATABASE_ENGINE_MYSQL<br />
<br />
function onDeath(cid, corpse, lastHitKiller, mostDamageKiller)<br />
	if(config.deathListEnabled ~= TRUE) then<br />
		return<br />
	end<br />
<br />
	local hitKillerName = "field item"<br />
	local damageKillerName = ""<br />
	if(lastHitKiller ~= FALSE) then<br />
		if(isPlayer(lastHitKiller) == TRUE) then<br />
			hitKillerName = getPlayerGUID(lastHitKiller)<br />
		else<br />
			hitKillerName = getCreatureName(lastHitKiller)<br />
		end<br />
<br />
		if(mostDamageKiller ~= FALSE and mostDamageKiller ~= lastHitKiller and getCreatureName(mostDamageKiller) ~= getCreatureName(lastHitKiller)) then<br />
			if(isPlayer(mostDamageKiller) == TRUE) then<br />
				damageKillerName = getPlayerGUID(mostDamageKiller)<br />
			else<br />
				damageKillerName = getCreatureName(mostDamageKiller)<br />
			end<br />
		end<br />
	end<br />
<br />
	db.executeQuery("INSERT INTO `player_deaths` (`player_id`, `time`, `level`, `killed_by`, `altkilled_by`) VALUES (" .. getPlayerGUID(cid) .. ", " .. os.time() .. ", " .. getPlayerLevel(cid) .. ", " .. db.escapeString(hitKillerName) .. ", " .. db.escapeString(damageKillerName) .. ");")<br />
	local rows = db.getResult("SELECT `player_id` FROM `player_deaths` WHERE `player_id` = " .. getPlayerGUID(cid) .. ";")<br />
	if(rows:getID() ~= -1) then<br />
		local amount = rows:getRows(true) - config.maxDeathRecords<br />
		if(amount &gt; 0) then<br />
			if(config.sqlType == DATABASE_ENGINE_SQLITE) then<br />
				for i = 1, amount do<br />
					db.executeQuery("DELETE FROM `player_deaths` WHERE `rowid` = (SELECT `rowid` FROM `player_deaths` WHERE `player_id` = " .. getPlayerGUID(cid) .. " ORDER BY `time` LIMIT 1);")<br />
				end<br />
			else<br />
				db.executeQuery("DELETE FROM `player_deaths` WHERE `player_id` = " .. getPlayerGUID(cid) .. " ORDER BY `time` LIMIT " .. amount .. ";")<br />
			end<br />
		end<br />
	end<br />
end</em></div></div><br />
<br />
OT SERVER  VERS&#195;O  8.54  !!!!!       :3<br />
&#232; isso...<br />
Acho que postei na se&#231;ao errada mais aki foi o lugar que mais me pareceu correto...<br />
<br />
Se alguem puder me ajudar ficarei muito grato,  thanks<br />
<br />
 (sorry por estragar o layout)]]></description>
		<pubDate>Wed, 10 Mar 2010 19:20:42 +0000</pubDate>
		<guid>http://www.xtibia.com/forum/topic/129359-bug-quando-o-player-morre-o-o/</guid>
	</item>
	<item>
		<title>Master Tibia</title>
		<link>http://www.xtibia.com/forum/topic/129358-master-tibia/</link>
		<description><![CDATA[A equipe da master estara liberando um TS nessa sexta feira para testar os novos sistemas, mais informações no site:<br />
<a href='http://www.tibiamaster.webs.com' class='bbc_url' title='Link externo' rel='nofollow'>www.tibiamaster.webs.com</a><br />
<br />
Comentem e podem criticar ou elogiar, o serve ainda esta em faze de teste portanto ainda tem algumas coisas para melhorar.]]></description>
		<pubDate>Wed, 10 Mar 2010 19:15:21 +0000</pubDate>
		<guid>http://www.xtibia.com/forum/topic/129358-master-tibia/</guid>
	</item>
	<item>
		<title>Fly System</title>
		<link>http://www.xtibia.com/forum/topic/129352-fly-system/</link>
		<description>Ola pessoal vcs ja conheçem o fly system entao eu queri auma pequena midificaçao pois ele quando vc fla !back ele volta ao temple eu queria que ele voltasse no tile de baixo vlww!</description>
		<pubDate>Wed, 10 Mar 2010 14:41:34 +0000</pubDate>
		<guid>http://www.xtibia.com/forum/topic/129352-fly-system/</guid>
	</item>
	<item>
		<title>Anti Kick</title>
		<link>http://www.xtibia.com/forum/topic/129350-anti-kick/</link>
		<description><![CDATA[<strong class='bbc'><br />
Oi<br />
Alguem tem um sistema anti exit no servidor?<br />
<br />
ou se nao como eu boto pro player ser kikado a cada 10 minutos se nao se mecher?<br />
<br />
script é esse :<br />
<br />
<p class='citation'>Quote</p><div class="blockquote"><div class='quote'>-- Limits<br />
	idleWarningTime = 14 * 60 * 1000<br />
	idleKickTime = 1000 * 1000 * 10000</div></div><br />
<br />
<br />
obrigado<br />
</strong>]]></description>
		<pubDate>Wed, 10 Mar 2010 14:15:24 +0000</pubDate>
		<guid>http://www.xtibia.com/forum/topic/129350-anti-kick/</guid>
	</item>
	<item>
		<title>Ajudinha Por Favor</title>
		<link>http://www.xtibia.com/forum/topic/129349-ajudinha-por-favor/</link>
		<description><![CDATA[<span style='font-family: Palatino Linotype'>Eaw pessoal sei que aki e os pedidos de scrpts mais eu n axo uma pessoa que pode me responder isso mais por favor se alguem souber post aki entaum vamus lá:<br />
Tipo pessoal eu quero adicionar novas sprites que eu fiz no meu server eu faço tudo direito com o spite editor "extract" ai eu edit ai "complie" mais quando eu ligo meu server fika varios burracos pretos no chao e em outros lugares se alguem souber pke eu estou usando a versao de tibia 8.5 se for menos por favor me fla e pra n retirarem esse post vou pedir um script neah:<br />
<br />
<br />
entaum pessoal vcs conheçem aquele script que transforma em animal entaum eu queria um da quele mais como se fosse umam magia que n tivesse volta como se fosse uma tranformaçao e tivesse que ser de uma certa vocaçao vlww<br />
<br />
<br />
Godxx</span>]]></description>
		<pubDate>Wed, 10 Mar 2010 13:58:02 +0000</pubDate>
		<guid>http://www.xtibia.com/forum/topic/129349-ajudinha-por-favor/</guid>
	</item>
	<item>
		<title>/addskill</title>
		<link>http://www.xtibia.com/forum/topic/129348-addskill/</link>
		<description><![CDATA[Bom eu vendo skill no server, e o magic level vai ate 150 e alguma coisa com o comando, dai eu edito pelo sqlite, mais a skill vai ate 202 com o comando addskill e eu quero vender skill ate 350 e nao sei achar no sqlite para editar.<br />
<br />
Alguma sugestão?]]></description>
		<pubDate>Wed, 10 Mar 2010 11:33:30 +0000</pubDate>
		<guid>http://www.xtibia.com/forum/topic/129348-addskill/</guid>
	</item>
	<item>
		<title><![CDATA[[Actions Duvida] Lv Door Bugada]]></title>
		<link>http://www.xtibia.com/forum/topic/129347-actions-duvida-lv-door-bugada/</link>
		<description><![CDATA[Ola, eu baixei o misturacao global 8.54 e vi que tem esse bug no lvdoor<br />
<br />
ja verefiquei se tinha esta linha na door.lua<br />
<br />
if(getItemLevelDoor(item.itemid) &gt; 0) then<br />
if(item.actionid &gt; 0 and getPlayerLevel(cid) &gt;= (item.actionid - getItemLevelDoor(item.itemid))) then<br />
doTransformItem(item.uid, item.itemid + 1)<br />
doTeleportThing(cid, toPosition, TRUE)<br />
else<br />
doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "Only the worthy may pass.")<br />
end<br />
<br />
return TRUE<br />
end<br />
<br />
a action id da porta(gate of expertise) ta 1050<br />
<br />
alguem da uma ajuda?]]></description>
		<pubDate>Wed, 10 Mar 2010 10:11:34 +0000</pubDate>
		<guid>http://www.xtibia.com/forum/topic/129347-actions-duvida-lv-door-bugada/</guid>
	</item>
	<item>
		<title>Anti Magebomb</title>
		<link>http://www.xtibia.com/forum/topic/129340-anti-magebomb/</link>
		<description><![CDATA[Queria saber se alguem pode fazer um anti magebomb tipo igual aquele anti mc dos ot de war mas que n kicke os player e s bloqueie a entrada... tipo se for max 5 char o cara tenta loga 10 ai ele vai bloquear esses 5 que rest&#227;o mas sem interferir nos outros 5 tendeu/?]]></description>
		<pubDate>Wed, 10 Mar 2010 02:44:43 +0000</pubDate>
		<guid>http://www.xtibia.com/forum/topic/129340-anti-magebomb/</guid>
	</item>
	<item>
		<title>Scripts Importantes..</title>
		<link>http://www.xtibia.com/forum/topic/129339-scripts-importantes/</link>
		<description><![CDATA[<strong class='bbc'>Olá Galera..<br />
Eu preciso de 4 scripts que falta no meu ot..sao muito importante para mim ..<br />
<br />
<span style='color: #FF0000'>O Primeiro Eh O Seguinte : Eu Uso O Sistema De Reset Do Marcryzius .. Queria Um Script De Uma Door(Porta) Que So Passa Com A Quantidade De Resets Que Eu Escolher..Exemplo Uma Porta Que Soh Passe Com 5 Resets..<br />
<br />
O Segundo Script Eh : Um NPC Que Libera A Entrada De Uma Porta..Estilo A Da Inquisition..Mas Eu Nao Consegui Copiar A Da Inquisition Pra Dar Certo..Tipo Um NPC Q Da O Storage Pro Player Pra Abrir A Porta..<br />
<br />
O Terceiro Eh : Um Script Que Pra Viajar Nos NPCS De Barco Precise De 1 Ticket ( ID : 1954 ), Estilo O Sistema Do Pbot..Quando Voce Clica Com O Botao Direito Nele Aparece A Cidade Que O Ticket Serve Pra Viajar..<br />
<br />
E O Ultimo Script Eh Uma Talkaction Que Voce Digite . !roe E Compra Um Ring Of Experience ( id 6300 ) Com Uma Moeda Diferente E Que Venha Com A Seguinte Description : Este item pertence ao Tal Player.</span><br />
<br />
Vlw Galera..<br />
Quem Me Ajudar Eu Fico Grato..</strong>]]></description>
		<pubDate>Wed, 10 Mar 2010 02:37:13 +0000</pubDate>
		<guid>http://www.xtibia.com/forum/topic/129339-scripts-importantes/</guid>
	</item>
	<item>
		<title>Desbloquear Portas (Dlink 500B)</title>
		<link>http://www.xtibia.com/forum/topic/129338-desbloquear-portas-dlink-500b/</link>
		<description><![CDATA[<object type="application/x-shockwave-flash" height="355" width="425" data="http://www.youtube.com/v/0DSwSxbzc_k"><param name="movie" value="http://www.youtube.com/v/0DSwSxbzc_k"><param name="allowScriptAccess" value="sameDomain"><param name="quality" value="best"><param name="bgcolor" value="#FFFFFF"><param name="scale" value="noScale"><param name="salign" value="TL"><param name="FlashVars" value="playerMode=embedded" /><param name="wmode" value="transparent"/></object><br />
<br />
Modem 500B. O processo no 500G II é parecido.<br />
<br />
Tutorial:<br />
1) No seu navegador (ex: Firefox), entre com o IP padrão 10.1.1.1 (se o seu for diferente você deve saber), e você verá várias opções na coluna esquerda.<br />
2) Abra a opção Advanced Setup.<br />
3) Clique em NAT e então na opção Virtual Servers.<br />
4) Clique em Add.<br />
5) Selecione Custom Server, e ponha o IP (ver abaixo). Na opção External Port Start ponha 7171; na opção External Port End ponha 7174. Selecione Protocol TCP/UDP.<br />
6) Clique em Save/Apply. Repita o processo se quiser abrir as portas 8090 (website).<br />
7) Na coluna da esquerda, clique em Management, e então em Save/Reboot<br />
8) Clique no botão Save/Reboot e espere 2 minutos para acessar a internet novamente.<br />
<br />
Obter IP em Windows XP<br />
1) Clique em Iniciar ou Start, e então em Executar ou Run.<br />
2) Digite cmd e aperte enter.<br />
3) No prompt de comando, digite ipconfig /all e procure seu adaptador de rede de conexão local/wi-fi.<br />
O endereço de abrir portas é o que aparece em "Endereço IPv4" ou "IPv4 Address".<br />
<br />
Obter IP em Windows Vista/Seven<br />
1) Clique em Iniciar ou Start, e então na busca digite "C:&#092;WINDOWS&#092;system32&#092;cmd.exe" e clique no arquivo encontrado.<br />
2) No prompt de comando, digite ipconfig /all e procure seu adaptador de rede de conexão local/wi-fi.<br />
O endereço de abrir portas é o que aparece em "Endereço IPv4" ou "IPv4 Address".<br />
<br />
CONTEÚDO EXCLUSIVO]]></description>
		<pubDate>Wed, 10 Mar 2010 01:48:31 +0000</pubDate>
		<guid>http://www.xtibia.com/forum/topic/129338-desbloquear-portas-dlink-500b/</guid>
	</item>
	<item>
		<title>Erro Rme Mapa Fica Preto!</title>
		<link>http://www.xtibia.com/forum/topic/129335-erro-rme-mapa-fica-preto/</link>
		<description><![CDATA[Olá , queri que alguem me ajuda-se nesse problema,<br />
Tenho varios Otservs aqui mapas e tudo,<br />
Baixei o rme 1.1.10 e fui editar no mapa do Alissow 3.9 o mais novo, umas besteirnhas!<br />
abri o rme pediu a pasta do tibia botei blz,<br />
quando abro o mapa, Fica tudo preto, no minimap aparece tudo certo e tal, mais no mapa nada ja procurei tudo ja dei goto nos itens e nada ocorre!<br />
depois baixei o rme 1.1.11 e o mesmo erro ocorreu, peço ajuda de vocês ae quem souber desse problema me ajude  =/<br />
preciso editar um server urgente ;s<br />
ai o print <img src='http://www.xtibia.com/forum/public/style_emoticons/default/unsure.gif' class='bbc_emoticon' alt=':unsure:' /><div id='attach_wrap' class='rounded clearfix'>
	<h4></h4>
	<ul>
		
			<li class=''>
				<a class='resized_img' rel='lightbox[852252]' id='ipb-attach-url-4318-1268363080,33' href="http://www.xtibia.com/forum/index.php?app=core&module=attach&section=attach&attach_rel_module=post&attach_id=4318" title="cdf.jpg -  58,14K,  1"><img src="http://www.xtibia.com/forum/uploads/post-91630-126818141907_thumb.jpg" id='ipb-attach-img-4318-1268363080,33' style='width:300;height:210' class='attach' width="300" height="210" alt="" /></a>
			</li>
		
	</ul>
</div>]]></description>
		<pubDate>Wed, 10 Mar 2010 00:37:31 +0000</pubDate>
		<guid>http://www.xtibia.com/forum/topic/129335-erro-rme-mapa-fica-preto/</guid>
	</item>
	<item>
		<title>Duvida Vip System</title>
		<link>http://www.xtibia.com/forum/topic/129333-duvida-vip-system/</link>
		<description><![CDATA[Oque faço aki ?<br />
doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "Somente jogadores com acesso maior que "..access.." podem adcionar vips.") <br />
<br />
-- configs<br />
templepos = {x=200,y=200,z=7}<br />
cityid = 1<br />
-- end configs<br />
<br />
function onLogin(cid)<br />
timenow = os.time()<br />
viptime = getPlayerStorageValue(cid,29000)<br />
quantity = math.floor((getPlayerStorageValue(cid,29000) - timenow)/(3600*24))<br />
if quantity &lt;= 0 and viptime &gt; 0 then<br />
setPlayerStorageValue(cid,29000,0)<br />
doTeleportThing(cid,templepos)<br />
-- setPlayerTown (estou sem minha listinha de functions para ver qual function que é para colocar townid), você pode colocar aqui se quiser<br />
end<br />
return TRUE<br />
end<br />
<br />
minha maior duvida e ai ,oque poe em setplayertown ?<br />
<br />
caso queira ver o topico <a href='http://www.xtibia.com/forum/topic/100858-perfect-vip-system/' class='bbc_url' title='Link externo' rel='nofollow'>http://www.xtibia.com/forum/topic/100858-perfect-vip-system/</a>]]></description>
		<pubDate>Tue, 09 Mar 2010 23:34:56 +0000</pubDate>
		<guid>http://www.xtibia.com/forum/topic/129333-duvida-vip-system/</guid>
	</item>
	<item>
		<title>Pedidos</title>
		<link>http://www.xtibia.com/forum/topic/129332-pedidos/</link>
		<description><![CDATA[Ola Xtibianos estou aqui mas uma ves para fazer um pedido... <br />
Vamos La<br />
1- Wand Com <span style='color: #FF0000'>attackSpeed</span><br />
Uma Wand Que Hitase 3 a 4 attack's por segundo<br />
e possivel<br />
se e possivel eu kero uma ajudinha com isso...<br />
<br />
2- Upgrade Token que almenta o dano de attack na wand como um exemplo<br />
o Upgrade e usado e ele almenta o dano da wand em +5% e das armas de melee attack's Tambem<br />
<br />
3- o promotion quando acaba ele fica no char sem o char ter premium account <br />
e Possivel Remover esse Bug sem dadificar o Otsever?<br />
<br />
4- quando clicase no item tal<br />
adicionase uma especial descrisao como um exemplo<br />
It Belongs (Nome do player)<br />
mas com um stroage valure que so podese fazer 1 ves por player<br />
<br />
<br />
<br />
Boom espero que me ajudem quem sabe um dia voces presisem e eu estarei onlie<br />
para ajudar em seu pedido]]></description>
		<pubDate>Tue, 09 Mar 2010 23:28:31 +0000</pubDate>
		<guid>http://www.xtibia.com/forum/topic/129332-pedidos/</guid>
	</item>
	<item>
		<title>Pedido De Status De Area</title>
		<link>http://www.xtibia.com/forum/topic/129331-pedido-de-status-de-area/</link>
		<description><![CDATA[Eai galera, queria fazer pedido de um script assim:<br />
<br />
Uma certa área do mapa que em um determinado horario do dia virasse protect zone e após 5 min ela voltasse ao status normal.<br />
<br />
A parte de mexer com os horarios eu sei fazer, porem não sei o comando que muda uma certa área para protect zone.<br />
<br />
Para melhor ilustrar, imgina a area 150,150,7/180,180,7. Ela é uma área normal, porem as 13h ela por 5 minutos virasse protect zone, passando os 5 minutos essa área voltaria a ser normal<br />
<br />
Caso alguem possa me ajudar ... eu agradeço muito.]]></description>
		<pubDate>Tue, 09 Mar 2010 22:52:30 +0000</pubDate>
		<guid>http://www.xtibia.com/forum/topic/129331-pedido-de-status-de-area/</guid>
	</item>
	<item>
		<title>Um Favorzin ^^</title>
		<link>http://www.xtibia.com/forum/topic/129330-um-favorzin/</link>
		<description><![CDATA[Alguem poderia fazer um tuto de como criar meu Tibia e de preferencia com tudo pra jogar offline, manda links q &#241; estejam "quebrados" ou inv&#225;lidos. Manda os links doque &#233; preciso pra criar um tibia offline, pe&#231;o a&#237; com muita vontade !<br />
<br />
Obrigado a quem colocou um tutorial ou um coment&#225;rio !<br />
<br />
Ah, e obrigado por ler o t&#243;pico ! ^^]]></description>
		<pubDate>Tue, 09 Mar 2010 22:43:10 +0000</pubDate>
		<guid>http://www.xtibia.com/forum/topic/129330-um-favorzin/</guid>
	</item>
	<item>
		<title>Preciso Desses Scripts</title>
		<link>http://www.xtibia.com/forum/topic/129321-preciso-desses-scripts/</link>
		<description><![CDATA[______________________________________________<br />
*Tipo do script: Vários. (Quest, Magia)<br />
*Protocolo (versão do Tibia): 8.5<br />
*Servidor utilizado: Alissow Ots 3.6<br />
*Nível de experiência: Em scripts quase nada.<br />
______________________________________________<br />
<br />
Primeiro:<br />
Uma quest, ela dará uma nova vocação, ao clicar no baú. A quest tambem precisa liberar uma porta para o player, com a nova vocation entrar. Ou simplesmente o script de uma porta para o player entrar com a nova vocação, dai você escolhe qual é o mais facil<br />
<br />
Segundo:<br />
Uma magia que gasta 'x' de mana e 'x' de soul, então a outfit do player muda, e da buff de ml e velocidade. Então, o player fica com battle, tipo quando ataca um player, nao podendo entrar no dp, templo, ou seja, ele não pode entrar em PZ com essa magia, essa magia terá que ter uma duração de 2 minutos.<br />
<br />
Terceiro:<br />
Outra magia para, caso o player precise entrar em pz, voltar o outfit normal, eliminando: os Buffs, de ml e velocidade.<br />
<br />
Quarto:<br />
Já vi aqui no forum, mas, procurei e não achei, creio eu que seja o mais simples daqui, um piso que quando o player pisa muda a outfit dele ... =D<br />
<br />
Acho que são esses, :P, valeu ae galera do xtibia, um dia irei retribuir todos os scripts que vocês fazem para mim =D<br />
<br />
Obrigado]]></description>
		<pubDate>Tue, 09 Mar 2010 21:11:51 +0000</pubDate>
		<guid>http://www.xtibia.com/forum/topic/129321-preciso-desses-scripts/</guid>
	</item>
	<item>
		<title>Sobre Empresas Hoster</title>
		<link>http://www.xtibia.com/forum/topic/129318-sobre-empresas-hoster/</link>
		<description><![CDATA[<strong class='bbc'><br />
Oi eu queria saber se alguem sabe de empresas especializades em Hostiar servidores...<br />
ai que é pago anualmente e tal...<br />
<br />
se alguem souber pof favor me avisar!<br />
obrigado,</strong>]]></description>
		<pubDate>Tue, 09 Mar 2010 20:11:07 +0000</pubDate>
		<guid>http://www.xtibia.com/forum/topic/129318-sobre-empresas-hoster/</guid>
	</item>
	<item>
		<title><![CDATA[[Fatal]Erro No Mapa]]></title>
		<link>http://www.xtibia.com/forum/topic/129317-fatalerro-no-mapa/</link>
		<description><![CDATA[Eu estava editando um mapa com o rme 1.1.10, ai quando fiz a atualização para a 1.1.11, ele salvou meu mapa como nova versão, gerando um fatal no executável do ot, alguma solução? ,-,'<br />
<br />
<br />
Grato]]></description>
		<pubDate>Tue, 09 Mar 2010 20:05:14 +0000</pubDate>
		<guid>http://www.xtibia.com/forum/topic/129317-fatalerro-no-mapa/</guid>
	</item>
	<item>
		<title>Npc De Barco</title>
		<link>http://www.xtibia.com/forum/topic/129310-npc-de-barco/</link>
		<description><![CDATA[<p class='citation'>Quote</p><div class="blockquote"><div class='quote'>Tipo do script: NPC<br />
Protocolo (versão do Tibia): 8.50<br />
Servidor utilizado: TFS<br />
Nível de experiência: 2 Anos com OT.</div></div><br />
<br />
Adicionais/Informações: Quero um NPC que teleport pra tal Lugar, por tanto de Dinheiro e somente Premium Accounts, Configuravel, E me ensine a configurar o lugar que o NPC vai mandar o player, Quinem os Barcos do Global.]]></description>
		<pubDate>Tue, 09 Mar 2010 17:47:07 +0000</pubDate>
		<guid>http://www.xtibia.com/forum/topic/129310-npc-de-barco/</guid>
	</item>
	<item>
		<title>Problema No Step 2</title>
		<link>http://www.xtibia.com/forum/topic/129308-problema-no-step-2/</link>
		<description><![CDATA[Ao instalar o Gesior ACC, no STEP 2, aparece o seguinte erro:<br />
<br />
<p class='citation'>Quote</p><div class="blockquote"><div class='quote'>STEP 2<br />
Check database connection<br />
If you don't see any errors press link to STEP 3 - Add tables and columns to DB. If you see some errors it mean server has wrong configuration. Check FAQ or ask author of acc. maker.<br />
Parse error: syntax error, unexpected ';', expecting T_FUNCTION in C:&#092;xampp&#092;htdocs&#092;pot&#092;OTS_DB_SQLite.php on line 67</div></div><br />
<br />
Aparentemente o problema está no OTS_DB_SQLite.php, que é este sujeito aqui:<br />
<br />
<p class='citation'>Quote</p><div class="blockquote"><div class='quote'>&lt;?php<br />
<br />
/**#@+<br />
* @version 0.0.1<br />
*/<br />
<br />
/**<br />
* @package POT<br />
* @version 0.1.3<br />
* @author Wrzasq &lt;wrzasq@gmail.com&gt;<br />
* @copyright 2007 &copy; by Wrzasq<br />
* @license <a href='http://www.gnu.org/licenses/lgpl-3.0.txt' class='bbc_url' title='Link externo' rel='nofollow'>http://www.gnu.org/licenses/lgpl-3.0.txt</a> GNU Lesser General Public License, Version 3<br />
*/<br />
<br />
/**<br />
* SQLite connection interface.<br />
*<br />
* &lt;p&gt;<br />
* At all everything that you really need to read from this class documentation is list of parameters for driver's constructor.<br />
* &lt;/p&gt;<br />
*<br />
* @package POT<br />
* @version 0.1.3<br />
*/<br />
class OTS_DB_SQLite extends OTS_Base_DB<br />
{<br />
/**<br />
* Creates database connection.<br />
*<br />
* &lt;p&gt;<br />
* Connects to SQLite database on given arguments.<br />
* &lt;p&gt;<br />
*<br />
* &lt;p&gt;<br />
* List of parameters for this drivers:<br />
* &lt;/p&gt;<br />
*<br />
* &lt;ul&gt;<br />
* &lt;li&gt;&lt;var&gt;database&lt;/var&gt; - database name.&lt;/li&gt;<br />
* &lt;/ul&gt;<br />
*<br />
* @version 0.0.7<br />
* @param array $params Connection parameters.<br />
* @throws PDOException On PDO operation error.<br />
*/<br />
public function __construct($params)<br />
{<br />
if( isset($params['prefix']) )<br />
{<br />
$this-&gt;prefix = $params['prefix'];<br />
}<br />
<br />
// PDO constructor<br />
try<br />
{<br />
parent::__construct('sqlite:' . $params['database']);<br />
}<br />
catch(PDOException $error)<br />
{<br />
echo 'Can&#092;'t connect to SQLite database.&lt;/font&gt;';<br />
exit;<br />
}<br />
<br />
}<br />
<br />
/**#@-*/<br />
<br />
?&gt;</div></div><br />
<br />
Agradeceria qualquer ajuda, pois esse problema tabém está no STEP 3  <img src='http://www.xtibia.com/forum/public/style_emoticons/default/sleep.gif' class='bbc_emoticon' alt=':sleep:' /> <br />
Obrigado, abraços.]]></description>
		<pubDate>Tue, 09 Mar 2010 16:32:59 +0000</pubDate>
		<guid>http://www.xtibia.com/forum/topic/129308-problema-no-step-2/</guid>
	</item>
	<item>
		<title><![CDATA[[Resolvido] Anihilator Causa Bug No Distro.]]></title>
		<link>http://www.xtibia.com/forum/topic/129305-resolvido-anihilator-causa-bug-no-distro/</link>
		<description><![CDATA[<span style='font-size: 17px;'>Ol&#225; pessoal!<br />
<br />
Gostaria de saber se algu&#233;m pode me explicar o que tem de errado no script dsa anihilator que eu tenho no meu ot...<br />
Cada vez que o ot inicia eu recebo uma msg de erro dizendo que o script da anihilator est&#225; errado.<br />
<br />
A msg de erro &#233; esta:</span><br />
<span style='font-size: 13px;'><br />
<p class='citation'>Quote</p><div class="blockquote"><div class='quote'>[09/03/2010 12:12:16] [Error - LuaScriptInterface::loadFile] data/actions/scripts/quests/annihilator.lua:4: '}' expected (to close '{' at line 1) near 'entry'<br />
[09/03/2010 12:12:16] [Warning - Event::loadScript] Cannot load script (data/actions/scripts/quests/annihilator.lua)<br />
[09/03/2010 12:12:16] data/actions/scripts/quests/annihilator.lua:4: '}' expected (to close '{' at line 1) near 'entry'</div></div></span><br />
<br />
<span style='font-size: 17px;'>E o script que provavelmente est&#225; gerando este erro &#233; esse:</span><br />
<span style='font-size: 13px;'><p class='citation'>Quote</p><div class="blockquote"><div class='quote'>local config = {	daily = "no", -- allow only one enter per day? (like in global Tibia)<br />
			level = 100,<br />
			storage = 30015<br />
			entry =	{{x = 247, y = 659, z = 13}, {x = 247, y = 660, z = 13}, {x = 247, y = 661, z = 13}, {x = 247, y = 662, z = 13}},<br />
			destination ={{x = 189, y = 650, z = 13}, {x = 189, y = 651, z = 13}, {x = 189, y = 652, z = 13}, {x = 189, y = 653, z = 13}}<br />
<br />
config.daily = getBooleanFromString(config.daily)<br />
function onUse(cid, item, fromPosition, itemEx, toPosition)<br />
	if(item.itemid == 1946) then<br />
		if(config.daily) then<br />
			doPlayerSendDefaultCancel(cid, RETURNVALUE_NOTPOSSIBLE)<br />
		else<br />
			doTransformItem(item.uid, item.itemid - 1)<br />
		end<br />
<br />
		return true<br />
	end<br />
<br />
	if(item.itemid ~= 1945) then<br />
		return true<br />
	end<br />
<br />
	local players = {}<br />
	for _, position in ipairs(config.entry) do<br />
		local pid = getTopCreature(position).uid<br />
		if(pid == 0 or not isPlayer(pid) or getCreatureStorage(pid, config.storage) &gt; 0 or getPlayerLevel(pid) &lt; config.level) then<br />
			doPlayerSendDefaultCancel(cid, RETURNVALUE_NOTPOSSIBLE)<br />
			return true<br />
		end<br />
<br />
		table.insert(players, pid)<br />
	end<br />
<br />
	for i, pid in ipairs(players) do<br />
		doSendMagicEffect(config.entry[i], CONST_ME_POFF)<br />
		doTeleportThing(pid, config.destination[i], false)<br />
		doSendMagicEffect(config.destination[i], CONST_ME_ENERGYAREA)<br />
	end<br />
<br />
	doTransformItem(item.uid, item.itemid + 1)<br />
<br />
	return true<br />
end</div></div></span><br />
<span style='font-size: 17px;'><br />
Tentei algumas modifica&#231;&#245;es no script, mas n&#227;o surgiu efeito, o erro continua.<br />
O distro que to usando &#233; TFS 0.3.6.<br />
<br />
Algu&#233;m consegue corrigir esse script, ou ao menos, me explicar como posso corrigir o bug?<br />
<br />
Grato,</span>]]></description>
		<pubDate>Tue, 09 Mar 2010 15:40:16 +0000</pubDate>
		<guid>http://www.xtibia.com/forum/topic/129305-resolvido-anihilator-causa-bug-no-distro/</guid>
	</item>
	<item>
		<title>Preciso De Script Urgente</title>
		<link>http://www.xtibia.com/forum/topic/129303-preciso-de-script-urgente/</link>
		<description><![CDATA[eaew povo do xtibia xD<br />
<br />
po procurei i procurei um script de promotion com epic funfando mais não<br />
axei se alguem puder posta um scripe aew com promotion normal i epic <br />
tipo npc q vende as duas xD<br />
<br />
<br />
io script da vocation com o epic cara se alguem puder ajuda aew <br />
porfavor preciso pra ontem uAUSuahus... valeo]]></description>
		<pubDate>Tue, 09 Mar 2010 13:36:12 +0000</pubDate>
		<guid>http://www.xtibia.com/forum/topic/129303-preciso-de-script-urgente/</guid>
	</item>
	<item>
		<title>Piso Com Msg</title>
		<link>http://www.xtibia.com/forum/topic/129301-piso-com-msg/</link>
		<description><![CDATA[Abra o moveenvets/scripts   copie  1 arquivo la renomei para pisomsg e coloke isso<br />
<br />
function onStepIn(cid, item, pos)<br />
<br />
if isPlayer(cid) then<br />
<br />
if item.actionid == 6001 then<br />
<br />
	local str = "OLa voce entrou na area vip. Para mais informacoes fala !vipinfo."<br />
	doPlayerPopupFYI(cid, str)<br />
	return FALSE<br />
end<br />
<br />
e dps<br />
no movevents<br />
<br />
&lt;movevent event="StepIn" actionid="6001" script="pisomsg.lua" /&gt;]]></description>
		<pubDate>Tue, 09 Mar 2010 05:14:55 +0000</pubDate>
		<guid>http://www.xtibia.com/forum/topic/129301-piso-com-msg/</guid>
	</item>
	<item>
		<title>Config De Npcs</title>
		<link>http://www.xtibia.com/forum/topic/129300-config-de-npcs/</link>
		<description><![CDATA[ajuda aki plz<br />
<br />
criei uma cit vip no map editor mas n sei config pro npc vend eos itens q eu quero ajuda ai plz<br />
o nome do npc é "Yalahar 2" e os itens q eu quero q ele vende é <br />
Demonwing Axe 8926<br />
emerald sword 8930<br />
Obsidian Truncheon 8928<br />
Arbalest 5803<br />
Enchanted Spear 7367<br />
Assassin Star 7368<br />
arcane staff 2453<br />
glacier shoes 7892<br />
glacier kilt 7896<br />
glacier robe 7897<br />
Glacier Mask 7902<br />
nightmareshild 6391<br />
winged helmet 2474<br />
dwarven armor 2503<br />
dwarven legs 2504<br />
firewalker boots 9933<br />
infernal bolt 6529<br />
<br />
otserv 8.5<br />
<br />
se alquem me ajdua eu agradeso mt!!!!!!!!!!!!!!!!!]]></description>
		<pubDate>Tue, 09 Mar 2010 03:32:41 +0000</pubDate>
		<guid>http://www.xtibia.com/forum/topic/129300-config-de-npcs/</guid>
	</item>
	<item>
		<title>Bug Em Script De Transformação</title>
		<link>http://www.xtibia.com/forum/topic/129296-bug-em-script-de-transformacao/</link>
		<description><![CDATA[Bom galera , eu fiz um simples ring de transforma&#231;&#227;o que troca a looktype e adiciona uns skills...<br />
bom , o script que eu fiz t&#225; assim:<br />
Elee est&#225; na pasta movement/script...<br />
<pre class='prettyprint'>function onEquip(cid, item, slot)
         for s = 1, table.maxn(spellsName) do
             doPlayerLearnInstantSpell(cid, spellsName&#91;s&#93;)
             doSetCreatureOutfit(cid, {lookType = 8, lookHead = 0, lookBody = 0, lookLegs = 0, lookFeet = 0}, -1)
             return TRUE
             end
         
function onDeEquip(cid, item, slot)
         for s = 1, table.maxn(spellsName) do
             doPlayerUnlearnInstantSpell(cid, spellsName&#91;s&#93;)
         if getCreatureCondition(cid, CONDITION_OUTFIT) then
            doRemoveCondition(cid, CONDITION_OUTFIT)
            else
            return 0
            end
            end
            end
            return TRUE
            end</pre><br />
<br />
no movements.xml eu adicionei<br />
<pre class='prettyprint'>	&lt;movevent type="Equip" itemid="2208" slot="ring" event="script" value="orcbeserk.lua"/&gt;
	&lt;movevent type="Equip" itemid="2211" slot="ring" event="script" value="orcbeserk.lua"/&gt;
	&lt;movevent type="DeEquip" itemid="2211" slot="ring" event="script" value="orcbeserk.lua"/&gt;</pre><br />
No caso esse seria o Sword Ring eu tirei o antigo script dele que era assim :<br />
<pre class='prettyprint'>	&lt;movevent type="Equip" itemid="2208" slot="ring" event="function" value="onEquipItem"/&gt;
	&lt;movevent type="Equip" itemid="2211" slot="ring" event="function" value="onEquipItem"/&gt;
	&lt;movevent type="DeEquip" itemid="2211" slot="ring" event="function" value="onDeEquipItem"/&gt;</pre><br />
N&#227;o sei se o erro foi na modifica&#231;&#227;o que eu fiz no movements.xml mais o problema &#233; que o erro que d&#225; no meu OT &#233; esse:<br />
<pre class='prettyprint'>&#91;08/03/2010 21:57:57&#93; &#91;Error - LuaScriptInterface::loadFile&#93; cannot open data/movements/scripts/orcbeserk.lua: No such file or directory
&#91;08/03/2010 21:57:57&#93; &#91;Warning - Event::loadScript&#93; Cannot load script (data/movements/scripts/orcbeserk.lua)
&#91;08/03/2010 21:57:57&#93; cannot open data/movements/scripts/orcbeserk.lua: No such file or directory</pre><br />
se alguem poder me ajudar eu agrade&#231;o desde j&#225; !]]></description>
		<pubDate>Tue, 09 Mar 2010 01:03:15 +0000</pubDate>
		<guid>http://www.xtibia.com/forum/topic/129296-bug-em-script-de-transformacao/</guid>
	</item>
	<item>
		<title>Anti Bot Treiners Bugado</title>
		<link>http://www.xtibia.com/forum/topic/129295-anti-bot-treiners-bugado/</link>
		<description><![CDATA[<strong class='bbc'><br />
oi novamente =Þ<br />
<br />
agora estou com um problema num movements<br />
ou seja no anti bot synten...<br />
<br />
era pra quando o player entra ser sumonado 2 treiners..<br />
<br />
mais da esse erro:<br />
<br />
<img src='http://d.imagehost.org/0858/erro_bot.jpg' alt='Imagem' class='bbc_img' /><br />
<br />
agr a script dela:<br />
<br />
<p class='citation'>Quote</p><div class="blockquote"><div class='quote'>local tile_pos = {x=position.x- 1 , y=position.y, z=position.z}<br />
local trainer_pos = {x = position.x- 1 , y = position.y, z = position.z, stackpos=253}<br />
local crature = "Training monk"<br />
local position = getThingfromPos(trainer_pos)<br />
<br />
function onStepIn(cid, item, toPosition)<br />
        if getCreatureName(position) ~= crature or position.itemid == nil then<br />
                doSummonCreature(creature, trainer_pos)<br />
                doPlayerSendTextMessage(cid, 22, "For you to get another trainer, you have to step on the tile again.")<br />
                doSendMagicEffect(position, 12)<br />
        end<br />
end</div></div><br />
<br />
Alguem pode me da um Help ai?<br />
<br />
Obrigado.</strong>]]></description>
		<pubDate>Tue, 09 Mar 2010 00:53:32 +0000</pubDate>
		<guid>http://www.xtibia.com/forum/topic/129295-anti-bot-treiners-bugado/</guid>
	</item>
</channel>
</rss>