You are not logged in.

Applications: [GameMaster: OPEN] | [Volunteer Testers: OPEN]


This forum will be permanently shut down on Friday 13.07.2018
Please copy or save all important information from old forum before they will be deactivated
We have moved to new board. https://forum.runesofmagic.gameforge.com/Come join us.

RoMage

rustyx is lame rogue

  • "RoMage" started this thread

Posts: 2,694

Location: web

Occupation: DB Admin

Mood: Unsure

  • Send private message

1

Monday, September 10th 2012, 4:21pm

AddOn to dump inventory to a file

Wonder if is possible to create add-on that will dump character's inventory to a file. (bags 1-180, and banks if possible)

Also if modification can be made to write for example only fusion stone and 1-3 stats that are on fusion stone. (not mana stones, just simple fusion stones)

Reason I need this, I am looking for an easy way to figure out if I have matching fusion stones without trying to figure it out on my own.

Kind of sick of people posting random fusion stone at 15/50K or even more in AH. OK, if someone sells 2 stat one for higher value, but just regular one?! Come on...

RoMage

rustyx is lame rogue

  • "RoMage" started this thread

Posts: 2,694

Location: web

Occupation: DB Admin

Mood: Unsure

  • Send private message

2

Friday, September 14th 2012, 2:34pm

No one know of anything like this.

If I can dump data into text file, I can create import to new DB that I am developing for easy matching of fusion stones.

Still in development, it will looks like this once done...



I know, should make back color black and character white to make it harder to read. :)
RoMage has attached the following image:
  • FSDB.jpg

Noguai

Beginner

Posts: 5

Location: Germany

  • Send private message

3

Friday, September 14th 2012, 5:56pm

Well, I don't know if there is already an addon that collects information about your available fusion stones, but I guess there isn't...
Runewaker some time ago removed the .os-library that contained functions to read/write files, so that you can't directly export data into a file anymore. The only way that works is a text box that allows users to manually copy the data and paste it into a text document.

RoMage

rustyx is lame rogue

  • "RoMage" started this thread

Posts: 2,694

Location: web

Occupation: DB Admin

Mood: Unsure

  • Send private message

4

Tuesday, September 18th 2012, 7:24pm

Thank you Noguai,

I remember reading about it some time ago, but was not sure if that is still there. Text format might work, I should try to create function that will display all characters fusion stones in the bags/bank.

BTW, interface for most part is done, it is done in access db, so access (or run time version) is required. Easy to add characters and stones with interface. Double click in list opens fusion stone with option to add another one like that, edit or delete. Reports show 3 (or more) fusion stones, 2 fusion stones sets and all fusion stones (divided in groups of the same).





Only thing left to do is easy list for adding/removal of attributes.
RoMage has attached the following images:
  • FSDB_1.jpg
  • FSDB_2.jpg
  • FSDB_3.jpg

Noguai

Beginner

Posts: 5

Location: Germany

  • Send private message

5

Thursday, September 20th 2012, 9:57pm

Isn't an MS Access database a bit oversized for such an purpose? Well, I don't know which language you're using and I'm not an experienced C# programmer but the DataSet object in WinForms allows multiple tables, relations AND! provides easy methods for writing and reading the whole DataSet as XML file. Okay I haven't used relations and only took a glimpse at the Dataset.WriteXml(string filename) method, but for me it seems to be a good way to save your data without external dependencies while providing everything I think you would need.