Ir para conteúdo

Wiihtop

Artesão
  • Total de itens

    136
  • Registro em

  • Última visita

Tudo que Wiihtop postou

  1. exemplo queria colocar ao usar uma exemplo uma runa ela contecesse nela exemplo para o player automaticamente usar o talkaction exemplo eu uso o action e ele sozinho fala !sit seroia para faser uma lista de buffs igual dbz upa up
  2. deu errado esse se eu ussar na pessoa o item tbm transforma eu queria que ele so mudasse se eu usa-se o item em min exemplo se eu usa-se na pessoa ele apenas copiaria mana agora se eu usa-se em min ele tranfsformaria para outro item ......
  3. exemplo se eu usar essa aaction em alguem ela copia a mana, agora se eu usa-la ela em min ela se transforma num item 2106
  4. GALERA PRECISSO DE AJUDA QUERO DEIXAR ESSE ITEM O SEGUINTE SE EU USAR EM ALGUEM ELE COPIA MANA, AGORA SE EU USAR ELE EM MIN ELE ACONTECE A FUNÇAO DOTRANSFORM ITEM ... ! POREM NAO ESTOU CONSEGUINDO ME AJUDEM, ! rep++ function onUse(cid, item, fromPosition, itemEx, toPosition) local ids = {13,14} --Coloque o ID das vocations nesta tabela. local storage = 1234 -- storage local time = 60 -- tempo em minutos local mana = getCreatureMana(itemEx.uid) if getTilePzInfo(getCreaturePosition(cid)) or getTilePzInfo(getCreaturePosition(itemEx.uid)) then return false end if isInArray(ids, getPlayerVocation(cid)) then if getPlayerStorageValue(cid, storage) - os.time() <= 0 then if isPlayer(itemEx.uid) then doCreatureAddMana(itemEx.uid, -mana) doCreatureAddMana(cid, mana) doSendMagicEffect(getCreaturePosition(cid), 11) doSendMagicEffect(getCreaturePosition(itemEx.uid), 12) setPlayerStorageValue(cid, storage, os.time()+1*60) else doPlayerSendCancel(cid, "Você só pode usar o item em players.") end else doPlayerSendCancel(cid, "Você só pode usar o item a cada "..time.." segundos.") end return true end end function onUse(cid, item, frompos, item2, topos) local item1 = 2553 local health = 50 -- % local mana = 50 -- % local h = (getCreatureHealth(cid))*(health)/(100) local m = (getCreatureMana(cid))*(mana)/(100) doCreatureAddHealth(cid, -h) doCreatureAddMana(cid, -m) doTransformItem(item.uid, item1) doCreatureSay(cid, 'Mangekyou Sharingan!', TALKTYPE_ORANGE_1) end return true end upa
  5. entao precisso de gente na staff estou sozinho ))";
  6. COMO SEMPRE VOCE ME AJUDANDO TE AMO DUU REP ++
  7. Galera precisso de sugestoes suas eu estou criando um novo narutibia encima do nto, mudando as distro''s e tudo mais oque eu estou fazendo no momento sistema de sharingan's byakugan pet para akamaru, kikai etc... obs eu estou retirando as aspr do nto, e adicionando as spr que rodavam em 7.81 e criando diversas spr novas ! como funciona o sharingan o sharingan level 1 apenas te da 10 up + em seus skills o sharingan level 2 apenas te da 15 up em casa skills o sharingna level 3 copia o chakra de quem eu usa-lo tendo enxausted o mangekyou sharingan (hatake e obito) tem o kamuii, que teleporta o player para a dimensao tobi o byakugan mostra os skills do inimigo, e deixa ele paralizado durante 10 sec perdendo life o pet sistema, do akamaru, é igual do poketibia o akamaru tem a1 a2 s3 e Tem ride ! ja o madara, eu adicionei o rinnegan e o sharingan a ele, o rinnegan da 100 % de life em quem eu usar . ! e tem os sistemas de rep+, Sistemas de !CHAKRA para recuperar o chakra e o KAGE BUNSHIN copia nome look etc.. e tem o edo tensei que é inovador nenhum nto tem até hj ! galera PRECISSO DE SUGESTOES O SERVIDOR JA ESTA COM FLY , RIDE upa
  8. galera eu precissava adicionar nessa action que quando eu usa-la tire 50 % de meu e 50 % de minha mana agradeço a voceS !!!!desde ja rep ++ function onUse(cid, item, frompos, item2, topos) local item1 = 2160 doTransformItem(item.uid, item1) doCreatureSay(cid, 'HAHAI', TALKTYPE_ORANGE_1) return true end
  9. cara axo feio essas spr de nto 1000+ vezes as do 7.81 :/// !
  10. Ao passar o tp sua spawn id muda ... vai começar a nascer em outro lugar.. precisos que quando algum player entre em tal tp o respawn de onde nasce muda para z x y
  11. esse é do meu sv de pokemon tenta :x local config = { loginMessage = getConfigValue('loginMessage'), useFragHandler = getBooleanFromString(getConfigValue('useFragHandler')) } function onLogin(cid) registerCreatureEvent(cid, "PlayerAttack") doPlayerSetLossPercent(cid, PLAYERLOSS_EXPERIENCE, 0) doCreatureSetDropLoot(cid, false) local accountManager = getPlayerAccountManager(cid) if(accountManager == MANAGER_NONE) then local lastLogin, str = getPlayerLastLoginSaved(cid), config.loginMessage if(lastLogin > 0) then doPlayerSendTextMessage(cid, MESSAGE_STATUS_DEFAULT, str) str = "Your last visit was on " .. os.date("%a %b %d %X %Y", lastLogin) .. "." else str = str .. " Have fun! " end doPlayerSendTextMessage(cid, MESSAGE_STATUS_DEFAULT, str) elseif(accountManager == MANAGER_NAMELOCK) then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, "Hello, it appears that your character has been namelocked, what would you like as your new name?") elseif(accountManager == MANAGER_ACCOUNT) then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, "Hello, type 'account' to manage your account and if you want to start over then type 'cancel'.") else doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, "Hello, type 'account' to create an account or type 'recover' to recover an account.") end if(not isPlayerGhost(cid)) then doSendMagicEffect(getCreaturePosition(cid), CONST_ME_TELEPORT) end local flys = { ['Moltres'] = {229, 2300}, ['Articuno'] = {230, 2100}, ['Zapdos'] = {224, 2600}, ['Mew'] = {232, 2200}, ['Mewtwo'] = {233, 2200}, ['Dragonite'] = {221, 1300}, ['Pidgeot'] = {222, 900}, ['Fearow'] = {226, 800}, ['Aerodactyl'] = {227, 1100}, ['Charizard'] = {216, 1000}, ['Porygon'] = {316, 600}, ['Shiny Charizard'] = {295, 2000}, } local rides = { ["Tauros"] = {128, 780, 400}, -- tauros ["Ninetales"] = {129, 800, 375}, -- kyuubi ["Rapidash"] = {130, 800, 395}, -- rapid ["Ponyta"] = {131, 410, 500}, -- ponyta ["Rhyhorn"] = {132, 400, 510}, -- rhyhorn ["Arcanine"] = {12, 900, 390}, -- arcan ["Shiny Arcanine"] = {492, 1000, 360}, -- shiny arca ["Shiny Venusaur"] = {494, 420, 420}, -- shiny vneu ["Crystal Onix"] = {293, 480, 430}, -- cristal onix ["Onix"] = {126, 450, 450}, -- onix ["Venusaur"] = {134, 390, 450}, -- venu ["Dodrio"] = {133, 750, 380}, -- dodrio ["Doduo"] = {135, 420, 500}, -- doduo } local surf = { ["Poliwag"] = {lookType=278, speed = 320}, ["Poliwhirl"] = {lookType=137, speed = 480}, ["Seaking"] = {lookType=269, speed = 520}, ["Dewgong"] = {lookType=183, speed = 700}, ["Blastoise"] = {lookType=184, speed = 850}, ["Tentacruel"] = {lookType=185, speed = 750}, ["Lapras"] = {lookType=186, speed = 960}, ["Gyarados"] = {lookType=187, speed = 1050}, ["Omastar"] = {lookType=188, speed = 680}, ["Kabutops"] = {lookType=189, speed = 840}, ["Poliwrath"] = {lookType=190, speed = 680}, ["Vaporeon"] = {lookType=191, speed = 800}, ["Staryu"] = {lookType=266, speed = 385}, ["Starmie"] = {lookType=267, speed = 685}, ["Goldeen"] = {lookType=268, speed = 355}, ["Seadra"] = {lookType=270, speed = 655}, ["Golduck"] = {lookType=271, speed = 760}, ["Squirtle"] = {lookType=273, speed = 365}, ["Wartortle"] = {lookType=275, speed = 605}, ["Tentacool"] = {lookType=277, speed = 340}, ["Snorlax"] = {lookType=300, speed = 500}, } registerCreatureEvent(cid, "GuildMotd") registerCreatureEvent(cid, "PlayerPokeDeath") registerCreatureEvent(cid, "LogoutPoke") registerCreatureEvent(cid, "WildAttack") registerCreatureEvent(cid, "Idle") registerCreatureEvent(cid, "Tele") registerCreatureEvent(cid, "Exp") registerCreatureEvent(cid, "Alook") if getPlayerStorageValue(cid, 61207) >= 1 then setPlayerStorageValue(cid, 61207, 0) if getPlayerSlotItem(cid, 8).itemid == 2223 or getPlayerSlotItem(cid, 8).itemid == 2221 then doTransformItem(getPlayerSlotItem(cid, 8).uid, getPlayerSlotItem(cid, 8).itemid-1) end local item = getPlayerSlotItem(cid, 8) doItemSetAttribute(item.uid, "poke", getItemAttribute(item.uid, "poke") .. " HP = ["..getPlayerStorageValue(cid, 61205).."/"..getPlayerStorageValue(cid, 61206).."]") end if getPlayerItemCount(cid, pokeout) >= 1 and getPlayerStorageValue(cid, 61207) <= 0 and getPlayerStorageValue(cid, 17001) <= 0 and getPlayerStorageValue(cid, 17000) <= 0 and getPlayerStorageValue(cid, 63215) <= 0 then local item = getPlayerItemById(cid, TRUE, pokeout) doTransformItem(item.uid, pokein) doItemSetAttribute(item.uid, "poke", getItemAttribute(item.uid, "poke") .. " HP = ["..getPlayerStorageValue(cid, 61205).."/"..getPlayerStorageValue(cid, 61206).."]") end if getPlayerItemCount(cid, ultrapokeout) >= 1 and getPlayerStorageValue(cid, 61207) <= 0 and getPlayerStorageValue(cid, 17001) <= 0 and getPlayerStorageValue(cid, 17000) <= 0 and getPlayerStorageValue(cid, 63215) <= 0 then local item = getPlayerItemById(cid, TRUE, ultrapokeout) doTransformItem(item.uid, ultrapokein) doItemSetAttribute(item.uid, "poke", getItemAttribute(item.uid, "poke") .. " HP = ["..getPlayerStorageValue(cid, 61205).."/"..getPlayerStorageValue(cid, 61206).."]") end if getPlayerItemCount(cid, greatout) >= 1 and getPlayerStorageValue(cid, 61207) <= 0 and getPlayerStorageValue(cid, 17001) <= 0 and getPlayerStorageValue(cid, 17000) <= 0 and getPlayerStorageValue(cid, 63215) <= 0 then local item = getPlayerItemById(cid, TRUE, greatout) doTransformItem(item.uid, greatin) doItemSetAttribute(item.uid, "poke", getItemAttribute(item.uid, "poke") .. " HP = ["..getPlayerStorageValue(cid, 61205).."/"..getPlayerStorageValue(cid, 61206).."]") end if getPlayerItemCount(cid, superout) >= 1 and getPlayerStorageValue(cid, 61207) <= 0 and getPlayerStorageValue(cid, 17001) <= 0 and getPlayerStorageValue(cid, 17000) <= 0 and getPlayerStorageValue(cid, 63215) <= 0 then local item = getPlayerItemById(cid, TRUE, superout) doTransformItem(item.uid, superin) doItemSetAttribute(item.uid, "poke", getItemAttribute(item.uid, "poke") .. " HP = ["..getPlayerStorageValue(cid, 61205).."/"..getPlayerStorageValue(cid, 61206).."]") end if getPlayerItemCount(cid, saffariout) >= 1 and getPlayerStorageValue(cid, 61207) <= 0 and getPlayerStorageValue(cid, 17001) <= 0 and getPlayerStorageValue(cid, 17000) <= 0 and getPlayerStorageValue(cid, 63215) <= 0 then local item = getPlayerItemById(cid, TRUE, saffariout) doTransformItem(item.uid, saffariin) doItemSetAttribute(item.uid, "poke", getItemAttribute(item.uid, "poke") .. " HP = ["..getPlayerStorageValue(cid, 61205).."/"..getPlayerStorageValue(cid, 61206).."]") end doChangeSpeed(cid, -(getCreatureSpeed(cid))) if getPlayerStorageValue(cid, 17000) >= 1 then item = getPlayerSlotItem(cid, 8) poke = getItemAttribute(item.uid, "poke"):match("This is (.-)'s pokeball.") doChangeSpeed(cid, flys[poke][2]) registerCreatureEvent(cid, "Flying") doRemoveCondition(cid, CONDITION_OUTFIT) doSetCreatureOutfit(cid, {lookType = flys[poke][1], lookHead = 0, lookAddons = 0, lookLegs = 0, lookBody = 0, lookFeet = 0}, -1) elseif getPlayerStorageValue(cid, 63215) >= 1 then item = getPlayerSlotItem(cid, 8) poke = getItemAttribute(item.uid, "poke"):match("This is (.-)'s pokeball.") doSetCreatureOutfit(cid, surf[poke], -1) doChangeSpeed(cid, surf[poke].speed) elseif getPlayerStorageValue(cid, 17001) >= 1 then item = getPlayerSlotItem(cid, 8) poke = getItemAttribute(item.uid, "poke"):match("This is (.-)'s pokeball.") doChangeSpeed(cid, rides[poke][2]) doRemoveCondition(cid, CONDITION_OUTFIT) doSetCreatureOutfit(cid, {lookType = rides[poke][1], lookHead = 0, lookAddons = 0, lookLegs = 0, lookBody = 0, lookFeet = 0}, -1) else if getPlayerGroupId(cid) >= 2 and getPlayerGroupId(cid) <= 7 then doChangeSpeed(cid, 400*getPlayerGroupId(cid)) else doChangeSpeed(cid, 250) end end if getPlayerVocation(cid) == 0 then doPlayerSetVocation(cid, 1) setCreatureMaxMana(cid, 6) doPlayerAddSoul(cid, -getPlayerSoul(cid)) setPlayerStorageValue(cid, 19898, 0) end if getCreatureOutfit(cid).lookType == 128 then outfit = {lookType = 159} doCreatureChangeOutfit(cid, outfit) elseif getCreatureOutfit(cid).lookType == 136 then outfit = {lookType = 160} doCreatureChangeOutfit(cid, outfit) end registerCreatureEvent(cid, "ReportBug") registerCreatureEvent(cid, "AdvanceSave") return true end
  12. coloque esta la .. local config = { loginMessage = getConfigValue('loginMessage'), useFragHandler = getBooleanFromString(getConfigValue('useFragHandler')) } function onLogin(cid) local loss = getConfigValue('deathLostPercent') if(loss ~= nil) then doPlayerSetLossPercent(cid, PLAYERLOSS_EXPERIENCE, loss * 10) end local accountManager = getPlayerAccountManager(cid) if(accountManager == MANAGER_NONE) then local lastLogin, str = getPlayerLastLoginSaved(cid), config.loginMessage if(lastLogin > 0) then doPlayerSendTextMessage(cid, MESSAGE_STATUS_DEFAULT, str) str = "Your last visit was on " .. os.date("%a %b %d %X %Y", lastLogin) .. "." end doPlayerSendTextMessage(cid, MESSAGE_STATUS_DEFAULT, str) elseif(accountManager == MANAGER_NAMELOCK) then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, "Hello, it appears that your character has been namelocked, what would you like as your new name?") elseif(accountManager == MANAGER_ACCOUNT) then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, "Hello, type 'account' to manage your account and if you want to start over then type 'cancel'.") else doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, "Hello, type 'account' to create an account or type 'recover' to recover an account.") end if(not isPlayerGhost(cid)) then doSendMagicEffect(getCreaturePosition(cid), CONST_ME_TELEPORT) end registerCreatureEvent(cid, "Mail") registerCreatureEvent(cid, "GuildMotd") registerCreatureEvent(cid, "Idle") if(config.useFragHandler) then registerCreatureEvent(cid, "SkullCheck") end registerCreatureEvent(cid, "ProtDeath") registerCreatureEvent(cid, "Biohazard") registerCreatureEvent(cid, "ZombieAttack") registerCreatureEvent(cid, "WeaponMana") registerCreatureEvent(cid, "showVoc") registerCreatureEvent(cid, "ReportBug") registerCreatureEvent(cid, "AdvanceSave") registerCreatureEvent("ondeath") return true end
  13. Wiihtop

    Spell de Clone

    [28/03/2014 20:02:26] data/spells/scripts/naruto/kagebunshin.lua:17: in function <data/spells/scripts/naruto/kagebunshin.lua:1> erro. [28/03/2014 20:07:29] data/spells/scripts/naruto/kagebunshin.lua:17: attempt to call global 'setCreatureName' (a nil value) [28/03/2014 20:07:29] stack traceback: [28/03/2014 20:07:29] data/spells/scripts/naruto/kagebunshin.lua:17: in function <data/spells/scripts/naruto/kagebunshin.lua:1>
  14. Wiihtop

    Spell de Clone

    visconde ,me ajude pf eu to com esse script porem to sem o spell para sumon o monster
  15. vou tentar aqui testo e ja te mando..
  16. Wiihtop

    Spell de Clone

    deu certo?
  17. por favor agradeço posta sim amigao posta )': por favor junior pf upa junior posta pf ..
  18. rep++ lindu so n t beijo pq n gosto de homem <3
  19. duu me ajuda pf ): ajuda nessa script
  20. erro [27/03/2014 22:10:07] data/actions/scripts/ms.lua:3: attempt to index global 'itemEx' (a nil value) [27/03/2014 22:10:07] [Warning - Event::loadScript] Cannot load script (data/actions/scripts/ms.lua)
  21. precisso modificar essa actions , Eu quero que ela funcione da seguinte maneira se eu usar ela em algum player ele é teleportado para z x y e depois de 10 segundos volta de onde tinha saido porem , ela esta com um bug , ao eu usar em alguem ela me teleporta nao a pessoa ... ! me ajudem pf local toPos = {x = 1029, y = 910, z = 4} --pos para onde o player vai ser teleportado local tempo = 0 --tempo q ele vai ficar la... em segs local function teleport(cid, pos) if isCreature(cid) then doSendMagicEffect(pos, 21) doTeleportThing(cid, pos, false) end end function onUse(cid, Item, fromPosition, itemEx, toPosition) local pos = getPlayerPosition(cid) doTeleportThing(cid, toPos, false) doSendMagicEffect(pos, 21) addEvent(teleport, tempo*1000, cid, pos) return true end
  22. okay daqui a pouco ja testo e te aviso e ja dou rep++ lucas e essa aqui quando eu uso ela apenas me teleporta tem como modificar para teleportar apenas em quem eu usar? local toPos = {x = 1029, y = 910, z = 4} --pos para onde o player vai ser teleportado local tempo = 5 --tempo q ele vai ficar la... em segs local function teleport(cid, pos) if isCreature(cid) then doSendMagicEffect(pos, 21) doTeleportThing(cid, pos, false) end end function onUse(cid, Item, fromPosition, itemEx, toPosition) local pos = getPlayerPosition(cid) doTeleportThing(cid, toPos, false) doSendMagicEffect(pos, 21) addEvent(teleport, tempo*1000, cid, pos) return true end
  23. te amo lindu bua buaa ): [27/03/2014 20:29:18] data/talkactions/scripts/clone.lua:47: attempt to call global 'doCreateCustomMonster' (a nil value) [27/03/2014 20:29:18] stack traceback: [27/03/2014 20:29:18] data/talkactions/scripts/clone.lua:47: in function <data/talkactions/scripts/clone.lua:36>
  • Quem Está Navegando   0 membros estão online

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