Ir para conteúdo

Skydangerous

Membro
  • Registro em

  • Última visita

Tudo que Skydangerous postou

  1. Nome: Skydangerous Msn: [email protected] Cargo: Scripter ou Mapper Por que quer entrar na equipe: Ajudar e aumentar minha experiencia Tempo online: 16h por dia Tempo disponível: 8h por dia Ja entrou em outra equipe? Por que?: Já entrei em muitas equipes. Oque você ja fez ?: Já fiz sistemas inovadores em lua e faço mapas bonitos. Observação: Entrarei na equipe se for aprovado, só se apresentar o trabalho.
  2. se fala aqueles efeitos ? se for isso é /z numero.
  3. Opa. Belo Tutorial. Eu lembro que quando fui fazer meu servidor de pokemon, morri pra conseguir usar. Parabéns , Reputado + !
  4. Skydangerous postou uma resposta no tópico em Suporte Tibia OTServer
    li o script inteiro, e já achei o erro em 20 segundos O seu está certo também, porém tem bugs. Como, esqueceu de tirar o "," do ultima tabela, pois ultimas tabelas não tem "," e esqueceu de fechar a tabela também. Versão do japa sem bug local combat1 = createCombatObject() setCombatParam(combat1, COMBAT_PARAM_TYPE, 4) setCombatParam(combat1, COMBAT_PARAM_EFFECT, 8) setCombatParam(combat1, COMBAT_PARAM_DISTANCE_EFFECT, 29) setCombatFormula(combat1, COMBAT_FORMULA_SKILL, 50, -70, 200, -180) local combat2 = createCombatObject() setCombatParam(combat2, COMBAT_PARAM_TYPE, 4) setCombatParam(combat2, COMBAT_PARAM_EFFECT, 50) setCombatParam(combat2, COMBAT_PARAM_DISTANCE_EFFECT, 29) setCombatFormula(combat2, COMBAT_FORMULA_SKILL, 50, -70, 200, -180) arr1 = { {1, 0, 0, 0, 1}, {0, 1, 1, 1, 0}, {0, 1, 3, 1, 0}, {1, 1, 1, 1, 0}, {1, 0, 0, 0, 1}} arr2 = { {1, 0, 0, 0, 1}, {0, 1, 1, 1, 0}, {0, 1, 3, 1, 0}, {1, 1, 1, 1, 0}} local area1 = createCombatArea(arr1) local area2 = createCombatArea(arr2) setCombatArea(combat1, area1) setCombatArea(combat2, area2) local function onCastSpell1(parameters) doCombat(parameters.cid, parameters.combat1, parameters.var) end local function onCastSpell2(parameters) doCombat(parameters.cid, parameters.combat2, parameters.var) end function onCastSpell(cid, var) local parameters = { cid = cid, var = var, combat1 = combat1, combat2 = combat2 } addEvent(onCastSpell1, 100, parameters) addEvent(onCastSpell2, 200, parameters) return true end
  5. Por isso que não aparece. Olhe o que você fez. $vocation_name[0][0] = array(0 => 'None', 1 => 'Master Sorcerer', 2 => 'Elder Druid', 3 => 'Royal Paladin', 4 => 'Elite Knight', 5 => 'Vip Baiak Sorcerer', 6 => 'Vip Baiak Druid', 7 => 'Vip Baiak Paladin', 8 => 'Vip Baiak Knight'); // id => 'name' , $vocation_name[0] - promotion level 0, $vocation_name[0] - for world ID 0 $vocation_name[0][0] = array(0 => 'None', 1 => 'Master Sorcerer', 2 => 'Elder Druid', 3 => 'Royal Paladin', 4 => 'Elite Knight', 5 => 'Vip Baiak Sorcerer', 6 => 'Vip Baiak Druid', 7 => 'Vip Baiak Paladin', 8 => 'Vip Baiak Knight'); // id => 'name' , $vocation_name[0] - promotion level 0, $vocation_name[0] - for world ID 1 Percebeu que você duplicou o world , tenta usar desse jeito. // list of vocations on ots (world 0) $vocation_name[0][0] = array(0 => 'None', 1 => 'Master Sorcerer', 2 => 'Elder Druid', 3 => 'Royal Paladin', 4 => 'Elite Knight', 5 => 'Vip Baiak Sorcerer', 6 => 'Vip Baiak Druid', 7 => 'Vip Baiak Paladin', 8 => 'Vip Baiak Knight'); // id => 'name' , $vocation_name[0] - promotion level 0, $vocation_name[0] - for world ID 0 $vocation_name[0][1] = array(5 => 'Vip Baiak Sorcerer', 6 => 'Vip Baiak Druid', 7 => 'Vip Baiak Paladin', 8 => 'Vip Baiak Knight'); // id => 'name' , $vocation_name[1] - promotion level 1, $vocation_name[0] - for world ID 0 // list of vocations on ots (world 1) $vocation_name[1][0] = array(0 => 'None', 1 => 'Master Sorcerer', 2 => 'Elder Druid', 3 => 'Royal Paladin', 4 => 'Elite Knight', 5 => 'Vip Baiak Sorcerer', 6 => 'Vip Baiak Druid', 7 => 'Vip Baiak Paladin', 8 => 'Vip Baiak Knight'); // id => 'name' , $vocation_name[0] - promotion level 0, $vocation_name[0] - for world ID 1 $vocation_name[1][1] = array(5 => 'Vip Baiak Sorcerer', 6 => 'Vip Baiak Druid', 7 => 'Vip Baiak Paladin', 8 => 'Vip Baiak Knight'); // id => 'name' , $vocation_name[1] - promotion level 1, $vocation_name[0] - for world ID 1 Assim vai dar, não tenho certeza
  6. provavelmente sim amigo. O único jeito então é deixar pvp mesmo.
  7. Skydangerous postou uma resposta no tópico em Suporte Tibia OTServer
    O erro é o seguinte. Você pois funcion e o correto é function. local combat1 = createCombatObject() setCombatParam(combat1, COMBAT_PARAM_TYPE, 4) setCombatParam(combat1, COMBAT_PARAM_EFFECT, 8) setCombatParam(combat1, COMBAT_PARAM_DISTANCE_EFFECT, 29) setCombatFormula(combat1, COMBAT_FORMULA_SKILL, 50, -70, 200, -180) local combat2 = createCombatObject() setCombatParam(combat2, COMBAT_PARAM_TYPE, 4) setCombatParam(combat2, COMBAT_PARAM_EFFECT, 50) setCombatParam(combat2, COMBAT_PARAM_DISTANCE_EFFECT, 29) setCombatFormula(combat2, COMBAT_FORMULA_SKILL, 50, -70, 200, -180) arr1 = { {1, 0, 0, 0, 1}, {0, 1, 1, 1, 0}, {0, 1, 3, 1, 0}, {1, 1, 1, 1, 0}, {1, 0, 0, 0, 1}} arr2 = { {1, 0, 0, 0, 1}, {0, 1, 1, 1, 0}, {0, 1, 3, 1, 0}, {1, 1, 1, 1, 0}, {1, 0, 0, 0, 1}} setCombatArea(combat1, createCombatArea(area1)) setCombatArea(combat2, createCombatArea(area2)) function onCastSpell(cid, var) addEvent(doCombat, 1, cid, combat1, var) addEvent(doCombat, 2, cid, combat2, var) return true end
  8. function onUse(cid, item, frompos, item2, topos) if isPlayer(cid) == TRUE then doCreatureSetDropLoot(cid, false) return TRUE end return TRUE end Só funciona 1 vez, quando morrer ele perde o efeito.
  9. Skydangerous postou uma resposta no tópico em Suporte Tibia OTServer
    Aqui. http://tibiaking.com/forum/topic/7507-perfect-vip-system-20/
  10. Bela Iniciativa. Para os novatos que queiram trocar os efeitos, será muito bom seu tutorial. Aprovado e Reputado + ! Só lembrar: data/intens/intens.xml seria data/items/items.xml
  11. verifica o seu item.xml. se a magic wall está parecida com essa <item id="1497" article="a" name="magic wall"> <attribute key="type" value="magicfield" /> <attribute key="decayTo" value="0" /> <attribute key="duration" value="20" /> </item>
  12. Função: Após você upar o level, você aprende novas magias. Muito útil para servidor lowl level. Esse script eu achei na pasta do meu servidor, porém não sei quem é os créditos crie um arquivo no formato .lua na pasta creaturescript/scripts com o nome spellup.lua e cole o script local s = { --SETUP repeatAfterDeath = false, detailedInfo = true, Storage = 10000, messageType = 'channel', channelClass = MESSAGE_EVENT_ORANGE } function onAdvance(cid, skill, oldlevel, newlevel) if skill ~= SKILL__LEVEL or not s.repeatAfterDeath and getCreatureStorage(cid, s.Storage) >= newlevel then return true end local t = {} for i = 0, getPlayerInstantSpellCount(cid) - 1 do local spell = getPlayerInstantSpellInfo(cid, i) if(spell.level ~= 0) and spell.level == newlevel then if(spell.manapercent > 0) then spell.mana = spell.manapercent .. '%' end table.insert(t, spell) end end table.sort(t, function(a, b) return a.level < b.level end) local text, prevLevel = '', -1 for i, spell in ipairs(t) do local line = '' if(prevLevel ~= spell.level) then if(i ~= 1) then line = '\n' end line = line .. 'You have just advanced to level '..newlevel..' and learned new spells!\n' prevLevel = spell.level end text = text ..line..' ['..spell.name..'] "'..spell.words..'" '..(s.detailedInfo and 'Mana['..spell.mana..']'..(spell.mlevel > 0 and ' ML['..spell.mlevel..']' or '') or '')..'\n' end if text == '' then return true end doCreatureSetStorage(cid, s.Storage, newlevel) if s.messageType == 'popUp' then doShowTextDialog(cid, 2175, text) elseif s.messageType == 'channel' then doPlayerSendTextMessage(cid, s.channelClass, text) end return true end registerCreatureEvent(cid, "SpellUp") <event type="advance" name="SpellUp" event="script" value="spellup.lua"/> False: Receberá uma mensagem de level up True: Receberá a mensagem sempre quando upar de level detailedInfo = true, False: Jogador só receberá o nome da magia e o nome da spell True: Jogador receberá nome da magia, nome da spell e porcentagem de mana que gasta. messageType = 'channel', Channel: A mensagem aparecerá no default. PopUp: Abrirá uma caixa de mensagem. registre o evento no login.lua e cole a tag no creaturescripts.xml FOTO Instalando repeatAfterDeath = false
  13. Skydangerous postou uma resposta no tópico em Playground (Off-topic)
    ah sim. kkkkkk', rachei de rir ..
  14. -> JhonatanCWest Estarei movendo o seu tópico para "Tutorias de Scripting" qualquer coisa mande me uma pm. Movido.
  15. Skydangerous postou uma resposta no tópico em Playground (Off-topic)
    qual que é vocalista? poxa
  16. Opa, dei uma olhada no tutorial que você fez. Bem legal, vou ler melhor e qualquer coisa eu edito o post ou comento novamente. Parabéns, Reputado + ! -= PlayerLearnInstantSpell É doPlayerLearnInstantSpell tem do sim :>
  17. você coloca assim: pasta do seu servidor/data/actions/scripts. você copia e cola um arquivo qualquer, e renomeia ele para anihis, depois você coloca aquele script que eu mandei. e em seguida vai em actions.xml e cola essa tag. <action uniqueid="8000" script="anihis.lua"/> se não intendeu, eu passo meu msn.
  18. Esse é o script que tem em todos os servidores. local config = { daily = "no", -- allow only one enter per day? (like in global Tibia) level = 100, storage = 30015 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} }, 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} } } config.daily = getBooleanFromString(config.daily) function onUse(cid, item, fromPosition, itemEx, toPosition) if(item.itemid == 1946) then if(config.daily) then doPlayerSendDefaultCancel(cid, RETURNVALUE_NOTPOSSIBLE) else doTransformItem(item.uid, item.itemid - 1) end return true end if(item.itemid ~= 1945) then return true end local players = {} for _, position in ipairs(config.entry) do local pid = getTopCreature(position).uid if(pid == 0 or not isPlayer(pid) or getCreatureStorage(pid, config.storage) > 0 or getPlayerLevel(pid) < config.level) then doPlayerSendDefaultCancel(cid, RETURNVALUE_NOTPOSSIBLE) return true end table.insert(players, pid) end for i, pid in ipairs(players) do doSendMagicEffect(config.entry[i], CONST_ME_POFF) doTeleportThing(pid, config.destination[i], false) doSendMagicEffect(config.destination[i], CONST_ME_ENERGYAREA) end doTransformItem(item.uid, item.itemid + 1) return true end Configurando: entry = { {x = 247, y = 659, z = 13}, Aqui é a posição que o player vai ficar. destination = { {x = 189, y = 650, z = 13}, Aqui é a posição que o player vai ser teleportado level = 100, <-- level para a quest storage = 30015 <-- mude caso o seu servidor tiver o mesmo script, para que não bugue Ai você vai no action.xml e coloca isso. <action uniqueid="8000" script="onde o arquivo tá.lua"/> ai você então, vai no rme , pega um alavanca (ID:1945) , e coloca os uniqueid: 8000 , pronto.. !
  19. você quer um script então? Pois não tem como configurar uma alavanca igual anihi sem fazer o script.
  20. thanks por humilhar meu shop system viu . muito bom o shop system, bem inovador. Parabénss, Reputado + !
  21. Bem legal o script. Eu ja fiz um script assim, so que teleporta um lugar dependendo do level . Parabens
  22. Nao precissa configurar oa items iniciais. Basta voce ter o script creaturescript aquel firstitem, que quando criar o char ele nasce com items.
  23. Ahh. Malz, eu nao testo os script apenas dou um debugger nele. Quando chegar na minha casa eu testo ..
  24. Creio que seja difícil fazer isso. Porquê não faz o sistema igual o meu de raça? O sistema é assim, cria char sem raça, pega algum level e depois disso conversa com o npc e ganha uma raça. que tal assim? eu posso postar esse script aqui se quiser :>

Informação Importante

Confirmação de Termo