ULX

Author Topic: fileExec across srcds instances?  (Read 3320 times)

0 Members and 1 Guest are viewing this topic.

Offline Buzzkill

  • Respected Community Member
  • Full Member
  • *****
  • Posts: 176
  • Karma: 59
    • The Hundred Acre Bloodbath
fileExec across srcds instances?
« on: March 29, 2015, 05:31:52 AM »
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