Photon Database, H2 database engine, and SmartFox vs. Photon

Hi,

I am exploring using photon for a multiplayer learning poroject and yould like to learn how to make a database that would store information in between games. I was wondering if there is any sort of built in way to do this in photon and if so how? If not, I was hoping someone could help me find an alternative simple solutin:).

On another note, I saw that Smart fox has H2 database engine built in. Any information on that would be appreciated.

While I’m at it, I was wondering what peopl;e thought about photon vs. smartfox. I was leaning towards smartfox until I saw that there was a known bug relating to NPC creation. Any thoughts?

Thanks,
Lopuz3

photon has no builtin way but it uses .NET so you have the whole System.Data namespace at your hand :slight_smile:

what though won’t work out is H2, as thats a bit very specific. But SFS is java which also has a “System.Data” counterpart :slight_smile:

you can connect both to mysql or oracle for example

Just wondering, why will 2h not work?

Also, it is unclear to me how smartfox could have an npc bug when they don’t seem to have npcs built in. . .

mainly because I’m not aware of h2 drivers but I might be wrong.
but its definitely not standard, not when compared to mysql, mssql, oracle or db2

as for npc creation they potentially talked about it in relation to other things or some specific example.

Hmm. I Rered the known bugs kist and they didn’t reference much else. Also h2 is java SQL or something like that

possible, or something SFS specific, who knows.
you might want to look for the options you have.

I know that mysql works easily in SFS after you did the regular steps required to get it working in java