Ir para conteúdo

DaniloNunes

Campones
  • Total de itens

    15
  • Registro em

  • Última visita

Tudo que DaniloNunes postou

  1. DaniloNunes

    [Dúvida]

    galera to com uma dúvida.. meu ot é um alissow 8.50 ele ta com o seguinte problema.. se vc der /clean tem vezes que o ot cai.. tem vezes que não.. gostaria de saber se tem algum meio de arrumar isso obrigado local cleanEvent = 0 function onSay(cid, words, param, channel) if(param == '') then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Collected " .. doCleanMap() .. " items.") return true end if(param == 'tile') then local removeLoadedFromMap = false local t = string.explode(param, ",") if(t[2]) then removeLoadedFromMap = getBooleanFromString(t[2]) end doCleanTile(getCreaturePosition(cid), removeLoadedFromMap) return true end if(not tonumber(param)) then doPlayerSendCancel(cid, "Command requires numeric param.") return true end stopEvent(cleanEvent) prepareClean(tonumber(param), cid) return true end function prepareClean(minutes, cid) if(minutes == 0) then if(isPlayer(cid)) then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Cleaned " .. doCleanMap() .. " items.") end doBroadcastMessage("Game map cleaned.") elseif(minutes > 0) then if(minutes == 1) then doBroadcastMessage("Game map cleaning in " .. minutes .. " minute, please pick up all your items.") else doBroadcastMessage("Game map cleaning in " .. minutes .. " minutes.") end cleanEvent = addEvent(prepareClean, 60000, minutes - 1, cid) end end
  2. -- script by Marcryzius D'evil. -- function onSay(cid, words, param) config = { level=360, -- level necessario pra reseta. RemainingLvl=8, -- level que ficará depois de ser resetado. exper=4200, -- experiencia que ficará depois de ser resetado. pid=getPlayerGUID(cid), -- não mecha skull="yes", -- players com white skull podem resetar? ("yes" or "no"). redskull="no", -- players com red skull podem resetar? ("yes" or "no"). prot="no", -- players precisam estar em protection zone pra resetar? ("yes" or "no"). bat="yes", --players precisam estar sem fight pra resetarem? ("yes" or "no"). stages = 10, lvlByStage = 25 } function getResets(cid) reset = getPlayerStorageValue(cid,1020) if reset < 0 then reset = 0 end return reset end if(config.skull == "no") and (getCreatureSkullType(cid) == 3) then doPlayerSendTextMessage(cid,22,"apenas players sem white skull podem resetar.") return TRUE end if(config.redskull == "no") and (getCreatureSkullType(cid) == 4) then doPlayerSendTextMessage(cid,22,"apenas player sem red skull podem resetar.") return TRUE end if(config.prot == "yes") and (getTilePzInfo(getCreaturePosition(cid)) == FALSE) then doPlayerSendTextMessage(cid,22,"você precisa estar em protection zone pra poder resetar.") return TRUE end if(config.bat == "yes") and (getCreatureCondition(cid, CONDITION_INFIGHT) == TRUE) then doPlayerSendTextMessage(cid,22,"você precisa estar sem battle pra poder resetar.") return TRUE end local needlvl = config.level + (config.lvlByStage * math.floor(getResets(cid)/config.stages)) if getPlayerLevel(cid) >= needlvl then setPlayerStorageValue(cid,1020,getResets(cid)+1) doPlayerPopupFYI(cid,"Parabens Voce resetou agora, voce tem "..getResets(cid).." reset.") doRemoveCreature(cid) db.executeQuery("UPDATE `players` SET `level` = "..config.RemainingLvl..", `experience` = "..config.exper.." WHERE `id` = "..config.pid) else doPlayerSendCancel(cid, "voce precisa ter level "..level.." ou mais para resetar.") doSendMagicEffect(getPlayerPosition(cid), CONST_ME_POFF) end return TRUE end marcelo , obrigado por posta! gostaria que você me desse uma ajuda.. eu queria implantar o look com reset nesse script de reset.. sera que vc pode me ajudar ? obrigado!
  3. PUTZ AMIGO ! OBRIGADO! VLW MESMO !! DEU CERTINHO.. UM PONTO PRA TI ;D .. AGORA SÓ FALTA UM LOOK COM RESET.. SERÁ QUE VC CONSEGUE? OBRIGADO MESMO VIU! tipo é normal aparecer isso : [29/05/2010 19:02:47] Error during getDataInt(play er_id). [29/05/2010 19:02:47] Error during getDataInt(play er_id). [29/05/2010 19:02:47] Error during getDataInt(play er_id). [29/05/2010 19:02:47] Error during getDataInt(play er_id). [29/05/2010 19:02:47] Error during getDataInt(play er_id). [29/05/2010 19:02:47] Error during getDataInt(play er_id). [29/05/2010 19:02:47] Error during getDataInt(play er_id). [29/05/2010 19:02:47] Error during getDataInt(play er_id). [29/05/2010 19:02:47] Error during getDataInt(play er_id). [29/05/2010 19:02:47] Error during getDataInt(play er_id).
  4. então dê uma olhada como fica em meu ot... tem várias pessoas com ums 40~50~60 reset's... se vc perceber o primeiro numero são 8 e 9 me ajudem aê..
  5. /\ amigo.. esse rank só aparecem pessoas de até 9 reset.. dps do 9° reset não aparece mais.. "/ /\ amigo.. esse rank só aparecem pessoas de até 9 reset.. dps do 9° reset não aparece mais.. "/
  6. vo ficar esperando ..
  7. -
  8. -- script by Marcryzius D'evil. -- function onSay(cid, words, param) config = { level=360, -- level necessario pra reseta. RemainingLvl=8, -- level que ficará depois de ser resetado. exper=4200, -- experiencia que ficará depois de ser resetado. pid=getPlayerGUID(cid), -- não mecha skull="yes", -- players com white skull podem resetar? ("yes" or "no"). redskull="no", -- players com red skull podem resetar? ("yes" or "no"). prot="no", -- players precisam estar em protection zone pra resetar? ("yes" or "no"). bat="yes", --players precisam estar sem fight pra resetarem? ("yes" or "no"). stages = 10, lvlByStage = 25 } function getResets(cid) reset = getPlayerStorageValue(cid,1020) if reset < 0 then reset = 0 end return reset end if(config.skull == "no") and (getCreatureSkullType(cid) == 3) then doPlayerSendTextMessage(cid,22,"apenas players sem white skull podem resetar.") return TRUE end if(config.redskull == "no") and (getCreatureSkullType(cid) == 4) then doPlayerSendTextMessage(cid,22,"apenas player sem red skull podem resetar.") return TRUE end if(config.prot == "yes") and (getTilePzInfo(getCreaturePosition(cid)) == FALSE) then doPlayerSendTextMessage(cid,22,"você precisa estar em protection zone pra poder resetar.") return TRUE end if(config.bat == "yes") and (getCreatureCondition(cid, CONDITION_INFIGHT) == TRUE) then doPlayerSendTextMessage(cid,22,"você precisa estar sem battle pra poder resetar.") return TRUE end local needlvl = config.level + (config.lvlByStage * math.floor(getResets(cid)/config.stages)) if getPlayerLevel(cid) >= needlvl then setPlayerStorageValue(cid,1020,getResets(cid)+1) doPlayerPopupFYI(cid,"Parabens Voce resetou agora, voce tem "..getResets(cid).." reset.") doRemoveCreature(cid) db.executeQuery("UPDATE `players` SET `level` = "..config.RemainingLvl..", `experience` = "..config.exper.." WHERE `id` = "..config.pid) else doPlayerSendCancel(cid, "voce precisa ter level "..level.." ou mais para resetar.") doSendMagicEffect(getPlayerPosition(cid), CONST_ME_POFF) end return TRUE end aeeee .. tomara que dê certoo ! vlw :* estarei no aguardo
  9. falto o look com reset.. po.. alguém ajuda ae "/
  10. po galera ajuda ae.. to precisando muito dessa função.. PLEASE
  11. DaniloNunes

    [Pedido] Spell

    GALERA.. QUERIA TIPO ASSIM.. UM SPELL.. QUE FOSSE TIPO AQUELE EXEVO GRAN MAS MORT.. E QUE ASSIM QUE VC SOLTASSE ELA.VC SE TRANSFORMASSE EM UM BIXO..Massive Energy Elementa ~ que a magia dure em torno de 10 segundos.. soltando exevo gran mas mort.. por todo lado da tela.. eu já vi essa magia no radbr.. se alguem me ajuda agradeço ! tipo essa aqui :
  12. faz um reset com look .. aí sim ficaria bacana !
  13. DaniloNunes

    {Duvida} Quest

    function onUse(cid, item, fromPosition, itemEx, toPosition) if item.uid == 50099 then queststatus = getPlayerStorageValue(cid,50099) if queststatus == -1 then doPlayerSendTextMessage(cid,MESSAGE_INFO_DESCR,"Você Ganhou 500 Beck Crystal Coins.") local bag = doPlayerAddItem(cid,10522,1) doPlayerAddItem(bag,9971,100) doPlayerAddItem(bag,9971,100) doPlayerAddItem(bag,9971,100) doPlayerAddItem(bag,9971,100) doPlayerAddItem(bag,9971,100) setPlayerStorageValue(cid,50015,1) setPlayerStorageValue(cid,50015,1) doTeleportThing(cid, {x=2800, y=23, z=7}) else doPlayerSendTextMessage(cid,MESSAGE_INFO_DESCR, "Você jah Contem esse item.") end end return 1 end esse meu script deve ter alguma coisa eerrada..pq os player dão pra pega esses items um monte de vez.. ajude ae..
  14. queria um spell tipo de infernalist igual ao rad.. se algém ae já jogou.. é assim : solta a tal magia e acontece.. do char ficar com um sprite diferente.. e fica atacando tipo exevo gran mas mort.. já viram? se alguem puder me ajudar agradeço ! vlw
  15. UP ! ?
  16. -- script by Marcryzius D'evil. -- function onSay(cid, words, param) config = { level=360, -- level necessario pra reseta. RemainingLvl=8, -- level que ficará depois de ser resetado. exper=4200, -- experiencia que ficará depois de ser resetado. pid=getPlayerGUID(cid), -- não mecha skull="yes", -- players com white skull podem resetar? ("yes" or "no"). redskull="no", -- players com red skull podem resetar? ("yes" or "no"). prot="no", -- players precisam estar em protection zone pra resetar? ("yes" or "no"). bat="yes", --players precisam estar sem fight pra resetarem? ("yes" or "no"). stages = 10, lvlByStage = 25 } function getResets(cid) reset = getPlayerStorageValue(cid,1020) if reset < 0 then reset = 0 end return reset end if(config.skull == "no") and (getCreatureSkullType(cid) == 3) then doPlayerSendTextMessage(cid,22,"apenas players sem white skull podem resetar.") return TRUE end if(config.redskull == "no") and (getCreatureSkullType(cid) == 4) then doPlayerSendTextMessage(cid,22,"apenas player sem red skull podem resetar.") return TRUE end if(config.prot == "yes") and (getTilePzInfo(getCreaturePosition(cid)) == FALSE) then doPlayerSendTextMessage(cid,22,"você precisa estar em protection zone pra poder resetar.") return TRUE end if(config.bat == "yes") and (getCreatureCondition(cid, CONDITION_INFIGHT) == TRUE) then doPlayerSendTextMessage(cid,22,"você precisa estar sem battle pra poder resetar.") return TRUE end local needlvl = config.level + (config.lvlByStage * math.floor(getResets(cid)/config.stages)) if getPlayerLevel(cid) >= needlvl then setPlayerStorageValue(cid,1020,getResets(cid)+1) doPlayerPopupFYI(cid,"you now was reset, you have "..getResets(cid).." reset\'s.") doRemoveCreature(cid) db.executeQuery("UPDATE `players` SET `level` = "..config.RemainingLvl..", `experience` = "..config.exper.." WHERE `id` = "..config.pid) else doPlayerSendCancel(cid, "Você precisa do level "..config.level.." ou mais para Resetar.") doSendMagicEffect(getPlayerPosition(cid), CONST_ME_POFF) end return TRUE end é esse aí !
  17. po.. faz tempo que to atráz de um look com reset.. ajuda ae plix ! já vi um tópico relacionado a isso.. mais buga char repetindo os resets tipo : Have a 1 reset,Have a 2 Reset ! AJUDA PLIX !
  18. [05/05/2010 06:57:08] attempt to index a nil value [05/05/2010 06:57:08] stack traceback: [05/05/2010 06:57:08] [C]: in function 'doSendMagicEffect' [05/05/2010 06:57:08] data/actions/scripts/Scroll.lua:7: in function <data/actions/scripts/Scroll.lua:1> quando eu uso da esse erro.. seria possivel arrumar? tipo funciona.. mais acontece isso !
  19. function onUse(cid, item, frompos, item2, topos) pos = {x=2998, y=43, z=7} if item.itemid == 2336 then doPlayerSendCancel(cid,"----Você foi Teleportado Para o Temple Com Sucesso----") doTeleportThing(cid,pos) doSendMagicEffect(nplayer1pos,10) doSendMagicEffect(topos,6) doSendMagicEffect(frompos,6) end return 1 end então galera esse script é de teleport.. gostaria que fosse assim : só poderia ser usado em 1 vez esse aí é infinito se for possivel.. se o player que for usar.. não esteja pk , e que o teleport as vezes falhasse seria possivel? obrigado
  20. DaniloNunes

    Script Com Reset

    -- script by Marcryzius D'evil. -- function onSay(cid, words, param) config = { level=350, -- level necessario pra reseta. RemainingLvl=8, -- level que ficará depois de ser resetado. exper=4200, -- experiencia que ficará depois de ser resetado. pid=getPlayerGUID(cid), -- não mecha skull="no", -- players com white skull podem resetar? ("yes" or "no"). redskull="yes", -- players com red skull podem resetar? ("yes" or "no"). prot="no", -- players precisam estar em protection zone pra resetar? ("yes" or "no"). bat="no" --players precisam estar sem fight pra resetarem? ("yes" or "no"). } function getResets(cid) reset = getPlayerStorageValue(cid,1020) if reset < 0 then reset = 0 end return reset end if(config.skull == "no") and (getCreatureSkullType(cid) == 3) then doPlayerSendTextMessage(cid,22,"Apenas players sem white skull podem resetar!") return TRUE end if(config.redskull == "no") and (getCreatureSkullType(cid) == 4) then doPlayerSendTextMessage(cid,22,"Apenas player sem red skull podem resetar!") return TRUE end if(config.prot == "yes") and (getTilePzInfo(getCreaturePosition(cid)) == FALSE) then doPlayerSendTextMessage(cid,22,"Você precisa estar em protection zone pra poder resetar!") return TRUE end if(config.bat == "yes") and (getCreatureCondition(cid, CONDITION_INFIGHT) == TRUE) then doPlayerSendTextMessage(cid,22,"Você precisa estar sem battle pra poder resetar!") return TRUE end if getPlayerStorageValue(cid,1020) > 5 then if getPlayerLevel(cid) >= 350 then setPlayerStorageValue(cid,1020,getResets(cid)+1) doPlayerSetNameDescription(cid, " Have a "..getResets(cid)+(1).." reset\'s.") doPlayerPopupFYI(cid,"You now was reset, you have "..getResets(cid)+(1).." reset\'s.") doTeleportThing(cid, getTownTemplePosition(getPlayerTown(cid))) doRemoveCreature(cid) db.executeQuery("UPDATE `players` SET `level` = "..config.RemainingLvl..", `experience` = "..config.exper.." WHERE `id` = "..config.pid) else doPlayerSendCancel(cid, "You need to have level "..level.." or more you may be reset.") doSendMagicEffect(getPlayerPosition(cid), CONST_ME_POFF) end if getPlayerStorageValue(cid,1020) > 10 then if getPlayerLevel(cid) >= 385 then setPlayerStorageValue(cid,1020,getResets(cid)+1) doPlayerSetNameDescription(cid, " Have a "..getResets(cid)+(1).." reset\'s.") doPlayerPopupFYI(cid,"You now was reset, you have "..getResets(cid)+(1).." reset\'s.") doTeleportThing(cid, getTownTemplePosition(getPlayerTown(cid))) doRemoveCreature(cid) db.executeQuery("UPDATE `players` SET `level` = "..config.RemainingLvl..", `experience` = "..config.exper.." WHERE `id` = "..config.pid) else doPlayerSendCancel(cid, "You need to have level "..level.." or more you may be reset.") doSendMagicEffect(getPlayerPosition(cid), CONST_ME_POFF) end if getPlayerStorageValue(cid,1020) > 15 then if getPlayerLevel(cid) >= 400 then setPlayerStorageValue(cid,1020,getResets(cid)+1) doPlayerSetNameDescription(cid, " Have a "..getResets(cid)+(1).." reset\'s.") doPlayerPopupFYI(cid,"You now was reset, you have "..getResets(cid)+(1).." reset\'s.") doTeleportThing(cid, getTownTemplePosition(getPlayerTown(cid))) doRemoveCreature(cid) db.executeQuery("UPDATE `players` SET `level` = "..config.RemainingLvl..", `experience` = "..config.exper.." WHERE `id` = "..config.pid) else doPlayerSendCancel(cid, "You need to have level "..level.." or more you may be reset.") doSendMagicEffect(getPlayerPosition(cid), CONST_ME_POFF) end if getPlayerStorageValue(cid,1020) > 25 then if getPlayerLevel(cid) >= 450 then setPlayerStorageValue(cid,1020,getResets(cid)+1) doPlayerSetNameDescription(cid, " Have a "..getResets(cid)+(1).." reset\'s.") doPlayerPopupFYI(cid,"You now was reset, you have "..getResets(cid)+(1).." reset\'s.") doTeleportThing(cid, getTownTemplePosition(getPlayerTown(cid))) doRemoveCreature(cid) db.executeQuery("UPDATE `players` SET `level` = "..config.RemainingLvl..", `experience` = "..config.exper.." WHERE `id` = "..config.pid) else doPlayerSendCancel(cid, "You need to have level "..level.." or more you may be reset.") doSendMagicEffect(getPlayerPosition(cid), CONST_ME_POFF) end if getPlayerStorageValue(cid,1020) > 30 then if getPlayerLevel(cid) >= 500 then setPlayerStorageValue(cid,1020,getResets(cid)+1) doPlayerSetNameDescription(cid, " Have a "..getResets(cid)+(1).." reset\'s.") doPlayerPopupFYI(cid,"You now was reset, you have "..getResets(cid)+(1).." reset\'s.") doTeleportThing(cid, getTownTemplePosition(getPlayerTown(cid))) doRemoveCreature(cid) db.executeQuery("UPDATE `players` SET `level` = "..config.RemainingLvl..", `experience` = "..config.exper.." WHERE `id` = "..config.pid) else doPlayerSendCancel(cid, "You need to have level "..level.." or more you may be reset.") doSendMagicEffect(getPlayerPosition(cid), CONST_ME_POFF) end elseif getPlayerLevel(cid) >= 350 then setPlayerStorageValue(cid,1020,getResets(cid)+1) doPlayerSetNameDescription(cid, " Have a "..getResets(cid)+(1).." reset\'s.") doPlayerPopupFYI(cid,"You now was reset, you have "..getResets(cid)+(1).." reset\'s.") doTeleportThing(cid, getTownTemplePosition(getPlayerTown(cid))) doRemoveCreature(cid) db.executeQuery("UPDATE `players` SET `level` = "..config.RemainingLvl..", `experience` = "..config.exper.." WHERE `id` = "..config.pid) else doPlayerSendCancel(cid, "You need to have level "..level.." or more you may be reset.") doSendMagicEffect(getPlayerPosition(cid), CONST_ME_POFF) end return TRUE end GALERA ESSE SCRIPT QUE EU PEGUEI TA ERRADÃO.. MAIS EU QUERIA UM MAIS OU MENOS ASSIM.. TEM COMO VOCÊS ARRUMAREM PRA MIM? POR FAVOR.. OBRIGADO
  21. aff só vai até o 9 reset ' , arruma ae na moral
  22. Up .. ajudem com o look com reset ae galera.. queria que ficasse assim [18 resets] ta acumulando
  23. DaniloNunes

    Duvida Sobre Ban

    Banishments notationsToBan = 50 warningsToFinalBan = 55 warningsToDeletion = 75 banLength = 60 * 60 finalBanLength = 60 * 60 ipBanishmentLength = 60 * 60 broadcastBanishments = "yes" maxViolationCommentSize = 200 autoBanishUnknownBytes = "no" galera queria saber um modo de tirar o ban do meu server.. que possam matar a vontade pegando redskull e talz mais que não serem BAN.. me ajudem ae.. vlw
  24. queria um rank de reset.. eu achei um aqui já mais não funciona.. no meu ot.. meu ot é um alissow 8.50 queria um sistema de rank de reset que não sejam iguais aos outros que não passa do 9° no rank.. tipo tem ums que o rank só vai até o 9° reset pLeASE
  • Quem Está Navegando   0 membros estão online

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