-
- Gerador de RK
-
[Gesior] PagSeguro automático! (100% funcional)
Alguém usa ainda? Aqui não está funcionando, os points não são creditados e não gera log na database :S
-
[PEDIDO] Item que faça gerar nova RK
Bumpp
-
[HELP] Laatido no Absolute TK 10.51
Só em ver esse nome "Absolut" já imagino a tranqueira de bugs existentes nele.
-
[PEDIDO] Item que faça gerar nova RK
Mas muitos ots vendem esse item já.... E aproveitando o tópico, alguém aqui é BEM ENTENDIDO de ot? Precisava de uma ajuda.... manda skype PM até pago se conseguir o que quero..
-
Funções/bugs que crasham otserver
Estavam derrubando meu ot e a pessoa disse que tem uns 4 bugs que crasham aquele ot. Alguém sabe dizer quais são os possíveis bugs? :S to na mão da pessoa agora.
-
[PEDIDO] Item que faça gerar nova RK
É possível fazer um script para um item gerar uma nova RK para a account?
-
Error GlobalEventssss (foto e code)
script: dofile('data/lmsLib.lua') local function sendReminderLMSEvent() Game.broadcastMessage(string.format('Last Man Standing Event has started and waiting for players to join! Min %s/%s.', lmsConfigTable.minPlayers, lmsConfigTable.maxPlayers), MESSAGE_STATUS_WARNING) end function onThink(interval, lastExecution) if #Game.getPlayers() < lmsConfigTable.minPlayers then --Min players is not online, we stop event from executing return true end if not Game.getStorageValue(lmsStatesTable.EVENT_STATE_STORAGE) then Game.setStorageValue(lmsStatesTable.EVENT_STATE_STORAGE, lmsStatesTable.EVENT_STATE_CLOSED) end if Game.getStorageValue(lmsStatesTable.EVENT_STATE_STORAGE) ~= lmsStatesTable.EVENT_STATE_CLOSED then return true end local teleportTile = Tile(lmsTeleportTable.createTeleportPosition):getItemById(lmsTeleportTable.teleportId) if not teleportTile then local teleport = Game.createItem(lmsTeleportTable.teleportId, 1, lmsTeleportTable.createTeleportPosition) if teleport then teleport:setAttribute(ITEM_ATTRIBUTE_UNIQUEID, lmsTeleportTable.teleportUid) end end Game.setStorageValue(lmsStatesTable.EVENT_STATE_STORAGE, lmsStatesTable.EVENT_STATE_INIT) Game.setStorageValue(lmsConfigTable.joinedCountStorage, 0) Game.broadcastMessage(string.format('Last Man Standing Event has started and waiting for players to join! Min %s/%s.', lmsConfigTable.minPlayers, lmsConfigTable.maxPlayers), MESSAGE_STATUS_WARNING) addEvent(startLMSEvent, lmsConfigTable.waitingMinutes * 60 * 1000) addEvent(sendReminderLMSEvent, (lmsConfigTable.waitingMinutes / 2) * 60 * 1000) return true end TFs 1.x Alguém? REP nas respostas
-
Erro MAWHAWK (print)
upp
-
Erro MAWHAWK (print)
local voc = {1, 2, 3, 4, 5, 6, 7, 8} local condition = createConditionObject(CONDITION_REGENERATION) setConditionParam(condition, CONDITION_PARAM_SUBID, 88888) setConditionParam(condition, CONDITION_PARAM_TICKS, 10 * 60 * 1000) setConditionParam(condition, CONDITION_PARAM_HEALTHGAIN, 0.01) setConditionParam(condition, CONDITION_PARAM_HEALTHTICKS, 10 * 60 * 1000) arr = { {0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 0, 0}, {0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0}, {0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0}, {0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0}, {0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0}, {1, 1, 1, 1, 1, 1, 3, 1, 1, 1, 1, 1, 1}, {0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0}, {0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0}, {0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0}, {0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0}, {0, 0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0}, } local area = createCombatArea(arr) local combat = createCombatObject() setCombatArea(combat, area) function onTargetTile(cid, pos) local creatureTable = {} local n, i = getTileInfo({x=pos.x, y=pos.y, z=pos.z}).creatures, 1 if n ~= 0 then local v = getThingfromPos({x=pos.x, y=pos.y, z=pos.z, stackpos=i}).uid while v ~= 0 do if isCreature(v) == true then table.insert(creatureTable, v) if n == #creatureTable then break end end i = i + 1 v = getThingfromPos({x=pos.x, y=pos.y, z=pos.z, stackpos=i}).uid end end if #creatureTable ~= nil and #creatureTable > 0 then for r = 1, #creatureTable do if creatureTable[r] ~= cid then local min = 1500 local max = 1700 if isPlayer(creatureTable[r]) == true and isInArray(voc, getPlayerVocation(creatureTable[r])) == true then doTargetCombatHealth(cid, creatureTable[r], COMBAT_FIREDAMAGE, -min, -max, CONST_ME_NONE) elseif isMonster(creatureTable[r]) == true then doTargetCombatHealth(cid, creatureTable[r], COMBAT_FIREDAMAGE, -min, -max, CONST_ME_NONE) end end end end doSendMagicEffect(pos, CONST_ME_FIREAREA) return true end setCombatCallback(combat, CALLBACK_PARAM_TARGETTILE, "onTargetTile") local function delayedCastSpell(cid, var) if isCreature(cid) == true then doCombat(cid, combat, positionToVariant(getCreaturePosition(cid))) end end function onCastSpell(cid, var) if isCreature(cid) == true then if getCreatureHealth(cid) < getCreatureMaxHealth(cid) * 0.1 and getCreatureCondition(cid, CONDITION_REGENERATION, 88888) == false then doAddCondition(cid, condition) addEvent(delayedCastSpell, 5000, cid, var) doCreatureSay(cid, "Better flee now.", TALKTYPE_ORANGE_1) else return false end else return false end return true end Ai o script... eu sei inglês, só não entendo de scripts mesmo Eu acho que são esses símbolos "~=" Obs. Já removi essa magia, ele solta essa magia assim que é morto, ai da o erro. Por enquanto eu removi ela
-
-
Erro MAWHAWK (print)
Tirei o dia para ver os logs, estou vendo alguns erros. Alguém sabe o que pode ser esse erro acima? Todas as respostas ganharão REP. Obrigado a todos
-
ERRO SCRIPT ROPE
POR ACASO, fui ver o log, ai percebi esse erro da foto acima. Alguém sabe o que pode ser? Eu uso a rope normal aqui. Obrigado a todos!
-
Error Unique ID duplicada *ta osso achar*
Bom dia, alguém sabe um modo fácil ou pelo menos melhor do que eu uso para procurar uma Unique ID duplicada? UniqueID 2000 :S Eu estou tentando ir chest por chest, pra ver se é lá. Não é possível, deve haver algum outro modo . Alguém ajuda?!?! obrigado forum
-
ERROR in function '__sub' blá blá! HELP
Edited*: Usei só o seu movements com a action que já tinha, troquei o valor do storage e está tudo OK, até o momento não deu erro nenhum. Olhando esse script, será que quando se passarem os 30 dias, o player vai perder sua VIP ? Se a resposta for sim, eu gostaria de adicionar uma script para teleportar o player até o templo assim que acabasse. Poderia ajudar? Obrigado
-
-
ERROR in function '__sub' blá blá! HELP
Olá olhem o erro que está dando: Obs, não sei nem se com esses arquivos a VIP vai acabar normal ou ficar infinita (quero pra acabar). Tentei colocar um sistema vip com esses arquivos: Em movements.xml <movevent event="StepIn" actionid="29859" script="viptile.lua"/> Em actions.xml <action itemid="16101" script="VIP Tile.lua"/> Em movements>Scripts> viptile.lua function onStepIn(cid, item, position, fromPosition) local config = { msgDenied = "This place is only for vip players,please buy a VIP Scroll.", msgWelcome = "Welcome to VIP PLACE!!." } if getPlayerStorageValue(cid, 445577) - os.time() <= 0 then doTeleportThing(cid, fromPosition, true) doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, config.msgDenied) doSendMagicEffect(getThingPos(cid), CONST_ME_MAGIC_BLUE) return TRUE end end Em actions>scripts> VIP tile.lua function onUse(cid, item, fromPosition, itemEx, toPosition) local config={ removeOnUse = "yes" -- remover quando usar ("yes" or "no") } local days = 30 -- dias que serão adicionados local daysvalue = days * 24 * 60 * 60 local storageplayer = getPlayerStorageValue(cid, 445577) local timenow = os.time() if getPlayerStorageValue(cid, 445577) - os.time() <= 0 then time = timenow + daysvalue else time = storageplayer + daysvalue end doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "Foram adicionados ".. days .." dias de VIP no seu character.") setPlayerStorageValue(cid, 445577, time) local quantity = math.floor((getPlayerStorageValue(cid, 445577) - timenow)/(24 * 60 * 60)) doSendMagicEffect(getPlayerPosition(cid), math.random(28,30)) doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "Você tem ".. quantity .." dias de VIP restantes.") if (config.removeOnUse == "yes") then doRemoveItem(item.uid, 1) end return TRUE end