| Pages: 1 2 3 4 5 6 7 [8] 9 10 11 12 13 .. 13 :: one page |
| Author |
Thread Statistics | Show CCP posts - 12 post(s) |

Quutar
|
Posted - 2006.05.12 15:31:00 -
[211]
Originally by: Somahai Visidious
Originally by: Quutar EVE-SQL To MySQL. It is a text file saying what I did to massage the eve sql files to fit inside of MySQL... and a sql file with primary keys and foreign keys... I think I got all of them.
The first thing needed on this new file to do is convert all of the empty commas pairs into nulls... do a global replace of: ",," to ",null"
Should be: ",," to ",null,"
Apart from that, I haven't had any other issues (yet!). Great stuff. That "annoying text file" was appreciated (certainly saved some time on my end). :)
Thanks... I fixed that typo and have since uploaded a fixed .zip file.
sonofabeachballbouncingmarymotherfiretrucker |

Quutar
|
Posted - 2006.05.15 22:21:00 -
[212]
I have been pxloring more of the data... I found that there is some unlinked names in the eveNames table...
Here is the list of the names. The firs three are obviously some test corps that are used internally or something... but the rest seam to be NPC names... that don't show up in the Agents table... sonofabeachballbouncingmarymotherfiretrucker |

Saldun Zexu
|
Posted - 2006.05.17 16:02:00 -
[213]
I've downloaded last updates. seems CCP forgot to put CREATE TABLE (); in files: staOperations, staOperationsServices, staServices, staStations, and staStationTypes.
I'm using MySQL 5.0.21 and I imported all files successful but I don't know how to set p.key and/or f.key. I saw diagram in here but not enough.
thanks
|

Quutar
|
Posted - 2006.05.17 18:50:00 -
[214]
Originally by: Saldun Zexu I've downloaded last updates. seems CCP forgot to put CREATE TABLE (); in files: staOperations, staOperationsServices, staServices, staStations, and staStationTypes.
I'm using MySQL 5.0.21 and I imported all files successful but I don't know how to set p.key and/or f.key. I saw diagram in here but not enough.
thanks
http://utena.otakuvideo.com/~quutar/uploads/Main/EVE-SQL_To_MySQL.zip
I guess its still a work inprogress... but i posted maybe 4-5 links above you what i did to convert it to mysql sonofabeachballbouncingmarymotherfiretrucker |

Saldun Zexu
|
Posted - 2006.05.17 20:27:00 -
[215]
thanks alot :)
|

Mortecai
|
Posted - 2006.06.06 08:27:00 -
[216]
I noticed that the dbo_invTypes.sql has loads of missing baseprices for items. is it because of a buggy export or are the prices stored in another table?
|

DaOpa
|
Posted - 2006.06.06 20:21:00 -
[217]
Hmmm can anyone provide the relationships between the tables ?
Theres way to many .. and my head went boom just importing basic csv into a mdb :(
Static Corp Website |

Juno Perez
|
Posted - 2006.07.05 16:55:00 -
[218]
Edited by: Juno Perez on 05/07/2006 16:55:26
Originally by: DaOpa Hmmm can anyone provide the relationships between the tables ?
Theres way to many .. and my head went boom just importing basic csv into a mdb :(
LOL MS Access. (translation: rtft)
|

Jezra Olmerga
|
Posted - 2006.07.05 17:42:00 -
[219]
When will we get the lastest changes for agents location? Thx |

Spathi
|
Posted - 2006.07.06 05:33:00 -
[220]
Yes lots of the base prices are missing especially from items which previously had them in the old xls spreadsheet releases. I checked the battlecruisers specifically against the csv and sql releases and the previous xls I had.
|

Narusegawa Naru
|
Posted - 2006.07.06 11:59:00 -
[221]
Iteron productID = 650
My SQL query (this is from mySQL but is pretty generic SQL anyway). chrMinerals is a table containing my minerals, using the same typeID as minerals.
Quote:
SELECT ( SELECT typeName FROM invTypes WHERE typeID = T.requiredTypeID ) "typeName", ROUND( T.quantity * 1.10 ) "required", C.typeQuantity "gathered" FROM TL2MaterialsForTypeWithActivity T LEFT OUTER JOIN chrMinerals C ON ( T.requiredTypeID = C.typeID ) AND ( C.charID = '243976002' ) JOIN invTypes iT ON iT.typeID = T.requiredTypeID WHERE T.typeID = '650' AND T.activity = 6 ORDER BY iT.typeID;
If I use activity = 1 I get nothing.
Activity 6
Quote:
Tritanium Pyerite Mexallon Isogen Nocxium Zydrine Megacyte Industrial Construction Terran Molecular Sequencer R.A.M.- Cruiser Tech
Activity 7
Quote:
Tritanium Pyerite Mexallon Isogen Nocxium Zydrine Megacyte Criminal Connections Hacker Deck - Hermes Hyper Net Uplink
Why would 2 skill books be in there as constuction components? I'm just trying to get a list of manufacturing components of whats required to build a product.
|

Bombasy
|
Posted - 2006.07.07 19:06:00 -
[222]
Edited by: Bombasy on 07/07/2006 19:07:11
Originally by: Quutar http://utena.otakuvideo.com/~quutar/uploads/Main/EVE-SQL_To_MySQL.zip
I guess its still a work inprogress... but i posted maybe 4-5 links above you what i did to convert it to mysql
Hey Quu, here's a few sed commands for your howto: 's/CHAR([0-9]*[03-9][0-9][0-9])/TEXT/g' 's/dbo[.]//g' 's/UNKNOWN/INTEGER/g' 's/\([,(]\)[[:space:]]*\([,)]\)/\1null\2/g' -e 's/\([,(]\)[[:space:]]*\([,)]\)/\1null\2/g'
(the last one has to be done twice (thus the -e) to prevent having to fiddle around with the hold/pattern buffer and overly complicating the damn thing just to take care of 2x blank fields in a row.)
These work for translating the CHAR parts and removing the "dbo." from the tables, if CCP decides to make a 256-299 char field then the regex will have to change, but until then it works. It also converts the empties to nulls and allows for some spacing flexibility, just in case.
|

Quutar
|
Posted - 2006.07.07 20:23:00 -
[223]
you rock... thanks (i never did learn regular expressions)
I am working on a pure web based data explorer... something that won't directly compeate with the item database here on the site, nore with other specialized ones such as elfarto and the like...
just for people who are mining ice to play with during the 10 minute cycle time... to explore relationsips in the data, to see how things link.
not really "usable" but entertaining and educational in an eve sence... now i need to convince curse-gaming to host it... lucky for me I sleep with one of thier staff.
sonofabeachballbouncingmarymotherfiretrucker |

Bombasy
|
Posted - 2006.07.07 20:49:00 -
[224]
why not just upload it into a DB and custom configure a pma (phpmyadmin) install to let people just browse the data?
|

Quutar
|
Posted - 2006.07.07 20:57:00 -
[225]
i am already doing that for my self... but i wanted ti to be formated a bit easier... with the relationships between the entries more obvious...
for instance... when you click a agent, the agent page will bring up links to the corp, quality, level, faction, station, etc... each of wich would allow you to explore that relationship
when you click on a module... if you click one of the attributes, it will bring up that attribute, which as a list of all the modules that have that attribute, so you could start with a cap recharger, click the cap recharge atribute, and see a list of modules that do that, sort it, pick a cap power relay from the list, go into that view, see a linked blue print, go into that view, click a mineral, see all the bpos that use that minerals... etc
basically a relationship explorer... something for learning... not for "quick answers"
sonofabeachballbouncingmarymotherfiretrucker |

Juno Perez
|
Posted - 2006.07.07 21:06:00 -
[226]
Originally by: Quutar i am already doing that for my self... but i wanted ti to be formated a bit easier... with the relationships between the entries more obvious...
for instance... when you click a agent, the agent page will bring up links to the corp, quality, level, faction, station, etc... each of wich would allow you to explore that relationship
when you click on a module... if you click one of the attributes, it will bring up that attribute, which as a list of all the modules that have that attribute, so you could start with a cap recharger, click the cap recharge atribute, and see a list of modules that do that, sort it, pick a cap power relay from the list, go into that view, see a linked blue print, go into that view, click a mineral, see all the bpos that use that minerals... etc
basically a relationship explorer... something for learning... not for "quick answers"
O. I know a stupid easy way to do that. RoR scaffolding.
Behold, the power of cheese (the red kind): http://www.rubyonrails.org/screencasts (check out the first one (the weblog one)) You'll need: http://wiki.rubyonrails.com/rails/pages/HowToUseLegacySchemas
Basically just create the models for each of the tables, adjust the settings for the legacy schema, add the active_record key mappings and you'll have a CRUD system.
Then just override all the C/U/D methods to do diddly squat and voila (it's a lot less work than it sounds like, really).
|

Bombasy
|
Posted - 2006.07.07 21:07:00 -
[227]
mother, that was me, stupid alts.
|

Pwett
|
Posted - 2006.07.07 23:27:00 -
[228]
Originally by: Narusegawa Naru Iteron productID = 650
My SQL query (this is from mySQL but is pretty generic SQL anyway). chrMinerals is a table containing my minerals, using the same typeID as minerals.
Quote:
SELECT ( SELECT typeName FROM invTypes WHERE typeID = T.requiredTypeID ) "typeName", ROUND( T.quantity * 1.10 ) "required", C.typeQuantity "gathered" FROM TL2MaterialsForTypeWithActivity T LEFT OUTER JOIN chrMinerals C ON ( T.requiredTypeID = C.typeID ) AND ( C.charID = '243976002' ) JOIN invTypes iT ON iT.typeID = T.requiredTypeID WHERE T.typeID = '650' AND T.activity = 6 ORDER BY iT.typeID;
If I use activity = 1 I get nothing.
Activity 6
Quote:
Tritanium Pyerite Mexallon Isogen Nocxium Zydrine Megacyte Industrial Construction Terran Molecular Sequencer R.A.M.- Cruiser Tech
Activity 7
Quote:
Tritanium Pyerite Mexallon Isogen Nocxium Zydrine Megacyte Criminal Connections Hacker Deck - Hermes Hyper Net Uplink
Why would 2 skill books be in there as constuction components? I'm just trying to get a list of manufacturing components of whats required to build a product.
Naru - If the Activity ID descriptions are correct, 6 being duplicating and 7 being Reverse Engineering, then those would be the skills required to do those activites.
As far as mineral requirements, from just browsing through the tables, tech 1 items have the same numbers listed for activity 6 and 7 and they line up with expected values. I only see Activity 1 used for manufacturing (some) tech 2 items.
I guess, and this is just conjecture here, that if Activity 1 does not exist than we should just use the mineral values from Activity 6.
Is this assumption correct, or am I missing something in the tables?
|

Kuroshiro
|
Posted - 2006.07.08 05:33:00 -
[229]
Originally by: Quutar
http://utena.otakuvideo.com/~quutar/uploads/Main/EVE-SQL_To_MySQL.zip
I guess its still a work inprogress... but i posted maybe 4-5 links above you what i did to convert it to mysql
I've tried running this under mysql 4.1.20, and everything works except the foreign key creation. I keep getting this error:
ERROR 1005 (HY000) at line 65: Can't create table './adam/#sql-500b_21c2.frm' (errno: 150)
And for the life of me can't figure out what's wrong. I've set the default collation to latin1_bin after googling the relevant components of that error and still no luck. :(
Any thoughts?
|

Kuroshiro
|
Posted - 2006.07.08 05:55:00 -
[230]
Figured it out. My default storage engine is MyISAM and I had edited the huge sql file to include
SET SESSION storage_engine = InnoDB;
but didn't realize that the other two sql files to create the keys also created tables, so those were being made into MyISAM tables, which don't support foreign keys. So just an FYI for people who are using this, make sure you're using InnoDB instead of MyISAM for your storage engine. :)
|

Bombasy
|
Posted - 2006.07.08 14:02:00 -
[231]
I use MyISAM perfectly fine, MySQL should not choke on the foreign key constraints, it just ignores them for MyISAM. My VPS has very little memory so I actually skip-innodb, it saves me a good chunk of memory.
|

Inanna Sumer
|
Posted - 2006.07.10 11:36:00 -
[232]
Edited by: Inanna Sumer on 10/07/2006 11:38:31
Originally by: Bombasy Edited by: Bombasy on 07/07/2006 19:07:11
Originally by: Quutar http://utena.otakuvideo.com/~quutar/uploads/Main/EVE-SQL_To_MySQL.zip
I guess its still a work inprogress... but i posted maybe 4-5 links above you what i did to convert it to mysql
Hey Quu, here's a few sed commands for your howto: 's/CHAR([0-9]*[03-9][0-9][0-9])/TEXT/g' 's/dbo[.]//g' 's/UNKNOWN/INTEGER/g' 's/\([,(]\)[[:space:]]*\([,)]\)/\1null\2/g' -e 's/\([,(]\)[[:space:]]*\([,)]\)/\1null\2/g'
(the last one has to be done twice (thus the -e) to prevent having to fiddle around with the hold/pattern buffer and overly complicating the damn thing just to take care of 2x blank fields in a row.)
These work for translating the CHAR parts and removing the "dbo." from the tables, if CCP decides to make a 256-299 char field then the regex will have to change, but until then it works. It also converts the empties to nulls and allows for some spacing flexibility, just in case.
To fully "MySQLize" the CHAR's you may want to add 's/CHAR([0-9]\{1,3\})/TINYTEXT/g'
to the list of sed patterns. might also reduce storage size a bit (since text/tinytext use varchar).
edit: forgot to escape the curly braces.
|

Juno Perez
|
Posted - 2006.07.10 12:57:00 -
[233]
Originally by: Inanna Sumer Edited by: Inanna Sumer on 10/07/2006 11:38:31
Originally by: Bombasy Edited by: Bombasy on 07/07/2006 19:07:11
Originally by: Quutar http://utena.otakuvideo.com/~quutar/uploads/Main/EVE-SQL_To_MySQL.zip
I guess its still a work inprogress... but i posted maybe 4-5 links above you what i did to convert it to mysql
Hey Quu, here's a few sed commands for your howto: 's/CHAR([0-9]*[03-9][0-9][0-9])/TEXT/g' 's/dbo[.]//g' 's/UNKNOWN/INTEGER/g' 's/\([,(]\)[[:space:]]*\([,)]\)/\1null\2/g' -e 's/\([,(]\)[[:space:]]*\([,)]\)/\1null\2/g'
(the last one has to be done twice (thus the -e) to prevent having to fiddle around with the hold/pattern buffer and overly complicating the damn thing just to take care of 2x blank fields in a row.)
These work for translating the CHAR parts and removing the "dbo." from the tables, if CCP decides to make a 256-299 char field then the regex will have to change, but until then it works. It also converts the empties to nulls and allows for some spacing flexibility, just in case.
To fully "MySQLize" the CHAR's you may want to add 's/CHAR([0-9]\{1,3\})/TINYTEXT/g'
to the list of sed patterns. might also reduce storage size a bit (since text/tinytext use varchar).
edit: forgot to escape the curly braces.
I had so forgotten about escaping the curlies, that's why I went with 2x [0-9]'s instead of [0-9]{2}. 
|

Larshus Magrus
|
Posted - 2006.07.10 14:27:00 -
[234]
I just had to manage the data into mysql for a project im tinkering with.
I completely forgot how craptastic M$Sql is. What a fing mess. It violates so many ansi conventions.. well lets just put it this way... I'm sure the only thing holding that db running over there is ducktape and twine at this point.
|

Bombasy
|
Posted - 2006.07.10 18:56:00 -
[235]
Originally by: Larshus Magrus I just had to manage the data into mysql for a project im tinkering with.
I completely forgot how craptastic M$Sql is. What a fing mess. It violates so many ansi conventions.. well lets just put it this way... I'm sure the only thing holding that db running over there is ducktape and twine at this point.
Unfounded and plain wrong anti-MS zealotry is just silly my friend.
They're both different they both follow the standard rather closely, they both break the ANSI standard. Have a nice day.
And omg they both pass the ACID test.
This is my source: http://troels.arvin.dk/db/rdbms/ .
And (if it isn't obvious enough from my previous post) I am most definitely not a pro-MS zealot.
Mods feel free to mod me and the post above, we deserve it. =P
|

Meccano
|
Posted - 2006.07.11 19:00:00 -
[236]
I've been banging my head against these csv file for a few days now... can any recomend a program that will actually open it without all the descriptions messing up the rows?
Or can give some clue (other then find and replace is my friend... find and replace is not my friend.. it hates me) as to how to open these properly in excel?
|

Zarksis
|
Posted - 2006.07.12 04:57:00 -
[237]
I'm a professional (i.e. I get paid to do this work) database developer for SQL Server. Doesn't seem to be such a difficult task, except for possibly mis-construed data.
I can build all the relationships too; and then provide the .mdf and .ldf (for SQL Server). All one would have to do is in SQL Server Express (free) and attach the database files. Done.
The rest is up to you, but build UDFs (Functions) that can calculate the total materials for BPOs, etc.
Or has someone beaten me to it? :P
|

Roffer
|
Posted - 2006.07.12 05:36:00 -
[238]
Edited by: Roffer on 12/07/2006 05:37:09
Originally by: Meccano I've been banging my head against these csv file for a few days now... can any recomend a program that will actually open it without all the descriptions messing up the rows?
Change the csv file extension to ".txt", then open that file as a text file in Excel. In the import wizard, choose "Delimited", then Next, set the Delimiter to semicolon (only), then Next, then click the Advanced button, and set the decimal separator to "," and the thousands separator to "."
Then hit Finish, and the data should load properly.
|

Femaref
Caldari
|
Posted - 2006.07.23 14:32:00 -
[239]
Can it be that the Mineralrequiments (chrMinerals.sql) are missing? I can't find them in the rar.
|

Eewec Ourbyni
Caldari
|
Posted - 2006.07.23 18:16:00 -
[240]
Quote: CREATE TABLE dbo.agtConfig( agentID INTEGER, k CHAR(50), v CHAR(4000));
Err, correct me if I'm wrong but shouldn't that be:
Quote: CREATE TABLE dbo.agtConfig( agentID INTEGER, k CHAR(50), v CHAR(4));
 
This is a sig...
-- You think this guys post is nuts.... you should see his bio --
... good, ain't it! |
| |
|
| Pages: 1 2 3 4 5 6 7 [8] 9 10 11 12 13 .. 13 :: one page |
| First page | Previous page | Next page | Last page |