Tudo que BryanX postou
-
(Resolvido)Port 7171 ~~ 7172
Bom já resolvi, obrigado danihcv, pelo fato de ter tentando me ajudar vou te reputa vlw.
-
(Resolvido)Port 7171 ~~ 7172
Sim tentei dani, o roteador dele é totalmente diferente do meu :/ olha uma print do meu...
-
(Resolvido)Port 7171 ~~ 7172
Bom, eu uso o roteador d-link dir 610 e não estou sabendo abrir as port pra por meu OtServer online, alguém pode me ajudar?
-
Internet Compartilhada
Estou com mesmo problema, mas o meu é que não consigo abrir as portas no d-link dir 610, é muito osso de mecher nesse router
-
[WARNING] - Event:: LoadScript ] Event onTimer not found <Data/Globalevents/script/zombie.lua>
[WARNING] - Event:: LoadScript ] Event onTimer not found <Data/Globalevents/script/zombie.lua>
-
[WARNING] - Event:: LoadScript ] Event onTimer not found <Data/Globalevents/script/zombie.lua>
Está dando esse erro no distro quando vai começar o zombie event, oque eu faço? eu uso a seguinte script: local config = { playerCount = 2001, -- Global storage for counting the players left/entered in the event goblet = 5805, -- id of the gold goblet you'll get when finishing the event. rewards = {6497}, -- You will get this + a gold goblet with your name on. -- {moneyId, count, using? 1 for using moneyReward, 0 for not using.} moneyReward = {2160, 100, 1}, -- Should be same as in the globalevent! -- The zombies will spawn randomly inside this area fromPosition = {x = 907, y = 1306, z = 8}, -- top left cornor of the playground toPosition = {x = 939, y = 1307, z = 8}, -- bottom right cornor of the playground } function onStatsChange(cid, attacker, type, combat, value) if isPlayer(cid) and isMonster(attacker) then if isInArea(getPlayerPosition(cid), config.fromPosition, config.toPosition) then if getGlobalStorageValue(config.playerCount) >= 2 then doBroadcastMessage(getPlayerName(cid) .. " have been eated by Zombies!", MESSAGE_STATUS_CONSOLE_RED) local corpse = doCreateItem(3058, 1, getPlayerPosition(cid)) doItemSetAttribute(corpse, "description", "You recognize " .. getCreatureName(cid) .. ". He was killed by "..(isMonster(attacker) and "a "..string.lower(getCreatureName(attacker)) or isCreature(attacker) and getCreatureName(attacker) or "a field item")..".") doSendMagicEffect(getPlayerPosition(cid), CONST_ME_POFF) doTeleportThing(cid, getTownTemplePosition(getPlayerTown(cid)), false) doSendMagicEffect(getPlayerPosition(cid), CONST_ME_TELEPORT) setGlobalStorageValue(config.playerCount, getGlobalStorageValue(config.playerCount)-1) elseif getGlobalStorageValue(config.playerCount) == 1 then if isInArea(getPlayerPosition(cid), config.fromPosition, config.toPosition) then doBroadcastMessage(getPlayerName(cid) .. " won the Zombie event! Congratulations!", MESSAGE_STATUS_WARNING) local goblet = doPlayerAddItem(cid, config.goblet, 1) doItemSetAttribute(goblet, "description", "Awarded to " .. getPlayerName(cid) .. " for winning the Zombie event.") local corpse = doCreateItem(3058, 1, getPlayerPosition(cid)) doItemSetAttribute(corpse, "description", "You recognize " .. getCreatureName(cid) .. ". He was killed by "..(isMonster(attacker) and "a "..string.lower(getCreatureName(attacker)) or isCreature(attacker) and getCreatureName(attacker) or "a field item")..".") doSendMagicEffect(getPlayerPosition(cid), CONST_ME_POFF) doTeleportThing(cid, getTownTemplePosition(getPlayerTown(cid)), false) doSendMagicEffect(getPlayerPosition(cid), CONST_ME_TELEPORT) for _,items in ipairs(config.rewards) do doPlayerAddItem(cid, items, 1) end if config.moneyReward[3] == 1 then doPlayerAddItem(cid, config.moneyReward[1], config.moneyReward[2]) end end for x = config.fromPosition.x, config.toPosition.x do for y = config.fromPosition.y, config.toPosition.y do for z = config.fromPosition.z, config.toPosition.z do areapos = {x = x, y = y, z = z, stackpos = 253} getMonsters = getThingfromPos(areapos) if isMonster(getMonsters.uid) then doRemoveCreature(getMonsters.uid) end end end end end return false end end return true end
-
(Resolvido)[ACTIONS) Bau donate.
Vlw, não sabia disso, sou novato aqui no forum hehe, vlw novamente.
-
(Resolvido)[ACTIONS) Bau donate.
Obrigado mano, mas deixa queto, vou fazer item por bau mesmo, mexer com script é muito chato rsrs, OBRIGADÃO MESMO hehe
-
(Resolvido)[ACTIONS) Bau donate.
Vish, nem deu certo, vou por bau separado mesmo rsrs, mas obrigado pela atenção e pela intenção de ajudar, isso que conta xD Reputado!
-
(Resolvido)[ACTIONS) Bau donate.
Então, antes com virgula funfava também, mas a minha duvida foi essa, eu tentei de varias formas adicionar mais ID de item, mas sempre que eu alterava o script, ele bugava. Me daria um exemplo de como ficaria a primeira linha com 2 id item?
-
(Resolvido)[ACTIONS) Bau donate.
o script está funcionando corretamente, oque eu estava querendo saber se tem como adicionar mais ID de item Exemplo: [9401] = {10,7735, 7735, 7424}, Eu tentei isso, mas bugo o script, porquê tipo, eu fiz 4 baus na sala de donate pra (Pally) (Knight) (Sorcerer) e (Druid) que dace set completo ao player que clicace no bau entende? Se me ajudar te do todos as Rep do dia =)
-
(Resolvido)[ACTIONS) Bau donate.
Bom pessoal, eu estava querendo fazer donate por bau no meu OTserver, mas o script que faz receber o item ao clicar no bau, está dando apenas um item, está funfando perfeitamente mas eu queria saber se tem como por pra comprar um set inteiro por bau nessa script... Obrigado desde já Quem me ajudar... dou Rep! Eu uso a seguinte action: local coin = 2328 local lever = { [9401] = {10,7735}, [9402] = {10,7735}, [9406] = {10,12606}, [9406] = {10,12603}, [9407] = {10,8858}, } function onUse(cid,item,fromPosition,itemEx,toPosition) if doPlayerRemoveItem(cid,coin,lever[item.actionid][1]) == FALSE then return doPlayerSendTextMessage(cid,MESSAGE_INFO_DESCR, "Você Precisa De "..lever[item.actionid][1].." " ..getItemNameById(coin)) end doPlayerAddItem(cid,lever[item.actionid][2]) doPlayerSendTextMessage(cid,22,"Você Acaba De Adquirir Um(a) " .. getItemNameById(lever[item.actionid][2])) doSendMagicEffect(getCreaturePosition(cid), math.random(28,30)) doTransformItem(item.uid, item.itemid == 1740 and 1740 or 1740) return true end
-
[Pedido] Script soltar exori (vis,frigo) no target
tem como por pra solta Exevo Gran Mas Vis no target? e não soltando feito loco? kkkk, vlw quem me ajudar, pois so falta isso pra min hehe <3