Page 1 of 1

Keyitems Converter

Posted: Sun Aug 14, 2016 7:33 pm
by kjLotus
Commit 7d749f63272592c7c6b4bc01bca6f07a24cb90c2 changed how keyitems are stored. Attached is an .exe that will read your map_darkstar.conf and convert every characters keyitems blob into the new format. Place it in your darkstar folder (where libmariadb.dll is) and then run it from the command line. It won't print anything out if it ran successfully. There is no way to guard against running it on an already converted blob, so make sure that you don't run it twice.

Re: Keyitems Converter

Posted: Sun Aug 14, 2016 7:43 pm
by kjLotus
And the source, of course.

Re: Keyitems Converter

Posted: Sun Aug 14, 2016 11:20 pm
by Abriasffxi
Any love for us on linux?

Re: Keyitems Converter

Posted: Sun Aug 14, 2016 11:42 pm
by kjLotus
Oh oops, I took the time to make it portable and everything... I'll see what I can do

Re: Keyitems Converter

Posted: Mon Aug 15, 2016 12:17 am
by kjLotus
For Linux, build this in darkstar/keyitemconverter and then mv the tool to darkstar and run it

Re: Keyitems Converter

Posted: Mon Aug 15, 2016 7:57 am
by demolish

Re: Keyitems Converter

Posted: Tue Aug 23, 2016 8:38 pm
by nevaeh
I believe there's been a couple database changes since the project's beginning and I was just curious if there was a good place to view the history of changes or do I just have to do a compare my server's SQL files compared to the latest master's SQL files?

If not, it is what it is and I don't know if it would be beneficial enough for the team to manage going forward.

Re: Keyitems Converter

Posted: Tue Aug 23, 2016 9:03 pm
by whasf
right-click the file / tortisegit / show log

Re: Keyitems Converter

Posted: Tue Aug 30, 2016 1:51 am
by Cloudef
I also have this "general purpose" database migrator written in bash here https://gist.github.com/Cloudef/7dd5cbd589235e5d2e85 It only handles table/field additions and removals, it won't understand field/table renames, or magically convert contents of field to new format, so it won't handle keyitems conversion nor the magic table refactor. It's mainly useful for keeping your schemas up-to-date.