combinedfixes.lua

Discussions about ET modding (sdk code, player/weapon modeling)

Moderators: Forum moderators, developers

Post Reply
crazyfrag
Posts: 105
Joined: Fri Oct 01, 2004 1:17 pm

combinedfixes.lua

Post 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)
McSteve
Posts: 113
Joined: Tue Sep 12, 2006 7:41 am

Post 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.
GhosT:McSteve
Ghostworks Gaming Community
Post Reply