worldofbalance / unity-game-client

Unity Client for World of Balance
http://smurf.sfsu.edu/~wob/
9 stars 8 forks source link

Species Table #12

Closed brianxautumn closed 8 years ago

brianxautumn commented 8 years ago

SpeciesTable.GetSpecies ("Acacia");

I get Argument Null Exception every time I try this. It also appears that SpeciesTable.Initialize() isn't even being called Any Ideas?

rujoota commented 8 years ago

Are you sure your db config are up-to-date?

jensvdh commented 8 years ago

I think this is the current db.conf in Development

This

is the configuration file for the database of this game server.

Database URL

DBURL localhost

Database name

DBName csc63101

DBName wob

Database user name

DBUsername root

Database user password

DBPassword newpwd

This is the configuration file for the database of this game server.

Database URL

DBURL thecity.sfsu.edu

Database name

DBName csc63101

Database user name

DBUsername csc63101

Database user password

DBPassword csc631_01`

It should be:

This is the configuration file for the database of this game server.

Database URL

DBURL thecity.sfsu.edu

Database name

DBName csc63101

Database user name

DBUsername csc63101

Database user password

DBPassword csc631_01`

Correct?

brianxautumn commented 8 years ago

I just realized its declared in 2 places... Which one do I change?

screen shot 2016-03-30 at 11 43 52 am screen shot 2016-03-30 at 11 43 42 am
brianxautumn commented 8 years ago

It appears that the problem is that there is not a callback for this method. It doesn't get called. Are you guys able to access the Species Table?

screen shot 2016-03-30 at 11 59 29 am
niculistana commented 8 years ago

@brianxautumn Please check the issue over here https://github.com/worldofbalance/wob-server/issues/9 the server's database is currently outdated, therefore cannot get the SpeciesList.