Ir para conteúdo

Drafenous

Membro
  • Registro em

  • Última visita

Tudo que Drafenous postou

  1. Pode me auxiliar em como fazer isto?
  2. Estou com o mesmo problema, mesmo trocando o otb não está resolvendo o market. Alguém tem alguma solução? Grato!
  3. Olá pessoal, Estou em busca do script de reward system igual do global, versão 11.40. Meu servidor está na versão 11.44 suportando até a 11.90, ele tem o Reward Shrine, porém ao clicar não faz nada. Os scripts que localizei parece que só funcionam na versão 12.60. Qual servidor ou website você utiliza como base? https://github.com/Qwizer/realmap11 Qual o motivo deste tópico? Não consigo localizar script compatível com essa versão. Está surgindo algum erro? Se sim coloque-o aqui. Não Você tem o código disponível? Se tiver publique-o aqui: Não Você tem alguma imagem que possa auxiliar no problema? Se sim, coloque-a aqui. Não Em caso de dúvidas, estou à disposição, obrigado a quem puder contribuir.
  4. Olá amigos do TK. Estou tendo problemas com npcs de compra em meu servidor e não sei como corrigir. Eles estão comprando itens do inventário do jogador, sendo que o correto seria contar apenas os itens da backpack... Alguém saberia como me ajudar? Grato!
  5. not working Estou achando que é na distro, vou tentar compilar uma nova... Qualquer coisa eu comento aqui, valeu pela tentativa!
  6. Olá amigos, Recentemente adquiri o serviço do OTPanel, e estou usando uma versão do Global 8.6, que está com alguns bugs. Segue informação da versão: [TFS] Revisado por Chaitosoft.com - a sua loja de otserv 0.3.7_SVN De toda forma, os players me reportaram que a magia "exiva" não funciona. Testei e ela e todas as outras magias de recuperação de vida, nenhuma funciona. Ele usa a mana necessária, mas não recupera a vida. Já tentei diversas versões diferente do script de heal, porém nenhuma funciona. Segue meu Light Healing.lua local combat = createCombatObject() setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_HEALING) setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_MAGIC_BLUE) setCombatParam(combat, COMBAT_PARAM_AGGRESSIVE, false) setCombatParam(combat, COMBAT_PARAM_DISPEL, CONDITION_PARALYZE) setHealingFormula(combat, COMBAT_FORMULA_LEVELMAGIC, 5, 5, 1.5, 2) function onCastSpell(cid, var) if isPlayer(cid) == TRUE then if exhaustion.check(cid, 30030) then return FALSE else return doRemoveCondition(cid, CONDITION_PARALYZE), doCombat(cid, combat, var) end else return doRemoveCondition(cid, CONDITION_PARALYZE), doCombat(cid, combat, var) end end Notei também que no console não apresenta erros. Alguém saberia me ajudar? Grato!
  7. eu gostaria de colocar no site de meu servidor para mostrar a vip time e a premium time, alguém sabe como fazer?
  8. Olá pessoal, não sei se está no lugar certo, caso esteja errado peço que redirecionem para o lugar certo... Bom, hoje quando eu fui entrar em meu site, dei de cara com a seguinte mensagem: Por sorte, nada foi deletado, está tudo ok, apenas mudaram a página inicial do site. Mas eu gostaria de saber... como posso melhorar a segurança do meu servidor apache? Utilizo o site Gesior, pelo que verifiquei nada foi mudado no banco de dados, apenas o index foi alterado. Obrigado!
  9. A alguns meses eu montei um servidor 8.6, não tinha lag, mapa quase próprio (era mapa karmia 100% editado, com novas hunts e etc...) e ninguém jogou. Servidor low rates, dedicado e etc... Eu até apelei para anuncio em outros otservs, grupos no facebook e etc, várias pessoas até falaram que algo tipo "minha nossa, mapa karmia!!! eu amava esse mapa!!!" mas muitos nem chegaram a criar conta. Acho que servidor low exp hoje em dia não está fazendo tanto sucesso como era antes... Este mesmo servidor, foi um "remake" de um antigo servidor meu de 2006, era em média de 80 players online durante o dia, sem nem se quer nunca ter anunciado além do otservlist (fechou por problemas com o host), após este "remake", lançado a menos de 2 meses, ficavam em média 15 players. Eu realmente vejo que hoje em dia as coisas mudaram... Vejo servidores baiak lotando em menos de 3 horas, com mais de 100 players online, e servidores sérios e dedicados (com mapa global ou mapa único, mas sendo low exp) com 20~30 players online.
  10. Há como fazer esse evento automático? tipo... 1x por semana
  11. como ficaria para executar o comando /i? estou tentando /i spike sword, player e não vai.
  12. Como posso resolver isso? :c Tenho todo o sistema VIP já feito pelo MOCK, só isso que não funciona :/ ---EDIT--- ARRUMEI O BUG.... MUDE A LINHA: if vip.hasVip(cid) >= 1 then PARA: if vip.hasVip(cid) == TRUE then
  13. O do DOTA estou usando este script: http://www.tibiaking.com/forum/topic/17181-evento-dota-completo/
  14. Fala galera, tudo bom? estou procurando aqui um script que seja no mesmo estilo do Battlefield Event... Que seria +/- da seguinte forma... Quando o evento esta começando, ele cria um teleport de acesso a área do evento. A razão disto, é que estou tentando automatizar o evento de zombie e woe do meu servidor, e possivelmente outros eventos futuros também. Estou me matando aqui e não acho nenhum script :/ Se possível, eu queria até que fosse aqueles que você configura um array (acho que é isso o nome), onde seria 1 script só com as configurações de todos os teleports que seriam criados de acesso aos eventos instalados nos servidor... Aí no script só coloca indicando qual evento puxaria qual teleport. Enfim, espero que tenham entendio, se for aí um script pago, dependendo do valor posso até negociar
  15. Cara, não estou conseguindo compilar para x64... Mesmo compilando com o pack x64, ele ainda não compila em x64 (deu pra entender? ashuhuashus) Meu mapa é um global e depois de algumas edições no mapa ficou com + de 100mb, onde o TFS não consegue abrir. Aparece: Allocation failed, server out of memory! Decrease size of your map or compile in a 64-bit mode. Estou tentando usar essa source: http://www.tibiaking.com/forum/topic/33395-tfs-04-dev-anti-dv-warsystem-cast-system-sem-bugs/
  16. Onde consigo o mapa? não estou achando no tópico o.O
  17. Mas tem um problema... e se for uma casa com uns 5 pcs, lan house talvez? onde seriam todos o mesmo ips... (na época que lan house era massa eu e mó galera ia fazer curujão jogando tibia e cs HUAHSUHUAS)
  18. Galera, estou com um bug em meu servidor onde a porta das houses abrem mas não fecham... Não sei exatamente o que pode estar ocorrendo, mas aqui vai o meu doors.lua: local function checkStackpos(item, position) position.stackpos = STACKPOS_TOP_MOVEABLE_ITEM_OR_CREATURE local thing = getThingFromPos(position) position.stackpos = STACKPOS_TOP_FIELD local field = getThingFromPos(position) return (item.uid == thing.uid or thing.itemid < 100 or field.itemid == 0) end local function doorEnter(cid, item, toPosition) doTransformItem(item.uid, item.itemid + 1) doTeleportThing(cid, toPosition) end function onUse(cid, item, fromPosition, itemEx, toPosition) if(fromPosition.x ~= CONTAINER_POSITION and isPlayerPzLocked(cid) and getTileInfo(fromPosition).protection) then doPlayerSendDefaultCancel(cid, RETURNVALUE_NOTPOSSIBLE) return true end if(getItemLevelDoor(item.itemid) > 0) then if(item.actionid == 189) then if(not isPremium(cid)) then doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "Only the worthy may pass.") return true end doorEnter(cid, item, toPosition) return true end local gender = item.actionid - 186 if(isInArray({PLAYERSEX_FEMALE, PLAYERSEX_MALE, PLAYERSEX_GAMEMASTER}, gender)) then if(gender ~= getPlayerSex(cid)) then doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "Only the worthy may pass.") return true end doorEnter(cid, item, toPosition) return true end local skull = item.actionid - 180 if(skull >= SKULL_NONE and skull <= SKULL_BLACK) then if(skull ~= getCreatureSkullType(cid)) then doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "Only the worthy may pass.") return true end doorEnter(cid, item, toPosition) return true end local group = item.actionid - 150 if(group >= 0 and group < 30) then if(group > getPlayerGroupId(cid)) then doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "Only the worthy may pass.") return true end doorEnter(cid, item, toPosition) return true end local vocation = item.actionid - 100 if(vocation >= 0 and vocation < 50) then local playerVocationInfo = getVocationInfo(getPlayerVocation(cid)) if(playerVocationInfo.id ~= vocation and playerVocationInfo.fromVocation ~= vocation) then doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "Only the worthy may pass.") return true end doorEnter(cid, item, toPosition) return true end if(item.actionid == 190 or (item.actionid ~= 0 and getPlayerLevel(cid) >= (item.actionid - getItemLevelDoor(item.itemid)))) then doorEnter(cid, item, toPosition) else doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "Only the worthy may pass.") end return true end if(isInArray(specialDoors, item.itemid)) then if(item.actionid == 100 or (item.actionid ~= 0 and getPlayerStorageValue(cid, item.actionid) > 0)) then doorEnter(cid, item, toPosition) else doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "The door seems to be sealed against unwanted intruders.") end return true end if(isInArray(keys, item.itemid)) then if(itemEx.actionid > 0) then if(item.actionid == itemEx.actionid and doors[itemEx.itemid] ~= nil) then doTransformItem(itemEx.uid, doors[itemEx.itemid]) return true end doPlayerSendCancel(cid, "The key does not match.") return true end return false end if(isInArray(horizontalOpenDoors, item.itemid) and checkStackpos(item, fromPosition)) then local newPosition = toPosition newPosition.y = newPosition.y + 1 local doorPosition = fromPosition doorPosition.stackpos = STACKPOS_TOP_MOVEABLE_ITEM_OR_CREATURE local doorCreature = getThingfromPos(doorPosition) if(doorCreature.itemid ~= 0) then local pzDoorPosition = getTileInfo(doorPosition).protection local pzNewPosition = getTileInfo(newPosition).protection if((pzDoorPosition and not pzNewPosition and doorCreature.uid ~= cid) or (not pzDoorPosition and pzNewPosition and doorCreature.uid == cid and isPlayerPzLocked(cid))) then doPlayerSendDefaultCancel(cid, RETURNVALUE_NOTPOSSIBLE) else doTeleportThing(doorCreature.uid, newPosition) if(not isInArray(closingDoors, item.itemid)) then doTransformItem(item.uid, item.itemid - 1) end end return true end doTransformItem(item.uid, item.itemid - 1) return true end if(isInArray(verticalOpenDoors, item.itemid) and checkStackpos(item, fromPosition)) then local newPosition = toPosition newPosition.x = newPosition.x + 1 local doorPosition = fromPosition doorPosition.stackpos = STACKPOS_TOP_MOVEABLE_ITEM_OR_CREATURE local doorCreature = getThingfromPos(doorPosition) if(doorCreature.itemid ~= 0) then if(getTileInfo(doorPosition).protection and not getTileInfo(newPosition).protection and doorCreature.uid ~= cid) then doPlayerSendDefaultCancel(cid, RETURNVALUE_NOTPOSSIBLE) else doTeleportThing(doorCreature.uid, newPosition) if(not isInArray(closingDoors, item.itemid)) then doTransformItem(item.uid, item.itemid - 1) end end return true end doTransformItem(item.uid, item.itemid - 1) return true end if(doors[item.itemid] ~= nil and checkStackpos(item, fromPosition)) then if(item.actionid == 0) then doTransformItem(item.uid, doors[item.itemid]) else doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "It is locked.") end return true end return false end E é assim que está em meu actions.lua: <action fromid="1209" toid="1214" event="script" value="other/doors.lua"/> <action fromid="1219" toid="1262" event="script" value="other/doors.lua"/> <action fromid="1539" toid="1542" event="script" value="other/doors.lua"/> <action fromid="2086" toid="2092" event="script" value="other/doors.lua"/> <action fromid="3535" toid="3552" event="script" value="other/doors.lua"/> <action fromid="4913" toid="4918" event="script" value="other/doors.lua"/> <action fromid="5082" toid="5085" event="script" value="other/doors.lua"/> <action fromid="5098" toid="5145" event="script" value="other/doors.lua"/> <action fromid="5278" toid="5295" event="script" value="other/doors.lua"/> <action fromid="5515" toid="5518" event="script" value="other/doors.lua"/> <action fromid="5732" toid="5737" event="script" value="other/doors.lua"/> <action fromid="5745" toid="5749" event="script" value="other/doors.lua"/> <action fromid="6192" toid="6209" event="script" value="other/doors.lua"/> <action fromid="6249" toid="6266" event="script" value="other/doors.lua"/> <action fromid="6795" toid="6802" event="script" value="other/doors.lua"/> <action fromid="6891" toid="6908" event="script" value="other/doors.lua"/> <action fromid="7033" toid="7050" event="script" value="other/doors.lua"/> <action fromid="7054" toid="7057" event="script" value="other/doors.lua"/> <action fromid="8541" toid="8558" event="script" value="other/doors.lua"/> <action fromid="9165" toid="9184" event="script" value="other/doors.lua"/> <action fromid="9267" toid="9284" event="script" value="other/doors.lua"/> <action itemid="10032" event="script" value="other/doors.lua"/> <action itemid="10091" event="script" value="other/doors.lua"/> <action fromid="10268" toid="10285" event="script" value="other/doors.lua"/> <action fromid="10468" toid="10486" event="script" value="other/doors.lua"/> <action fromid="10774" toid="10776" event="script" value="other/doors.lua"/> <action fromid="10779" toid="10785" event="script" value="other/doors.lua"/> <action fromid="10788" toid="10791" event="script" value="other/doors.lua"/> alguém pode ajudar? dou rep+ :x obs: o problema acontece com qualquer porta de casinha!
  19. em talkactions/talkactions.xml vai ter a tag da sua talkaction... Nela, adicione: premium="yes" Não testei ainda, mas talvez funcione, se não funcionar, desfaça tudo e aguarde alguém responder aqui...
  20. npc/scripts/furniture.lua: 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 -- Don't forget npcHandler = npcHandler in the parameters. It is required for all StdModule functions! keywordHandler:addKeyword({'chairs'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'I sell wooden, sofa, red cushioned, green cushioned, tusk and ivory chairs.'}) keywordHandler:addKeyword({'tables'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'I sell big, square, round, small, stone, tusk, bamboo tables.'}) keywordHandler:addKeyword({'plants'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'I sell pink and green flowers, also christmas trees.'}) keywordHandler:addKeyword({'furniture'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'I sell large trunks, boxes, drawers, dressers, lockers and troughs.'}) keywordHandler:addKeyword({'more'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'I sell coal basins, birdcages, harps, pianos, globes, clocks and lamps.'}) keywordHandler:addKeyword({'destination'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'I sell blue, green, orange, pink, red, white and yellow tapestries.'}) keywordHandler:addKeyword({'small'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'I sell small purple, small green, small red, small blue, small orange, small turquiose and small white pillows.'}) keywordHandler:addKeyword({'round'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'I sell round blue, round red, round purple and round turquiose pillows.'}) keywordHandler:addKeyword({'square'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'I sell blue, red, green and yellow pillows.'}) keywordHandler:addKeyword({'pillows'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'I sell heart, small, sqare and round pillows.'}) keywordHandler:addKeyword({'beds'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'I sell {green}, {red} and {yellow} {beds} for {5000}gp. I can sell you too standard bed (to remove modification)'}) npcHandler:addModule(FocusModule:new()) segue também o npc lola.xml: <?xml version="1.0" encoding="UTF-8"?> <npc name="Lola" script="furniture.lua" walkinterval="2000" floorchange="0"> <health now="150" max="150"/> <look type="142" head="114" body="0" legs="95" feet="114" corpse="2212"/> <parameters> <parameter key="module_shop" value="1"/> <parameter key="message_greet" value="Hello |PLAYERNAME|. I sell chairs, tables, plants, containers, pillows, tapestries and more. Everything for 500 gold pieces, just {trade}."/> <parameter key="shop_buyable" value="wooden chair,3901,500;sofa chair,3902,500;red cushioned chair,3903,500;green cushioned chair,3904,500;tusk chair,3905,500;ivory chair,3906,500;water-pipe,3907,500;coal basin,3908,500;big table,3909,500;square table,3910,500;round table,3911,500;small table,3912,500;stone table,3913,500;tusk table,3914,500;chest,3915,500;barrel,3916,500;harp,3917,500;bird cage,3918,500;bamboo table,3919,500;bamboo drawer,3920,500;drawer,3921,500;exotic flower,3922,500;potted flower,3923,500;flower bowl,3924,500;chest,3925,500;piano,3926,500;globe,3927,500;rocking chair,3928,500;indoor plant,3929,500;crate,3930,500;christmas tree,3931,500;dresser,3932,500;pendelum clock,3933,500;locker,3934,500;trough,3935,500;time table,3936,500;table lamp,3937,500;bookcase,3938,500;box,5086,500;box2,5087,500;barrel2,5088,500;big flowerpot,6114,500;large amphora,6115,500;tree stump,6372,500;mirror,6373,500;large trunk,7503,500;goldfish bowl,7700,500;tree stump2,7960,500;cuckoo clock,7961,500;telescope,7962,500;furnace,8692,500;blue tapestry,1872,500;green tapestry,1860,500;orange tapestry,1866,500;pink tapestry,1857,500;red tapestry,1869,500;white tapestry,1880,500;yellow tapestry,1863,500;small purple pillow,1678,500;small green pillow,1679,500;small red pillow,1680,500;small blue pillow,1681,500;small orange pillow,1683,500;small turquiose pillow,1684,500;small white pillow,1685,500;heart pillow,1685,500;blue pillow,1686,500;red pillow,1687,500;green pillow,1688,500;yellow pillow,1689,500;round blue pillow,1690,500;round red pillow,1691,500;round purple pillow,1692,500;round turquiose pillow,1693,500;oval mirror,1845,750;round mirror,1848,750;edged mirror,1851,750;green bed,7904,1000;red bed,7905,1000;yellow bed,7906,1000;bed removal,7907,1000;wooden stake,5941,10000;" /> </parameters> </npc>

Informação Importante

Confirmação de Termo