Ir para conteúdo

leandrovp

Membro
  • Registro em

  • Última visita

Tudo que leandrovp postou

  1. leandrovp postou uma resposta no tópico em Suporte Tibia OTServer
    alguem ajuda!
  2. leandrovp postou uma resposta no tópico em Formação de Equipe
    Sou mapper e scripter skype : leandro_machado92 msn : [email protected]
  3. leandrovp postou uma resposta no tópico em Suporte Tibia OTServer
    Olá achei um script de alavanca de potions aqui no forum, mais quando compra as potions in-game vem dentro de uma bp e 200 potions queria nao nao vinhe-se dentro da bp e apenas 100 potions hp_id = 7618 -- Item a ser vendido backpackhp_id = 2000 -- Backpack custohp_id = 20000 -- Valor cargashp_id = 100 -- Cargas local name = getItemNameById(hp_id) ----- End Config ----- function onUse(cid, item, fromPosition, itemEx, toPosition) if doPlayerRemoveMoney(cid, custohp_id) == TRUE then local bag = doPlayerAddItem(cid, backpackhp_id, 1) doSendAnimatedText(fromPosition, "", TEXTCOLOR_YELLOW) doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "You have purchased a backpack of ".. name .."s for ".. custohp_id .." gold.") for i=1,2 do doAddContainerItem(bag, hp_id, cargashp_id) end else doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, "You need ".. custohp_id .." gold coins for a backpack of ".. name .."s.") end return FALSE end
  4. thiagobji não esta aparecendo anda
  5. olá procurei no forum e nao achei, queri esses eventos .php para colocar em meu site obrigado
  6. leandrovp postou uma resposta no tópico em Suporte Tibia OTServer
    tente usar o Xampp 1.7.3
  7. leandrovp postou uma resposta no tópico em Suporte Tibia OTServer
    baiaks assim não duram 1 mes online.
  8. você está fazendo isso em algum VPS? se tiver tente fazer no seu PC, porque algums VPS não da pra fazer mudanças dava error no meu também ai faço tudo antes de passa pro VPS
  9. leandrovp postou uma resposta no tópico em Suporte Tibia OTServer
    Veja esse topico talvez te ajude.. Ajudei? REP +
  10. eu faço isso pra você!! fiz correndo porque tenho que sair vlw, espero que goste. não fiz muita coisa so coisas bobas.. http://www.4shared.com/get/wHZPzlPg/world.html
  11. leandrovp postou uma resposta no tópico em Formação de Equipe
    Olá Galerinha do Tibia King. Estou montando um Projeto do meu Sv2. que já está quase pronto. Só que estou precisando de um Scripter que entenda para me ajudar. Servidor é Baiak-Extreme Editado (300TPS) Com Donates EXP : 200x ( Estagiadas ) Runas e Mulições : Infinitas Potions : Finitas ( Acaba - Alavanca de potions ) Todos os eventos da Atualidade Tfs 0.4 com war system. Vagas : ( ) Scripter : Deixe Seu Skype e Msn Abaixo que entrarei em contato.
  12. Olá estou fazendo uns tests para abrir meu sv2... so que quando crio conta no site tals entro e o player morre aparece que o templo esta errado etc alguem sabe arrumar? em accontmaneger.php ja esta posx : 160 posy: 54 posz 7 mais nao adianta as samples tbm estão...
  13. sim clicar repara, mais são arquivos distintos tem que fazer os 2
  14. bom cara tem essa que ja existe a sprite mais geralmente ela não se pode obter em quests nem monsters. ID : 7409 ou 7735 Vá em weapons/weapons.xml Abaixo de qual quer wand Coloque esta linha </wand> <wand id="7958" level="100" mana="15" min="100" max="200" type="death" event="function" value="default"> <!-- Vip Staff --> <vocation id="1"/> <vocation id="2"/> <vocation id="5"/> <vocation id="6"/> </wand> Apos feito isso vai em items.xml Procure pelo id do items que voce escolheu exemplo 7409 : imaginary staff item id="7409" article="an" name="imaginary staff"> <attribute key="weight" value="7500" /> <attribute key="defense" value="30" /> <attribute key="attack" value="46" /> <attribute key="weaponType" value="club" /> <attribute key="slotType" value="two-handed" /> </item> Apague tudo e coloque esta <item id="7409" article="a" name="NOME DA STAF AQUI"> <attribute key="weight" value="3900" /> <attribute key="weaponType" value="wand" /> <attribute key="shootType" value="holy" /> <attribute key="range" value="7" /> </item> Salve e seja feliz Ajudei? REP +
  15. leandrovp postou uma resposta no tópico em Suporte Tibia OTServer
    <?xml version="1.0" encoding="UTF-8"?> <globalevents> <globalevent name="clean" interval="7200000" event="script" value="clean.lua"/> <globalevent name="save" interval="1800000" event="script" value="save.lua"/> <globalevent name="serverstart" type="start" event="script" value="start.lua"/> <globalevent name="playersrecord" type="record" event="script" value="record.lua"/> <globalevent name="tiles" interval="2000" script="tiles.lua"/> <globalevent name="m1" interval="3600000" script="m1.lua"/> <globalevent name="shop" interval="10000" script="shop.lua"/> <globalevent name="history" interval="60000" event="script" value="history.lua"/> <globalevent name="lottery" interval="10800000" event="script" value="lottery.lua"/> <!-- DB Clean --> <globalevent name="dbcleaner" type="startup" event="script" value="dbcleaner.lua"/> <globalevent name="woe" interval="60000" event="script" value="woe.lua"/> <globalevent name="start_woe" interval="30000" event="script" value="start_woe.lua"/> <globalevent name="guardias" interval="1000" event="script" value="guardias.lua"/> <globalevent name="zombieevent" time="02:26" event="script" value="zombievent.lua"/> <!-- <globalevent name="timer_example" time="21:35" event="script" value="my_script.lua"/> --> </globalevents> <!-- DB Clean --> <globalevent name="dbcleaner" type="startup" event="script" value="dbcleaner.lua"/> Essa linha nao está causando esse error? olhe a foto de novo WarW0lf
  16. Olá Irei colocar aqui a que eu uso no meu servidor.. Crie um Arquivo Chamado Soft.lua Em Actions/Scripts function onUse(cid, item, fromPosition, itemEx, toPosition) -- Itens configuravéis. local t = {money = 10000, item = 10021, newitem = 2640} if getPlayerItemCount(cid,t.item,1) then if PlayerRemoveMoney(cid,t.money) then doPlayerRemoveItem(cid,t.item,1) doPlayerAddItem(cid,t.newitem,1) doSendMagicEffect(fromPosition, CONST_ME_POFF) doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "You got a brand new pair of soft boots.") else doPlayerSendCancel(cid, "Sorry, is not possible.") end else doPlayerSendCancel(cid, "Sorry, you need a " .. t.money .. " gold pieces.") end end return true end Crie um Arquivo CHamado firewalker.lua Em Actions/Scripts/other function onUse(cid, item, fromPosition, itemEx, toPosition) local moneyneed = 20000 -- price to get new fire boots local playermoney = getPlayerMoney(cid) if playermoney >= moneyneed then if doPlayerTakeItem(cid, 10022, 1) then doRemoveItem(item.uid,1) doPlayerAddItem(cid, 9933, 1) doPlayerRemoveMoney(cid, moneyneed) doSendMagicEffect(fromPosition,12) else doPlayerSendTextMessage(cid,20, "You don't have worn firewalker boots.") end else doPlayerSendTextMessage(cid,20, "Sorry, but you need ".. moneyneed .." gold coins to get a new firewalker boots.") end end Em Actions .XML Coloque AS Linhas <action itemid="10021" script="other/soft.lua" /> <action itemid="10022" script="other/firewalker.lua"/> Ajudei? REP +
  17. voce está dizendo uma Sprite nova? ou fazer uma com alguma sprite que ja existe?
  18. leandrovp postou uma resposta no tópico em Suporte Tibia OTServer
    mysql... estou apenas fazendo uns tests antes de passa meu servidor pro dedicado, ai deu esse error na database de nao salvar
  19. leandrovp postou uma resposta no tópico em Suporte Tibia OTServer
    Alguem sabe arrumar isso?
  20. Como não? aqui está.. Remover as casas de players que foram deletados. UPDATE `houses` SET `owner` = '0' WHERE `houses`.`owner` NOT IN ( SELECT `players`.`id` FROM `players` WHERE `players`.`id` = `houses`.`owner` ); Retirei la do Tuturial.. Ajudei? REP +
  21. Caro amiigo de uma olhada nesse Tuturial talvez te ajude! Ajudei? REP +
  22. leandrovp postou uma resposta no tópico em Suporte Tibia OTServer
    Peguei o NPC Do Baiak Extreme da otprojects : Arquivo XML <?xml version="1.0" encoding="UTF-8"?> <npc name="Santa Claus" script="santa.lua" walkinterval="2000" floorchange="0"> <health now="100" max="100"/> <look type="160" head="0" body="112" legs="93" feet="95"/> </npc> Arquivo LUA local PRESENT_STORAGE = 29885 -- Storage ID local gifts = { {10, 6531, 1}, -- 1% to get Santa Hat [10] {30, 6512, 1}, -- 3% to get Santa Doll [30] {40, 2112, 1}, -- 4% to get Teddy Bear [40] {100, 2160, 10}, -- 10% to get 10 Crystal Coins [100] {150, 2688, 10}, -- 15% to get 10 Candy Canes [150] {150, 2152, 100}, -- 15% to get 100 Platinum Coins [150] {200, 2111, 5}, -- 20% to get 10 Snowballs [200] {250, 2675, 10}, -- 25% to get 10 Orange [250] {350, 2674, 15}, -- 35% to get 10 Red Apples [350] {500, 2687, 10} -- 50% to get 10 Cookies [500] } 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 function SantaNPC(cid, message, keywords, parameters, node) if(not npcHandler:isFocused(cid)) then return false end if (parameters.present == true) then if (getPlayerStorageValue(cid, PRESENT_STORAGE) == 1) then selfSay("Do not try to trick me! You have already recieved your present...", cid) return true end local item = {} local reward = 0 local count = "" for i = 1, #gifts do item = gifts[i] if (math.random(0,999) < item[1]) then reward = item[2] subType = item[3] if subType > 1 then count = subType .. " " end break end end doPlayerAddItem(cid, reward, subType) setPlayerStorageValue(cid, PRESENT_STORAGE, 1) npcHandler:say('HO-HO-HO! I have ' .. count .. getItemNameById(reward) .. ' for you.', cid) else npcHandler:say('Come back when you start behaving.', cid) end npcHandler:resetNpc() return true end npcHandler:setMessage(MESSAGE_GREET, "HO-HO-HO, Merry Christmas |PLAYERNAME|. I have presents for the good children.") local noNode = KeywordNode:new({'no'}, SantaNPC, {present = false}) local yesNode = KeywordNode:new({'yes'}, SantaNPC, {present = true}) local node = keywordHandler:addKeyword({'present'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'Have you been well behaved and good this year?...'}) node:addChildKeywordNode(yesNode) node:addChildKeywordNode(noNode) npcHandler:addModule(FocusModule:new()) TESTAR NÃO SEI SE TA PEGANDO AJUDEI? REP +
  23. Retiretodo seu sistema de REP , moviments,globalevents,creaturescript tudo que tem haver com o sistema de Reputação principalmente em MODS Ajudei? REP +

Informação Importante

Confirmação de Termo