-
Total de itens
711 -
Registro em
-
Última visita
-
Dias Ganhos
1
Tudo que Maenilse postou
-
chama o gustavo genti
-
gostaria de um comando, no qual eu exemplo falo, "/resetdatabase". e reseta-se todas as houses/guilds/contas/players. e tive-se a opçao quando fala-se. /resetdatabase. "Voce deseja realmente resetar a database?, ai eu digita-se. yes. ai o ot seria desligado, com a database resetada. espero que de pra fazer, se nao for mt complicado. PS: uso servidor com estrutura, mysql.
-
afe se fufu, peguei o script do kennyxd, e nem vi a parte do function onSay ... function onUse(cid, item, frompos, item2, topos) if getTilePzInfo(getCreaturePosition(cid)) == FALSE then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Voce Nao Pode Usar Enquanto Estiver Em Protect Zone.")return true end if (getPlayerStorageValue(cid, 11548) >= os.time()) then doPlayerSendTextMessage(cid, 6,"Por medidas de segurança você só pode utilizar este comando em " .. (getPlayerStorageValue(cid, 11548)-os.time()+(0)) .. " segundos.") return TRUE end function onUse(cid, item, frompos, item2, topos) storage = 4191 storsol = 1203 if #getCreatureSummons(cid) > 1 then doPlayerSendCancel(cid,"Your Demonio is already summoned.") end if getPlayerStorageValue(cid,storsol) == 1 then local z = getCreatureSummons(cid)[1] addEvent(setPlayerStorageValue,100,cid,storsol,-1) doPlayerSay(cid,"Back my summon!",TALKTYPE_ORANGE_1) doSendMagicEffect(getCreaturePosition(z), 2) doSendDistanceShoot(getCreaturePosition(z), getPlayerPosition(cid), 3) doRemoveCreature(z) end local summons = getCreatureSummons(cid) local pet = { ["Bug"] = {1,250}, ["Death Blob"] = {251,1500}, ["Worker golem"] = {1501,5000}, ["werewolf"] = {5001,9999}, ["Mercury Blob"] = {10000,15000}, ["Flufly"] = {15001,23000}, ["haunted treeling"] = {23001,30000}, ["Vampire Bride"] = {30001,40000}, ["Grim Reaper"] = {40001,55000}, ["Zombie"] = {55001,80000}, ["Azure Frog"] = {80001,400000} } for k,v in pairs(pet) do -- 1 if getPlayerStorageValue(cid,storsol) < 1 then if getPlayerLevel(cid) >= v[1] and getPlayerLevel(cid) < v[2] then -- 2 if (table.maxn(summons) < 1)then -- 3 x = doSummonCreature(k, getCreaturePosition(cid)) doConvinceCreature(cid, x) setPlayerStorageValue(cid,4194,1) setPlayerStorageValue(cid,11548,os.time()+30) setPlayerStorageValue(cid,storsol,1) doCreatureSay(cid, k ..", go!", TALKTYPE_ORANGE_1) doSendMagicEffect(getThingPos(getCreatureSummons(cid)[1]), 2) end end end end return true end
-
talkaction [SYSTEM] Infinite Level
tópico respondeu ao lovenina12 de Maenilse em Actions e Talkactions
bem q tu poderia colocar os creditos do Subwat, pois o script, é dele, que tu pego da pasta max.lua. (TBM TENHO ESSE OT). -
estranho, tenta ae. function onSay(cid, words, param) if getTilePzInfo(getCreaturePosition(cid)) == FALSE then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Voce Nao Pode Usar Enquanto Estiver Em Protect Zone.")return true end if (getPlayerStorageValue(cid, 11548) >= os.time()) then doPlayerSendTextMessage(cid, 6,"Por medidas de segurança você só pode utilizar este comando em " .. (getPlayerStorageValue(cid, 11548)-os.time()+(0)) .. " segundos.") return TRUE end function onUse(cid, item, frompos, item2, topos) storage = 4191 storsol = 1203 if #getCreatureSummons(cid) > 1 then doPlayerSendCancel(cid,"Your Demonio is already summoned.") end if getPlayerStorageValue(cid,storsol) == 1 then local z = getCreatureSummons(cid)[1] addEvent(setPlayerStorageValue,100,cid,storsol,-1) doPlayerSay(cid,"Back my summon!",TALKTYPE_ORANGE_1) doSendMagicEffect(getCreaturePosition(z), 2) doSendDistanceShoot(getCreaturePosition(z), getPlayerPosition(cid), 3) doRemoveCreature(z) end local summons = getCreatureSummons(cid) local pet = { ["Bug"] = {1,250}, ["Death Blob"] = {251,1500}, ["Worker golem"] = {1501,5000}, ["werewolf"] = {5001,9999}, ["Mercury Blob"] = {10000,15000}, ["Flufly"] = {15001,23000}, ["haunted treeling"] = {23001,30000}, ["Vampire Bride"] = {30001,40000}, ["Grim Reaper"] = {40001,55000}, ["Zombie"] = {55001,80000}, ["Azure Frog"] = {80001,400000} } for k,v in pairs(pet) do -- 1 if getPlayerStorageValue(cid,storsol) < 1 then if getPlayerLevel(cid) >= v[1] and getPlayerLevel(cid) < v[2] then -- 2 if (table.maxn(summons) < 1)then -- 3 x = doSummonCreature(k, getCreaturePosition(cid)) doConvinceCreature(cid, x) setPlayerStorageValue(cid,4194,1) setPlayerStorageValue(cid,11548,os.time()+30) setPlayerStorageValue(cid,storsol,1) doCreatureSay(cid, k ..", go!", TALKTYPE_ORANGE_1) doSendMagicEffect(getThingPos(getCreatureSummons(cid)[1]), 2) end end end end return true end
-
todas as distros sao assim, pq sao de linguagem estrangeiras, nao brasileira, mas da pra arrumar pelas sources.
-
usou o script que eu passei?
-
o 1° é pra quando atingir tao lvl, que ta na variavel. entre parenteses [] ganhar tal item, e qntidade. o 2° é pra quando o player tiver parado, "AFK", por quantidade de tempo, ele automaticamente sera kikado. isso se chama ANTI IDLE.
-
dúvida [ERRO] NPC exige premmium account
pergunta respondeu ao RaylanderCotta de Maenilse em Scripts
Caro Usuario, Titulo Irregular, Nao è Permitido Topicos Com Nomes "AJUDA" "HELP" "SCRIPT". Reportado Para Mudança Do Nome, Mas Atençao Proxima Vez. -
/\ acho q ele pediu pra nao ser usado em pz, tbm. vo ajustar o script. function onSay(cid, words, param) if getTilePzInfo(getCreaturePosition(cid)) == TRUE then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Voce Nao Pode Usar Enquanto Estiver Em Protect Zone.")return true end if (getPlayerStorageValue(cid, 11548) >= os.time()) then doPlayerSendTextMessage(cid, 6,"Por medidas de segurança você só pode utilizar este comando em " .. (getPlayerStorageValue(cid, 11548)-os.time()+(0)) .. " segundos.") return TRUE end function onUse(cid, item, frompos, item2, topos) storage = 4191 storsol = 1203 if #getCreatureSummons(cid) > 1 then doPlayerSendCancel(cid,"Your Demonio is already summoned.") end if getPlayerStorageValue(cid,storsol) == 1 then local z = getCreatureSummons(cid)[1] addEvent(setPlayerStorageValue,100,cid,storsol,-1) doPlayerSay(cid,"Back my summon!",TALKTYPE_ORANGE_1) doSendMagicEffect(getCreaturePosition(z), 2) doSendDistanceShoot(getCreaturePosition(z), getPlayerPosition(cid), 3) doRemoveCreature(z) end local summons = getCreatureSummons(cid) local pet = { ["Bug"] = {1,250}, ["Death Blob"] = {251,1500}, ["Worker golem"] = {1501,5000}, ["werewolf"] = {5001,9999}, ["Mercury Blob"] = {10000,15000}, ["Flufly"] = {15001,23000}, ["haunted treeling"] = {23001,30000}, ["Vampire Bride"] = {30001,40000}, ["Grim Reaper"] = {40001,55000}, ["Zombie"] = {55001,80000}, ["Azure Frog"] = {80001,400000} } for k,v in pairs(pet) do -- 1 if getPlayerStorageValue(cid,storsol) < 1 then if getPlayerLevel(cid) >= v[1] and getPlayerLevel(cid) < v[2] then -- 2 if (table.maxn(summons) < 1)then -- 3 x = doSummonCreature(k, getCreaturePosition(cid)) doConvinceCreature(cid, x) setPlayerStorageValue(cid,4194,1) setPlayerStorageValue(cid,11548,os.time()+30) setPlayerStorageValue(cid,storsol,1) doCreatureSay(cid, k ..", go!", TALKTYPE_ORANGE_1) doSendMagicEffect(getThingPos(getCreatureSummons(cid)[1]), 2) end end end end return true end
-
favor colocar os creditos do autor do script, pois esse script n é seu, vlw.
-
n li issu meu chessus.
-
impossivel isso, "PELO MENOS CREIO EU", pois o reset é adcionado na database, junto o level tbm é adcionado, assim qnd usa o comando !reset, ele executa as 2 querys, fazendo assim deslogar, pois se n deslogar, nao entrara em vigor.
-
pode ser problema nas sources msm, tente dar uma fuçada nos arquivos game.cpp, protocolgame.cpp acho q ta nesses arquivos.
-
UP .... de segurança no meu pc, cuide do meu rep ae viadau.
-
sai dessa vida, jovi.
-
n vi graça sr.vietnamita.
-
tente botar o item que n é use with, pelo item otb editor.
-
se for milessegundos coloque o 10 para 10000.
-
vai em data/globalevents/scripts copie qualquer arquivo e renomeie para save.lua e cole isso. local config = { broadcast = {60, 60}, shallow = "yes", delay = 60, events = 60 } config.shallow = getBooleanFromString(config.shallow) local function executeSave(seconds) if(isInArray(config.broadcast, seconds)) then local text = "" if(not config.shallow) then text = "Full s" else text = "S" end text = text .. "erver Vai Ser Salvo!" doBroadcastMessage(text) end if(seconds > 0) then addEvent(executeSave, config.events * 1, seconds - config.events) else doSaveServer(config.shallow) doCleanMap() end end function onThink(interval, lastExecution, thinkInterval) if(table.maxn(config.broadcast) == 0) then doSaveServer(config.shallow) else executeSave(config.delay) doCleanMap() end return true end em globalevents.xml adcione essa tag. <globalevent name="AutoSave" interval="70" script="save.lua"/>
- 80 respostas
-
- maquina de scripter
- resolvido
- (e 3 mais)
-
cara usa
-
pedido acima. (NAO TESTADO) local config = { broadcast = {60, 60}, shallow = "yes", delay = 60, events = 60 } config.shallow = getBooleanFromString(config.shallow) local function executeSave(seconds) if(isInArray(config.broadcast, seconds)) then local text = "" if(not config.shallow) then text = "Full s" else text = "S" end text = text .. "erver Vai Ser Salvo!" doBroadcastMessage(text) end if(seconds > 0) then addEvent(executeSave, config.events * 1, seconds - config.events) else doSaveServer(config.shallow) doCleanMap() end end function onThink(interval, lastExecution, thinkInterval) if(table.maxn(config.broadcast) == 0) then doSaveServer(config.shallow) else executeSave(config.delay) doCleanMap() end return true end
- 80 respostas
-
- maquina de scripter
- resolvido
- (e 3 mais)
-
sr.vietnamita.
-
Quais Os Jogos Que Você Tem No Seu Computador?
tópico respondeu ao Angel Knight de Maenilse em Jogos
Os meus são: GTA VICE CITY GTA SAN ANDREAS GTA 3 GTA 2 GTA 4 NEED FOR SPEED MOST WANTED NEED FOR SPEED UNDERGROUND 2 NEED FOR SPEED UNDERGROUND 1 NEED FOR SPEED UNDERCOVER NEED FOR SPEED MOST WANTED 2012 NEED FOR SPEED WORLD NEED FOR SPEED CARBON MARVEL VS CAPCOM MARVEL SUPER HEROES VS STREET FIGHTER RESIDENT EVIL 3 NEMESIS -
enqto isso, no meu gta 3, to na missao 48.
-
Quem Está Navegando 0 membros estão online
- Nenhum usuário registrado visualizando esta página.