Ir para conteúdo
  • Cadastre-se

Gustavo Ntos

Membro
  • Total de itens

    309
  • Registro em

  • Última visita

  • Dias Ganhos

    2

Tudo que Gustavo Ntos postou

  1. local combat = createCombatObject() setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_HEALING) setCombatParam(combat, COMBAT_PARAM_AGGRESSIVE, false) setCombatParam(combat, COMBAT_PARAM_TARGETPLAYERSORSUMMONS, true) setCombatParam(combat, COMBAT_PARAM_DISPEL, CONDITION_PARALYZE) setHealingFormula(combat, COMBAT_FORMULA_LEVELMAGIC, 1.5, 0, 1.6, 0) local arr1 = { {0, 0, 0, 0, 0}, {0, 0, 3, 0, 0}, {0, 0, 0, 0, 0}, } local area1 = createCombatArea(arr1) setCombatArea(combat, area1) function xkarraw12(cid) local pos2 = getPlayerPosition(cid) if getPlayerLookDir(cid) == 1 then pos2.x
  2. Ja que a galera invadiu meu post ajuda o @Tulacala
  3. -- By Gustavo Ntos-- -- v2 Corrigida e testada 100%-- local item = 11506 function onStepIn(cid, item, position, fromPosition) if getPlayerItemCount(cid, item) >= 1 then doSendMagicEffect(getThingPos(cid), 12) doPlayerSendTextMessage(cid, 25, "Bem vindo a Area Exclusiva.") else doTeleportThing(cid, fromPosition, true) doSendMagicEffect(getThingPos(cid), 2) doPlayerSendTextMessage(cid, 25, "Desculpe, mas voce precisa de alguns items para p
  4. eu Testei em 0.3.6 e funcionou normal manda print do erro então
  5. -- By Gustavo Ntos-- -- v2 Corrigida e testada 100%-- local item = 11506 function onStepIn(cid, item, position, fromPosition) if getPlayerItemCount(cid, item) >= 1 then doSendMagicEffect(getThingPos(cid), 12) doPlayerSendTextMessage(cid, 25, "Bem vindo a Area Exclusiva.") else doTeleportThing(cid, fromPosition, true) doSendMagicEffect(getThingPos(cid), 2) doPlayerSendTextMessage(cid, 25, "Desculpe, mas voce precisa de alguns items para p
  6. local keywordHandler = KeywordHandler:new() local npcHandler = NpcHandler:new(keywordHandler) NpcSystem.parseParameters(npcHandler) local talkState = {} function onCreatureAppear(cid) npcHandler:onCreatureAppear(cid) end function onCreatureDisappear(cid) npcHandler:onCreatureDisappear(cid) end function onCreatureSay(cid, type, msg) npcHandler:onCreatureSay(cid, type, msg) end function onThink() npcHandler:onThink() end function creatureSayCallback(cid, type, msg) if(not npcHandler:isFocused(cid)) then return false end local talkUser = NPCHANDLER_CONVbehavior == CONVERSATION_DEFAULT
  7. Eu testei e funcionou tenta esse: -- By Gustavo Ntos-- -- v2 Corrigida e testada 100%-- local item = 11506 function onStepIn(cid, item, position, fromPosition) if getPlayerItemCount(cid, item) >= 1 then doSendMagicEffect(getThingPos(cid), 12) doPlayerSendTextMessage(cid, 25, "Bem vindo a Area Exclusiva.") else doTeleportThing(cid, fromPosition, true) doSendMagicEffect(getThingPos(cid), 2) doPlayerSendTextMessage(cid, 25, "Desculpe, mas voce precisa de alguns items para passar.")
  8. È quase impossivel pegar as Sprits deles , ele pagou um programador para impedir que os programas nao descompilem o client dele , so ele tem a .dat e .spr... Somente ele pode disponibilizar e isso é quase impossivel...o cara não ajuda ng.
  9. Peça sua script nesse post, Não venha com pedidos fodas, pois essem são pagos e não é do meu nivel de scripting. Scripts Disponiveis: Tfs Versão 0.3.6 e 0.4 Caso eu te ajude de REP+
  10. Testa essa v2 corrigida: -- By Gustavo Ntos-- -- v2 Corrigida e testada 100%-- local item = 11506 local itnome= nomedoitem function onStepIn(cid, item, position, fromPosition) if getPlayerItemCount(cid, item) >= 1 then doSendMagicEffect(getThingPos(cid), 12) doPlayerSendTextMessage(cid, 25, "Bem vindo a Area Exclusiva.") else doTeleportThing(cid, fromPosition, true) doSendMagicEffect(getThingPos(cid), 2) doPlayerSendTextMessage(cid, 25, "Desculpe, mas voce precisa de alguns items para passar.") end
  11. Testa essa que eu uso: -- ### CONFIG ### -- message send to player by script "type" (types you can check in "global.lua") SHOP_MSG_TYPE = 19 -- time (in seconds) between connections to SQL database by shop script SQL_interval = 30 -- ### END OF CONFIG ### function onThink(interval, lastExecution) local result_plr = db.getResult("SELECT * FROM z_ots_comunication WHERE `type` = 'login';") if(result_plr:getID() ~= -1) then while(true) do id = tonumber(result_plr:getDataInt("id")) action = tostring(result_plr:getDataString("action")) delete = tonumber(result_plr:getDataInt("delete_it")) cid
  12. testa: data/movements/script > Crie um arquivo chamado Passar.lua -- By Gustavo Ntos-- -- local item= 11506 --id local itnome= NOMEDOITEM -- function onStepIn(cid, item, position, fromPosition) getPlayerItemCount(cid, item) >= 1 doSendMagicEffect(getThingPos(cid), 12) doPlayerSendTextMessage(cid, 25, "Voce está entrando na área vip!") else doTeleportThing(cid, fromPosition, true) doSendMagicEffect(getThingPos(cid), 2) doPlayerSendTextMessage(cid, 25, "Desulpe mais voce precisa do item:"..it
  13. local SHOP_MSG_TYPE = MESSAGE_STATUS_CONSOLE_RED local SQL_interval = 30 function generateSerial() --local lettersUsedToGenerateHash = "AaBbCcDdEeFfGgHhIiJjKkLlMmOoPpQqRrSsTtUuVvWwXxYyZz" local lettersUsedToGenerateHash = "ABCDEFGHIJKLMOPQRSTUVWXYZ" local newSerial = "!" for k = 1, 10 do local l = math.random(1, string.len(lettersUsedToGenerateHash)) newSerial = newSerial .. string.sub(lettersUsedToGenerateHash, l, l) end local newSerialInt = math.random(999999) newSerial = newSerial .."-" .. newSerialInt -- Set TIME ->
  14. Testa isso aqui essa script almenta vida e diminui mana function onUse(cid, item, fromPosition, itemEx, toPosition) local waittime = 1 -- Tempo de exhaustion local storage = 326781 -- Nao meche local roupa=120 -- Newtype ao usar a alanvanca local vocation = 2 -- classe ao usar a alanvanca if exhaustion.check(cid, storage) then doPlayerSendCancel(cid, "You are exhausted") return false end doPlayerSetVocation(cid, vocation) doCreatureChangeOutfit(cid, roupa) doCreatureAddMana(cid, getCreatureMaxMana(cid)*0.9) doCreatureA
  15. movements/scripts crie um arquivo chamado aleat.lua -- By Gustavo Ntos-- -- -- function onStepIn(cid, item, position, fromPosition) local teleport = math.random(1, 15) local t1 = {x=?, y=?, z=?} local t2 = {x=?, y=?, z=?} local t3 = {x=?, y=?, z=?} local t4 = {x=?, y=?, z=?} local t5 = {x=?, y=?, z=?} local t6 = {x=?, y=?, z=?} local t7 = {x=?, y=?, z=?} local t8 = {x=?, y=?, z=?} local t9 = {x=?, y=?, z=?} local t10 = {x=?, y=?, z=?} local t11 = {x=?, y=?, z=?} local t12 = {x=?, y=?, z=?} local t13 = {x=?, y=?, z=?} local t14 = {x=?, y=?, z=?} local t15 = {x=?, y=?, z=?}
  16. 2-Crie um arquivo chamado level.lua em data/actions/scripts: function onUse(cid, item, fromPosition, itemEx, toPosition) local name=getPlayerName(cid) local player = getPlayerByNameWildcard(name) local amount=300 if getPlayerLevel(cid) >= 1 and getPlayerLevel(cid) <= 299 then doPlayerAddExp(player, getExperienceForLevel(300)-(getPlayerExperience(player))) doCreatureAddMana(player, getCreatureMaxMana(player)-getCreatureMana(player)) doCreatureAddHealth(player, getCreatureMaxHealth(player)-getCreatureHealth(player)) else doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "So
  17. local msgs = {"use ", ""} function doAlertReady(cid, id, movename, n, cd) if movename == "Mega Evolution" then return true end if not isCreature(cid) then return true end local myball = getPlayerSlotItem(cid, 8) if myball.itemid > 0 and getItemAttribute(myball.uid, cd) == "cd:"..id.."" then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, getPokeballName(myball.uid).." - "..movename.." (m"..n..") is ready!") return true end local p = getPokeballsInContainer(getPlayerSlotItem(cid, 3).uid) if not p or #p <= 0 then return true end for a = 1,
×
×
  • Criar Novo...

Informação Importante

Confirmação de Termo