Ir para conteúdo

TonyHalk

Membro
  • Registro em

  • Última visita

Tudo que TonyHalk postou

  1. TonyHalk respondeu ao post em um tópico de Shiro em Suporte & Pedidos
    Se veio para ir, eu saio para não chorar....
  2. . fico feliz que pude ajudar mais um Amigo
  3. TonyHalk respondeu ao post em um tópico de Shiro em Suporte & Pedidos
    esse tópico ta virando Creche só tem Criança brigando por Coisas Inúteis !
  4. Tente assim <item id="18453" article="a" name="crystal crossbow"> <attribute key="weight" value="8400" /> <attribute key="slotType" value="two-handed" /> <attribute key="weaponType" value="distance" /> <attribute key="ammoType" value="bolt" /> <attribute key="range" value="6" /> <attribute key="hitChance" value="3" /> <attribute key="attack" value="4" /> </item> ou vá em Weapons.xml Procure por ele e ve se em <!-- Crystal Crossbow --> <vocation id="3"/> Esta 3!
  5. o seu ta certo você arrumo antes de eu postar bugado. ele removera sim 1 parede.
  6. De boa. ~^ agora eu Editei e arrumei um bugzinho que tinha no Scritp esqueci de colocar o Stackpos se não o chão ia Junto com a Parede arrumado
  7. Não tem Creditos rsrsr, eu e ele temos uma Pastinha de Scripts, ai procurei uma Base e fiz esse. , mas posso colocar sim. vou adicionar acho que o que você viu foi a base desse, ou outro tópico em outro fórum que pegarão o Script tbm sei la rsrsr
  8. do meu Primo Daniel Porque ? eu e ele criamos Scripts
  9. Eu tenho um Parecido. quando o Player puxa a alavanca 3 paredes somem e voltao 5 segundos depois. local id = 12345 --- id da parede local config = { parede1 = {x = 123, y = 123, z= 123}, parede3 = {x = 123, y = 123, z= 123}, parede2 = {x = 123, y = 123, z= 123} } function createItem() doCreateItem(id,1,config.parede1) doCreateItem(id,1,config.parede2) doCreateItem(id,1,config.parede3) return TRUE end function onUse(cid, item) paredi1 = getThingFromPos(config.parede1) paredi2 = getThingFromPos(config.parede2) paredi3 = getThingFromPos(config.parede3) doRemoveItem(paredi1.uid,1) doRemoveItem(paredi2.uid,1) doRemoveItem(paredi3.uid,1) addEvent(createItem, 5000) return TRUE end <action uniqueid="11212" script="nome do script.lua"/> na alavanca coloque o uniqueid 11212 ou você pode substituir a Alavanca por a Tile Creditos : ZMOVIR ( Primo )
  10. Obrigado leessandro VAMOS FAZER MAIS TUTORAIS AINDA
  11. bem legal kpaspkas, fácil para quem tem preguiça de criar rsr
  12. Usa um Gesior em ou Modern acc Para dedicado.
  13. TonyHalk respondeu ao post em um tópico de keilost em Suporte Tibia OTServer
    Sim , mas as vezes ele nem sabe o que significa rsr vamos esperar a resposta dele.
  14. aqui espero qu ajude http://tibiaking.com/forum/topic/10813-86-map-tracker/
  15. TonyHalk respondeu ao post em um tópico de keilost em Suporte Tibia OTServer
    Ricardo acho que você deveria explicar melhor o que posta. as vezes o membro é iniciante e não sabe.
  16. TonyHalk respondeu ao post em um tópico de keilost em Suporte Tibia OTServer
    você esta marcando a Opção Ban IP ?
  17. Funcional em: TFS 8.6 DEV 0.4 (REV3884) Creditos: Mdgabrielzim Em data/npc crie um arquivo resetador.xml e coloque dentro: <?xml version="1.0"?><npc name="Resetador" script="data/npc/scripts/reseter.lua" walkinterval="0" floorchange="0"> <health now="100" max="100"/> <look type="133" head="10" body="122" legs="19" feet="10"/> <parameters> <parameter key="message_greet" value="Ola, |PLAYERNAME|. Eu posso {resetar} seu level. "/> </parameters> </npc> Crie um arquivo chamado resetador.lua em data\npc\scripts e coloque dentro: -- config local minlevel = 50 -- level inical para resetar local price = 1000 -- preço inicial para resetar local newlevel = 8 -- level após reset local newexp = 4200 -- nova experiencia após reset local lvlByReset = 50 -- level acrescentado por reset local priceByReset = 100 -- preço acrescentado por reset local maxResets = 100 -- máximo de resets -- end config function addReset(cid) resets = getResets(cid) setPlayerStorageValue(cid,1020,resets+1) return true end function getResets(cid) resets = getPlayerStorageValue(cid,1020) if resets <= 0 then resets = 0 end return resets end 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 local needlvl = minlevel + (getResets(cid) * lvlByReset) local newPrice = price + (getResets(cid) * priceByReset) if msgcontains(msg, 'resetar') then if getResets(cid) <= maxResets then selfSay('Voce deseja reset seu char? Isto custará '..newPrice..' gp\'s!', cid) talkState[talkUser] = 1 else selfSay('Você ja alcançou seu limite de resets!', cid) end elseif(msgcontains(msg, 'yes') and talkState[talkUser] == 1) then if getPlayerMoney(cid) <= newPrice then selfSay('É Necessario ter '..newPrice..' gp\'s para resetar!', cid) elseif getPlayerLevel(cid) <= needlvl then selfSay('O level minimo para reset é '..needlvl..'!', cid) else doPlayerRemoveMoney(cid,newPrice) if isInArray(vocs, getPlayerVocation(cid)) then doPlayerSetVocation(cid, getPlayerVocation(cid)+4) end addReset(cid) playerid = getPlayerGUID(cid) doRemoveCreature(cid) db.executeQuery("UPDATE `players` SET `level`="..newlevel..",`experience`="..newexp.." WHERE `players`.`id`= ".. playerid .."") end talkState[talkUser] = 0 elseif(msgcontains(msg, 'no') and isInArray({1}, talkState[talkUser]) == TRUE) then talkState[talkUser] = 0 selfSay('Ok.', cid) elseif msgcontains(msg, 'quant') then selfSay('Voce tem um total de '..getResets(cid)..' reset(s).', cid) end return true end npcHandler:setCallback(CALLBACK_MESSAGE_DEFAULT, creatureSayCallback) npcHandler:addModule(FocusModule:new())
  18. TonyHalk respondeu ao post em um tópico de Shiro em Suporte & Pedidos
    Ot para Lucrar ? não é para min mesmo., eu abro otserv para entrar bastante gente e ver que os Players estão felizes. pode ter 300 jogadores, não quero Lucrar, quero ver o pessoal feliz e Jogando. se quer Lucrar ? levanta da Cadeira e vai trabalhar rsr
  19. omo faço para criar uma quest onde o player tenha que escolher um dos 3 baús para pegar o item foi isso que eu passe amigo só usar o mesmo ID nos 3 baus
  20. http://tibiaking.com/forum/topic/23925-globalevents-anti-clone/ se ajudei rep
  21. Entraremos em Contato com você somos da Equip Trivera. -Gm Marcs
  22. Vá em Pasta do seu OT -> data -> globalevents -> globalevents.xml: <globalevent name="shop" interval="30" event="script" value="shop.lua"/> Agora vá em Pasta do seu OT -> data -> globalevents -> scripts -> shop.lua: local SHOP_MSG_TYPE = MESSAGE_EVENT_ORANGE local SQL_interval = 30 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 local id = tonumber(result_plr:getDataInt("id")) local action = tostring(result_plr:getDataString("action")) local delete = tonumber(result_plr:getDataInt("delete_it")) local cid = getCreatureByName(tostring(result_plr:getDataString("name"))) if isPlayer(cid) then local itemtogive_id = tonumber(result_plr:getDataInt("param1")) local itemtogive_count = tonumber(result_plr:getDataInt("param2")) local container_id = tonumber(result_plr:getDataInt("param3")) local container_count = tonumber(result_plr:getDataInt("param4")) local add_item_type = tostring(result_plr:getDataString("param5")) local add_item_name = tostring(result_plr:getDataString("param6")) local received_item = 0 local full_weight = 0 if add_item_type == 'container' then container_weight = getItemWeightById(container_id, 1) if isItemRune(itemtogive_id) == TRUE then items_weight = container_count * getItemWeightById(itemtogive_id, 1) else items_weight = container_count * getItemWeightById(itemtogive_id, itemtogive_count) end full_weight = items_weight + container_weight else full_weight = getItemWeightById(itemtogive_id, itemtogive_count) if isItemRune(itemtogive_id) == TRUE then full_weight = getItemWeightById(itemtogive_id, 1) else full_weight = getItemWeightById(itemtogive_id, itemtogive_count) end end local free_cap = getPlayerFreeCap(cid) if full_weight <= free_cap then if add_item_type == 'container' then local new_container = doCreateItemEx(container_id, 1) local iter = 0 while iter ~= container_count do doAddContainerItem(new_container, itemtogive_id, itemtogive_count) iter = iter + 1 end received_item = doPlayerAddItemEx(cid, new_container) else local new_item = doCreateItemEx(itemtogive_id, itemtogive_count) doItemSetAttribute(new_item, "description", "This item can only be used by the player ".. getPlayerName(cid) .."!") doItemSetAttribute(new_item, "aid", getPlayerGUID(cid)+10000) received_item = doPlayerAddItemEx(cid, new_item) end if received_item == RETURNVALUE_NOERROR then doPlayerSendTextMessage(cid, SHOP_MSG_TYPE, 'You received >> '.. add_item_name ..' << from OTS shop.') db.executeQuery("DELETE FROM `z_ots_comunication` WHERE `id` = " .. id .. ";") db.executeQuery("UPDATE `z_shop_history_item` SET `trans_state`='realized', `trans_real`=" .. os.time() .. " WHERE id = " .. id .. ";") else doPlayerSendTextMessage(cid, SHOP_MSG_TYPE, '>> '.. add_item_name ..' << from OTS shop is waiting for you. Please make place for this item in your backpack/hands and wait about '.. SQL_interval ..' seconds to get it.') end else doPlayerSendTextMessage(cid, SHOP_MSG_TYPE, '>> '.. add_item_name ..' << from OTS shop is waiting for you. It weight is '.. full_weight ..' oz., you have only '.. free_cap ..' oz. free capacity. Put some items in depot and wait about '.. SQL_interval ..' seconds to get it.') end end if not(result_plr:next()) then break end end result_plr:free() end return true end
  23. http://tibiaking.com/forum/topic/12678-86x-tfs-04-dev-rev3777/ Se Ajudei rep+
  24. http://tibiaking.com/forum/topic/27113-video-criando-quests-no-rme/?view=getnewpost espero que ajude
  25. TonyHalk respondeu ao post em um tópico de diegolopes em Suporte Tibia OTServer
    Tente baixar a Versão mais nova do RME, essa versão da muitos Bugs mesmo falo pro Experiencia Propia

Informação Importante

Confirmação de Termo