Jump to content

Recommended Posts

Hi all!

I have some problem the reset scroll quest.

Ch1 sysser:

RunState: LUA_ERROR: locale/hungary/quest/questlib.lua:2793: attempt to concatenate local `str' (a nil value)

WriteRunningStateToSyserr: LUA_ERROR: quest reset_scroll.start click

 

how to fix this?

All function add the quest functions and questlib.lua but LUA Error.

Link to comment
Share on other sites

  • Replies 6
  • Created
  • Last Reply

Top Posters In This Topic

  • Premium

Show your questlib.lua.

 

"Nothing's free in this life.

Ignorant people have an obligation to make up for their ignorance by paying those who help them.

Either you got the brains or cash, if you lack both you're useless."

Syreldar

Link to comment
Share on other sites

do
	local isFast = 1
	local __say = say
	function _G.say(str, ...)
		if table.getn(arg) > 0 then
			if isFast == 1 then
				raw_script("[DELAY value;1]"..string.format(str, unpack(arg)).."[/DELAY][ENTER]")
			else
				__say(string.format(str, unpack(arg)))
			end
		else
			if isFast == 1 then
				raw_script("[DELAY value;1]"..str.."[/DELAY][ENTER]")
			else
				__say(str)
			end
		end
	end
end

2793: This function: raw_script("[DELAY value;1]"..str.."[/DELAY][ENTER]")

But idk why not work.

Link to comment
Share on other sites

  • Premium

You..really don't need all that to code a reset scroll.

Also, you're hardcoding fast string outputs, while there's already a function for it.

 

"Nothing's free in this life.

Ignorant people have an obligation to make up for their ignorance by paying those who help them.

Either you got the brains or cash, if you lack both you're useless."

Syreldar

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.