Ir para conteúdo

Danihcv

Membro
  • Registro em

  • Última visita

Tudo que Danihcv postou

  1. Mano... Como assim... Não tem nenhum globalevent usando o arquivo incendio.lua.... Vc sabe do que se trata esse script? Se não souber, tente tirar ele da pasta data\globalevents\scripts e colocar na area de trabalho. Aí vc fecha e abre dnv a distro. Vê se aparece algum erro novo.
  2. Danihcv postou uma resposta no tópico em Playground (Off-topic)
    Mas entrou e agora não sai mais? Ou ainda dá pra sair? E depois entrar, sair. Entrar, sair. Entar, sair. Entrar, sair, entrar.
  3. @Royal Blackzinho, executa esses comandos na sua data base: Edit: pera, quais erros vc está? Pq vi que vc editou e disse que resolveu uns erros... Deixe mais claro quais erros vc aind a está, pf... :s
  4. @Royal Blackzinho, procure por essas dll's nestes sites: http://pt.dll-files.com/ e http://www.opendll.com/ @jvcasarin, vamos por partes. Primeiro o erro do addskill: vá no seu arquivo talkactions.xml e deixe a tag do addskill dessa forma: <talkaction log="yes" words="/skill;/addskill" access="5" event="script" value="skill.lua"/> Agora vá na pasta data\talkactions\scripts e crie um arquivo chamado skill.lua e coloque isso dentro: function onSay(cid, words, param, channel) if(param == '') then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Command param required.") return true end local t = string.explode(param, ",") if(not t[2]) then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Not enough params.") return true end local pid = getPlayerByNameWildcard(t[1]) if(not pid or (isPlayerGhost(pid) and getPlayerGhostAccess(pid) > getPlayerGhostAccess(cid))) then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Player " .. t[1] .. " not found.") return true end t[2] = t[2]:lower() local skill = SKILL_IDS[t[2]] if(not skill) then local tmp = t[2]:sub(1, 1) if(tmp == 'l' or tmp == 'e') then skill = SKILL__LEVEL elseif(tmp == 'm') then skill = SKILL__MAGLEVEL else skill = tonumber(t[2]) if(not skill or skill < SKILL_FIRST or SKILL > SKILL__PRE_LAST) then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Such skill does not exists.") return true end end end local amount = tonumber(t[3]) if(not amount or amount == 0) then amount = 1 end doPlayerAddSkill(pid, skill, amount, true) return true end Agora o erro do Apocalypse, isso quer dizer que não foi possível encontrar o monstro com esse nome. Confira na pasta monsters se existe algum arquivo chamado Apocalypse.xml, provavelmente não haverá. Agora volte no arquivo talkactions.xml e apague uma das linhas que contém o comando !buypremium pois vc tem 2 linhas que estão usando esse msm comando. Vá no seu config.lua e procure por: worldType = "pvp" Deixe assim: worldType = "open" Edit: Acabei de ver que o @olokomeu respondeu, porém tem algumas coisas que talvez a solução vc encontre em meu post... Acho válido dar os parabéns à você @olokomeu por estar ajudando outros membros.
  5. Manda seu creaturescripts.xml que está dentro da pasta data\creaturescripts
  6. 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 → Suporte OTServ → Suporte de OTServ Geral" Para: "OTServ → Suporte OTServ → Suporte de Servidores Derivados"
  7. @kcoringa, amigo, esse não é o local adequado para se fazer um pedido. Crie um tópico relatando o seu problema detalhadamente. Leia as regras: http://www.tibiaking.com/forum/forum/23-regras-do-forum/
  8. Danihcv postou uma resposta no tópico em Suporte OTServer Derivados
    @alexandregerse, amigo, por favor formate melhor seu tópico, descreva a situação por completo. E por favor, escolha um título que descreva melhor o seu tópico nas próximas vezes. Leia as regras: http://www.tibiaking.com/forum/forum/23-regras-do-forum/
  9. Danihcv postou uma resposta no tópico em Suporte OTServer Derivados
    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 → Clients OTServ" Para: "OTServ → Suporte OTServ → Suporte de OTServ Geral"
  10. Belo mod. Seu tutorial foi aprovado, você recebeu um ponto de reputação positiva e o tópico será movido para a seção correta. Esperamos mais conteúdos como este.
  11. Fico feliz que tenha conseguido. Por favor, se puder informe o que vc fez para resolver o problema, para que futuros membros que venham a ter esse mesmo problema possam saber o que fazer para resolver.
  12. Danihcv postou uma resposta no tópico em Suporte Tibia OTServer
    Vc consegue prosseguir pro step 4 não é? Se sim, então não tem problema. Se não foi criada é pq provavelmente já existe em sua data base essa coluna (que está dentro de uma table).
  13. @, amigo, double post é proibido. Leia as regras: http://www.tibiaking.com/forum/forum/23-regras-do-forum/
  14. Danihcv postou uma resposta no tópico em Suporte Tibia OTServer
    Que estranho... Não deu nenhum erro ao tentar executá-los, então?
  15. Danihcv postou uma resposta no tópico em Portal
    @didioki55, amigo, preste mais atenção. Esse não é o lugar adequado para se fazer um pedido. Crie um tópico contando seu problema. Leia as regras: http://www.tibiaking.com/forum/forum/23-regras-do-forum/
  16. Danihcv postou uma resposta no tópico em Suporte Tibia OTServer
    Tentou executar os comandos que eu passei? '-'
  17. Danihcv postou uma resposta no tópico em Playground (Off-topic)
    Posso imaginar como deveriam ser BANS tempos aqueles, hein Augusto...
  18. Danihcv postou uma resposta no tópico em Playground (Off-topic)
    Cara, ñ dá pra comprar nem um kinder ovo com dinheiro algum.
  19. @tetinho, amigo, pedir suporte fora do fórum é proibido. Leia as regras: http://www.tibiaking.com/forum/forum/23-regras-do-forum/
  20. Danihcv postou uma resposta no tópico em Playground (Off-topic)
    Bem-vindo caro amigo. Realmente agora não tem como o TK não dominar o mundo, cada vez entrando mais gente pika pra equipe... Ainda mais sendo uma bruxa, ne minerva? huehue \0/
  21. Danihcv postou uma resposta no tópico em Playground (Off-topic)
    Bem-vindo bro. \0/ Pena que é casado.... Desperdício... Lá se vão todas as noites que estava planejando ;(
  22. Bom amigo, to de saída agora, então tenta trocar o seu por esse: local config = { removeOnUse = "no", usableOnTarget = "yes", -- can be used on target? (fe. healing friend) splashable = "yes", range = -1, area = {1, 1} -- if not set correctly, the message will be sent only to user of the item } local multiplier = { health = 1.0, mana = 1.0 } local POTIONS = { [8704] = {empty = 7636, splash = 42, health = {50, 100}}, -- small health potion [7618] = {empty = 7636, splash = 42, health = {100, 200}}, -- health potion [7588] = {empty = 7634, splash = 42, health = {200, 400}, level = 50, vocations = {3, 4, 7, 8}, vocStr = "knights and paladins"}, -- strong health potion [7591] = {empty = 7635, splash = 42, health = {500, 700}, level = 80, vocations = {4, 8}, vocStr = "knights"}, -- great health potion [8473] = {empty = 7635, splash = 42, health = {800, 1000}, level = 130, vocations = {4, 8}, vocStr = "knights"}, -- ultimate health potion [7620] = {empty = 7636, splash = 47, mana = {70, 130}}, -- mana potion [7589] = {empty = 7634, splash = 47, mana = {110, 190}, level = 50, vocations = {1, 2, 3, 5, 6, 7}, vocStr = "sorcerers, druids and paladins"}, -- strong mana potion [7590] = {empty = 7635, splash = 47, mana = {200, 300}, level = 80, vocations = {1, 2, 5, 6}, vocStr = "sorcerers and druids"}, -- great mana potion [8472] = {empty = 7635, splash = 43, health = {200, 400}, mana = {110, 190}, level = 80, vocations = {3, 7}, vocStr = "paladins"} -- great spirit potion } for index, potion in pairs(POTIONS) do if(type(index) == 'number')then for k, v in pairs(config) do if(not potion[k]) then potion[k] = v end end if(potion.removeOnUse) then potion.removeOnUse = getBooleanFromString(potion.removeOnUse) end if(potion.usableOnTarget) then potion.usableOnTarget = getBooleanFromString(potion.usableOnTarget) end if(potion.splashable) then potion.splashable = getBooleanFromString(potion.splashable) end if(type(potion.health) == 'table' and table.maxn(potion.health) > 1) then potion.health[1] = math.ceil(potion.health[1] * multiplier.health) potion.health[2] = math.ceil(potion.health[2] * multiplier.health) else potion.health = nil end if(type(potion.mana) == 'table' and table.maxn(potion.mana) > 1) then potion.mana[1] = math.ceil(potion.mana[1] * multiplier.mana) potion.mana[2] = math.ceil(potion.mana[2] * multiplier.mana) else potion.mana = nil end POTIONS[index] = potion end end function onUse(cid, item, fromPosition, itemEx, toPosition) local potion = POTIONS[item.itemid] if(not potion) then return false end if(not isPlayer(itemEx.uid) or (not potion.usableOnTarget and cid ~= itemEx.uid)) then if(not potion.splashable or not potion.splash) then return false end if(toPosition.x == CONTAINER_POSITION) then toPosition = getThingPosition(item.uid) end doDecayItem(doCreateItem(POOL, potion.splash, toPosition)) doRemoveItem(item.uid, 1) if(not potion.empty or potion.removeOnUse) then return true end if(fromPosition.x ~= CONTAINER_POSITION) then doCreateItem(potion.empty, fromPosition) else doPlayerAddItem(cid, potion.empty, 1) end return true end if(((potion.level and getPlayerLevel(itemEx.uid) < potion.level) or (potion.vocations and not isInArray(potion.vocations, getPlayerVocation(itemEx.uid)))) and not getPlayerCustomFlagValue(cid, PLAYERCUSTOMFLAG_GAMEMASTERPRIVILEGES)) then doCreatureSay(itemEx.uid, "Only " .. potion.vocStr .. (potion.level and (" of level " .. potion.level) or "") .. " or above may drink this fluid.", TALKTYPE_MONSTER, false, cid) return true end if(potion.range > 0 and cid ~= itemEx.uid and getDistanceBetween(getThingPosition(cid), getThingPosition(itemEx.uid)) > potion.range and not getPlayerCustomFlagValue(cid, PLAYERCUSTOMFLAG_CANUSEFAR)) then doPlayerSendDefaultCancel(cid, RETURNVALUE_TOOFARAWAY) return true end if(potion.health and not doTargetCombatHealth(cid, itemEx.uid, COMBAT_HEALING, potion.health[1], potion.health[2], CONST_ME_MAGIC_BLUE, false)) then return false end if(potion.mana and not doTargetCombatMana(cid, itemEx.uid, potion.mana[1], potion.mana[2], CONST_ME_MAGIC_BLUE, false)) then return false end if(type(potion.area) == 'table' and table.maxn(potion.area) > 1) then for i, tid in ipairs(getSpectators(getThingPosition(itemEx.uid), potion.area[1], potion.area[2])) do if(isPlayer(tid)) then doCreatureSay(itemEx.uid, "Aaaah...", TALKTYPE_MONSTER, false, tid) end end else doCreatureSay(itemEx.uid, "Aaaah...", TALKTYPE_MONSTER, false, itemEx.uid) if(itemEx.uid ~= cid) then doCreatureSay(itemEx.uid, "Aaaah...", TALKTYPE_MONSTER, false, cid) end end doRemoveItem(item.uid, 1) if(not potion.empty or potion.removeOnUse) then return true end if(fromPosition.x ~= CONTAINER_POSITION) then doCreateItem(potion.empty, fromPosition) else doPlayerAddItem(cid, potion.empty, 1) end return true end Faça o teste com essa potion que tem o id 7620 se der certo, comunique e diga quais são as outras potions (ids) que utilizam esse mesmo script para que eu possa configurar pra aceitar essas outras potions também. Se não der certo e aparecer algum erro, poste print do erro. Estou aqui pra ajudar, amigo.
  23. Danihcv postou uma resposta no tópico em Playground (Off-topic)
    Há boatos de que ser mapper dá mais dinheiro do que vender o anus...
  24. Conteúdo muito bom. Seu conteúdo foi aprovado, você recebeu um ponto de reputação e o tópico será movido para a área correta. Esperamos mais conteúdos como este.

Informação Importante

Confirmação de Termo