PtokaX forum

Lua 5.3/5.2/5.1 Scripts (for PtokaX 0.4.0.0 and newer) => Help with scripts => Topic started by: rEALx on 24 April, 2008, 08:31:27

Title: FreshStuff3 RC6 - Path problem
Post by: rEALx on 24 April, 2008, 08:31:27

Due to change of working folder reference in 0.4.1.0RC3 and up, freshstuff3 RC6 stopped working.
I tried to change the folder reference in the script by adding Core.GetPtokaXPath()..
in all the occurance of freshstuff path and in the ptokaxnew.lua
like:

package.path=Core.GetPtokaXPath().."scripts/freshstuff/?.lua"

But still its getting error:

[11:44] Syntax G:/PtokaxAPI2/scripts/freshstuff/tables.lua:25: attempt to index local 'file' (a nil value)

how to fix this ?
thx

rEALx
Title: Re: FreshStuff3 RC6 - Path problem
Post by: bastya_elvtars on 24 April, 2008, 18:01:34
Gonna make a bugfix-championship this weekend. Please be patient.
Title: Re: FreshStuff3 RC6 - Path problem
Post by: miago on 24 April, 2008, 18:30:59
 :D  sounds good, nice, superb...cant find the words   ;D   ur script is just awsome!
cant get in to ur site, but I hope the things mentioned there by me and 2ceedZ (maybe others too) maybe will be taken care of too  ;) no panic though...we dont wanna see u get burnedout.
cheers miago  :)