Ir para conteúdo

notle2012

Conde
  • Total de itens

    884
  • Registro em

  • Última visita

  • Dias Ganhos

    8

Tudo que notle2012 postou

  1. notle2012

    Em Quest Ja Pronta

    vc quer addon que ganhar quando pega bau da quest? http://www.xtibia.com/forum/topic/120988-action-addons-em-quests/
  2. tem que liberar port do modem também não só do firewall
  3. não tenho esse scripts poderia aposta lo
  4. blz Skymagnum deixa monta pra ele fico assim function onThink(interval, lastExecution, thinkInterval) local pos = { [1] = {x = 160, y = 50, z = 7}, -- Coordenadas do destino [2] = {x = 160, y = 51, z = 7}, -- Coordenadas do destino [3] = {x = 160, y = 52, z = 7}, -- Coordenadas do destino [4] = {x = 160, y = 53, z = 7}, -- Coordenadas do destino [5] = {x = 160, y = 54, z = 7}, -- Coordenadas do destino } local po = {x=160, y=51, z=7} -- aqui coloca tp que vai aparecer local time = 5 doCreateTeleport(1387, pos[math.random(1, #pos)],po) doBroadcastMessage("O portal para o evento foi aberto e se fexará em 5 minutos.") addEvent(deleteTp, time*60*1000) addEvent(doBroadcastMessage, time*1000*60, "O portal do evento foi fexado. Próximo evento em 2 horas.") return true end function deleteTp() local delete = getTileItemById(pos, 1387) if delete.uid > 0 then doRemoveItem(delete.uid, 1) doSendMagicEffect(pos, CONST_ME_TELEPORT) end return true end
  5. data\globalevents\scripts\tp.lua function onThink(interval, lastExecution, thinkInterval) local pos = { [1] = {x = 160, y = 50, z = 7}, -- Coordenadas do destino [2] = {x = 160, y = 51, z = 7}, -- Coordenadas do destino [3] = {x = 160, y = 52, z = 7}, -- Coordenadas do destino [4] = {x = 160, y = 53, z = 7}, -- Coordenadas do destino [5] = {x = 160, y = 54, z = 7}, -- Coordenadas do destino } local po = {x=160, y=51, z=7} -- aqui coloca tp que vai aparecer local time = 5 doCreateTeleport(1387, pos[math.random(1,5)],po) doBroadcastMessage("O portal para o evento foi aberto e se fexará em 5 minutos.") addEvent(deleteTp, time*60*1000) addEvent(doBroadcastMessage, time*1000*60, "O portal do evento foi fexado. Próximo evento em 2 horas.") return true end function deleteTp() local delete = getTileItemById(pos, 1387) doRemoveItem(delete.uid, 1) doSendMagicEffect(pos, CONST_ME_TELEPORT) end data\globalevents\globalevents.xml adiciona isso <globalevent name="evento" interval="3600" event="script" value="tp.lua"/>
  6. to sem programa aqui mais pra quem quiser
  7. ver esse link http://www.xtibia.co...criando-magias/ ou http://www.xtibia.com/forum/topic/159676-tutorial-como-fazer-uma-magia/
  8. não sei se vc noto que esse tem menos linha do que esse do link
  9. tenta assim data\movements\scripts\hp-mn.lua function onEquip(cid, item, slot) for i= 1,60 do if i == 60 then doCreatureAddHealth(cid, 500) doCreatureAddMana(cid, 500) end return true end end function onDeEquip(cid, item, slot) for i= 1,60 do if i == 60 then doCreatureAddHealth(cid, 500) doCreatureAddMana(cid, 500) end return true end end data\movements\movements.xml esse 500 são sangue e mana <movevent type="Equip" itemid="7456" slot="legs" event="script" value="hp-mn.lua"/> <movevent type="DeEquip" itemid="7456" slot="legs" event="script" value="hp-mn.lua"/>
  10. normalmente fica em data\globalevents\scripts com nome de info se tivesse dito nome do ot seria mais claro
  11. se wamp trabalha com mysql acho que sim
  12. ha já falarão kkkkkk
  13. reportado pra fecha logo
  14. isso é uma boa ideia
  15. notle2012

    U.u

    kkk então parabéns amigo gogo a busca do conde "500"
  16. tenta assim não tenho ot de Dragon ball pra testa local combat = createCombatObject() setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_MAGIC_GREEN) setCombatParam(combat, COMBAT_PARAM_AGGRESSIVE, 0) local condition = createConditionObject(CONDITION_OUTFIT) setConditionParam(condition, CONDITION_PARAM_TICKS, 86400000) addOutfitCondition(condition, 0, 71, 0, 0, 0, 0) setCombatCondition(combat, condition) vegettossj1 = {lookType=423} vegettossj2 = {lookType=492} vegettossj3 = {lookType=424} vegettossj4 = {lookType=425} vegettossj5 = {lookType=426} ext = 1000 ---VEGETTO--- function onCastSpell(cid, var) if getPlayerVocation(cid) == 388 then elseif getPlayerLevel(cid) >= 50 then doPlayerSay(cid, 'transformar', TALKTYPE_ORANGE_1) doPlayerSetVocation(cid,389) doSetCreatureOutfit(cid, {lookType=423}, -1) addEvent(vegettossj1,ext,cid) doSendMagicEffect(getPlayerPosition(cid), 12) doSetOutfit(cid, 423) else doPlayerSendCancel(cid, "voce nao tem lvl 50!") doSendMagicEffect(getPlayerPosition(cid), 2) end function onCastSpell(cid, var) if getPlayerVocation(cid) == 389 then elseif getPlayerLevel(cid) >= 100 then doPlayerSay(cid, 'transformar', TALKTYPE_ORANGE_1) doPlayerSetVocation(cid,390) doSetCreatureOutfit(cid, {lookType=492}, -1) addEvent(vegettossj2,ext,cid) doSendMagicEffect(getPlayerPosition(cid), 12) doSetOutfit(cid, 492) else doPlayerSendCancel(cid, "voce nao tem lvl 100!") doSendMagicEffect(getPlayerPosition(cid), 2) end function onCastSpell(cid, var) if getPlayerVocation(cid) == 393 then elseif getPlayerLevel(cid) >= 150 then doPlayerSay(cid, 'transformar', TALKTYPE_ORANGE_1) doPlayerSetVocation(cid,394) doSetCreatureOutfit(cid, {lookType=424}, -1) addEvent(vegettossj3,ext,cid) doSendMagicEffect(getPlayerPosition(cid), 12) doSetOutfit(cid, 424) else doPlayerSendCancel(cid, "voce nao tem lvl 150!") doSendMagicEffect(getPlayerPosition(cid), 2) end function onCastSpell(cid, var) if getPlayerVocation(cid) == 394 then elseif getPlayerLevel(cid) >= 200 then doPlayerSay(cid, 'transformar', TALKTYPE_ORANGE_1) doPlayerSetVocation(cid,396) doSetCreatureOutfit(cid, {lookType=425}, -1) addEvent(vegettossj4,ext,cid) doSendMagicEffect(getPlayerPosition(cid), 12) doSetOutfit(cid, 425) else doPlayerSendCancel(cid, "voce nao tem lvl 200!") doSendMagicEffect(getPlayerPosition(cid), 2) end function onCastSpell(cid, var) if getPlayerVocation(cid) == 396 then if getPlayerLevel(cid) >= 400 then doPlayerSay(cid, 'transformar', TALKTYPE_ORANGE_1) doPlayerSetVocation(cid,397) doSetCreatureOutfit(cid, {lookType=426}, -1) addEvent(vegettossj5,ext,cid) doSendMagicEffect(getPlayerPosition(cid), 12) doSetOutfit(cid, 426) else doPlayerSendCancel(cid, "voce nao tem lvl 400!") doSendMagicEffect(getPlayerPosition(cid), 2) end else doPlayerSendCancel(cid, "Voce Nao tem mais Transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end end end end end end
  17. não testei só tirei os erros que vi function onUse(cid, item, frompos, item2, topos) player1pos = {x=topos.x, y=topos.y, z=topos.z, stackpos=253} player1 = getThingfromPos(player1pos) target = player1.uid templewinpos = {x=0,y=0,z=0} -- Coordenadas da sala de Recompensas. player1positions = { {x=0,y=0,z=0}, {x=1,y=1,z=1}, {x=2,y=2,z=2} } -- Locais onde é possível usar a runa no player. if getPlayerAccess(cid) >= 2 then if getCreaturePosition(target) == isInArray(player1positions, TRUE) then if getPlayerAccess(target) == 1 then doTeleportThing(target, templewinpos) setPlayerStorageValue(target, 9999, 0) doPlayerBroadcastMessage(target, "Congratulations, you won the game. Take your prizes in the chests and head to the exit.", 10) doSendMagicEffect(topos, 10) doSendAnimatedText(topos, "Winner!", 140) else doPlayerBroadcastMessage(cid, "Sorry, you can not use this item if not in a player.", 10) end else doPlayerBroadcastMessage(cid, "Sorry, you can only use this item for players who are in the awards position.", 10) end else doPlayerBroadcastMessage(cid, "Sorry, you havent access to use this item.", 10) end end
  18. exori mas gran data\spells\scripts\attack\superzerker.lua local combat = createCombatObject() setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE) setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_FIREATTACK) setAttackFormula(combat, COMBAT_FORMULA_LEVELMAGIC, 50, 60, 60, 65) local condition = createConditionObject(CONDITION_PARALYZE) setConditionParam(condition, CONDITION_PARAM_TICKS, 20000) --setConditionParam(condition, CONDITION_PARAM_SPEED, -500) setConditionFormula(condition, -0.9, 0, -0.9, 0) setCombatCondition(combat, condition) local arr = { {0, 0, 1, 0, 0}, {0, 1, 1, 1, 0}, {1, 1, 2, 1, 1}, {0, 1, 1, 1, 0}, {0, 0, 1, 0, 0}, } local area = createCombatArea(arr) setCombatArea(combat, area) function onCastSpell(cid, var) return doCombat(cid, combat, var) end data\spells\spells.xml adiciona isso <instant name="Super Zerker" words="exori mas gran" lvl="130" mana="340" prem="1" needweapon="1" exhaustion="1200" needlearn="0" script="attack/superzerker.lua"> <vocation id="4"/> <vocation id="8"/> </instant> só vi essa no meu ot já é um começo rsrs
  19. usa do meu ot data\talkactions\scripts\spellsinfo.lua local config = { rateExp = getConfigInfo('rateExp'), rateSkill = getConfigInfo('rateSkill'), rateLoot = getConfigInfo('rateLoot'), rateMagic = getConfigInfo('rateMagic'), rateSpawn = getConfigInfo('rateSpawn'), protectionLevel = getConfigInfo('protectionLevel') } function onSay(cid, words, param) local str = "#The New Spells by notle#\n\n[Para Todos]\n Utani Mega Hur (LvL 130, Mana 100)\n Crew (LvL 8, Mana 20)\n Exana Vis, Exana Flam, Exana San, Exana Pox, Exana Frigo (LvL 10, Mana 30)\n\n[Para Sorcerers e Druids]\n Exevo Frozen Hur (LvL 130, Mana 750)\n Exevo Gran Mas Mort (LvL 100, Mana 1600)\n\n[Para Paladins]\n Exevo San Condition (LvL 200, Mana 2000)\n Utito Mas Sio (LvL 50, Mana 250)\n Utito Mas San (LvL 100, Mana 750)\n\n[Para Knights]\n Exori Mas Gran (LvL 130, Mana 340)\n Utito Mas Sio (LvL 50, Mana 250)\n Utito Mas Gran (LvL 100, Mana 500)\n\n\n#The New Runes by GOD Slayer#\n\n Mage SD Rune (Vende no Npc de Rune por 100k, LvL 150, ML 100)\n Creat Bomb Rune (Vende no Npc de Rune por 100k, LvL 200, ML 7, Mana 1500)\n\n[Npc Mage Seller]\n Vende Bps de Runes (Diga por Exemplo Buy BP Sudden Death ou Buy X BP Sudden Death e Etc)\n\n--------------------------------------------------------------------\n-Protection level: " .. config.protectionLevel doPlayerPopupFYI(cid, str) return FALSE end data\talkactions\talkactions.xml <talkaction words="!spells" script="spellsinfo.lua"/> edita oq deixei em red local str = "#The New Spells by notle#\n\n[Para Todos]\n Utani Mega Hur (LvL 130, Mana 100)\n Crew (LvL 8, Mana 20)\n Exana Vis, Exana Flam, Exana San, Exana Pox, Exana Frigo (LvL 10, Mana 30)\n\n[Para Sorcerers e Druids]\n Exevo Frozen Hur (LvL 130, Mana 750)\n Exevo Gran Mas Mort (LvL 100, Mana 1600)\n\n[Para Paladins]\n Exevo San Condition (LvL 200, Mana 2000)\n Utito Mas Sio (LvL 50, Mana 250)\n Utito Mas San (LvL 100, Mana 750)\n\n[Para Knights]\n Exori Mas Gran (LvL 130, Mana 340)\n Utito Mas Sio (LvL 50, Mana 250)\n Utito Mas Gran (LvL 100, Mana 500)\n\n\n#The New Runes by GOD Slayer#\n\n Mage SD Rune (Vende no Npc de Rune por 100k, LvL 150, ML 100)\n Creat Bomb Rune (Vende no Npc de Rune por 100k, LvL 200, ML 7, Mana 1500)\n\n[Npc Mage Seller]\n Vende Bps de Runes (Diga por Exemplo Buy BP Sudden Death ou Buy X BP Sudden Death e Etc)\n\n--------------------------------------------------------------------\n-Protection level: " .. config.protectionLevel ou se quiser fazer do zero troca linha por essa local str = "nome1 \n nome2 \n nome3 \n nome4 " .. config.protectionLevel
  20. usa esse if (getCreatureCondition(cid, CONDITION_INFIGHT) == TRUE) then
  21. @Vodkart aqui pega sim mais eu use sem ['frags'] = "frags"
  22. data\talkactions\scripts\ranking.lua local config = { MaxPlayer = 20, fight_skills = { ['fist'] = 0, ['club'] = 1, ['sword'] = 2, ['axe'] = 3, ['distance'] = 4, ['shielding'] = 5, ['fishing'] = 6, ['dist'] = 4, ['shield'] = 5, ['fish'] = 6, }, other_skills = { [''] = "level", ['level'] = "level", ['magic'] = "maglevel", ['health'] = "healthmax", ['mana'] = "manamax", ['frags'] = "frags" }, vocations = { ['druid'] = {1,2,5,6,9,10}, ['paladin'] = {3,7,11}, ['knight'] = {4,8,12} } } function onSay(cid, words, param) local param,str = string.lower(param),"" if not config.fight_skills[param] and not config.other_skills[param] and not config.vocations[param] then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "este rank não existe.") return true end str = "--[ RANK "..(param == "" and "LEVEL" or string.upper(param)).." ]--\n" query = config.fight_skills[param] and db.getResult("SELECT `player_id`, `value` FROM `player_skills` WHERE `skillid` = "..config.fight_skills[param].." ORDER BY `value` DESC;") or config.other_skills[param] and db.getResult("SELECT `name`, `"..config.other_skills[param].."` FROM `players` WHERE `id` > 6 AND `group_id` < 2 ORDER BY `"..config.other_skills[param].."` DESC, `name` ASC;") or db.getResult("SELECT `name`, `level` FROM `players` WHERE `group_id` <= 2 AND `vocation` = "..config.vocations[param][1].." or `vocation` = "..config.vocations[param][2].." ORDER BY `level` DESC;") if (query:getID() ~= -1) then k = 1 while true do str = str .. "\n " .. k .. ". "..(config.fight_skills[param] and getPlayerNameByGUID(query:getDataString("player_id")) or query:getDataString("name")).." - [" .. query:getDataInt(config.fight_skills[param] and "value" or config.vocations[param] and "level" or config.other_skills[param]) .. "]" k = k + 1 if not(query:next()) or k > config.MaxPlayer then break end end query:free() end doShowTextDialog(cid,6500, str) return true end data\talkactions\talkactions.xml adiciona isso <talkaction words="!rank" script="ranking.lua" />
  23. notle2012

    Pra Quem Um Pc Bom

    The Witcher 2 RPG medieval volta com gráficos ainda melhores e novidades nos sistemas de diálogos. Um Dos Jogos Mais Difícil De Pc Tem Muitos Finais Diferentes...
  24. aqui amigo http://www.4shared.com/zip/oR-WBsXw/item_editor.html?
  • Quem Está Navegando   0 membros estão online

    • Nenhum usuário registrado visualizando esta página.
×
×
  • Criar Novo...