Ulysses

Ulysses Stuff => General Chat & Help and Support => Topic started by: fackelkind on September 12, 2006, 12:18:00 PM

Title: ULib.ucl:query
Post by: fackelkind on September 12, 2006, 12:18:00 PM
Hey there

ULib.ucl:query (userid, "a")


gives me LUA errors:

[LUA] Error calling 'onPlayerRemove' : 'Line 597: attempt to index field 'authed
' (a nil value)'
Title: Re: ULib.ucl:query
Post by: Megiddo on September 12, 2006, 12:26:27 PM
ULib.ucl is the "class", speaking in C++ terms, not the instance. You need to use ULib.mainUcl:query()
Title: Re: ULib.ucl:query
Post by: fackelkind on September 12, 2006, 12:34:21 PM
Ohh, my bad, thanks meddigo. Ill try that (as you can see I'm doin more and more with ULib :D)