The dev server status board reads:
Trying last loaded dll
- error: Could not find any Player.IO room types [RoomType(...)] in the dll.
When I try to load the dll an error message pops that reads:
Sorry, this is not a valid game dll. Valid game dlls must have a class that inherits from PlayerIO......
here is the code that is making the error. When I comment out the BigDB load it works fine. What am I doing wrong?? Thank you for your help!!!
- Code: Select all
public override void UserLeft(Player player) {
//show player in bigDB as logged off
PlayerIO.BigDB.Load("OnlinePlayers", player.name, delegate (DatabaseObject result) {
result.Set("Logged On", false);
}, delegate (PlayerIOError error) {
//Handle error here...
});
}