Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

itemInfo parsing #110

Merged
merged 1 commit into from Feb 10, 2017
Merged

itemInfo parsing #110

merged 1 commit into from Feb 10, 2017

Conversation

Akkarinage
Copy link
Member

  • Config 'ShowItemDesc' in application.php defaults to false. Change to true in order to use.
  • New SQL file cp_itemdesc in the charDB schema.
  • Tested with itemInfo.lua from https://github.com/zackdreaver/ROenglishRE/ but assuming the format is the same, it should work with files sourced from other locations.
  • Regex could possibly do with sharpening up a little.
  • Remember to ensure that your PHP post_max_size is large enough to accomodate your file.
  • Not the best implementation, but it works.
  • Todays regex headache is thanks to @hurtsky for the suggestion.

Signed-off-by: Akkarinage akkarin@rathena.org

* Config 'ShowItemDesc' in application.php defaults to false. Change to true in order to use.
* New SQL file `cp_itemdesc` in the charDB schema.
* Tested with itemInfo.lua from https://github.com/zackdreaver/ROenglishRE/ but assuming the format is the same, it should work with files sourced from other locations.
* Regex could possibly do with sharpening up a little.
* Remember to ensure that your PHP post_max_size is large enough to accomodate your file.
* Not the best implementation, but it works.
* Todays regex headache is thanks to @hurtsky for the suggestion.

Signed-off-by: Akkarinage <akkarin@rathena.org>
@Akkarinage Akkarinage merged commit 33be854 into master Feb 10, 2017
@Akkarinage Akkarinage deleted the modules/item/itemdescs branch February 17, 2017 08:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant