Page 1 of 1

combinedfixes.lua

Posted: Fri Apr 04, 2008 4:47 am
by crazyfrag
The new combinndfixes.lua causes this error

Code: Select all

etpro: et_RunFrame error running lua script: [string "combinedfixes.lua"]:127: attempt to call field `match' (a nil value)

Posted: Fri Apr 04, 2008 6:35 am
by McSteve

Code: Select all

	-- "localhost" may be present on a listen server. This module is not intended for listen servers.
	if not string.match(ip,"^%d+%.%d+%.%d+%.%d+:%d+$") then
I had a quick check in the 5.0 manual and it looks like string.match wasn't introduced until 5.1. string.find would serve the same purpose.