hello
I am working on some ideas about
user persistence for VNet servers
working in tandem with data-stores...
comments on the current state of the interface
(see below my signature block)
would be quite useful to me
the idea is to support:
- creating new users
- allowing for a default avatar at logon
- allowing a user to save
the current position of their avatar
and to resume that position at next logon
- multiple VNet sites sharing the same user database
jeffs at the vrmLab
--
Jeff Sonstein, MA http://ariadne.iz.net/
http://ariadne.iz.net/~jeffs/jeffs.asc
==========================================
there are no bugs
there are just undocumented features
---------- begin code --------
public interface dbmsInterface {
/*
[as of 3/3/99]
in the currently-under-way dbmsImplementation class
each row in the table in the dbms will look like this:
logName String (user name)
password String (unencrypted)
avatar String (their default avatar URL)
xPos float (default translation state at login)
yPos float
zPos float
logState String
*/
public void connectNow();
public void disconnectNow();
public Hashtable getVUser(String inName);
public boolean setVUser(String inName, Hashtable newVUser);
public String getPassword(String inName);
public boolean setPassword(String inName, String newPassword);
public String getAvatar(String inName);
public boolean setAvatar(String inName, String newAvatar);
public Vector getPosition(String inName);
public boolean setPosition(String inName, Vector newPosition);
public boolean getLogonState(String inName);
public boolean setLogonState(String inName, boolean newState);
}