Ulysses Stuff > General Chat & Help and Support

ULib Database

(1/1)

fackelkind:
Hey medigo, hey everyone else,

I am wondering, if the buildin database function
of ULib will save recursive tables too and if it will
save functions too. Is there somebody who can
answer this?

And one suggestion: It would be handle if one
could access the mainUCL userlist through, to
list all players, instead of having to call the
ULib.mainUcl["steamids"] table.


Greetings fackel

Megiddo:
Yes, the database saves all levels of tables, no it cannot save functions (it would have to save the whole source file).

What return format are you proposing for a userlist, and would it return all players or just online players?

fackelkind:
Good to know :D

I would prefer returning a table like this:

return {
     [steamid] = {
          flags = flags,
         pw = pw,
         etc
     }
}


Edit: It would contain all users listet in the users.ini

So that I have an assosiative array with steamids as keys.

Navigation

[0] Message Index

Go to full version