[WIP]Mob and item DB generator
- baseballboy
- Knight
- Posts: 502
- Joined: 04 Jan 2009, 20:04
- Location: USA, North Carolina
[WIP]Mob and item DB generator
Hi guys, I worked on this for a while and then stopped. But it's close to complete I'll attach the source below. Please tell me what you guys think.
- Attachments
-
- db-gen.zip
- (11.2 KiB) Downloaded 153 times
BaseBaIIBoy - 99, Zalika - 95, Mou. - 86, baseballboy - 83, Abacus - 82, Laticia - 76
<o11c> More boobs please.
<o11c> More boobs please.
Re: [WIP]Mob and item DB generator
(This conversation taken from IRC, with a couple of minor edits but mostly so that the public can know my stance)
Here is the list of things that need to be done for my approval:
Code/Style
1. Replace literal tabs with \t
2. Replace /usr/bin/qmake-qt4 with /usr/bin/qmake so it actually builds on modern systems.
3. Rename it so the executable doesn't start with a capital, preferable starting with "tmw"
4. Give the variables meaningful names.
Bugs:
1. Fix the order which tab takes (is it the order that they are added?)
2. Only allow numeric input if only numbers are possible
3. Make drops into a table
Features:
1. Allow outputting to a file (probably in append mode, not necessarily the main db files though)
2. Be able to parse an entry (even if just from the clipboard, but preferably from file as well)
3. Hold more than one entry in memory at once. If parsing the main db files, comments MUST be preserved and syntax errors should be warned-about but preserved.
Optional:
Output an occasional header row and be able to parse and optionally remove them in input (if not removing, reading one will reset the "how many lines until I output a header" counter).
Here is the list of things that need to be done for my approval:
Code/Style
1. Replace literal tabs with \t
2. Replace /usr/bin/qmake-qt4 with /usr/bin/qmake so it actually builds on modern systems.
3. Rename it so the executable doesn't start with a capital, preferable starting with "tmw"
4. Give the variables meaningful names.
Bugs:
1. Fix the order which tab takes (is it the order that they are added?)
2. Only allow numeric input if only numbers are possible
3. Make drops into a table
Features:
1. Allow outputting to a file (probably in append mode, not necessarily the main db files though)
2. Be able to parse an entry (even if just from the clipboard, but preferably from file as well)
3. Hold more than one entry in memory at once. If parsing the main db files, comments MUST be preserved and syntax errors should be warned-about but preserved.
Optional:
Output an occasional header row and be able to parse and optionally remove them in input (if not removing, reading one will reset the "how many lines until I output a header" counter).
Former programmer for the TMWA server.