Ir para conteúdo

Ajuda no Grizzly adams erro attempt to call global 'getStorageValue' <a nil value>

Featured Replies

  • Respostas 7
  • Visualizações 808
  • Created
  • Última resposta

Top Posters In This Topic

Most Popular Posts

  • local THESNAPPER_POSITION = {x = 32611, y = 32723, z = 8} local HIDE_POSITION = {x = 32815, y = 32703, z = 8} local THEBLOODTUSK_POSITION = {x = 32102, y = 31125, z = 8} local SHARDHEAD_POSITION = {x

Postado

O tópico foi movido para a área correta, preste mais atenção da próxima vez!

Leia as regras do fórum: http://tibiaking.com/forum/topic/1281-regras-gerais/?p=7680

Este tópico foi movido:

De: "OTServScriptingMonsters e NPCs"

Para: "OTServSuporte OTServSuporte de OTServ Geral"

Bruno Carvalho / Ex-Administrador TibiaKing

[email protected]

 

Em 26/12/2016 em 03:47, Spraypaint disse:

A força da alienação vem dessa fragilidade dos indivíduos, quando apenas conseguem identificar o que os separa e não o que os une.

-miltinho

 

wMwSJFE.png?1

 

Postado
  • Autor

Agradeço pela ajuda segue abaixo o creaturescript.xml
 

<?xml version="1.0" encoding="UTF-8"?>
<creaturescripts>
	<!-- Elemental Spheres Quest -->
	<event type="kill" name="elementalspheresquestOverlords" script="elemental spheres quest/ElementalSpheresQuestKillOverlords.lua"/>

	<!-- Bigfoot Burden Quest -->
	<event type="kill" name="bigfootBurdenQuestVesperoth" script="bigfoot burden quest/bigfootBurdenQuestVesperoth.lua"/>
	<event type="kill" name="bigfootBurdenQuestWarzone" script="bigfoot burden quest/bigfootBurdenQuestWarzone.lua"/>
	<event type="kill" name="bigfootBurdenQuestWeeper" script="bigfoot burden quest/bigfootBurdenQuestWeeper.lua"/>
	<event type="kill" name="bigfootBurdenQuestWiggler" script="bigfoot burden quest/bigfootBurdenQuestWiggler.lua"/>

	<!-- Svargrond Arena Quest -->
	<event type="kill" name="SvargrondArenaKill" script="svargrond arena quest/arena_kill.lua"/>
	
	<!-- Boss Summoning -->
	<event type="kill" name="bossSummoning" script="boss summoning/bossSummoning.lua"/>
	
	<!-- In Service Of Yalahar Quest -->
	<event type="kill" name="inServiceOfYalaharQuestsDiseased" script="in service of yalahar quest/inServiceOfYalaharQuestsDiseased.lua"/>
	<event type="kill" name="inServiceOfYalaharQuestsMorik" script="in service of yalahar quest/inServiceOfYalaharQuestsMorik.lua"/>
	<event type="kill" name="inServiceOfYalaharQuestsQuara" script="in service of yalahar quest/inServiceOfYalaharQuestsQuara.lua"/>
	
	<!-- Inquisition Quest -->
	<event type="kill" name="inquisitionQuestBosses" script="inquisition quest/inquisitionQuestBosses.lua"/>
	<event type="kill" name="inquisitionQuestUngreez" script="inquisition quest/inquisitionQuestUngreez.lua"/>
	
	<!-- Killing In The Name Of Quest -->
	<!-- <event type="kill" name="killingInTheNameOfQuestKills" script="killing in the name of quest/killingInTheNameOfQuestKills.lua"/> -->
<event type="kill" name="KillingInTheNameOf" event="script" value="killinginthenameof.lua"/>
	
	<!-- The Masters Voice Quest -->
	<event type="kill" name="masterVoiceQuest" script="their master's voice quest/masterVoiceQuest.lua"/>
	
	<!-- Storage Conversion -->
	<event type="login" name="StorageConversion" script="others/StorageConversion.lua"/>

	<!-- Others -->
	<event type="login" name="PlayerLogin" script="others/login.lua"/>
	<event type="death" name="PlayerDeath" script="others/playerdeath.lua"/>
	<event type="advance" name="AdvanceSave" script="others/advance_save.lua"/>
	<event type="login" name="FirstItems" script="others/firstitems.lua"/>
	<event type="extendedopcode" name="ExtendedOpcode" script="others/extendedopcode.lua"/>

</creaturescripts>

Segue abaixo o login.lua:

function onLogin(cid)
	local player = Player(cid)
	registerCreatureEvent(cid, "KillingInTheNameOf")
	local loginStr = "Welcome to " .. configManager.getString(configKeys.SERVER_NAME) .. "!"
	
	if player:getLastLoginSaved() <= 0 then
		loginStr = loginStr .. " Please choose your outfit."
		player:sendOutfitWindow()
	else
		if loginStr ~= "" then
			player:sendTextMessage(MESSAGE_STATUS_DEFAULT, loginStr)
		end

		loginStr = string.format("Your last visit was on %s.", os.date("%a %b %d %X %Y", player:getLastLoginSaved()))
	end
	player:sendTextMessage(MESSAGE_STATUS_DEFAULT, loginStr)
	
	player:registerEvent("PlayerDeath")
	return true
end

Muito obrado pela ajuda que esra me dando.

Comedinhas perdoe pelo lugar errado, foi devido a entender pouco portugues apesar  de morar no brasil compreendo pouco portugues ainda.

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