phpBB Forum

The House of Black Star

Anarchy Online - Neutral Organisation

Skip to content

How to extract AO database for use with MySQL in windows.

Place for people to discuss technical matters
6 posts • Page 1 of 1

How to extract AO database for use with MySQL in windows.

Postby afroguy on 2007-Sep-09, 06:58

I need again the help of the uber HoBS developers :)

My project (check here http://www.blackstaruo.com/e107_plugins ... c.php?2016) is 90% complete. The only problem I have is that I'm using a DB that miss some data ,so I can't complete it until I find a good database.

I've tried AODB resource tool (ectracted all the data to XML) and then used AODBC to convert xml to MySQL script. AODBC ends with an error. Also , the sql that AODB resource tool outputs is not suitable for mySQL.

another solution I saw is AOPPA ,but its source only and written for linux.

So, my question is : How can I extract the AO nano database from windows.
Can you guys post any guide to help me? The AOmainframe database doesn't work also.

Thanks in advance :)
afroguy
Professional Typer
Professional Typer
 
Posts: 240
Joined: 2007-Jan-31, 11:09
Location: Greece

Re: How to extract AO database for use with MySQL in windows.

Postby Parfet on 2007-Sep-09, 08:57

the tool i use is AODBXMLParser it is written entirely in php, and uses modular templates for output, so all you really need is the string you want, and i can help you build that (complete template is what i originally sent you)
RK4 is sporatic and chaotic atm, I'm around, but can't promise MMs or much anything else... pm me if you *need* to talk to me :ugeek:
User avatar
Parfet
Professional Typer
Professional Typer
 
Posts: 211
Joined: 2007-Jan-12, 12:13
Location: North Dakota

Re: How to extract AO database for use with MySQL in windows.

Postby afroguy on 2007-Sep-09, 13:46

Thanks again for the help parf.
I'm looking to the xml that the AODBResourceTool has extracted from my AO installation and I can't find the "Quality" field. All the old SQL scripts I had had the same problem : I couldn't find the QL of the nano. I want the ql of the nanos mainly to be able to sort them.
Any idea on why I'm doing wrong?
afroguy
Professional Typer
Professional Typer
 
Posts: 240
Joined: 2007-Jan-31, 11:09
Location: Greece

Re: How to extract AO database for use with MySQL in windows.

Postby afroguy on 2007-Sep-09, 13:55

I found a partial solution. The ql in the XML appears only if I export both nanos&items. Not only the nanos...

the AODBXMLparser doesn't parses all the items. I must look into it a bit more
afroguy
Professional Typer
Professional Typer
 
Posts: 240
Joined: 2007-Jan-31, 11:09
Location: Greece

Re: How to extract AO database for use with MySQL in windows.

Postby Parfet on 2007-Sep-11, 11:39

the 'nano' mode output are exactly that; installed and in-use nano formulas... those don't have a QL because they are no longer an item, what you need to do is go back through with the name (or a variation in the terms of weird looking and other sl nanos) and pull up the QL of the nano crystal that the program goes to
RK4 is sporatic and chaotic atm, I'm around, but can't promise MMs or much anything else... pm me if you *need* to talk to me :ugeek:
User avatar
Parfet
Professional Typer
Professional Typer
 
Posts: 211
Joined: 2007-Jan-12, 12:13
Location: North Dakota

Re: How to extract AO database for use with MySQL in windows.

Postby afroguy on 2010-May-11, 06:18

Hi again. I'm reopening that post because I tried again to extract the AO db to MySQL with no luck.

So far my tests are run with a file that Parfet gave me (it was an SQL file with the 17.0.x database).

I tried all the (windows) programs but I had no luck..
I found in the internet an extract of the 18.x.x database but it's a 400MB file with all the items of AO. it's huge and in my local xampp installation it took ages to import :P
The closest I've managed to get is an SQL script for AOmainframe (I think it's for mssql) where there is only 1 table with anything in it... and I can't import it in MySQL.
AODBXMLParser does not creates output (maybe I have the wrong input ???)

also,I'm trying to see if Xyphos parser exports SQL but so far I see only xml output...

So, I'm asking again the help of the wisest people here...
Can you post a step by step guide on how to extract only the nanos of the AO database to an MySQL script?

Thanks again...
afroguy
Professional Typer
Professional Typer
 
Posts: 240
Joined: 2007-Jan-31, 11:09
Location: Greece


6 posts • Page 1 of 1

Return to Technical Help Desk

Who is online

Users browsing this forum: No registered users and 1 guest

cron