General > Developers Corner

fileExec across srcds instances?

(1/3) > >>

Buzzkill:
Does fileExec (or I guess in this case, the file I/O subsystem in lua) have vision across srcds instances on the same physical box?  I'm trying to juryrig a universal ban management system by executing the banned_user and banned_ip cfg files from the different instances I have running, but this (for example...)

ULib.execFile( "/home/steam/sb1/garrysmod/cfg/banned_user.cfg" )

generates Called execFile with invalid file!

Looking at the source, I'm thinking file.Exists potentially can't peek outside of it's directory jail?

Thanks,
Mike

An Error Has Occurred!

array_keys(): Argument #1 ($array) must be of type array, null given

[0] Board index

Go to full version