 
			Tudo que tataboy67 postou
- Guild Dungeon Lever (Com tempo)
- Mapper King 2018
- 
	
		
		(Resolvido)Item Ganha Skill Permante
		
		Obrigado pela dica . Não usarei mais not em casos do tipo.
- 
	
		
		(Resolvido)Item Ganha Skill Permante
		
		@FlavioHulk Pior que eu havia utilizado o for numérico primeiro kk mas ele falou que deu erro ali e eu n tinha visto que era na linha 18 e pensei que era no for, dai mudei para pairs: A parte do getPlayerLevel n esta errado eu acho... na verdade o erro estava causando na linha 18: if not getPlayerStorageValue(cid, cfg.storage) < 1 then
- Mapper King 2018
- 
	
		
		(Resolvido)Item Ganha Skill Permante
		
		local cfg = { level = 400, effect = 30, addLevel = { [1] = {ID_LEVEL = SKILL_AXE, quant = 1}, [2] = {ID_LEVEL = SKILL_SWORD, quant = 1}, [3] = {ID_LEVEL = SKILL_LEVEL, quant = 1}, [4] = {ID_LEVEL = SKILL_CLUB, quant = 1} }, storage = 344240, } function onUse(cid, item, fromPosition, itemEx, toPosition) local posPlayer = getPlayerPosition(cid) if getPlayerStorageValue(cid, cfg.storage) >= 1 then doPlayerSendTextMessage(cid, 23, "Voce ja usou o item.") doSendMagicEffect(posPlayer, cfg.effect) return false end if not getPlayerLevel(cid) >= cfg.level then doPlayerSendTextMessage(cid, 23, "Voce nao possui nivel.") doSendMagicEffect(posPlayer, cfg.effect) return false end for k, z in pairs(cfg.addLevel) do doPlayerAddSkill(cid, z.ID_LEVEL, z.quant) end setPlayerStorageValue(cid, cfg.storage, 1) return true end
- 
	
		
		(Resolvido)Item Ganha Skill Permante
		
		local cfg = { level = 400, effect = 30, addLevel = { [1] = {ID_LEVEL = SKILL_AXE, quant = 1}, [2] = {ID_LEVEL = SKILL_SWORD, quant = 1}, [3] = {ID_LEVEL = SKILL_LEVEL, quant = 1}, [4] = {ID_LEVEL = SKILL_CLUB, quant = 1} }, storage = 344240, } function onUse(cid, item, fromPosition, itemEx, toPosition) local posPlayer = getPlayerPosition(cid) if not getPlayerStorageValue(cid, cfg.storage) < 1 then doPlayerSendTextMessage(cid, 23, "Voce ja usou o item.") doSendMagicEffect(posPlayer, cfg.effect) return false end if not getPlayerLevel(cid) >= cfg.level then doPlayerSendTextMessage(cid, 23, "Voce nao possui nivel.") doSendMagicEffect(posPlayer, cfg.effect) return false end for k, z in pairs(cfg.addLevel) do doPlayerAddSkill(cid, z.ID_LEVEL, z.quant) end setPlayerStorageValue(cid, cfg.storage, 1) return true end
- 
	
		
		AutoGold Exchange
		
		@Light.Tenshimaru local gold = { [1] = {fromID = 2148, toID = 2152}, [2] = {fromID = 2152, toID = 2160} } function onThink(creature, interval) local player = creature:getPlayer() if not player then return false end for k, v in pairs(gold) do if player:getItemCount(v.fromID) == 100 then player:removeItem(v.fromID, 100) player:addItem(v.toID, 1) player:sendCancelMessage("Converted 100 "..ItemType(v.fromID):getName().." to 1 "..ItemType(v.toID):getName()..".") return true end end Eu não sei se está funcionando ... Mas baseado no script lá que você passou, eu tentei dar uma melhorada ! OBS: precisa ser registrado em login.lua <<<
- 
	
		
		(Resolvido)Item Ganha Skill Permante
		
		@r0bert0lol local cfg = { level = 400, effect = 30, addLevel = { [1] = {ID_LEVEL = SKILL_AXE, quant = 1}, [2] = {ID_LEVEL = SKILL_SWORD, quant = 1}, [3] = {ID_LEVEL = SKILL_LEVEL, quant = 1}, [4] = {ID_LEVEL = SKILL_CLUB, quant = 1} }, storage = 344240, } function onUse(cid, item, fromPosition, itemEx, toPosition) local posPlayer = getPlayerPosition(cid) if not getPlayerStorageValue(cid, cfg.storage) < 1 then doPlayerSendTextMessage(cid, 23, "Voce ja usou o item.") doSendMagicEffect(posPlayer, cfg.effect) return false end if not getPlayerLevel(cid) >= cfg.level then doPlayerSendTextMessage(cid, 23, "Voce nao possui nivel.") doSendMagicEffect(posPlayer, cfg.effect) return false end for i = 1, #cfg.addLevel do doPlayerAddSkill(cid, cfg.addLevel[i].ID_LEVEL, cfg.addLevel[i].quant) end setPlayerStorageValue(cid, cfg.storage, 1) return true end
- 
	
		
		TFS 1.2 - Store Itens
		
		Parabéns, seu tópico de conteúdo foi aprovado! Muito obrigado pela sua contribuição, nós do Tibia King agradecemos. Seu conteúdo com certeza ajudará à muitos outros, você recebeu +1 REP.
- Mapper King 2018
- 
	
		
		Pasta de ot sem dll/distro não abre
		
		Pelo que eu vejo, você nem configurou uma database Precisa de Xampp ou qualquer outros programas que abram o phpmyadmin... Dai você conseguirá fazer sua database e importar o schema.sql tranquilamente.
- 
	
		
		Retorno do Mapper King?
		
		Opa irei participar !!
- 
	
		
		(Resolvido)Meu Server Global 10.99 não tem CM
		
		Bom não sei se estou certo mas.... Se for para tentar ajudar, valeu a intenção: Tente adicionar uma quarta linha com o ID = 4 e nome de CM. Mais ou menos assim:
- 
	
		
		(Resolvido)teleporta ao pegar nivel
		
		O dele é 0.4 converte ae Vod lindo kkkk Ele falou ali que era 1.3 pensei q realmente fosse
- 
	
		
		Programando em .Lua
		
		Olha não sou um Expert nem nada no assunto... Mas o pouco que aprendi foi na base de tentativas e de procurar saber um pouco mais sobre o assunto. O que eu recomendo para você? - Veja uma vídeo-aula inteira sobre Lua - Procure scripts aqui no FÓRUM e entenda um pouco mais sobre as funções dentro do Tibia
- 
	
		
		(Resolvido)teleporta ao pegar nivel
		
		Crie um arquivo com o nome de teleportLevel.lua em creaturescript e adicione local Config = { Level = 10, Pos = {x = 1000, y = 1000, z = 7}, Message = "Voce foi teleportado", Storage = 29394, } function onAdvance(player, skill, oldlevel, newlevel) if player:getLevel() >= Config.Level and player:getStorageValue(Config.Storage) ~= 1 then player:setStorageValue(Config.Storage, 1) player:teleporTo(Position(Config.Pos)) player:sendTextMessage(MESSAGE_STATUS_SMALL, Config.Message) end return true end Adicione a linha no creaturescripts.xml <!-- Recompense by level --> <event type="advance" name="teleportlvl" script="teleportLevel.lua"/> E adicione a linha no login.lua player:registerEvent("teleportlvl") Não testei... Mas testa ai e me diga se funcionou...
- 
	
		
		(Resolvido)[Correção De Script] Matar monstros e spawnar boss
		
		Editado !
- 
	
		
		(Resolvido)[Correção De Script] Matar monstros e spawnar boss
		
		local monster = "Pain Two, Pain Three, Pain Four, Pain Five" local bossname= "Pain boss" local bossgo = {x=740,y=794,z=7} -- Coordenas de a onde o monstro irá aparecer! (Demodras) function onDeath(cid) local monsters = monster[getCreatureName(cid)] if monsters then actionstatus = getPlayerStorageValue(cid,6632) if actionstatus == -1 then if doCreatureSay(cid,"Voce nao tera chance contra todos os caminhos juntos!",TALKTYPE_ORANGE_1) then setPlayerStorageValue(cid,6632,1) end end end function Summon() doSummonCreature(bossname,bossgo) doSendMagicEffect(bossname,36) addEvent(Summon,100) end end Teste... (Apesar de eu achar que esse script não está funcional...) [Não fiz o teste]
- 
	
		
		Map Tracker 8.6
		
		Acabei de testar o: E está funcionando perfeitamente ! Print de um templo baiak no qual peguei ... (Obs: Não tenho intuito de usar esse mapa para projetos)
- (Resolvido)Quest por Tempo
- Guild Dungeon Lever (Com tempo)
- 
	
		
		PEDIDO BLOOD CASTLE
		
		O que seria um Blood Castle?
- 
	
		
		Morrer e ser teleportado
		
		<event type="preparedeath" name="DeadTP" event="script" value="scriptname.lua"/> Após adicionar a tag vá em creaturescripts/others/login.lua, adicione: registerCreatureEvent(cid, "RedSKullDrop")
- 
	
		
		[TFS 1.1+] Area Hardcore
		
		Sim, na verdade isso é uma base para outros sistemas !
 
     
     
     
     
			
				 
				 
					
						