Yes having other database connectors won't hurt, they don't need to be maintained in time to be efficient, they're fun to experiment and bring totally new "server architecture options" to Shards owners- having options never hurts right?
DOL was written to work with ado.net, so it's a good start, if you try to implement EF and succeed we should really talk/work about a "merge" and "migration" of other connectors to EF... (existing MySQL and SQlite connector could have EF compatibility with recent drivers)- I'm going to use ado.net just to get it up and running then maybe consider bringing in EF
This branch is pretty old, you can always try to get some ideas from reading code in there but don't expect to make it run- pulled down the entire repository and noticed there's an MSSQl Server implementation already wrote in one of the branches (dol database v2 I think).
DOL is only supported (by community) when running on MySQL, even SQLite connector is a dev feature and shouldn't be used on a production shard (it doesn't support alter table for example...), so there have been few attempts to bring other connectors to DOL, MySQL is available everywhere- Has anyone done a successful MS Sql server implementation? Or did that turn out to be a wash / something nobody wanted?
The only way it wouldn't be a valid contribution for "me" would be that implementing MSSQL drivers prevent from compiling DOL with Mono (but I have no idea if this is going to be an obstacle with MSSQL or other connectors), I mean that as long as there is no regression from having an inactive MSSQL connector in project there is no reason to not commit this new feature- Also, would anyone consider this a waste of time? Meaning not a valid contribution or something is already in the works for it.
There is a MySQL Entity Framework package available on the nugget library, I have not used it with MySQL so I don't know if all that's needed is a dll or if there's some kind of "black magic" that only works with visual studio. Something I'll look into though. EF with an edmx most likely wouldn't work in Mono (maybe) so that's why I figure a "code-first" approach would be best for a project like this.DOL was written to work with ado.net, so it's a good start, if you try to implement EF and succeed we should really talk/work about a "merge" and "migration" of other connectors to EF... (existing MySQL and SQlite connector could have EF compatibility with recent drivers)
I have been doing that so far, it's been almost identical as far as code goes, the syntax from MySQL and MSSql are fairly similarBasically, base your work on the existing MySQL code, the queries should not differ a lot
I like the work you did with setting up sql lite, it helped me get a local freeshard just "up and running" instantly to get an idea of how other developers would use it if they already had their db set up, I eventually switched to MySQL but being able to just dive in right away was very helpful. Neat stuffI'm the Author of the recent SQLite connector for DOL (which I made for pretty much same reason as you, some fun, then I tried to think what it could be used for )
I was just more or less posting this because I was excited I'm able to actually get it running and playable with SQLServer. At the moment, it's not quite ready for me to start asking for volunteers for testing yet was just offering if someone wanted to take a look, but I get what you are saying . Once I feel it's ready and want to request people's help testing, I'll open up a new thread on the contribution side with a link to download my copy. I need to put together a somewhat functional freeshard together first to test. I don't really get to play Dark Age too much anymore, so I have to look at what other people have done to get a feel for how it's used. Any one-off situations you can think of that normally wouldn't be caught in testing? I know I can't catch every scenario but I know nothing about making a freeshard so any tips, hints, or gotcha's you can think of would be helpful. (I love that little register whelp on Freyad btw, reminds me of navi haha.)You should open a quick and dirty GitHub repository or any other kind of public code repo to share your current work...
Telling "I have something to test", "I won't post here anymore" and "anyone wanting a copy needs to ask me" won't appeal to voluntary help
It's way easier to review and test this kind of update with whole project code to resolve object type and methods references...
And by the way you should link to some quick start guide to install a MS-SQL RDBMS ?
Users browsing this forum: Bing [Bot] and 1 guest