Le 21 juil. 08 à 17:44, Claude Heiland-Allen a écrit :
Jack wrote:
i have duplicated the file 'hello.pd_lua' in the 'lua' folder and
renamed it 'testjack.pd_lua'.Did you also change (inside the file):
pd.Class:new():register("hello")
to:
pd.Class:new():register("testjack")
Ok, now it works fine, thanx a lot Claude. ++
Jack
In short, a file "foo.pd_lua" should register a class called "foo",
unless you want to load it like:pd -lib lua -lib foo
(eg, for multi-class libraries in one file).
Now, when i restart Pd and create a new patch and put a new
object [testjack], after 10 seconds Pd output : error: maximum object loading depth 1000 reached testjack ... couldn't create Any idea about this problem.Some libdir/hexloader/pd-extended issue, nothing to do with pdlua...
Claude