Tudo que mateusmoretti postou
- [PEDIDO] BOSS NASCE AUTOMATICO
- [PEDIDO] BOSS NASCE AUTOMATICO
-
[PEDIDO] BOSS NASCE AUTOMATICO
Certo vamos la! AGORA E COM VOCÊ 1: boss bronze, DROP: 5807, TELEPORT TEMPLO: 163 53 7, TELEPORT PARA CAVE BOOSS "BRONZE": 358 113 7, ONDE O BOS NACERA: 336 133 7, 2: boss divino, DROP: 5805, TELEPORT TEMPLO: 167 53 7, TELEPORT PARA CAVE BOOSS "OURO": 386 131 7, ONDE O BOS NACERA: 398 130 7, 3: boss prata, DROP: 5806, TELEPORT TEMPLO: 165 53 7, TELEPORT PARA CAVE BOSS "PRATA": 292 131 7, ONDE O BOS NACERA: 314 114 7,
-
[PEDIDO] BOSS NASCE AUTOMATICO
Xaga bom dia!!. estou atras desse scripts a semanaaaa pois falta somente isso pra eu inciar o servidor, Sera que voce conseguia fazer uma coisas nesse mesmo scripts?? pois tenho 3 bixo no meu server e cada 1 dropa 1 item diferente, ai tendo os 3 voce consegue dar usa em uma alavanca e consegue passagem a uma area secret!! Consegueria colocar pra avisar 5 minutos antes que o boss vai nascer!. Apaarecer 1 teleport no templo, e o teleport levar local indicado, ultimo que conseguir matar o boos ganhar o loot!
- Error Distro!
-
Duvida urgente site
Olá rusher boa noite! desculpa a demora. o erro ainda continua! mesma situação!
- Evento Automatico
- Error Distro!
-
Error Distro!
Certou vou fazer o teste ja te aviso! esqueci de coloca o npc -- Advanced NPC System (Created by Jiddo), -- Modified by Talaturen. if(NpcSystem == nil) then -- Loads the underlying classes of the npcsystem. dofile(getDataDir() .. 'npc/lib/npcsystem/keywordhandler.lua') dofile(getDataDir() .. 'npc/lib/npcsystem/queue.lua') dofile(getDataDir() .. 'npc/lib/npcsystem/npchandler.lua') dofile(getDataDir() .. 'npc/lib/npcsystem/modules.lua') -- Global npc constants: -- Keyword nestling behavior. For more information look at the top of keywordhandler.lua KEYWORD_BEHAVIOR = BEHAVIOR_NORMAL_EXTENDED -- Greeting and unGreeting keywords. For more information look at the top of modules.lua FOCUS_GREETWORDS = {'hi', 'hello', 'hey'} FOCUS_FAREWELLWORDS = {'bye', 'farewell', 'cya'} -- The word for requesting trade window. For more information look at the top of modules.lua SHOP_TRADEREQUEST = {'offer', 'trade'} -- The word for accepting/declining an offer. CAN ONLY CONTAIN ONE FIELD! For more information look at the top of modules.lua SHOP_YESWORD = {'yes'} SHOP_NOWORD = {'no'} -- Pattern used to get the amount of an item a player wants to buy/sell. PATTERN_COUNT = '%d+' -- Talkdelay behavior. For more information, look at the top of npchandler.lua. NPCHANDLER_TALKDELAY = TALKDELAY_ONTHINK -- Conversation behavior. For more information, look at the top of npchandler.lua. NPCHANDLER_CONVBEHAVIOR = CONVERSATION_PRIVATE -- Constant strings defining the keywords to replace in the default messages. -- For more information, look at the top of npchandler.lua... TAG_PLAYERNAME = '|PLAYERNAME|' TAG_ITEMCOUNT = '|ITEMCOUNT|' TAG_TOTALCOST = '|TOTALCOST|' TAG_ITEMNAME = '|ITEMNAME|' TAG_QUEUESIZE = '|QUEUESIZE|' NpcSystem = {} -- Gets an npcparameter with the specified key. Returns nil if no such parameter is found. function NpcSystem.getParameter(key) local ret = getNpcParameter(tostring(key)) if((type(ret) == 'number' and ret == 0) or ret == nil) then return nil else return ret end end -- Parses all known parameters for the npc. Also parses parseable modules. function NpcSystem.parseParameters(npcHandler) local ret = NpcSystem.getParameter('idletime') if(ret ~= nil) then npcHandler.idleTime = tonumber(ret) end local ret = NpcSystem.getParameter('talkradius') if(ret ~= nil) then npcHandler.talkRadius = tonumber(ret) end local ret = NpcSystem.getParameter('message_greet') if(ret ~= nil) then npcHandler:setMessage(MESSAGE_GREET, ret) end local ret = NpcSystem.getParameter('message_farewell') if(ret ~= nil) then npcHandler:setMessage(MESSAGE_FAREWELL, ret) end local ret = NpcSystem.getParameter('message_decline') if(ret ~= nil) then npcHandler:setMessage(MESSAGE_DECLINE, ret) end local ret = NpcSystem.getParameter('message_needmorespace') if(ret ~= nil) then npcHandler:setMessage(MESSAGE_NEEDMORESPACE, ret) end local ret = NpcSystem.getParameter('message_needspace') if(ret ~= nil) then npcHandler:setMessage(MESSAGE_NEEDSPACE, ret) end local ret = NpcSystem.getParameter('message_sendtrade') if(ret ~= nil) then npcHandler:setMessage(MESSAGE_SENDTRADE, ret) end local ret = NpcSystem.getParameter('message_noshop') if(ret ~= nil) then npcHandler:setMessage(MESSAGE_NOSHOP, ret) end local ret = NpcSystem.getParameter('message_oncloseshop') if(ret ~= nil) then npcHandler:setMessage(MESSAGE_ONCLOSESHOP, ret) end local ret = NpcSystem.getParameter('message_onbuy') if(ret ~= nil) then npcHandler:setMessage(MESSAGE_ONBUY, ret) end local ret = NpcSystem.getParameter('message_onsell') if(ret ~= nil) then npcHandler:setMessage(MESSAGE_ONSELL, ret) end local ret = NpcSystem.getParameter('message_missingmoney') if(ret ~= nil) then npcHandler:setMessage(MESSAGE_MISSINGMONEY, ret) end local ret = NpcSystem.getParameter('message_needmoney') if(ret ~= nil) then npcHandler:setMessage(MESSAGE_NEEDMONEY, ret) end local ret = NpcSystem.getParameter('message_missingitem') if(ret ~= nil) then npcHandler:setMessage(MESSAGE_MISSINGITEM, ret) end local ret = NpcSystem.getParameter('message_needitem') if(ret ~= nil) then npcHandler:setMessage(MESSAGE_NEEDITEM, ret) end local ret = NpcSystem.getParameter('message_idletimeout') if(ret ~= nil) then npcHandler:setMessage(MESSAGE_IDLETIMEOUT, ret) end local ret = NpcSystem.getParameter('message_walkaway') if(ret ~= nil) then npcHandler:setMessage(MESSAGE_WALKAWAY, ret) end local ret = NpcSystem.getParameter('message_alreadyfocused') if(ret ~= nil) then npcHandler:setMessage(MESSAGE_ALREADYFOCUSED, ret) end local ret = NpcSystem.getParameter('message_placedinqueue') if(ret ~= nil) then npcHandler:setMessage(MESSAGE_PLACEDINQUEUE, ret) end local ret = NpcSystem.getParameter('message_buy') if(ret ~= nil) then npcHandler:setMessage(MESSAGE_BUY, ret) end local ret = NpcSystem.getParameter('message_sell') if(ret ~= nil) then npcHandler:setMessage(MESSAGE_SELL, ret) end local ret = NpcSystem.getParameter('message_bought') if(ret ~= nil) then npcHandler:setMessage(MESSAGE_BOUGHT, ret) end local ret = NpcSystem.getParameter('message_sold') if(ret ~= nil) then npcHandler:setMessage(MESSAGE_SOLD, ret) end -- Parse modules. for parameter, module in pairs(Modules.parseableModules) do local ret = NpcSystem.getParameter(parameter) if(ret ~= nil) then local number = tonumber(ret) if(number ~= 0 and module.parseParameters ~= nil) then local instance = module:new() npcHandler:addModule(instance) instance:parseParameters() end end end end end
-
Error Distro!
<globalevent name="zombieevent" time="14:28" event="script" value="zombie.lua"/> globalevents/scripts/zombie local config = { playerCount = 2001, -- Global storage for counting the players left/entered in the event zombieCount = 2002, -- Global storage for counting the zombies in the event teleportActionId = 2000, -- Action id of the teleport needed for the movement script teleportPosition = {x = 160, y = 54, z = 7, stackpos = 1}, -- Where the teleport will be created teleportToPosition = {x = 2350, y = 2016, z = 7}, -- Where the teleport will take you teleportId = 1387, -- Id of the teleport timeToStartEvent = 2, -- Minutes, after these minutes the teleport will be removed and the event will be declared started timeBetweenSpawns = 20, -- Seconds between each spawn of zombie zombieName = "event zombie", -- Name of the zombie that should be summoned playersNeededToStartEvent = 5, -- Players needed before the zombies can spawn. -- Should be the same as in the creaturescript! -- The zombies will spawn randomly inside this area fromPosition = {x = 2331, y = 1998, z = 7}, -- top left cornor of the playground toPosition = {x = 2376, y = 2038, z = 7}, -- bottom right cornor of the playground } function onTimer() local tp = doCreateTeleport(config.teleportId, config.teleportToPosition, config.teleportPosition) doItemSetAttribute(tp, "aid", config.teleportActionId) doBroadcastMessage("Zombie event ira começar em " .. config.timeToStartEvent .. " minutos! O teleporte será fechado quando o evento iníciar!", MESSAGE_STATUS_WARNING) setGlobalStorageValue(config.playerCount, 0) setGlobalStorageValue(config.zombieCount, 0) addEvent(startEvent, config.timeToStartEvent * 1000 * 60) print(getGlobalStorageValue(2001)) end function startEvent() local get = getThingfromPos(config.teleportPosition) if get.itemid == config.teleportId then doRemoveItem(get.uid, 1) end local fromp, top = config.fromPosition, config.toPosition if getGlobalStorageValue(config.playerCount) >= config.playersNeededToStartEvent then addEvent(spawnZombie, config.timeBetweenSpawns * 1000) doBroadcastMessage("Boa sorte dentro do zombie event ! O teleport fechou!", MESSAGE_STATUS_WARNING) for x = fromp.x, top.x do for y = fromp.y, top.y do for z = fromp.z, top.z do areapos = {x = x, y = y, z = z, stackpos = 253} getPlayers = getThingfromPos(areapos) if isPlayer(getPlayers.uid) then doPlayerSendTextMessage(getPlayers.uid, MESSAGE_EVENT_ADVANCE, "O primeiro zombie ira aparecer em " .. config.timeBetweenSpawns .. " segundos! Boa sorte!") end end end end else doBroadcastMessage("O evento Zombie não pôde iniciar devido a poucos jogadores.\n É preciso pelo menos " .. config.playersNeededToStartEvent .. " players!", MESSAGE_STATUS_WARNING) for x = fromp.x, top.x do for y = fromp.y, top.y do for z = fromp.z, top.z do areapos = {x = x, y = y, z = z, stackpos = 253} getPlayers = getThingfromPos(areapos) if isPlayer(getPlayers.uid) then doTeleportThing(getPlayers.uid, getTownTemplePosition(getPlayerTown(getPlayers.uid)), false) doSendMagicEffect(getPlayerPosition(getPlayers.uid), CONST_ME_TELEPORT) end end end end end end function spawnZombie() if getGlobalStorageValue(config.playerCount) >= 2 then pos = {x = math.random(config.fromPosition.x, config.toPosition.x), y = math.random(config.fromPosition.y, config.toPosition.y), z = math.random(config.fromPosition.z, config.toPosition.z)} doSummonCreature(config.zombieName, pos) doSendMagicEffect(pos, CONST_ME_MORTAREA) setGlobalStorageValue(config.zombieCount, getGlobalStorageValue(config.zombieCount)+1) doBroadcastMessage("A zombie has spawned! há " .. getGlobalStorageValue(config.zombieCount) .. " zombies no evento!", MESSAGE_STATUS_CONSOLE_RED) addEvent(spawnZombie, config.timeBetweenSpawns * 1000) end end <globalevent name="CTFCheck" time="01:10" event="script" value="CTFMax.lua"/> globalevents/scripts/CTFMax --[[ Capture The Flag System Author: Maxwell Denisson(MaXwEllDeN) Version: 2.0 Contact: [email protected] ]] local CTF = CTF_LIB local function sendEffect() if (getGlobalStorageValue(16505) > 0) then doSendAnimatedText(CTF.tppos, "CTF ON", math.random(180)) addEvent(sendEffect, 750) end end function onTimer(interval) local time = os.date("*t") if (isInArray(CTF.days, time.wday)) then doBroadcastMessage("[CTF] Está aberto no Templo para novos participantes, em ".. CTF.timeclose .." minuto(s) não será mais possível entrar!") setGlobalStorageValue(16705, 1) addEvent(CTF.start, CTF.timeclose * 60 * 1000) local teelz = doCreateItem(1387, 1, CTF.tppos) doItemSetAttribute(teelz, "aid", 47521) sendEffect() end return true end
- Error Distro!
-
Evento Automatico
boa tarde fusionzinho! fiiz oque me pediu! mais o erro ainda continua na linha 13! [17/01/2016 14:20:09] [Error - LuaScriptInterface::loadFile] data/globalevents/scripts/event.lua:13: '=' expected near 'local' [17/01/2016 14:20:09] [Warning - Event::loadScript] Cannot load script (data/globalevents/scripts/event.lua) [17/01/2016 14:20:09] data/globalevents/scripts/event.lua:13: '=' expected near 'local'
-
Evento Automatico
adicionei como pediu! [17/01/2016 11:42:02] [Error - LuaScriptInterface::loadFile] data/globalevents/scripts/event.lua:13: '=' expected near 'local' [17/01/2016 11:42:02] [Warning - Event::loadScript] Cannot load script (data/globalevents/scripts/event.lua) [17/01/2016 11:42:02] data/globalevents/scripts/event.lua:13: '=' expected near 'local'
-
Doll Teleport Secret
bom dia galera do TK! venho aqui hoje pedir ajuda de vocês. Tenho um script de teleport funcionando perfeitamente, PORÈM voce usa ele qualquer lugar! alguem poderia ajeitar pra mim o scripts pra poder usar somente em protectZONE!! function onUse(cid, item, frompos, item2, topos) player1pos = getPlayerPosition(cid) player1 = getThingfromPos(player1pos) if player1.itemid > 0 then temple = {x=1343, y=795, z=8} doSendMagicEffect(topos,12) doTeleportThing(player1.uid,temple) doSendMagicEffect(temple,34) doSendMagicEffect(temple,48) doSendAnimatedText(getPlayerPosition(cid), "!Secret!", math.random(1, 255)) doPlayerSendTextMessage(player1.uid,22,"Voce foi Transportado na Area Secreta, Bem Vindo!.") end end
-
(Resolvido)AJUDA COMO CRIAR TABLE / QUERY OU ME AJUDE A DIREITA ESSE ERROR! REP+
Precisa deletar essa sua tabela na sua data base.. e adiconar a que o nosso amigo #XAGA passou!
-
Evento Automatico
Bom dia fusion!.. testei e deu esse erro! Lembrando e globalevents??? <globalevent name="event" interval="60" event="script" value="event.lua"/> [17/01/2016 10:32:33] [Error - LuaScriptInterface::loadFile] data/globalevents/scripts/event.lua:11: '=' expected near 'local' [17/01/2016 10:32:33] [Warning - Event::loadScript] Cannot load script (data/globalevents/scripts/event.lua)
- (Resolvido)Alguém já se deparou com esse erro?
-
Bordinhas Cinzas quando eu coloco grass
mais provavel que falta algum sqm embaixo.. algum pixo pra voce colocar a grama!. pode reparar que do lado >>>> nao tem essa mancha cinza!!
-
Alquem sabe errumar esse erro?
Aparente voce vai na opçao EXECUTE SQL CASO NAO APRECER UMA JANELA BRANCA!.. VOCE VAI EM TOLLS, antes do Help la em cima ! e procura a ultima linha "open sql querry editor"
-
(Resolvido)Como remover uma casa do RME
Mais comum deleter todo o piso, e depois refazer para nao ter bugs!
- Ajuda Evento!
- Evento Automatico
- Distro Com erro!
- Distro Com erro!
- Distro Com erro!