Histórico de Curtidas
-
Ceos recebeu reputação de luizsommer em Bug closingdoors.luaTroque pelo seu closingdoor.lua que esta na pasta (Movements/script).
function onStepOut(cid, item, position, lastPosition) if(getTileInfo(position).creatures > 0) then return true end local newPosition = {x = position.x + 1, y = position.y, z = position.z} local query = doTileQueryAdd(cid, newPosition) if(query == RETURNVALUE_NOTENOUGHROOM) then newPosition.x = newPosition.x - 1 newPosition.y = newPosition.y + 1 query = doTileQueryAdd(cid, newPosition) -- repeat until found end if(query == RETURNVALUE_NOERROR and query == RETURNVALUE_NOTENOUGHROOM) then doRelocate(position, newPosition) end position.stackpos = -1 local i, tileItem, tileCount = 1, {uid = 1}, getTileThingByPos(position) while(tileItem.uid ~= 0 and i < tileCount) do position.stackpos = i tileItem = getTileThingByPos(position) if(tileItem.uid ~= 0 and tileItem.uid ~= item.uid and isMovable(tileItem.uid)) then doRemoveItem(tileItem.uid) else i = i + 1 end end local itemInfo = getItemInfo(item.itemid) doTransformItem(item.uid, itemInfo.transformUseTo) return true end function onStepOut(cid, item, position, lastPosition) local itemInfo = getItemInfo(item.itemid) doTransformItem(item.uid, itemInfo.transformUseTo) return true end -
Ceos recebeu reputação de neykos em Descongelando Ursagrodon (1.0)Bom eu estava passando por um servidor e verifiquei que quase nenhum tem o sistema de descongelar o ursagrodon para tfs 1.0.
Agora em (actions/scripts/chyllfroest) crie um .lua chamado ou substitua com o seu nome: Ursagrodon
function onUse(cid, item, fromPosition, itemEx, toPosition) if(item.itemid == 22719) then if(itemEx.itemid == 22722) and getPlayerStorageValue(cid, 16410) < 1 then doPlayerSendTextMessage(cid, 19, "You managed to melt about half of the ice blook. Quickly now, it's ice cold here and the ice block could freeze over again.") doTransformItem(getTileItemById(toPosition,22722).uid,22723) setPlayerStorageValue(cid, 16410, 1) elseif (itemEx.itemid == 22722) and getPlayerStorageValue(cid, 16410) == 3 then doPlayerSendCancel(cid, "You already have the Ursagrodon.") end if(itemEx.itemid == 22723) and getPlayerStorageValue(cid, 16410) == 1 then doPlayerSendTextMessage(cid, 19, "You managed to melt almost the whole block, only the feet of the creature are still stuck in the ice. Finish the job!") doTransformItem(getTileItemById(toPosition,22723).uid,22724) setPlayerStorageValue(cid, 16410, 2) end if(itemEx.itemid == 22724) and getPlayerStorageValue(cid, 16410) == 2 then doPlayerSendTextMessage(cid, 19, "The freed Ursagrodon looks at you with glowing, obedient eyes.") doTransformItem(getTileItemById(toPosition,22724).uid,22725) setPlayerStorageValue(cid, 16410, 3) doPlayerAddMount(cid,38) doRemoveItem(item.uid, 1) end end return true end Depois em action.xml
<action itemid="IDDOMELTINGHORN" script="chyllfroest/ursagrodon.lua" /> Até mais.
-
Ceos recebeu reputação de Romarix em Free for use!Essa sim e erva da boa KKK
-
Ceos deu reputação a Malblofor em Preciso de GM no meu serveesta mais com cara que quer uns script gratuitos do que uma formação de equi
-
Ceos deu reputação a Flavio S em Atualizar a pagina utilizando GETOlá pessoal, estou aqui para resolver um probleminha que tenho encontrado principalmente no meu curso, então estou criando esse tópico para facilitar um pouco a vida dessas pessoas que estão boiando na maionese. É o seguinte:
Para facilitar um pouco nosso trabalho, utilizamos GET para obter o valor de uma váriavel na url para que possa abrir uma determinada pagina sem atualiza o site por completo.
O pessoal do meu curso está utilizando o GET dessa forma:
Código HTML: <?php if(isset($_GET['pagina']) == ' '){ // Se ?pagina= nao for definido nao faça nada, caso tenha um valor procura no switch esse valor e executa-o. }else{ $pagina = $_GET['pagina']; switch($pagina){ case 'home': include 'home.php'; break; default: echo 'pagina nao encontrada'; } } ?> Isso está errado ?
Não, isto não está errado, mas imagine o seguinte, você tem a pagina home,registro,download, e várias outras, ou seja, vc teria de adicionar uma por uma no switch() para que ele possa saber o que fazer com aquele valor.
Enfim, isso daria um problemão pra cabeça, então eu recomendo vocês fazerem o seguinte:
Código HTML: if(!isset($_GET['pagina']) == ' '){ //Se ?pagina= for diferente de não definido $abrir = $_GET['pagina']; // Abrir obtém seu valor ou seja se for ?pagina=home, $abrir passa a valer home $local = $abrir.'.php'; // $local = home.php if(file_exists($local)){ // Se home.php existir include $local; // inclui home.php }else{ // se não echo 'pagina não encontra'; // pagina não encontrada } } É basicamente a mesma coisa a única diferença é que ao invés dele procurar no switch() ele vai verificar se o arquivo existe file_exists(), se existir vai abrir ele, se não, mostrar uma mensagem de pagina não encontrada !
abrçs!!!
-
Ceos deu reputação a FLC em FLC - Attempt to mapping - ShowOffATT depois de muito tempo kaka
-
Ceos recebeu reputação de Angeles em (Resolvido)Bow Não é compativel com a arrowDesculpa a demora. O "ammoType" do bow estáva com "bolt" em vez de "arrow".
</item> <item id="12634" article="a" name="Pally bow"> <attribute key="weight" value="3500" /> <attribute key="slotType" value="two-handed" /> <attribute key="weaponType" value="distance" /> <attribute key="ammoType" value="arrow" /> <attribute key="range" value="20" /> <attribute key="hitChance" value="50" /> <attribute key="attack" value="600" /> </item> <item id="12635" article="a" name="Pally Arrow" plural="Pally Arrows"> <attribute key="weight" value="80" /> <attribute key="slotType" value="ammo" /> <attribute key="attack" value="5" /> <attribute key="maxHitChance" value="90" /> <attribute key="weaponType" value="ammunition" /> <attribute key="ammoType" value="arrow" /> <attribute key="shootType" value="arrow" /> <attribute key="ammoAction" value="removecount" /> </item> -
Ceos recebeu reputação de acesso123 em ShopGuild TFS 1.0Para quem estiver com esse erro use esse shopguild.php por que o Natanael Beckman, posto o negocio cheio de bug.
Shopguild.php
-
Ceos deu reputação a Bruno Minervino em [TFS 1.x] Vip System by AccountEste é o sistema de Vip Account do Mock, convertido ao TFS 1.1 e TFS 1.2, utilizando a nova funcionalidade de concatenação.
Vip System:
Piso Vip:
Talkaction para Add Vip:
Créditos:
Bruno Minervino
Mock
-
Ceos deu reputação a Wise em Procurar players por letra (!searchplayers)Como o título do tópico já diz, o script a seguir serve como uma ferramenta para auxiliar o player a fazer uma busca por outro player.
A partir de uma letra, é gerada uma lista dos players online cujo o nome começa com a inicial escolhida.
searchplayers.lua (data\talkactions\scripts):
function onSay(cid, words, param) -- Developed by Wise ~ TibiaKing.com local pnames, list = {}, '' for _, pid in ipairs(getPlayersOnline()) do table.insert(pnames, getCreatureName(pid)) end if not tostring(param) or param:len() > 1 then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, 'Type the first letter of the name of online players you want to view on the list.\nEx: !searchplayers K') end for _, n in pairs(pnames) do if n:sub(1, 1):lower() == param:lower() then if list ~= '' then list = list..', '..n else list = n end end end return list ~= '' and doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, 'Players whose first name begins with '..param..': '..list) or doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, 'There are no players whose first name begins with '..param) end
talkactions.xml (data\talkactions):
<talkaction words="!searchplayers" event="script" value="searchplayers.lua"/>
Uso da talkaction:
!searchplayers letra ~ !searchplayers k > Players whose first name begins with k: Kharsek, Krohm, Kawaka Espero que gostem (;
-
Ceos deu reputação a Flavio S em [TFS 1.x] /addplayersonline item, quantidadeScript simples mas pode ser útil, para os ot admin.
data/talkactions/scripts addplayersonline.lua :
function onSay(player, words, param) if not player:getGroup():getAccess() then return true end if player:getAccountType() < ACCOUNT_TYPE_GOD then return false end local v = param:split(",") if #v ~= 2 then player:sendCancelMessage("Insufficient parameters.") return false end local item, count = tonumber(v[1]), tonumber(v[2]) for _, pid in pairs(Game.getPlayers()) do pid:addItem(item, count) end broadcastMessage("A equipe acaba de mandar "..count.." "..ItemType(item):getName().." para todos os player online!", MESSAGE_STATUS_WARNING) return false end tag.XML :
<talkaction words="/addplayersonline" separator=" " script="addplayersonline.lua" /> -
Ceos recebeu reputação de warlt em Teleporter Cristal (1.0, 1.1)Vou trazer um script básico para vocês que podem ser usado no seu mapa global, Na parte de criação de umbral.
Uso esse script para isso.
Testei em tfs: 1.0, 1.1 e funcionou sem erro.
function onUse(cid, item, fromPosition, itemEx, toPosition) local config = { pos = {x = 33526, y = 32420, z = 12}, -- posição que o player vai cair } if(itemEx.itemid == 22634) and getPlayerStorageValue(cid, 17201) < 1 then doPlayerSendTextMessage(cid, 19, "You need kill boss for reward items and create you umbral.") -- mensagem doTeleportThing(cid, config.pos) setPlayerStorageValue(cid, 17201, 1) -- storage doRemoveItem(cid, item.itemid) end return true end Onde esta "22634", e o id do item que ele usara a key.
TAG:
<action itemid="iddoitem" script="roshamuul/key1.lua"/> No "ITEMID", e o id da key(oquevccolocar), que ele usara para ser teleportado.
Creditos: Ceos
-
Ceos recebeu reputação de runeraserver em [Showoff] New CityMuita parede de pedra e também cuidado para quando for colocar metade e metade de parede tenta sempre fazer com paredes separadas para não ficar apenas um cidade de pedra, Também muita pedra no chão tente colocar menas.
-
Ceos recebeu reputação de Fir3element em Invite houseNossa cara boa ideia você tem em, magina se um cara invita o outro e esquece de tirar?, ele coloca items na house ai o cara vai la e rouba?, Cade a lista para ver quem ta invitado na house? PENSE MAIS, CRIE MENOS.
-
Ceos recebeu reputação de Wakon em Piso que seta condição de POX ao jogador.Slk que menina braba.
-
Ceos deu reputação a xWhiteWolf em Mwall Amarelavai em data/items.xml e procura todos que tem a tag <attribute key="type" value="magicfield"/>
-
Ceos deu reputação a justbring em Auto Use Magebotpois é onde foram para os dedos né, cara corre heala,attack, tudo no boot,ainda tem uns pensa que assim são top kkkk
-
Ceos recebeu reputação de luanluciano93 em Auto Use MagebotEHYEUEUEEUE bem isso, 7.72 só os old.
-
Ceos recebeu reputação de luanluciano93 em Auto Use MagebotCade o dedo?, Bora 7.72 no hotheys.
-
Ceos recebeu reputação de justbring em Auto Use MagebotCade o dedo?, Bora 7.72 no hotheys.
-
Ceos deu reputação a Mega bomb em Mega Bomb s2Novidades...
Não liguem para a nature fora da construção.
Parte de baixo
E como sempre, Criticas e sugestões são bem vindas.
-
Ceos deu reputação a Flavio S em Mapper KingVoto no mapa 01, ficou mais clean e agradável de ser ver ou até mesmo jogar, o mapa 02 não fica muito atrás mas o excesso de bordas tirou um pouco da beleza que poderia ser mostrada
-
Ceos deu reputação a Caronte em Teleporter Cristal (1.0, 1.1)Bem simples, porém pode ser aplicado em outras coisas.
obrigado por contribuir...
-
Ceos recebeu reputação de Flavio S em Descongelando Ursagrodon (1.0)Bom eu estava passando por um servidor e verifiquei que quase nenhum tem o sistema de descongelar o ursagrodon para tfs 1.0.
Agora em (actions/scripts/chyllfroest) crie um .lua chamado ou substitua com o seu nome: Ursagrodon
function onUse(cid, item, fromPosition, itemEx, toPosition) if(item.itemid == 22719) then if(itemEx.itemid == 22722) and getPlayerStorageValue(cid, 16410) < 1 then doPlayerSendTextMessage(cid, 19, "You managed to melt about half of the ice blook. Quickly now, it's ice cold here and the ice block could freeze over again.") doTransformItem(getTileItemById(toPosition,22722).uid,22723) setPlayerStorageValue(cid, 16410, 1) elseif (itemEx.itemid == 22722) and getPlayerStorageValue(cid, 16410) == 3 then doPlayerSendCancel(cid, "You already have the Ursagrodon.") end if(itemEx.itemid == 22723) and getPlayerStorageValue(cid, 16410) == 1 then doPlayerSendTextMessage(cid, 19, "You managed to melt almost the whole block, only the feet of the creature are still stuck in the ice. Finish the job!") doTransformItem(getTileItemById(toPosition,22723).uid,22724) setPlayerStorageValue(cid, 16410, 2) end if(itemEx.itemid == 22724) and getPlayerStorageValue(cid, 16410) == 2 then doPlayerSendTextMessage(cid, 19, "The freed Ursagrodon looks at you with glowing, obedient eyes.") doTransformItem(getTileItemById(toPosition,22724).uid,22725) setPlayerStorageValue(cid, 16410, 3) doPlayerAddMount(cid,38) doRemoveItem(item.uid, 1) end end return true end Depois em action.xml
<action itemid="IDDOMELTINGHORN" script="chyllfroest/ursagrodon.lua" /> Até mais.
-
Ceos deu reputação a Wakon em Mapper KingVoto no mapa 01 pois ficou clean e bem detalhado, achei legal.
Mapa 02 tem muitas bordas estranhas.