Ir para conteúdo

[MODS] - [8.6] Perfect Zombie System [Automático] [V1.0]

Featured Replies

Postado
  • Autor
11 horas atrás, linhares894 disse:

Sim está tudo certo, unico problema é esse todos morrem mas evento não acaba e o ultimo não tem premio, será que é storageid algo assim?

Resolvi era nome do zombie que estava diferente, quando eu inicio com !zombiestart não da nenhum problema agora quando inicia automático, ele fica floodando que está começando e eu fui modificar o globalevents para "6000" e não achei essa linha, qual arquivo fica? pois eu baixei daquele winrar que se postou.

 

fica na tag globalevents.xml

 

nesta linha:

 

<globalevent name="ZombieEvent" interval="60" event="script" value="zombie_global.lua"/>

 

deixe

 

<globalevent name="ZombieEvent" interval="60000" event="script" value="zombie_global.lua"/>

 

vodkart_logo.png

[*Ninguém será digno do sucesso se não usar suas derrotas para conquistá-lo.*]

 

DISCORDvodkart#6090

 

  • Respostas 107
  • Visualizações 12.9k
  • Created
  • Última resposta

Top Posters In This Topic

Most Popular Posts

  • pronto

  • FIZ UM UPDATE NO MODS   Coloquei pro zombier só nascer onde ele pode ser criado(não em montanhas)    e   coloquei comando /zombiestart MINUTOS;   exemplo  

  • sim, abre a lib(se você usa tudo por lua) do zombie  ou no MODS e procure por essa linha:   doCreateMonster(zombie_config.monster_name, pos, false, false, false)   e troque por essa:

Posted Images

Postado

@Vodkart, o meu deu este erro aqui:

 

[9/3/2017 23:20:34] [Error - MoveEvents Interface] 
[9/3/2017 23:20:34] In a timer event called from: 
[9/3/2017 23:20:34] domodlib('zombie_config')
[9/3/2017 23:20:34] function onStepIn(cid, item, position, fromPosition)
[9/3/2017 23:20:34] 	if not isPlayer(cid) then return true end
[9/3/2017 23:20:34] 	if getPlayerAccess(cid) > 3 then return doTeleportThing(cid, zombie_config.teleport[2]) end
[9/3/2017 23:20:34] 	if getPlayerLevel(cid) < zombie_config.min_Level then
[9/3/2017 23:20:34] 		doTeleportThing(cid, fromPosition, true)
[9/3/2017 23:20:34] 		doPlayerSendCancel(cid, "You need to be at least level " .. zombie_config.min_Level .. ".")
[9/3/2017 23:20:34] 		doSendMagicEffect(getThingPos(cid), CONST_ME_MAGIC_BLUE)
[9/3/2017 23:20:34] 		return true
[9/3/2017 23:20:34] 	end
[9/3/2017 23:20:34] 	if getGlobalStorageValue(zombie_config.storages[1]) <= zombie_config.players.max then
[9/3/2017 23:20:34] 		doTeleportThing(cid, zombie_config.teleport[2])
[9/3/2017 23:20:34] 		setGlobalStorageValue(zombie_config.storages[1], getGlobalStorageValue(zombie_config.storages[1])+1)
[9/3/2017 23:20:34] 		doBroadcastMessage(getPlayerName(cid) .. " entered the Zombie event! Currently " .. getGlobalStorageValue(zombie_config.storages[1]) .. " players have joined!", MESSAGE_STATUS_CONSOLE_RED)
[9/3/2017 23:20:34] 		if getGlobalStorageValue(zombie_config.storages[1]) == zombie_config.players.max then
[9/3/2017 23:20:34] 			setGlobalStorageValue(zombie_config.storages[1], getGlobalStorageValue(zombie_config.storages[1])+1)
[9/3/2017 23:20:34] 			removeZombieTp()
[9/3/2017 23:20:34] 			doBroadcastMessage("The Zombie event is now full [" .. getGlobalStorageValue(zombie_config.storages[1])-1 .. " players]! The event will soon start.")
[9/3/2017 23:20:34] 			for _, var in pairs(getPlayersInZombieEvent()) do
[9/3/2017 23:20:34] 				doPlayerSendTextMessage(var, MESSAGE_EVENT_ADVANCE, "The first zombie will spawn in " .. zombie_config.timeToStartEvent .. " seconds! Good luck!")
[9/3/2017 23:20:34] 			end
[9/3/2017 23:20:34] 			addEvent(spawnZombie, zombie_config.timeToStartEvent*1000)
[9/3/2017 23:20:34] 		end 
[9/3/2017 23:20:34] 	end
[9/3/2017 23:20:34] 	return true
[9/3/2017 23:20:34] end:onStepIn
[9/3/2017 23:20:34] Description: 
[9/3/2017 23:20:34] stack overflow
[9/3/2017 23:20:34] stack traceback:
[9/3/2017 23:20:34] 	[C]: in function 'hasProperty'
[9/3/2017 23:20:34] 	[string "zombie_config = {..."]:62: in function 'isWalkable'
[9/3/2017 23:20:34] 	[string "zombie_config = {..."]:81: in function 'spawnZombie'
[9/3/2017 23:20:34] 	[string "zombie_config = {..."]:82: in function 'spawnZombie'
[9/3/2017 23:20:34] 	[string "zombie_config = {..."]:82: in function 'spawnZombie'
[9/3/2017 23:20:34] 	[string "zombie_config = {..."]:82: in function 'spawnZombie'
[9/3/2017 23:20:34] 	[string "zombie_config = {..."]:82: in function 'spawnZombie'
[9/3/2017 23:20:34] 	[string "zombie_config = {..."]:82: in function 'spawnZombie'
[9/3/2017 23:20:34] 	[string "zombie_config = {..."]:82: in function 'spawnZombie'
[9/3/2017 23:20:34] 	[string "zombie_config = {..."]:82: in function 'spawnZombie'
[9/3/2017 23:20:34] 	...
[9/3/2017 23:20:34] 	[string "zombie_config = {..."]:82: in function 'spawnZombie'
[9/3/2017 23:20:34] 	[string "zombie_config = {..."]:82: in function 'spawnZombie'
[9/3/2017 23:20:34] 	[string "zombie_config = {..."]:82: in function 'spawnZombie'
[9/3/2017 23:20:34] 	[string "zombie_config = {..."]:82: in function 'spawnZombie'
[9/3/2017 23:20:34] 	[string "zombie_config = {..."]:82: in function 'spawnZombie'
[9/3/2017 23:20:34] 	[string "zombie_config = {..."]:82: in function 'spawnZombie'
[9/3/2017 23:20:34] 	[string "zombie_config = {..."]:82: in function 'spawnZombie'
[9/3/2017 23:20:34] 	[string "zombie_config = {..."]:82: in function 'spawnZombie'
[9/3/2017 23:20:35] 	[string "zombie_config = {..."]:82: in function 'spawnZombie'
[9/3/2017 23:20:35] 	[string "zombie_config = {..."]:82: in function <[string "zombie_config = {..."]:78>

 

Versão 8.60 Otx 2.8 (tfs 0.3.7)

Postado
  • Autor
12 horas atrás, Weslley Kiyo disse:

@Vodkart, o meu deu este erro aqui:

 


[9/3/2017 23:20:34] [Error - MoveEvents Interface] 
[9/3/2017 23:20:34] In a timer event called from: 
[9/3/2017 23:20:34] domodlib('zombie_config')
[9/3/2017 23:20:34] function onStepIn(cid, item, position, fromPosition)
[9/3/2017 23:20:34] 	if not isPlayer(cid) then return true end
[9/3/2017 23:20:34] 	if getPlayerAccess(cid) > 3 then return doTeleportThing(cid, zombie_config.teleport[2]) end
[9/3/2017 23:20:34] 	if getPlayerLevel(cid) < zombie_config.min_Level then
[9/3/2017 23:20:34] 		doTeleportThing(cid, fromPosition, true)
[9/3/2017 23:20:34] 		doPlayerSendCancel(cid, "You need to be at least level " .. zombie_config.min_Level .. ".")
[9/3/2017 23:20:34] 		doSendMagicEffect(getThingPos(cid), CONST_ME_MAGIC_BLUE)
[9/3/2017 23:20:34] 		return true
[9/3/2017 23:20:34] 	end
[9/3/2017 23:20:34] 	if getGlobalStorageValue(zombie_config.storages[1]) <= zombie_config.players.max then
[9/3/2017 23:20:34] 		doTeleportThing(cid, zombie_config.teleport[2])
[9/3/2017 23:20:34] 		setGlobalStorageValue(zombie_config.storages[1], getGlobalStorageValue(zombie_config.storages[1])+1)
[9/3/2017 23:20:34] 		doBroadcastMessage(getPlayerName(cid) .. " entered the Zombie event! Currently " .. getGlobalStorageValue(zombie_config.storages[1]) .. " players have joined!", MESSAGE_STATUS_CONSOLE_RED)
[9/3/2017 23:20:34] 		if getGlobalStorageValue(zombie_config.storages[1]) == zombie_config.players.max then
[9/3/2017 23:20:34] 			setGlobalStorageValue(zombie_config.storages[1], getGlobalStorageValue(zombie_config.storages[1])+1)
[9/3/2017 23:20:34] 			removeZombieTp()
[9/3/2017 23:20:34] 			doBroadcastMessage("The Zombie event is now full [" .. getGlobalStorageValue(zombie_config.storages[1])-1 .. " players]! The event will soon start.")
[9/3/2017 23:20:34] 			for _, var in pairs(getPlayersInZombieEvent()) do
[9/3/2017 23:20:34] 				doPlayerSendTextMessage(var, MESSAGE_EVENT_ADVANCE, "The first zombie will spawn in " .. zombie_config.timeToStartEvent .. " seconds! Good luck!")
[9/3/2017 23:20:34] 			end
[9/3/2017 23:20:34] 			addEvent(spawnZombie, zombie_config.timeToStartEvent*1000)
[9/3/2017 23:20:34] 		end 
[9/3/2017 23:20:34] 	end
[9/3/2017 23:20:34] 	return true
[9/3/2017 23:20:34] end:onStepIn
[9/3/2017 23:20:34] Description: 
[9/3/2017 23:20:34] stack overflow
[9/3/2017 23:20:34] stack traceback:
[9/3/2017 23:20:34] 	[C]: in function 'hasProperty'
[9/3/2017 23:20:34] 	[string "zombie_config = {..."]:62: in function 'isWalkable'
[9/3/2017 23:20:34] 	[string "zombie_config = {..."]:81: in function 'spawnZombie'
[9/3/2017 23:20:34] 	[string "zombie_config = {..."]:82: in function 'spawnZombie'
[9/3/2017 23:20:34] 	[string "zombie_config = {..."]:82: in function 'spawnZombie'
[9/3/2017 23:20:34] 	[string "zombie_config = {..."]:82: in function 'spawnZombie'
[9/3/2017 23:20:34] 	[string "zombie_config = {..."]:82: in function 'spawnZombie'
[9/3/2017 23:20:34] 	[string "zombie_config = {..."]:82: in function 'spawnZombie'
[9/3/2017 23:20:34] 	[string "zombie_config = {..."]:82: in function 'spawnZombie'
[9/3/2017 23:20:34] 	[string "zombie_config = {..."]:82: in function 'spawnZombie'
[9/3/2017 23:20:34] 	...
[9/3/2017 23:20:34] 	[string "zombie_config = {..."]:82: in function 'spawnZombie'
[9/3/2017 23:20:34] 	[string "zombie_config = {..."]:82: in function 'spawnZombie'
[9/3/2017 23:20:34] 	[string "zombie_config = {..."]:82: in function 'spawnZombie'
[9/3/2017 23:20:34] 	[string "zombie_config = {..."]:82: in function 'spawnZombie'
[9/3/2017 23:20:34] 	[string "zombie_config = {..."]:82: in function 'spawnZombie'
[9/3/2017 23:20:34] 	[string "zombie_config = {..."]:82: in function 'spawnZombie'
[9/3/2017 23:20:34] 	[string "zombie_config = {..."]:82: in function 'spawnZombie'
[9/3/2017 23:20:34] 	[string "zombie_config = {..."]:82: in function 'spawnZombie'
[9/3/2017 23:20:35] 	[string "zombie_config = {..."]:82: in function 'spawnZombie'
[9/3/2017 23:20:35] 	[string "zombie_config = {..."]:82: in function <[string "zombie_config = {..."]:78>

 

Versão 8.60 Otx 2.8 (tfs 0.3.7)

 

está dando erro na função 'isWalkable' como se no seu serve não existisse a função 'hasProperty'

vodkart_logo.png

[*Ninguém será digno do sucesso se não usar suas derrotas para conquistá-lo.*]

 

DISCORDvodkart#6090

 

Postado
3 horas atrás, Vodkart disse:

 

está dando erro na função 'isWalkable' como se no seu serve não existisse a função 'hasProperty'

 

Mio então. Não funfa pra OTX ehuehu

 

Testei aqui, funciona tudo perfeito. Só não a parte de sumonar os zombies :)

 

Adicionei os zombies com o god (para test) e ocorreu tudo bem.

Editado por Weslley Kiyo (veja o histórico de edições)

Participe da conversa

Você pode postar agora e se cadastrar mais tarde. Se você tem uma conta, faça o login para postar com sua conta.

Visitante
Responder

Quem Está Navegando 0

  • Nenhum usuário registrado visualizando esta página.

Estatísticas dos Fóruns

  • Tópicos 96.9k
  • Posts 519.7k

Informação Importante

Confirmação de Termo