Tudo que Fir3element postou
-
(Resolvido)Não consigo compilar.
Baixou seu dev-cpp aonde?
-
[Duvida] Quest em mapa Novo
Lembrando, AID/UID tem o limite de 65535.
- Tibia mais slot
- Download dbko 8.0
-
(Resolvido)[Pedido] Matar player e ganhar money.
function onDeath(cid, corpse, deathList) local money = 500 -- em gp if isPlayer(deathList[1]) then doPlayerAddMoney(cid, money) doBroadcastMessage("OWNED:\n".. getCreatureName(cid) .. "[" .. getPlayerLevel(cid) .. "] foi morto pelo jogador: " .. getCreatureName(deathList[1]) .. "[" .. getPlayerLevel(deathList[1]) .. "]", 22) end doBroadcastMessage("Eitaa...:\n".. getCreatureName(cid) .. "[" .. getPlayerLevel(cid) .. "] foi morto pelo monstro: " .. getCreatureName(deathList[1]) .. ".", 22) return true end
- Distro nao Abre
-
Duvida donate e site!
site ou sistema?
- Distro nao Abre
-
[Debug] Ao jogar durante um tempo
Elfbot não foi feito pra otserv custom, eu acho. Tenta achar algum próprio pra isso...
-
(Resolvido)[AJUDA]Sistema de Pesca para PokeTibia
Tenta ai: O tópico foi movido para a área correta, preste mais atenção da próxima vez! Leia as regras do fórum: http://tibiaking.com/forum/topic/1281-regras-gerais/?p=7680 Este tópico foi movido: De: "OTServ → Aprovação de Tópicos de Conteúdos" Para: "OTServ → Suporte OTServ → Suporte de Scripts"
-
Personagems Estilo RPG
Ficou bom, parecido com GBA mesmo. Eu não sei como é a original... poderia postar?
-
[talkaction] Sistema de reset com stages (sem logout)
Teria que que criar um creaturescript. -- Adicionei suporte para TFS 1.1.
- Distro nao Abre
-
(Resolvido)Paralyze com chance em portecentagem
tenta ai: local condition = createConditionObject(CONDITION_PARALYZE) setConditionParam(condition, CONDITION_PARAM_TICKS, 20 * 1000) -- tempo de paralyze setConditionFormula(condition, -0.9, 40, -0.9, 0) function onAttack(cid, target) local config = { storage = 4597, delay = 120, -- em segundos chance = 25 -- chance } if isPlayer(target) then if (os.time() - getPlayerStorageValue(cid, config.storage)) >= config.delay and getPlayerVocation(cid) ~= getPlayerVocation(target) then setPlayerStorageValue(cid, config.storage, os.time()) if math.random(1, 100) <= config.chance then doAddCondition(target, condition) end end end return true end
-
(Pedido) comando
Tem dois jeitos de fazer isso. 1º: local fromPos = {x = 1100, y = 600, z = 7} local toPos = {x = 1200, y = 700 z = 7} for x_ = fromPos.x, toPos.x do for y_ = fromPos.y, toPos.y do for z_ = fromPos.z, toPos.z do local pos = {x = x_, y = y_, z = z_} if getCreaturePosition(cid) == pos then -- script end end end end 2º: local pos = { {x = 1100, y = 600, z = 7}, {x = 1101, y = 600, z = 7}, {x = 1102, y = 600, z = 7}, {x = 1103, y = 600, z = 7} } for _, w in pairs(pos) do if getCreaturePosition(cid) == w then -- script end end
-
(Resolvido)Paralyze com chance em portecentagem
creaturescripts/scripts/paralyze.lua local condition = createConditionObject(CONDITION_PARALYZE) setConditionParam(condition, CONDITION_PARAM_TICKS, 20 * 1000) -- tempo de paralyze setConditionFormula(condition, -0.9, 40, -0.9, 0) function onAttack(cid, target) local config = { storage = 4597, delay = 120, -- em segundos chance = 25 -- chance } if (os.time() - getPlayerStorageValue(cid, config.storage)) >= config.delay and getPlayerVocation(cid) ~= getPlayerVocation(target) then setPlayerStorageValue(cid, config.storage, os.time()) if math.random(1, 100) <= config.chance then doAddCondition(target, condition) end end return true end creaturescripts/creaturescripts.xml <event type="attack" name="attack" event="script" value="paralyze.lua"/> creaturescripts/scripts/login.lua, adicione: registerCreatureEvent(cid, "attack")
-
Solução Anti-Acc Managers - Limitação!
creaturescripts.xml <event type="logout" name="logout" event="script" value="logout.lua"/> logout.lua function onLogout(cid) if getCreatureName(cid) == "Account Manager" then if not ((os.time() - getPlayerStorageValue(cid, 4597)) >= 3) then doPlayerSendCancel(cid, "You need to wait.") return false end end return true end login.lua if getCreatureName(cid) == "Account Manager" then if (os.time() - getPlayerStorageValue(cid, 4597)) >= 3 then setPlayerStorageValue(cid, 4597, os.time()) end end
-
Source arrumando tempo de push
O de items não existe, tem que criar um exhaust. "timeBetweenActions" pode ajudar também.
-
Source arrumando tempo de push
Tu postou no outro tópico, mas la era sobre items... (http://www.tibiaking.com/forum/topic/52561-c-block-fast-anti-push/) Quer push de creature ou de items?
-
[Layout] Amiroslo Bootstrap Znote AAC
Scan: https://www.virustotal.com/pt/file/dcb541ec1957ed53c2cc9913219281168c308eedcbce6e620b340a532b041dea/analysis/1429379572/ Aprovado e movido para a área correta.
-
[Layout] Dark-tibia template ZnoteACC
Aprovado e movido para a área correta.
- hackearam meu phpmyadmin me ajudem a recuperar a senha
- hackearam meu phpmyadmin me ajudem a recuperar a senha
-
[PEDIDO] Scripts house
function onSay(cid, words, param) local housePrice = configManager.getNumber(configKeys.HOUSE_PRICE) if housePrice == -1 then return true end local player = Player(cid) local levelToBuyHouse = 30 if player:getLevel() < levelToBuyHouse then player:sendCancelMessage("You have to be at least Level " .. levelToBuyHouse .. " to purchase a house.") return false end if player:getPremiumDays() <= 0 then player:sendCancelMessage("You need a premium account.") return false end local position = player:getPosition() position:getNextPosition(player:getDirection()) local house = House(getTileHouseInfo(position)) if house == nil then player:sendCancelMessage("You have to be looking at the door of the house you would like to buy.") return false end if house:getOwnerGuid() > 0 then player:sendCancelMessage("This house already has an owner.") return false end if player:getHouse() then player:sendCancelMessage("You are already the owner of a house.") return false end local price = house:getTileCount() * housePrice if not player:removeMoney(price) then player:sendCancelMessage("You do not have enough money.") return false end house:setOwnerGuid(player:getGuid()) player:sendTextMessage(MESSAGE_INFO_DESCR, "You have successfully bought this house, be sure to have the money for the rent in the bank.") return false end
-
[PEDIDO] Scripts house
Tu pode tentar essa query: SELECT houses.owner, houses.id as hid, houses.name as house_name, players.name FROM houses LEFT JOIN players ON players.id = houses.owner LEFT JOIN accounts ON players.account_id = accounts.id WHERE players.lastlogin < (UNIX_TIMESTAMP() - (30*24*60*60)) AND players.world_id = 0