-
Total de itens
3406 -
Registro em
-
Última visita
-
Dias Ganhos
113
Tudo que Vodkart postou
-
paralyze: local combat = createCombatObject() setCombatParam(combat, COMBAT_PARAM_TARGETCASTERORTOPMOST, true) setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_MAGIC_RED) local condition = createConditionObject(CONDITION_PARALYZE) setConditionParam(condition, CONDITION_PARAM_TICKS, 20000) setConditionFormula(condition, -0.9, 0, -0.9, 0) setCombatCondition(combat, condition) function onCastSpell(cid, var) doSendMagicEffect(getCreaturePosition(cid), CONST_ME_MAGIC_GREEN) return doCombat(cid, combat, var) end a da exori hur eu nao entendi pq sai uma espada na direção do monstro... e oque vc quer mudar? colocar algum efeito?
-
rs esqueci da white xD function onUse(cid, item, fromPosition, item2, toPosisition) if getCreatureSkullType(cid) == SKULL_WHITE or getCreatureSkullType(cid) == SKULL_RED or getCreatureSkullType(cid) == SKULL_BLACK then db.executeQuery("UPDATE `killers` SET `unjustified` = 0 WHERE `id` IN (SELECT `kill_id` FROM `player_killers` WHERE `player_id` = " .. getPlayerGUID(cid) .. ")") doCreatureSetSkullType(cid, 0) doCreatureSay(cid, "Your frags and skulls is cleaned!", 19) doSendMagicEffect(getPlayerPosition(cid), 26) doRemoveItem(item.uid, 1) else doPlayerSendCancel(cid,"You don't remover your frags and skulls.") doSendMagicEffect(getPlayerPosition(cid), 2) end return TRUE end
-
só pra esclarecer porque ta vindo 2 bp local bag = doPlayerAddItem(cid, 1988, 1) setPlayerStorageValue(cid, 30001, 1) end local bag = doPlayerAddItem(cid, 1988, 1) doAddContainerItem(bag, 2152, 2) doAddContainerItem(bag, 2554, 1) doAddContainerItem(bag, 2120, 1) doAddContainerItem(bag, 7618, 1) setPlayerStorageValue(cid, 30001, 1) return TRUE end o certo seria: local bag = doPlayerAddItem(cid, 1988, 1) doAddContainerItem(bag, 2152, 2) doAddContainerItem(bag, 2554, 1) doAddContainerItem(bag, 2120, 1) doAddContainerItem(bag, 7618, 1) setPlayerStorageValue(cid, 30001, 1) return TRUE end
-
function onUse(cid, item, fromPosition, item2, toPosisition) if getCreatureSkullType(cid) == SKULL_RED or getCreatureSkullType(cid) == SKULL_BLACK then db.executeQuery("UPDATE `killers` SET `unjustified` = 0 WHERE `id` IN (SELECT `kill_id` FROM `player_killers` WHERE `player_id` = " .. getPlayerGUID(cid) .. ")") doCreatureSetSkullType(cid, 0) doCreatureSay(cid, "Your frags and skulls is cleaned!", 19) doSendMagicEffect(getPlayerPosition(cid), 26) doRemoveItem(item.uid, 1) else doPlayerSendCancel(cid,"You don't remover your frags and skulls.") doSendMagicEffect(getPlayerPosition(cid), 2) end return TRUE end
-
não entendi ele tira os frags mais não tira as skull? ou ao contrario?
-
Script Magic Wall: local combat = createCombatObject() setCombatParam(combat, COMBAT_PARAM_DISTANCEEFFECT, CONST_ANI_ENERGY) setCombatParam(combat, COMBAT_PARAM_CREATEITEM, 1497) setCombatParam(combat, COMBAT_PARAM_AGGRESSIVE, false) function onCastSpell(cid, var) return doCombat(cid, combat, var) end Script Wild Growth: local combat = createCombatObject() setCombatParam(combat, COMBAT_PARAM_DISTANCEEFFECT, CONST_ANI_EARTH) setCombatParam(combat, COMBAT_PARAM_CREATEITEM, 1499) setCombatParam(combat, COMBAT_PARAM_AGGRESSIVE, false) function onCastSpell(cid, var) return doCombat(cid, combat, var) end no npc teria que adicionar: local keywordHandler = KeywordHandler:new() local npcHandler = NpcHandler:new(keywordHandler) NpcSystem.parseParameters(npcHandler) 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 -- XVX FORGER START -- function amulet(cid, message, keywords, parameters, node) if(not npcHandler:isFocused(cid)) then return false end if getPlayerItemCount(cid,8262) >= 1 and getPlayerItemCount(cid,8263) >= 1 and getPlayerItemCount(cid,8264) >= 1 and getPlayerItemCount(cid,8265) >= 1 then if doPlayerRemoveItem(cid,8262,1) and doPlayerRemoveItem(cid,8263,1) and doPlayerRemoveItem(cid,8264,1) and doPlayerRemoveItem(cid,8265,1) and (doPlayerRemoveMoney(cid, 5000) == TRUE) then npcHandler:say('Here is your item!', cid) doPlayerAddItem(cid,8266,1) end else npcHandler:say('You don\'t have these items!', cid) end end function obsidian(cid, message, keywords, parameters, node) if(not npcHandler:isFocused(cid)) then return false end if getPlayerItemCount(cid,2516) >= 1 and getPlayerItemCount(cid,2425) >= 1 then if doPlayerRemoveItem(cid,2516,1) and doPlayerRemoveItem(cid,2425,1) then npcHandler:say('Here is your item!', cid) doPlayerAddItem(cid,5908,1) end else npcHandler:say('You don\'t have these items!', cid) end end function crude(cid, message, keywords, parameters, node) if(not npcHandler:isFocused(cid)) then return false end if getPlayerItemCount(cid,5879) >= 1 then if doPlayerRemoveItem(cid,5879,1) then npcHandler:say('Here is your item!', cid) doPlayerAddItem(cid,5892,1) end else npcHandler:say('You don\'t have these items!', cid) end end function draconian(cid, message, keywords, parameters, node) if(not npcHandler:isFocused(cid)) then return false end if getPlayerItemCount(cid,2516) >= 1 then if doPlayerRemoveItem(cid,2516,1) then npcHandler:say('Here is your item!', cid) doPlayerAddItem(cid,5889,1) end else npcHandler:say('You don\'t have these items!', cid) end end function crown(cid, message, keywords, parameters, node) if(not npcHandler:isFocused(cid)) then return false end if getPlayerItemCount(cid,2487) >= 1 then if doPlayerRemoveItem(cid,2487,1) then npcHandler:say('Here is your item!', cid) doPlayerAddItem(cid,5887,1) end else npcHandler:say('You don\'t have these items!', cid) end end -- XVX FORGER END -- keywordHandler:addKeyword({'help'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = "I can forge Amulet, Obsidian Knife, Huge Chunk of Crude Iron and Piece of Draconian Steel!"}) local node1 = keywordHandler:addKeyword({'amulet'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'Hum Humm! Welcume lil. Me can do unbroken but Big Ben want gold 5000 and Big Ben need a lil time to make it unbroken. Yes or no??'}) node1:addChildKeyword({'yes'}, amulet, {npcHandler = npcHandler, onlyFocus = true, reset = true}) node1:addChildKeyword({'no'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'Alright then. Come back when you got the neccessary items.', reset = true}) local node2 = keywordHandler:addKeyword({'obsidian'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'Do you want to trade a Dragon Shield and an Obsidian Lance for a Obsidian Knife?'}) node2:addChildKeyword({'yes'}, obsidian, {npcHandler = npcHandler, onlyFocus = true, reset = true}) node2:addChildKeyword({'no'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'Alright then. Come back when you got the neccessary items.', reset = true}) local node3 = keywordHandler:addKeyword({'crude'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'Do you want to trade a Giant Spider Silk for a Huge Chunk of Crude Iron?'}) node3:addChildKeyword({'yes'}, crude, {npcHandler = npcHandler, onlyFocus = true, reset = true}) node3:addChildKeyword({'no'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'Alright then. Come back when you got the neccessary items.', reset = true}) local node4 = keywordHandler:addKeyword({'draconian'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'Do you want to trade a Dragon Shield for a Piece of Draconian Steel?'}) node4:addChildKeyword({'yes'}, draconian, {npcHandler = npcHandler, onlyFocus = true, reset = true}) node4:addChildKeyword({'no'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'Alright then. Come back when you got the neccessary items.', reset = true}) local node5 = keywordHandler:addKeyword({'crown armor'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'Do you want to trade a crown armor for a Piece of Royal Steel?'}) node5:addChildKeyword({'yes'}, crown, {npcHandler = npcHandler, onlyFocus = true, reset = true}) node5:addChildKeyword({'no'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'Alright then. Come back when you got the neccessary items.', reset = true}) npcHandler:addModule(FocusModule:new())
-
Fight System E Heart System E Npc Draken Fighter
tópico respondeu ao DevilMoon de Vodkart em Actions e Talkactions
retirado. -
essa de tirar a vocation quando perde vip é facil só fazer uma função ao logar que checka se o jogador é vip e tem essa tal voc caso nao seja vip e tenha a voc,esse script retira a vocação dele... aconselho a usar o sistema de Vip account V1.0 flw
-
-
aff que versão é seu ot mano? é thiagoredlife@hotmail.com usa esse:
-
-
ah entao como eu vou adivinhar? nao tem como eu fazer o script se eu nao souber qual vc usa...
-
acho que ja tinha aqui =X http://www.xtibia.com/forum/topic/134875-matar-monstro-abrir-tp-remover-parede-ganhar-storage/
-
troca setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_MAGIC_BLUE) por: setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_HEARTS)
-
Acabou Premium, Voltar Pro Templo Com Addon Trocado!
tópico respondeu ao Sinos de Vodkart em Lixeira Pública
Bom sobre as cores acho que não dá,não tem uma função especifica pra isso tentei até lookHead = getCreatureOutfit(cid).lookHead mais nesse caso ele pega a outfit que esta usando,e não a cor dela... ai se torna uma função boleana,porque nunca vai existir uma parte cintizen e outra hunter,iria dar debug... e sobre a de não dar pra trocar oufit é porque o seguinte,tem que esperar acabar o tempo ou dar logout... porque a função é assim: doSetCreatureOutfit(cid, outfit, tempo) ai vc poderia colocar para ficar soh com 10 segundos,assim ele voltaria a outfit normal depois de 10 segundos... -
Acabou Premium, Voltar Pro Templo Com Addon Trocado!
tópico respondeu ao Sinos de Vodkart em Lixeira Pública
acho que ficaria assim: function onLogin(cid) pos = {x = 32360, y = 31782, z = 7} -- POS que o player será teleportado. local outfit_male = {lookType = 128, lookHead = 20, lookBody = 30, lookLegs = 004, lookFeet = 50, lookTypeEx = 0,} local outfit_female = {lookType = 136, lookHead = 20, lookBody = 30, lookLegs = 004, lookFeet = 50, lookTypeEx = 0,} local time = 20 if getPlayerStorageValue(cid, 20500) == 1 and getPlayerPremiumDays(cid) == 0 then doTeleportThing(cid, pos) doPlayerSetTown(cid, 1) doPlayerPopupFYI(cid, "Sua premium account acabou você foi teleportado pra um templo Free.") setPlayerStorageValue(cid, 20500, -1) if getPlayerSex(cid) == 0 then doSetCreatureOutfit(cid, outfit_female, time*60*1000) else doSetCreatureOutfit(cid, outfit_male, time*60*1000) end end return TRUE end -
ops falha minha : < local combat = createCombatObject() setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_MAGIC_BLUE) setCombatParam(combat, COMBAT_PARAM_AGGRESSIVE, false) setCombatParam(combat, COMBAT_PARAM_DISPEL, CONDITION_PARALYZE) local_min_Mana = 100000 local_max_Mana = 130000 local randommana = math.random(local_min_Mana,local_max_Mana) function onCastSpell(cid, var) doPlayerAddMana(cid, randommana) return doCombat(cid, combat, var) end
-
é que o checkvip é assim: /checkvip NOME sem a virgula e tipo se vc adiciona o jogador 1 dia de vip não vai aparecer,porque ele ja conta,ai e como se fosse tipo 23 hrs e 59 minutos... ou seja nao fechando 1 dia...
-
outro script que já existia aqui e alias esse script ja existe em 90% dos servidores... mais rlx tú é novo,procure saber se existe o script antes de postar abraços
-
Quer Saber Se Algum Jogo Roda Em Seu Pc?
tópico respondeu ao luisfe23 de Vodkart em Dicas e Tutoriais
wow esse programa deve ser bom,vou baixar e etstar aqui mais tem todos os jogos e talz ai? rep + abraços -
esse sistema já tem aqui no xtibia seria bom pesquisar um pouco antes de postar... abraços
-
local combat = createCombatObject() setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_MAGIC_BLUE) setCombatParam(combat, COMBAT_PARAM_AGGRESSIVE, false) setCombatParam(combat, COMBAT_PARAM_DISPEL, CONDITION_PARALYZE) local_min_Mana = 100000 local_max_Mana = 130000 local randommana = math.random(local_min_Mana,local_max_Mana) function onCastSpell(cid, var) doPlayerAddMana(cid, randommana) return doCombat(cid, combat, var) return TRUE end só editar aqui: local_min_Mana = 100000 -- minimo de mana que ser curado local_max_Mana = 130000 -- maximo de mana que sera curado
-
que versão é seu servidor?
-
por favor coloque em code box para melhor visualização do seu script
-
@UP and 2UP Vocês depois que intalaram o sistema da vip account na lib,e colocaram as talkactions,entre no serve com o GOD e vocês teram que excutar o comando: /installvip e depois disso começar a usar o sistema,ou sejá dar ou remover dias de vip...
-
Quem Está Navegando 0 membros estão online
- Nenhum usuário registrado visualizando esta página.