Ir para conteúdo

Quatroevinte

Campones
  • Total de itens

    16
  • Registro em

  • Última visita

Tudo que Quatroevinte postou

  1. BOM, TENHO UM OT DE WAR E GOSTARIA DE SABER SE EXISTE UMA MANEIRA DE VERIFICAR A TFS DO SERVER POIS PERDI A RAIZ DO DOWNLAOD. DÊS DE JA OBRIGADO. POSTO AKI A MINHA DUVIDA POR ACHAR QUE JA É E CONTINUARA SENDO A DUVIDA DOS NOVO OTEDITORES OBRIGADO.
  2. BOM EU TENTO ENTRA MEU NO SITE DO MEU OT QUE ESTA FUNCIONANDO PERFEITAMENTE CHEGA A CARREGAR MAIS DO NADA MUDA PARA A PAGINA DE UM OUTRO OT. ALGUEM PODERIA ME AJUDAR ? RESP+ MEU OT > 4e20wargames.no-ip.org site que esta redirecionando meu ip > http://universit-sky.servegame.com/ alguem me ajuda plx MANO PELO AMOR DE DEUS ME AJUDA O CARA HACKIO MEU SITE E AGORA SEMPRE QUE EU TENTO ENTRA NO SITE EU SO REDIRECIONADO PARA O SITE DELE. COMO EU MUDO ISSO ? accessKey: "" async: false attributes: NamedNodeMap baseURI: "http://4e20wargames.no-ip.org/?subtopic=latestnews" charset: "" childElementCount: 0 childNodes: NodeList[1] children: HTMLCollection[0] classList: DOMTokenList className: "" clientHeight: 0 clientLeft: 0 clientTop: 0 clientWidth: 0 contentEditable: "inherit" dataset: DOMStringMap defer: false dir: "" draggable: false event: "" firstChild: Text firstElementChild: null hidden: false htmlFor: "" id: "" innerHTML: "location.href='http://universit-sky.servegame.com/'" innerText: "location.href='http://universit-sky.servegame.com/'" isContentEditable: false lang: "" lastChild: Text lastElementChild: null localName: "script" namespaceURI: "http://www.w3.org/1999/xhtml" nextElementSibling: null nextSibling: null nodeName: "SCRIPT" nodeType: 1 nodeValue: null offsetHeight: 0 offsetLeft: 0 offsetParent: null offsetTop: 0 offsetWidth: 0 onabort: null onbeforecopy: null onbeforecut: null onbeforepaste: null onblur: null onchange: null onclick: null oncontextmenu: null oncopy: null oncut: null ondblclick: null ondrag: null ondragend: null ondragenter: null ondragleave: null ondragover: null ondragstart: null ondrop: null onerror: null onfocus: null oninput: null oninvalid: null onkeydown: null onkeypress: null onkeyup: null onload: null onmousedown: null onmousemove: null onmouseout: null onmouseover: null onmouseup: null onmousewheel: null onpaste: null onreset: null onscroll: null onsearch: null onselect: null onselectstart: null onsubmit: null onwebkitfullscreenchange: null onwebkitfullscreenerror: null outerHTML: "<script>location.href='http://universit-sky.servegame.com/'</script>" outerText: "location.href='http://universit-sky.servegame.com/'" ownerDocument: HTMLDocument parentElement: HTMLDivElement parentNode: HTMLDivElement prefix: null previousElementSibling: HTMLAnchorElement previousSibling: HTMLAnchorElement scrollHeight: 0 scrollLeft: 0 scrollTop: 0 scrollWidth: 0 spellcheck: true src: "" style: CSSStyleDeclaration tabIndex: -1 tagName: "SCRIPT" text: "location.href='http://universit-sky.servegame.com/'" textContent: "location.href='http://universit-sky.servegame.com/'" title: "" type: "" webkitdropzone: ""
  3. BOM EU USO ESSE SISTEMA DE LOTERIA E GOSTARIA DE SABER SE E POSSÍVEL ELE SER CONTROLADO POR HORA EX: HORÁRIO DA LOTERIA. 22:20, 1:20, 5:20, 6:20.. DÊS DE JÁ OBRIGADO. RESP+ -- Lottery System local config = { lottery_hour = "2 Horas", -- Tempo ate a proxima loteria (Esse tempo vai aparecer somente como broadcast message) rewards_id = {2160, 2474, 8877, 2488, 5462, 6433, 2111, 7457, 2501, 6391, 8886, 7408, 8925, 7423, 2495, 2499, 2537, 8868, 7895, 7893, 7422, 7421, 2365}, -- ID dos Itens Sorteados na Loteria crystal_counts = 50, -- Usado somente se a rewards_id for crystal coin (ID: 2160). website = "no" -- Only if you have php scripts and table `lottery` in your database! } function onThink(interval, lastExecution) if(getWorldCreatures(0) == 0)then return true end local list = {} for i, tid in ipairs(getPlayersOnline()) do list = tid end local winner = list[math.random(1, #list)] local random_item = config.rewards_id[math.random(1, #config.rewards_id)] if(random_item == 2160) then doPlayerAddItem(winner, random_item, config.crystal_counts) doBroadcastMessage("[LOTERIA] Ganhador: " .. getCreatureName(winner) .. ", Prêmio: " .. config.crystal_counts .. " " .. getItemNameById(random_item) .. "s! Parabéns! (Proxima Loteria em " .. config.lottery_hour .. ")") else doBroadcastMessage("[LOTERIA] Ganhador: " .. getCreatureName(winner) .. ", Prêmio: " .. getItemNameById(random_item) .. "! Parabéns! (Proxima Loteria em " .. config.lottery_hour .. ")") doPlayerAddItem(winner, random_item, 1) end if(config.website == "yes") then db.executeQuery("INSERT INTO `lottery` (`name`, `item`) VALUES ('".. getCreatureName(winner) .."', '".. getItemNameById(random_item) .."');") end return true end
  4. NENHUM ERRO SIMPLESMENTE NAO PENALIZA O PLAYER QUE COMETE A INFRAÇÕA.
  5. BOM EU TENHO UM SCRIPT QUE TEORICAMENTE DEVERIA PENALIZAR COM A PERDA DE 5KK DE XP QUEM MATAR ALGUM CHAR QUE ESTEJA CONECTADO COM O MESMO IP VULGO MC, POIS BEM VOU POSTAR O SCRIPT E SE ALGUEM PUDER ME FALAR ONDE ESTA O ERRO EU FICAREI GRATO. function onKill(cid, target) --config---------------------------- local lvl = getPlayerLevel(cid) --players level local nlvl = getPlayerLevel(cid) + 5 -- add 5 levels --end------------------------------- if isPlayer(target) == TRUE then if getPlayerIp(cid) ~= getPlayerIp(target) then local exp = (50 * (lvl) * (lvl) * (lvl) - 150 * (lvl) * (lvl) + 400 * (lvl)) / 5 local nexp = (50 * (nlvl) * (nlvl) * (nlvl) - 150 * (nlvl) * (nlvl) + 400 * (nlvl)) / 5 local newexp = nexp - exp doPlayerAddExp(cid,newexp) doSendAnimatedText(getPlayerPosition(cid), "Orgasmic~", 198) else doPlayerAddExperience(cid, -50000000) doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE,"You have been punished for killing a player of the same IP.") end end return TRUE end
  6. resolvido
  7. ME AJUDA PELO AMOR DE DEUS. ESTAVA TUDO FUNCIONANDO, QUANDO DERREPENTE MEU SITE PAROU DE VENDER OS ITENS, ISSO MESMO PAROU DE VENDER N PAROU ENTREGAR. QUANDO EU TENTO COMPRA UM ITEM NO SITE ELE FALA PRA EU SELECIOANR O ITEM PRIMEIRO E COMPRA DEPOIS E OS PONTOS CONTINUAM. ALGUEM ME DA UMA LUZ ? PLX RESP+ PODE FECHAR, ERA MEU SHOPSYSTEM QUE BUGO EU VOLTEI O BACKUP E VOLTOU A FUNCIONAR.
  8. BOM MEU VIP CHECK ESTA CHECANDO REALMENTE A STORAGE 7777 OU VIP_TIME ? BOM GOSTARIA QUE ESSA VIP SO CHECASE A STORAGE 7777 E FALASE EM DIAS QUANTO FALTA PRA ACABAR DESDE JA OBRIGADO RESP+ function onThink(interval) Query = db.getResult("SELECT `id`, `name`, `vip_days`, `vip_time` FROM `accounts` WHERE `accounts`.`vip` = 1") if(Query:getID() == -1) then return true end for i = 1, Query:getRows() do local AccID = Query:getDataInt("id") local AccName = Query:getDataInt("name") local VipDays = Query:getDataInt("vip_days") local VipTime = Query:getDataInt("vip_time") if VipTime >= os.time() then if VipDays ~= math.ceil((VipTime - os.time()) / 86400) then db.executeQuery("UPDATE `accounts` SET `vip_days` = ".. math.ceil((VipTime - os.time()) / 86400) .." WHERE `accounts`.`id` = ".. AccID ..";") if math.ceil((VipTime - os.time()) / 86400) == 1 then print("A conta ".. AccName .." tem ".. math.ceil((VipTime - os.time()) / 86400) .." dia de vip restante") else print("A conta ".. AccName .." tem ".. math.ceil((VipTime - os.time()) / 86400) .." dias de vip restantes") end end else db.executeQuery("UPDATE `accounts` SET `vip_time` = 0 WHERE `accounts`.`id` = ".. AccID ..";") db.executeQuery("UPDATE `accounts` SET `vip_days` = 0 WHERE `accounts`.`id` = ".. AccID ..";") db.executeQuery("UPDATE `accounts` SET `vip` = 0 WHERE `accounts`.`id` = ".. AccID ..";") db.executeQuery("UPDATE `players` SET `reset_temple` = 1 WHERE `players`.`account_id` = ".. AccID ..";") print("A vip da conta ".. AccName .." acabou.") end Query:next() end Query:free() return true end
  9. TESTADO APROVADO E RECOMENDADO ME AJUDOU MUITO ESTAVA PROCURANDO ALGO DO TIPO.. RESP++ FLW
  10. ate se ajudei + rep tente agr ai acho que arrumei Quote [02/05/2012 21:04:37] [Error - LuaScriptInterface::loadFile] data/actions/scripts/tpitem.lua:13: 'end' expected (to close 'if' at line 6) near '<eof>' [02/05/2012 21:04:37] [Warning - Event::loadScript] Cannot load script (data/actions/scripts/tpitem.lua) [02/05/2012 21:04:37] data/actions/scripts/tpitem.lua:13: 'end' expected (to close 'if' at line 6) near '<eof>' [02/05/2012 21:04:37] [Warning - Event::loadScript] Event onThink not found (data/globalevents/scripts/inv.lua)
  11. [02/05/2012 20:04:08] [Error - LuaScriptInterface::loadFile] data/actions/scripts/tpitem.lua:13: 'end' expected (to close 'if' at line 6) near '<eof>' [02/05/2012 20:04:08] [Warning - Event::loadScript] Cannot load script (data/actions/scripts/tpitem.lua) [02/05/2012 20:04:08] data/actions/scripts/tpitem.lua:13: 'end' expected (to close 'if' at line 6) near '<eof>' [02/05/2012 20:04:08] [Error - LuaScriptInterface::loadFile] data/globalevents/scripts/inv.lua:15: 'end' expected (to close 'function' at line 1) near '<eof>' [02/05/2012 20:04:08] [Warning - Event::loadScript] Cannot load script (data/globalevents/scripts/inv.lua) [02/05/2012 20:04:08] data/globalevents/scripts/inv.lua:15: 'end' expected (to close 'function' at line 1) near '<eof>' Continuo aguardando obrigado
  12. ERRO NOVAMENTE OBRIGADO AGUARDANDO RESPOSTA. SE POSSIVEL [02/05/2012 19:43:36] [Error - LuaScriptInterface::loadFile] data/actions/scripts/tpitem.lua:13: 'end' expected (to close 'if' at line 6) near '<eof>' [02/05/2012 19:43:36] [Warning - Event::loadScript] Cannot load script (data/actions/scripts/tpitem.lua) [02/05/2012 19:43:36] data/actions/scripts/tpitem.lua:13: 'end' expected (to close 'if' at line 6) near '<eof>' [02/05/2012 19:43:37] [Error - LuaScriptInterface::loadFile] data/globalevents/scripts/inv.lua:10: 'end' expected (to close 'function' at line 1) near '<eof>' [02/05/2012 19:43:37] [Warning - Event::loadScript] Cannot load script (data/globalevents/scripts/inv.lua) [02/05/2012 19:43:37] data/globalevents/scripts/inv.lua:10: 'end' expected (to close 'function' at line 1) near '<eof>'
  13. Fiz o que me foi indicado nao funcionou. erro abaixo se puder continuar me ajuando obrigado. OBS OT 8.6 [02/05/2012 19:21:42] [Error - LuaScriptInterface::loadFile] data/actions/scripts/tpitem.lua:13: 'end' expected (to close 'if' at line 6) near '<eof>' [02/05/2012 19:21:42] [Warning - Event::loadScript] Cannot load script (data/actions/scripts/tpitem.lua) [02/05/2012 19:21:42] data/actions/scripts/tpitem.lua:13: 'end' expected (to close 'if' at line 6) near '<eof>'
  14. DÊS DE JÁ OBRIGADO. Gostaria de saber se e possível o item 5809 ter a função de quando usado teleporta se o player que o usou para o templo, caso ele não esteja pz. OBS: QUE O ITEM NAO ACABE AO SER USADO. TEMPLE Position: [X: 1019] [Y: 1021] [Z: 7]. RESP+
  15. PO MANO NAO SEI O QUE VC FEZ, GOSTARIA DE SABER O QUE ESTAVA ERRADO. MAIS FUNCIONO RESP + TY
  16. CRIEI UM EVENTO NO MEU OT COM O BOSS GHAZBARAN. EDITE O GAZBARAN ASSIM -- <?xml version="1.0" encoding="UTF-8"?> <monster name="Ghazbaran" nameDescription="Ghazbaran" race="undead" experience="15000" speed="400" manacost="0"> <health now="80000" max="80000"/> <look type="12" head="0" body="123" legs="97" feet="94" corpse="6068"/> <targetchange interval="10000" chance="20"/> <strategy attack="100" defense="0"/> <flags> <flag summonable="0"/> <flag attackable="1"/> <flag hostile="1"/> <flag illusionable="0"/> <flag convinceable="0"/> <flag pushable="0"/> <flag canpushitems="1"/> <flag canpushcreatures="1"/> <flag staticattack="98"/> <flag targetdistance="1"/> <flag runonhealth="3500"/> </flags> <attacks> <attack name="melee" interval="1000" min="-500" max="-2191"/> <attack name="melee" interval="2000" chance="40" range="7" radius="6" target="0" min="-250" max="-500"> <attribute key="areaEffect" value="blackspark"/> </attack> <attack name="melee" interval="4000" chance="34" range="7" radius="1" target="1" min="-120" max="-500"> <attribute key="shootEffect" value="whirlwindsword"/> <attribute key="areaEffect" value="redspark"/> </attack> <attack name="energy" interval="3000" chance="30" length="8" spread="0" min="-100" max="-800"> <attribute key="areaEffect" value="mortarea"/> </attack> <attack name="physical" interval="3000" chance="20" range="14" radius="5" target="0" min="-200" max="-480"> <attribute key="areaEffect" value="poff"/> </attack> <attack name="physical" interval="3000" chance="15" range="7" radius="13" target="0" min="-100" max="-650"> <attribute key="areaEffect" value="yellowspark"/> </attack> <attack name="physical" interval="4000" chance="18" radius="14" target="0" min="-200" max="-600"> <attribute key="areaEffect" value="bluebubble"/> </attack> <attack name="melee" interval="3000" chance="15" range="7" radius="4" target="0" min="-200" max="-750"> <attribute key="areaEffect" value="energyarea"/> </attack> </attacks> <defenses armor="55" defense="65"> <defense name="healing" interval="1000" chance="35" min="300" max="800"> <attribute key="areaEffect" value="blueshimmer"/> </defense> <defense name="speed" interval="4000" chance="80" speedchange="440" duration="6000"> <attribute key="areaEffect" value="redshimmer"/> </defense> </defenses> <immunities> <immunity physical="0"/> <immunity energy="1"/> <immunity fire="1"/> <immunity poison="1"/> <immunity lifedrain="1"/> <immunity paralyze="1"/> <immunity outfit="1"/> <immunity drunk="1"/> <immunity invisible="1"/> </immunities> <summons maxSummons="3"> <summon name="Deathslicer" interval="4000" chance="20"/> </summons> <voices interval="5000" chance="30"> <voice sentence="COME HERE AND DIE!"/> <voice sentence="COME AND GIVE ME SOME AMUSEMENT!" yell="1"/> <voice sentence="IS THAT THE BEST YOU HAVE TO OFFER, TIBIANS?" yell="1"/> <voice sentence="I AM GHAZBARAN OF THE TRIANGLE... AND I AM HERE TO CHALLENGE YOU ALL!" yell="1"/> <voice sentence="FLAWLESS VICTORY!"/> </voices> <loot> <item id="2160" countmax="38" chance="100000"/><!-- crystal coin --> <item id="2365" chance="1000"/><!-- grey backpack --> <inside> <item id="7431" countmax="1" chance="6000"/><!-- demonbone --> <item id="2393" countmax="1" chance="60000"/><!-- giant sword --> <item id="2195" countmax="1" chance="14033"/><!-- boots of haste --> <item id="2474" countmax="1" chance="1000"/><!-- Winged Helmet Free Edition --> <item id="8877" countmax="1" chance="1000"/><!-- Lavos Armor Free Edition --> <item id="2488" countmax="1" chance="1000"/><!-- Crown Legs Free Edition --> <item id="5462" countmax="1" chance="1000"/><!-- Pirate Boots Free Edition --> <item id="6433" countmax="1" chance="1000"/><!-- Necromancer Shield Free Edition --> <item id="2111" countmax="1" chance="1000"/><!-- nowballs Free Edition --> <item id="7457" countmax="1" chance="1000"/><!-- Fur Boots Free Edition --> <item id="2501" countmax="1" chance="1000"/><!-- Ceremonial Mask Free Edition --> <item id="6391" countmax="1" chance="1000"/><!-- Nightmare Shield Free Edition --> <item id="8886" countmax="1" chance="1000"/><!-- Molten Plate Free Edition --> <item id="7408" countmax="1" chance="1000"/><!-- Wyvern Fang Free Edition --> <item id="8925" countmax="1" chance="1000"/><!-- Solar Axe Free Edition --> <item id="7423" countmax="1" chance="1000"/><!-- Skullcrusher Free Edition --> <item id="2499" countmax="1" chance="1000"/><!-- Amazon Helmet Free Edtion --> <item id="8868" countmax="1" chance="1000"/><!-- Velvet Mantle Free Edition --> <item id="7895" countmax="1" chance="1000"/><!-- Lightning Legs Free Edition --> <item id="7893" countmax="1" chance="1000"/><!-- Lightning Boots Free Edition --> <item id="7422" countmax="1" chance="1000"/><!-- Jade Hammer --> <item id="7421" countmax="1" chance="1000"/><!-- Onyx Flail Free Edition --> <item id="2495" countmax="1" chance="1000"/><!-- Demon Legs Free Edition --> <item id="2537" countmax="1" chance="1000"/><!-- Amazon Shield Free Edition --> </inside> </item> </loot> </monster> E QUANDO EU ABRO O OT DA O SEGUINTE ERRO. [Warning - Monsters::loadMonster] Cannot load monster (Ghazbaran) file (data/monster/Bosses/ghazbaran.xml). [29/02/2012 20:10:51] Line: 105, Info: Extra content at the end of the document ALGUEM PODE ME DAR UMA DICA DE ONDE EU ERREI ?
  17. Revirei ontem tudo sobre maping e nada, creio que o erro esteja no scrip de vip tile ou o sistema vip nao esta adicionando o storage 7777. Como eu faço para verificar se realmente o sistema vip esta adicionando o storage 7777 ? ALGUEM ? MUDEI O SISTEMA VIP PARA STF 0.3.6 E FUNCIONO PROBLEMA RESOLVIDO.
  18. Bom estou tentando bota um server de war online porem estou econtrando dificuldades. a principal é minha acc vip que quando eu do o comando de /addvip bla,10 ele adiciona a vip porem por exemplo quando eu crio um sqm com uniqueid 7777 quando o vip tenta passa o sqm diz que ele n tem vip . se alguem tiver uma ideia de onde esta o erro por favor me de uma ajuda. eu uso o mapa >> http://www.xtibia.com/forum/topic/171448-desert-war-atualizacao/ com o sistema de acc vip tfs 0.4 >> http://www.xtibia.com/forum/topic/166405-sistema-vip-por-sql-v40-para-tfs-04-e-tfs-036/ des de ja OBRIGADO !! >> PESSO QUE ME AJUDEM POR QUE ALEM DE ME AJUDAREM EU ACREDITO QUE MINHA DUVIDA É COM CERTEZA A DUVIDA DE MUITOS INICIANTES.. VLW
  19. Quatroevinte

    Respaw Random

    Ola, gostaria de saber se alguem poderia me ajudar com um respaw ? Bom vou colocar o exemplo abaixa e se alguem puder dar uma dica de como eu tenho que fazer, se e no globalevente no creattalk etc... des de ja Obrigado Respaw random de boss de 2 em 2 horas no sqp ( x961 y771 z7 ) random entre os seguintes boss exemplo: Orshabaal Ferumbras Gazbaran
  • Quem Está Navegando   0 membros estão online

    • Nenhum usuário registrado visualizando esta página.
×
×
  • Criar Novo...