
Tudo que Summ postou
-
(Resolvido)Conta de ADM do Site
só ir na tabela "account/accounts", ir em page_acess e coloca 3 ou 5 , teste 3 se não for é 5.
-
Solucionando erro GESIOR
/\ coloca : mysqlHost = "127.0.0.1" mysqlUser = "root" mysqlPass = "********" mysqlDatabase = "nomedadb" mysqlPort = 3306 mysqlSock = "" passwordType = "sha1"
-
Fui expulso do colégio hoje :/
- Alguém pelo amor de Deus me ajuda a mudar as configurações para account manager?
Tente agora : errado " \ " ----------------------------- " / " correto <?PHP # Account Maker Config $config['site']['serverPath'] = "C:/Users/Claudio/Desktop/forgottenserver/"; $config['site']['useServerConfigCache'] = false; $towns_list = array(1 => 'Thais', 2 => 'Venore', 5 => 'Carlin'); $config['site']['outfit_images_url'] = 'http://outfit-images...me/outfit.php'; $config['site']['item_images_url'] = 'http://item-images.ots.me/960/'; $config['site']['item_images_extension'] = '.gif'; $config['site']['flag_images_url'] = 'http://flag-images.ots.me/'; $config['site']['flag_images_extension'] = '.png'; # Create Account Options $config['site']['one_email'] = false; $config['site']['create_account_verify_mail'] = false; $config['site']['verify_code'] = true; $config['site']['email_days_to_change'] = 3; $config['site']['newaccount_premdays'] = 999; $config['site']['send_register_email'] = false; # Create Character Options $config['site']['newchar_vocations'] = array(1 => 'Sorcerer Sample', 2 => 'Druid Sample', 3 => 'Paladin Sample', 4 => 'Knight Sample'); $config['site']['newchar_towns'] = array(1); $config['site']['max_players_per_account'] = 7; # Emails Config $config['site']['send_emails'] = false; $config['site']['mail_address'] = "[email protected]"; $config['site']['smtp_enabled'] = true; $config['site']['smtp_host'] = "mail.gmx.com"; $config['site']['smtp_port'] = 25; $config['site']['smtp_auth'] = false; $config['site']['smtp_user'] = "[email protected]"; $config['site']['smtp_pass'] = "xxxx"; # PAGE: whoisonline.php $config['site']['private-servlist.com_server_id'] = 1; /* Server id on 'private-servlist.com' to show Players Online Chart (whoisonline.php page), set 0 to disable Chart feature. To use this feature you must register on 'private-servlist.com' and add your server. Format: number, 0 [disable] or higher */ # PAGE: characters.php $config['site']['quests'] = array(); $config['site']['show_skills_info'] = true; $config['site']['show_vip_storage'] = 0; # PAGE: accountmanagement.php $config['site']['send_mail_when_change_password'] = true; $config['site']['send_mail_when_generate_reckey'] = true; $config['site']['generate_new_reckey'] = false; $config['site']['generate_new_reckey_price'] = 500; # PAGE: guilds.php $config['site']['guild_need_level'] = 15; $config['site']['guild_need_pacc'] = false; $config['site']['guild_image_size_kb'] = 50; $config['site']['guild_description_chars_limit'] = 2000; $config['site']['guild_description_lines_limit'] = 6; $config['site']['guild_motd_chars_limit'] = 250; # PAGE: adminpanel.php $config['site']['access_admin_panel'] = 3; # PAGE: latestnews.php $config['site']['news_limit'] = 6; # PAGE: killstatistics.php $config['site']['last_deaths_limit'] = 40; # PAGE: team.php $config['site']['groups_support'] = array(2, 3, 4, 5, 6); # PAGE: highscores.php $config['site']['groups_hidden'] = array(4, 5, 6); $config['site']['accounts_hidden'] = array(1); # PAGE: shopsystem.php $config['site']['shop_system'] = false; # PAGE: lostaccount.php $config['site']['email_lai_sec_interval'] = 180; # Layout Config $config['site']['layout'] = 'tibiacom'; $config['site']['vdarkborder'] = '#505050'; $config['site']['darkborder'] = '#D4C0A1'; $config['site']['lightborder'] = '#F1E0C6'; $config['site']['download_page'] = false; $config['site']['serverinfo_page'] = true;- (Resolvido)[Duvida] Adicionando skill automatico
Não precisa fazer outro script isso é só perca de tempo pra quem está te ajudando, tem que encontrar o motivo do erro ... acabei de descobrir o motivo do erro. É o seguinte o limite das skills são 256 ... logo não iria funcionar nunca colocando 350, o que acontece quando seta 350 na database é que chega no 256 ele começa conta do 0 dnv ai 257 = 1 ... pra que não entendeu 350 - 256 = 94 ... vai ser adicionado 94 na database. lib/functions : function doPlayerSetMagic(cid, amount) local pid = getPlayerGUID(cid) db.executeQuery("UPDATE `players` SET `maglevel` = " .. amount .. " WHERE `id` = "..pid) return true end function doPlayerSetSkill(cid, skill, amount) local pid = getPlayerGUID(cid) db.executeQuery("UPDATE `player_skills` SET `value` = ".. amount .." WHERE `player_id` = ".. pid .. " and `skillid` = ".. skill ..";") return true end script : -- SCRIPT COM TODOS OS DIREITOS RESERVADOS A FIREELEMENT TIBIAKING -- function onUse(cid, item, frompos, item2, topos) local config = { level = 350, -- Level para resetar _level = 350, -- Level depois do reset. Se quiser voltar pro level que o player estava antes, usa getPlayerLevel(cid) str = 4597, -- Storage resets = 20, -- Quantidade de resets adicionado guid = getPlayerGUID(cid), -- UID do player msg = { "Parabens, Voce Ganhou 20 RESETS. Voce sera deslogado por motivo de seguranca.", -- Mensagem recebida ao concluir a quest "Desculpe. Nao e possivel." -- Mensagem recebida se o player jรก fez a quest }, voc_sorc_druid = {1, 2, 5, 6}, voc_pala = {3, 7}, voc_kina = {4, 8}, } if item.uid == config.str then if getPlayerStorageValue(cid, config.str) == -1 then doPlayerAddLevel(cid, config.level) setResets(cid, config.resets) doPlayerSendTextMessage(cid, 22, config.msg[1]) doSendMagicEffect(frompos, CONST_ME_MAGIC_BLUE) setPlayerStorageValue(cid, config.str, 1) doTeleportThing(cid,{x= 101, y= 116, z= 7}) db.executeQuery("UPDATE `players` SET `level` = " .. config._level .. ", `experience` = " .. getExperienceForLevel(config._level) .. " WHERE `id` = " .. config.guid) if isInArray(config.voc_sorc_druid, getPlayerVocation(cid)) then doPlayerSetMagic(cid, 200) doRemoveCreature(cid, true) elseif isInArray(config.voc_pala, getPlayerVocation(cid)) then doPlayerSetMagic(cid, 30) doPlayerSetSkill(cid, SKILL_DISTANCE, 255) doRemoveCreature(cid, true) elseif isInArray(config.voc_kina, getPlayerVocation(cid)) then doPlayerSetMagic(cid, 11) doPlayerSetSkill(cid, SKILL_AXE, 255) doRemoveCreature(cid, true) end else doPlayerSendTextMessage(cid, 22, config.msg[2]) end end return true end abrçs Ps : troquei o skill_distance e skill_axe pra 255 já que o limite é 256...- Ganhar 1 item ao passar pelo piso
@ Pato Roko simples use assim : function onStepIn(cid, item, pos) local item = 2160 -- id do item local count = 20 -- quantidade de itens doPlayerAddItem(cid, item, count) doPlayerSendTextMessage(cid, 22, "Parabens se ganhou 1 item") return true end- Problemas com creaturescripts/login.lua
Tente assim :- [PEDIDO] NPC ADDONER
LOL cara, na realidade não é apenas um npc e sim vários, cada npc te da uma outfit diferente, se for pra ser idêntico ao global, tu vai ter que aprender lua pra fazer os npcs da forma igual de lá, porque acho bem difícil alguém fazer isso, é algo trabalhoso d+, se tu quiser eu posso fazer um versão com 1 npc, mas tu teria dar o máximo de informações possível e dizer todos os itens que precisa pra conseguir x addon, porque além de ter que fazer o script e ficar procurando quais são os itens é meio cansativo e chato de se fazer.- [PEDIDO] NPC ADDONER
de mais informações, como o player vai conseguir o addon ele vai comprar, vai trocar por itens ? que itens , etc ... ?- Npc dando erro
poste o XML : data/npc/Josue.xml- (Resolvido)[Duvida] Adicionando skill automatico
corrigi os 2 bugs mencionado, basta trocar as funções da lib e o script novamente pelo que está acima. abrçs- (Resolvido)[PEDIDO] Usar POT sumir VIAL
Use : local ultimateHealthPot = 8473 local greatHealthPot = 7591 local greatManaPot = 7590 local greatSpiritPot = 8472 local strongHealthPot = 7588 local strongManaPot = 7589 local healthPot = 7618 local manaPot = 7620 local smallHealthPot = 8704 local antidotePot = 8474 local greatEmptyPot = 7635 local strongEmptyPot = 7634 local emptyPot = 7636 local antidote = Combat() antidote:setParameter(COMBAT_PARAM_TYPE, COMBAT_HEALING) antidote:setParameter(COMBAT_PARAM_EFFECT, CONST_ME_MAGIC_BLUE) antidote:setParameter(COMBAT_PARAM_TARGETCASTERORTOPMOST, true) antidote:setParameter(COMBAT_PARAM_AGGRESSIVE, false) antidote:setParameter(COMBAT_PARAM_DISPEL, CONDITION_POISON) local exhaust = Condition(CONDITION_EXHAUST_HEAL) exhaust:setParameter(CONDITION_PARAM_TICKS, (configManager.getNumber(configKeys.EX_ACTIONS_DELAY_INTERVAL) - 1000)) -- 1000 - 100 due to exact condition timing. -100 doesn't hurt us, and players don't have reminding ~50ms exhaustion. function onUse(cid, item, fromPosition, itemEx, toPosition) if itemEx.itemid ~= 1 or itemEx.type ~= THING_TYPE_PLAYER then return true end local player = Player(cid) if player:getCondition(CONDITION_EXHAUST_HEAL) then player:sendTextMessage(MESSAGE_STATUS_SMALL, Game.getReturnMessage(RETURNVALUE_YOUAREEXHAUSTED)) return true end if item.itemid == antidotePot then if not doCombat(cid, antidote, numberToVariant(cid)) then return false end player:addCondition(exhaust) player:say("Aaaah...", TALKTYPE_MONSTER_SAY) Item(item.uid):remove(1) elseif item.itemid == smallHealthPot then if not doTargetCombatHealth(0, cid, COMBAT_HEALING, 60, 85, CONST_ME_MAGIC_BLUE) then return false end player:addCondition(exhaust) player:say("Aaaah...", TALKTYPE_MONSTER_SAY) Item(item.uid):remove(1) elseif item.itemid == healthPot then if not doTargetCombatHealth(0, cid, COMBAT_HEALING, 125, 175, CONST_ME_MAGIC_BLUE) then return false end player:addCondition(exhaust) player:say("Aaaah...", TALKTYPE_MONSTER_SAY) Item(item.uid):remove(1) elseif item.itemid == manaPot then if not doTargetCombatMana(0, cid, 75, 125, CONST_ME_MAGIC_BLUE) then return false end player:addCondition(exhaust) player:say("Aaaah...", TALKTYPE_MONSTER_SAY) Item(item.uid):remove(1) elseif item.itemid == strongHealthPot then if(not isInArray({3,4,7,8}, player:getVocation():getId()) or player:getLevel() < 50) and not(player:getGroup():getId() >= 2) then player:say("This potion can only be consumed by paladins and knights of level 50 or higher.", TALKTYPE_MONSTER_SAY) return true end if not doTargetCombatHealth(0, cid, COMBAT_HEALING, 250, 350, CONST_ME_MAGIC_BLUE) then return false end player:addCondition(exhaust) player:say("Aaaah...", TALKTYPE_MONSTER_SAY) Item(item.uid):remove(1) elseif item.itemid == strongManaPot then if(not isInArray({1,2,3,5,6,7}, player:getVocation():getId()) or player:getLevel() < 50) and not(player:getGroup():getId() >= 2) then player:say("This potion can only be consumed by sorcerers, druids and paladins of level 50 or higher.", TALKTYPE_MONSTER_SAY) return true end if not doTargetCombatMana(0, cid, 115, 185, CONST_ME_MAGIC_BLUE) then return false end player:addCondition(exhaust) player:say("Aaaah...", TALKTYPE_MONSTER_SAY) Item(item.uid):remove(1) elseif item.itemid == greatSpiritPot then if(not isInArray({3, 7}, player:getVocation():getId()) or (player:getLevel() < 80)) and not(player:getGroup():getId() >= 2) then player:say("This potion can only be consumed by paladins of level 80 or higher.", TALKTYPE_MONSTER_SAY) return true end if not doTargetCombatHealth(0, cid, COMBAT_HEALING, 250, 350, CONST_ME_MAGIC_BLUE) or not doTargetCombatMana(0, cid, 100, 200, CONST_ME_MAGIC_BLUE) then return false end player:addCondition(exhaust) player:say("Aaaah...", TALKTYPE_MONSTER_SAY) Item(item.uid):remove(1) elseif item.itemid == greatHealthPot then if(not isInArray({4, 8}, player:getVocation():getId()) or player:getLevel() < 80) and not(player:getGroup():getId() >= 2) then player:say("This potion can only be consumed by knights of level 80 or higher.", TALKTYPE_MONSTER_SAY) return true end if not doTargetCombatHealth(0, cid, COMBAT_HEALING, 425, 575, CONST_ME_MAGIC_BLUE) then return false end player:addCondition(exhaust) player:say("Aaaah...", TALKTYPE_MONSTER_SAY) Item(item.uid):remove(1) elseif item.itemid == greatManaPot then if(not isInArray({1,2,5,6}, player:getVocation():getId()) or player:getLevel() < 80) and not(player:getGroup():getId() >= 2) then player:say("This potion can only be consumed by sorcerers and druids of level 80 or higher.", TALKTYPE_MONSTER_SAY) return true end if not doTargetCombatMana(0, cid, 150, 250, CONST_ME_MAGIC_BLUE) then return false end player:addCondition(exhaust) player:say("Aaaah...", TALKTYPE_MONSTER_SAY) Item(item.uid):remove(1) elseif item.itemid == ultimateHealthPot then if(not isInArray({4, 8}, player:getVocation():getId()) or player:getLevel() < 130) and not(player:getGroup():getId() >= 2) then player:say("This potion can only be consumed by knights of level 130 or higher.", TALKTYPE_MONSTER_SAY) return true end if not doTargetCombatHealth(0, cid, COMBAT_HEALING, 650, 850, CONST_ME_MAGIC_BLUE) then return false end player:addCondition(exhaust) player:say("Aaaah...", TALKTYPE_MONSTER_SAY) Item(item.uid):remove(1) end return true end- (Resolvido)[PEDIDO] Usar POT sumir VIAL
posta seu actions/scripts/potions.lua ou actions/scripts/others/potions.lua aqui : sumir o vial ou nem aparecer ele ? srsrsr- NPC Bless System - Pedido
@fireelement obrigado por ter percebido os erros, já arrumei sobre o uso do for _, _ inpairs() do , eu também faria assim, ocupa menos tempo e fica mais simples, só que a ultima vez que eu usei inpairs() no npc, aconteceu um erro muito escroto e eu tive que refazer todo código, não lembro qual era o erro, mas desde então não fiz mais o uso em npcs rsrsrs.- Fui expulso do colégio hoje :/
- NPC Bless System - Pedido
npc blessings : local config = { -- [bless] = preços bless1 = {"The Spiritual Shielding", 100}, bless2 = {"The Embrace of Tibia", 200}, bless3 = {"The Fire of the Suns", 300}, bless4 = {"The Wisdom of Solitude", 400}, bless5 = {"The Spark of the Phoenix", 500}, } 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 and 0 or cid if msgcontains(msg:lower(), config.bless1[1]) then selfSay("you are sure?", cid) talkState[talkUser] = 1 elseif msgcontains(msg:lower(), config.bless2[1]) then selfSay("you are sure?", cid) talkState[talkUser] = 2 elseif msgcontains(msg:lower(),config.bless3[1]) then selfSay("you are sure?", cid) talkState[talkUser] = 3 elseif msgcontains(msg:lower(),config.bless4[1]) then selfSay("you are sure?", cid) talkState[talkUser] = 4 elseif msgcontains(msg:lower(), config.bless5[1]) then selfSay("you are sure?", cid) talkState[talkUser] = 5 end if msgcontains(msg:lower(), "yes") then if talkState[talkUser] == 1 then if not getPlayerBlessing(cid, 1) then if doPlayerRemoveMoney(cid, config.bless1[2]) then doPlayerAddBlessing(cid, 1) selfSay("you received the bless spiritual shielding!!", cid) doSendMagicEffect(getThingPos(cid), CONST_ME_HOLYAREA) talkState[talkUser] = 0 else selfSay("you no have money.", cid) talkState[talkUser] = 0 end else selfSay("you have blessing spiritual shielding.", cid) talkState[talkUser] = 0 end elseif talkState[talkUser] == 2 then if not getPlayerBlessing(cid, 2) then if doPlayerRemoveMoney(cid, config.bless2[2]) then doPlayerAddBlessing(cid, 2) selfSay("you received the bless embrace of tibia!!", cid) doSendMagicEffect(getThingPos(cid), CONST_ME_HOLYAREA) talkState[talkUser] = 0 else selfSay("you no have money.", cid) talkState[talkUser] = 0 end else selfSay("you have blessing embrace of tibia.", cid) talkState[talkUser] = 0 end elseif talkState[talkUser] == 3 then if not getPlayerBlessing(cid, 3) then if doPlayerRemoveMoney(cid, config.bless3[2]) then doPlayerAddBlessing(cid, 3) selfSay("you received the bless fire of the suns!!", cid) doSendMagicEffect(getThingPos(cid), CONST_ME_HOLYAREA) talkState[talkUser] = 0 else selfSay("you no have money.", cid) talkState[talkUser] = 0 end else selfSay("you have blessing fire of the suns.", cid) talkState[talkUser] = 0 end elseif talkState[talkUser] == 4 then if not getPlayerBlessing(cid, 4) then if doPlayerRemoveMoney(cid, config.bless4[2]) then doPlayerAddBlessing(cid, 4) selfSay("you received the bless wisdom of solitude!!", cid) doSendMagicEffect(getThingPos(cid), CONST_ME_HOLYAREA) talkState[talkUser] = 0 else selfSay("you no have money.", cid) talkState[talkUser] = 0 end else selfSay("you have blessing wisdom of solitude!!.", cid) talkState[talkUser] = 0 end elseif talkState[talkUser] == 5 then if not getPlayerBlessing(cid, 5) then if doPlayerRemoveMoney(cid, config.bless5[1]) then doPlayerAddBlessing(cid, 5) selfSay("you received the bless spark of the phoenix!!", cid) doSendMagicEffect(getThingPos(cid), CONST_ME_HOLYAREA) talkState[talkUser] = 0 else selfSay("you no have money.", cid) talkState[talkUser] = 0 end else selfSay("you have blessing spark of the phoenix.", cid) talkState[talkUser] = 0 end end end if msgcontains(msg:lower(), "no") and talkState[talkUser] >= 1 then selfSay("Bye!!", cid) talkState[talkUser] = 0 end return true end npcHandler:setCallback(CALLBACK_MESSAGE_DEFAULT, creatureSayCallback) npcHandler:addModule(FocusModule:new()) se não souber fazer o arquivo.xml só falar. abrçs- (Resolvido)Consertando Erros e Novos Pedidos!
dar detalhes sobre como é, ajuda e muito, pois não somos advinho para saber o que está na sua mente ... vou fazer aqui já já posto.- (Resolvido)Consertando Erros e Novos Pedidos!
ele vende todas as bless não apenas 1 ...- (Resolvido)Consertando Erros e Novos Pedidos!
npc blessings : 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 and 0 or cid if msgcontains(msg:lower(), "bless") or msgcontains(msg:lower(), "blessing") then selfSay("you are sure?", cid) talkState[talkUser] = 1 end if msgcontains(msg:lower(), "yes") and talkState[talkUser] == 1 then for b = 1, 5 do if not getPlayerBlessing(cid, b) then doPlayerAddBlessing(cid, b) selfSay("you just received the bless!!", cid) doSendMagicEffect(getThingPos(cid), CONST_ME_HOLYAREA) talkState[talkUser] = 0 else selfSay("you have all blessings.", cod) talkState[talkUser] = 0 end end elseif msgcontains(msg:lower(), "no") and talkState[talkUser] == 1 then selfSay("Bye!!", cid) talkState[talkUser] = 0 end return true end npcHandler:setCallback(CALLBACK_MESSAGE_DEFAULT, creatureSayCallback) npcHandler:addModule(FocusModule:new()) se não souber fazer o arquivo.xml só falar. abrçs- Fly/Surf/Teleport so para Premium Account
Fly : Surf :- (Resolvido)[Duvida] Adicionando skill automatico
Primeiro vá na sua lib/functions adicione essas 2 funções: function doPlayerSetMagic(cid, amount) local pid = getPlayerGUID(cid) db.executeQuery("UPDATE `players` SET `maglevel` = " .. amount .. " WHERE `id` = "..pid) return true end function doPlayerSetSkill(cid, skill, amount) local pid = getPlayerGUID(cid) db.executeQuery("UPDATE `player_skills` SET `value` = ".. amount .." WHERE `player_id` = ".. pid .. " and `skillid` = ".. skill ..";") return true end Agora como pediu a alteração do script do @fireelement : -- SCRIPT COM TODOS OS DIREITOS RESERVADOS A FIREELEMENT TIBIAKING -- function onUse(cid, item, frompos, item2, topos) local config = { level = 350, -- Level para resetar _level = 350, -- Level depois do reset. Se quiser voltar pro level que o player estava antes, usa getPlayerLevel(cid) str = 4597, -- Storage resets = 20, -- Quantidade de resets adicionado guid = getPlayerGUID(cid), -- UID do player msg = { "Parabens, Voce Ganhou 20 RESETS. Voce sera deslogado por motivo de seguranca.", -- Mensagem recebida ao concluir a quest "Desculpe. Nao e possivel." -- Mensagem recebida se o player jรก fez a quest }, voc_sorc_druid = {1, 2, 5, 6}, voc_pala = {3, 7}, voc_kina = {4, 8}, } if item.uid == config.str then if getPlayerStorageValue(cid, config.str) == -1 then doPlayerAddLevel(cid, config.level) setResets(cid, config.resets) doPlayerSendTextMessage(cid, 22, config.msg[1]) doSendMagicEffect(frompos, CONST_ME_MAGIC_BLUE) setPlayerStorageValue(cid, config.str, 1) doTeleportThing(cid,{x= 101, y= 116, z= 7}) db.executeQuery("UPDATE `players` SET `level` = " .. config._level .. ", `experience` = " .. getExperienceForLevel(config._level) .. " WHERE `id` = " .. config.guid) if isInArray(config.voc_sorc_druid, getPlayerVocation(cid)) then doPlayerSetMagic(cid, 200) doRemoveCreature(cid,true) elseif isInArray(config.voc_pala, getPlayerVocation(cid)) then doPlayerSetMagic(cid, 30) doPlayerSetSkill(cid, SKILL_DISTANCE, 350) doRemoveCreature(cid,true) elseif isInArray(config.voc_kina, getPlayerVocation(cid)) then doPlayerSetMagic(cid, 11) doPlayerSetSkill(cid, SKILL_AXE, 350) doRemoveCreature(cid,true) end else doPlayerSendTextMessage(cid, 22, config.msg[2]) end end return true end abrçs- (Resolvido)Invasão diaria, erro no script
local configInv = { ["07:43"] = {nome = "Demon", pos = {x=1115, y=1068, z=7}, monster = {"1 Demon"}}, } function onThink(interval, lastExecution) local hours = tostring(os.date("%X")):sub(1, 5) if configInv[hours] then if getGlobalStorageValue(95473) == hours then return true end doBroadcastMessage(hours .. " - " .. tb.nome .. " iníciou.") for _,x in pairs(tb.monster) do for s = 1, tonumber(x:match("%d+")) do doSummonCreature(x:match("%s(.+)"), tb.pos) end end setGlobalStorageValue(95473, hours) end return true end- (Resolvido)Wand nao tira nada
<wand id="7451" level="8" mana="15" min="629" max="699" type="cake" event="function" value="default"> <vocation id="2"/> <vocation id="1"/> </wand> type="cake" -- deve ser colocado um elemento aqui e não um effect .... troque por ice, death, fire e veja se resolve o problema. key="shootType" value="cake" -- shootType é effect ... abrçs- (Resolvido)Wand nao tira nada
"cake" não é um elemento, é simplesmente o project tile/ é o efeito que vai de um sqm pro outro. -- Cristofer Martins- (Resolvido)Wand nao tira nada
"cake" não é um elemento... por isso não está funcionando. - Alguém pelo amor de Deus me ajuda a mudar as configurações para account manager?
Informação Importante
Confirmação de Termo