Tudo que brendoonh postou
-
(Resolvido)Snowball Event
To sem tempo, dps passo. Nao pode, fizeram um tutorial com esse evento e foi barrado, devido a empresa q "criou" o evento começou a dar pala no forum..
-
corrigir script
uup
-
(Resolvido)Teleport Trainer
Arrumei em outro forum !
-
corrigir script
up
-
corrigir script
uup
-
Tfs 0.3.6 [Dota]
Mais ele pediu DOTA EVENT:o kk
-
(Resolvido)Snowball Event
Já arrumei, valeu!
- Novo Sistema de Trainer [0.36~0.4]
-
(Resolvido)Ajuda na instalação de script
up Resolvido!
-
(Resolvido)Ajuda na instalação de script
Boa noite galerinha, estou precisando da ajuda de vocês!! Achei um sistema de Trainer no forum aqui muito maneiro. Porem, estou penando na instalação... È um pouco complicado (pra mim) kkkkk O sistema é esse aqui: Eu fui instalar e deu este erro, Agora fiz um local diferente do que eu tentei configurar antes, vou deixar uma foto pra vocês verem como está, e se possível, me dê um suporte. A foto da minha area de trainer será essa daqui: Vendo essa foto, vocês poderiam deixar essa parte configurada? Ou, me explicar de um outra forma pra ver se eu consigo entender? Eu li varias vezes e não consegui entender... trainertp2: local position = {x = 612, y = 88, z = 7} -- posicao da primeira pos (linha 1 coluna 1) local config = { distX= 13, -- distancia em X entre cada sala (de uma mesma linha) distY= 9, -- distancia em Y entre cada sala (de uma mesma coluna) rX= 2, -- numero de colunas rY= 2 -- numero de linhas } local storage = 18481 -- storage que salva a ultima vez que o player entrou (pra evitar spams) local function fazQualquerCoisa(cid, pos, i, j) -- isso é o coração do nosso script, nao mexa nisso j = j or 0 p = i or 0 if p >= config.rX then p = 0 j = j < config.rY -1 and j + 1 or false end if j then posi = {x = pos.x + ( p * config.distX), y = pos.y + (j * config.distY), z = pos.z} if check_disponivel(posi) then doTeleportThing(cid, posi) doSendMagicEffect(posi, 10) countdown(posi, {{x = posi.x - 1, y = posi.y + 1, z = posi.z}, {x = posi.x + 1 , y = posi.y + 1, z = posi.z}}) else fazQualquerCoisa(cid, pos, p + 1, j) end else doPlayerSendCancel(cid, "Couldn't find any position for you right now.") end end local function isWalkable(pos, creature, proj, pz)-- by Nord -- só adicione se vc já não tiver ela if getTileThingByPos({x = pos.x, y = pos.y, z = pos.z, stackpos = 0}).itemid == 0 then return false end if getTopCreature(pos).uid > 0 and creature then return false end if getTileInfo(pos).protection and pz then return false, true end local n = not proj and 3 or 2 for i = 0, 255 do pos.stackpos = i local tile = getTileThingByPos(pos) if tile.itemid ~= 0 and not isCreature(tile.uid) then if hasProperty(tile.uid, n) or hasProperty(tile.uid, 7) then return false end end end return true end local function check_disponivel(npos) if isWalkable(npos, true, true) then return true end return false end local function countdown(pos, Arraypos) if not check_disponivel(pos) then for lugares = 1, #Arraypos do creature = getTopCreature(Arraypos[lugares]).uid if not isCreature(creature)then doCreateMonster("Training Monk", Arraypos[lugares]) doSendAnimatedText(Arraypos[lugares], "GO!!", TEXTCOLOR_ORANGE) doSendMagicEffect(Arraypos[lugares], 10) end end end end function onStepIn(cid, item, pos, lastPos, fromPos, toPos, actor) if getPlayerStorageValue(cid, storage) - os.time() <= 0 then fazQualquerCoisa(cid, position) else doTeleportThing(cid, fromPos) doPlayerSendCancel(cid, "You gotta wait a few seconds before you can enter trainning room again") end return true end Me ajudem ai galera please... REP++++
-
Novo Sistema de Trainer [0.36~0.4]
Boa noitchê !!! Estava atrás desse sistema... To penando pra instalar ele, fiz as cabines do modo que eu n iria precisar modificar nada no script, apenas colocar a position da primeira cabine... Só que ta dando um erro Não sei como arrumo isso, fiz na distancia de certinha como fala no tutorial, fiz com a distancia citada acima pra n ter erro.. Mais mesmo assim deu esse ai, oq pd ser?
-
(Resolvido)Teleport Trainer
Boa tarde.. TFS: 0.4 Gostaria de fazer um pedido, se alguém puder me ajudar.. Então o pedido é o seguinte, um script que faça com que o teleport me leve a uma cabine vazia do treiner, no caso seriam diversas cabines.. Um exemplo é essa foto: Script: Quando o player pisa no teleporte o script iria checar as gabines e manda ele pra uma vazia. Caso o player logue lá dentro o script faria a mesma checagem e mandasse ele pra uma cabine vazia. E uma pra prevenir, caso todas as cabines tivesse cheia, o player seria bloqueado de entrar e mandaria uma mensagem (configuravel) Iai? Alguém pode me ajudar? Caso n entenda da um toque q tento explicar melhor.
-
corrigir script
up
-
(Resolvido)[PEDIDO] Npc de TASK 8.6
<?xml version="1.0"?> <npc name="Ludger" script="data/npc/scripts/simple_task.lua" walkinterval="50000" floorchange="0"> <health now="100" max="100"/> <look type="129" head="95" body="116" legs="121" feet="115" addons="3"/> <parameters> <parameter key="message_greet" value="Ola |PLAYERNAME|. quer fazer uma {task}? ou {sair} de uma? tambem pode {receber} premios se terminou ela!" /> </parameters> </npc>
-
corrigir script
Vou ver como ele é aqui, mais eu queria esse, pois ele tem limite e é bem o que eu queria... Vou ver aqui , dei um rep ai! Valeu @edit O mod funciona sem nenhum erro, porém, não tem limite de itens adicionado e o dinheiro coletado vai pra bp, isso iria atrapalhar bastante.. Eu queria um Autoloot desse tipo: 1) Limite de Sloot = 2 (pra todos jogadores) 2) Dinheiro coletado ir direto pro banco. 3) Um item que ao ativar libera mais 3 slot no sistema.
-
(Resolvido)bug GuildFragSystem
Se tiver como fazer este favor... tentei por esse Action ID "84005" , não dá pois o numero é muito alto, o limite não permite!!! E não sei aonde configurar.. Tanto por door quanto por tile, o que for mais pratico me ajuda já...
-
(Resolvido)bug GuildFragSystem
up
-
corrigir script
Eu me disponibilizei a te ajudar, mas você só iria me beneficiar no futuro.. Acordo fazemos na hora, sendo bom pra ambas as partes, olha que nao te pedir nada de mais.. Abraço!
-
(Resolvido)Snowball Event
Será que alguém poderia posta-lo ou me enviar pelo pvt? Já que foi postado aqui no forum e varias pessoas conseguiram pegar a tempo se for possivel alguem me passar, fico agradecido!!
-
(Resolvido)bug GuildFragSystem
Caraio, que burrice da minha parte.. Eu fiquei subindo e descendo tentando achar lá e nd de encontrar, em vez de dar o CTRL + F e digitar " interval " kkkkkkkkkkkkkk Valeuuu , reputado! @Vodkart nesse mods, qual o ID q posso por em uma door ou tile para acesso a caves e tals???? up
-
corrigir script
Verdade.. Por isso vim aqui pedir suporte, tinha perguntado no tópico e nada.. Vou aguardar, valeu!
-
corrigir script
up
-
(Resolvido)bug GuildFragSystem
Galera, boa noite!! Alguem consegue me ajudar nessa questao? È o seguinte, instalei o mod do @Vodkart "GFS" só que ta spamenado na minha distro a mensagem avisando que com x frags ganha acesso de 2 dias do castle GFS... Queria arrumar o tempo mais n sei alguem ajuda??
-
[GFS] Guild Frag System
No mods, onde eu posso configurar o tempo para as mensagens? Ta indo de 1 em 1 segundo a mensagem de broadcast..
-
corrigir script
Bom dia, gostaria da ajuda de vocês.. Então, tem um sistema de Autoloot aqui no forum, porem, ele nao ta funcionando a parte de coletar os itens, mt menos os gps!!! Alguém com experiencia em scripts poderia me dar essa moral ???? Creio q o erro esteja aqui: Creatureevents: -- Sistema de auto loot por Paulo Victor xZonaah TK -- local tabela = {} local function getPlayerList(cid) local tab = {} if getPlayerStorageValue(cid, 0442002) ~= -1 then table.insert(tab, getPlayerStorageValue(cid, 0442002)) end if getPlayerStorageValue(cid, 0442003) ~= -1 then table.insert(tab, getPlayerStorageValue(cid, 0442003)) end if getPlayerStorageValue(cid, 0442004) ~= -1 then table.insert(tab, getPlayerStorageValue(cid, 0442004)) end if getPlayerStorageValue(cid, 0442005) ~= -1 then table.insert(tab, getPlayerStorageValue(cid, 0442005)) end if #tab > 0 then return tab end return false end local function autoLoot(cid, pos) local check = false local str = "" local position = {} for i = 1, 255 do pos.stackpos = i if getThingFromPos(pos).uid and getThingFromPos(pos).uid > 0 and isContainer(getThingFromPos(pos).uid) then position = pos check = true break end end if check then local corpse = getContainerItemsInfo(getThingFromPos(position).uid) if corpse then for index, info in pairs(corpse) do if index < countTable(corpse) then if tonumber(info.uid) and tonumber(info.itemid) then if isContainer(info.uid) then local bag = getContainerItemsInfo(info.uid) for i = 1, countTable(bag) - 1 do if isInArray(getPlayerList(cid), bag.itemid) then if bag.quant > 1 then doRemoveItem(bag.uid, bag.quant) doPlayerAddItem(cid, bag.itemid, bag.quant) str = str.." "..bag.quant.." "..getItemNameById(bag.itemid).."," else doRemoveItem(bag.uid) doPlayerAddItem(cid, bag.itemid, 1) str = str.." 1 "..getItemNameById(bag.itemid).."," end end end end end end if isInArray(getPlayerList(cid), info.itemid) then if info.quant > 1 then doRemoveItem(info.uid, info.quant) doPlayerAddItem(cid, info.itemid, info.quant) str = str.." "..info.quant.." "..getItemNameById(info.itemid).."," else doRemoveItem(info.uid) doPlayerAddItem(cid, info.itemid, 1) str = str.." 1 "..getItemNameById(info.itemid).."," end end end end end tabela[getCreatureName(cid)] = {item = "[Zona Loot] Coletados: "..str, gold = 0} end local function autoGold(cid, pos) local check = false local total = 0 local position = {} for i = 1, 255 do pos.stackpos = i if getThingFromPos(pos).uid and getThingFromPos(pos).uid > 0 and isContainer(getThingFromPos(pos).uid) then position = pos check = true break end end if check then local corpse = getContainerItemsInfo(getThingFromPos(position).uid) if corpse then for index, info in pairs(corpse) do if info.uid and info.itemid then if index < countTable(corpse) then if isContainer(info.uid) then local bag = getContainerItemsInfo(info.uid) for i = 1, countTable(bag) - 1 do if isInArray({2148, 2152, 2160}, bag.itemid) then local multiplie = 1 if bag.itemid == 2148 then multiplie = 1 elseif bag.itemid == 2152 then multiplie = 100 elseif bag.itemid == 2160 then multiplie = 10000 end doRemoveItem(bag.uid, bag.quant) doPlayerSetBalance(cid, getPlayerBalance(cid) + (tonumber(bag.quant) and tonumber(bag.quant) * multiplie or 0)) total = total + (tonumber(bag.quant) and tonumber(bag.quant) * multiplie or 0) doPlayerSetStorageValue(cid, 0442102, getPlayerStorageZero(cid, 0442102) + (tonumber(bag.quant) and tonumber(bag.quant) * multiplie or 0)) end end end end if isInArray({2148, 2152, 2160}, info.itemid) then local multiplie = 1 if info.itemid == 2148 then multiplie = 1 elseif info.itemid == 2152 then multiplie = 100 elseif info.itemid == 2160 then multiplie = 10000 end doRemoveItem(info.uid, info.quant) doPlayerSetBalance(cid, getPlayerBalance(cid) + (tonumber(info.quant) and tonumber(info.quant) * tonumber(multiplie) or 0)) doPlayerSetStorageValue(cid, 0442102, getPlayerStorageZero(cid, 0442102) + (tonumber(info.quant) and tonumber(info.quant) * tonumber(multiplie) or 0)) total = total + (tonumber(info.quant) and tonumber(info.quant) * multiplie or 0) end end end end end if tabela[getCreatureName(cid)] and tabela[getCreatureName(cid)].gold then tabela[getCreatureName(cid)].gold = total end end local function sendMsg(cid) if tabela[getCreatureName(cid)] and tabela[getCreatureName(cid)].gold then if tabela[getCreatureName(cid)].gold == 0 then doPlayerSendTextMessage(cid, 23, tabela[getCreatureName(cid)].item) else doPlayerSendTextMessage(cid, 23, tabela[getCreatureName(cid)].item.." "..tabela[getCreatureName(cid)].gold.." gold coins.") end tabela[getCreatureName(cid)] = nil end end function onKill(cid, target, lastHit) if isPlayer(cid) and isMonster(target) then if getPlayerStorageValue(cid, 0442100) == 1 and getPlayerList(cid) then local pos = getCreaturePosition(target) addEvent(autoLoot, 500, cid, pos) end if getPlayerStorageValue(cid, 0442101) == 1 then local pos = getCreaturePosition(target) addEvent(autoGold, 500, cid, pos) end if getPlayerStorageValue(cid, 0442100) == 1 or getPlayerStorageValue(cid, 0442101) == 1 then addEvent(sendMsg, 540, cid) end end return true end Vou deixar o LINK do sistema para qualquer coisa.. Agradeço desde já.. REP+