Mytherin / Tibialyzer

Tibialyzer is an extension made for the MMORPG Tibia. It automatically scans the server log and messages from the Tibia client by reading its memory, and gathers various statistics, such as loot found from creatures, damage dealt by party members and experience gained every hour.
Other
182 stars 60 forks source link

Update database.db with Anniversary content #297

Closed Galarzaa90 closed 7 years ago

Galarzaa90 commented 7 years ago

I also had to make some minor changes to the python scripts that parse tibiawiki xml file in order for me to run them, like some absolute paths I found there.

If you prefer, I can just PR the updated database.db file

BourbonCrow commented 7 years ago

Can't launch Tibialyzer with your updated Database file says its corrupted.

Corrupted database Database\database.db.
Message: Specified cast is not valid.
Galarzaa90 commented 7 years ago

Oh... damn.... I have no idea what could be the cause, I didn't change anything crucial in the structure of the database, and it opens fine on database browsers, python, etc

Rip pull request

BourbonCrow commented 7 years ago

i did notice a difference in the databases i don't know if it has to do with that since i know jack **** about sql they have different page size.. original is 4096 yours is like 1024 or whatever but that's only difference i can see---

http://www.sqlite.org/pragma.html#pragma_page_size

says defauly should be 4096 so maybe you have old sqllite version on your system and that might be the issue

Galarzaa90 commented 7 years ago

@BourbonCrow That must be it, I will check it tonight

Galarzaa90 commented 7 years ago

@BourbonCrow Nope, that didn't work, I set the page size to 4096 and no change, I compared the databases pragmas and they are the same now, getting the same error.