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

PurseStrings & ItemDB integration not working for recording purchases in OGL character sheet #3

Open
Jes6439 opened this issue Jan 1, 2024 · 4 comments
Assignees
Labels
bug Something isn't working

Comments

@Jes6439
Copy link

Jes6439 commented Jan 1, 2024

Describe the bug
Purchased items are not recorded in equipment section of buyer's OGL character sheet.

To Reproduce
Steps to reproduce the behavior:

  1. Display invlist in chat
  2. Click on item to buy with buyer's token selected
  3. No item added to buyer's character sheet equipment

Expected behavior
Expect to have purchased item recorded in equipment of buyer's character sheet when buy command is used.

Screenshots
Before Buying an Item Before Buying an item
After Buying an Item After Buying an Item
PurseStrings Config (Dagger was added after purchase using another input: !idb add Dagger) PurseStrings config

Desktop (please complete the following information):

  • OS: Windows 10 Home
  • Browser: Google Chrome
  • Version: 120.0.6099.129 (Official Build) (64-bit)

Additional context
-When using !idb add Dagger, that command seems to work fine and adds the item to equipment. It seems to be how PurseStrings uses ItemDB's add command that isn't working.
-PurseStrings config is picking up ItemDB and is set to record purchases in the appropriate section.

@Jes6439 Jes6439 added the bug Something isn't working label Jan 1, 2024
@blawson69
Copy link
Owner

Can you please verify the version of PurseStrings and ItemDB you have installed? Thank you!

@Jes6439
Copy link
Author

Jes6439 commented Jan 4, 2024

Hi blawson! I believe I'm using the latest version on Github for each: PurseStrings 6.0.1 & ItemDB 2.0.

PurseStrings   Item DB versions

@blawson69
Copy link
Owner

blawson69 commented Jan 8, 2024

I have not been able to replicate the error. This may mean there is a conflict with another script. Have you tried disabling all other irrelevant scripts to see if it works then? If so, re-enable the scripts one by one until you get the bug again.

  1. Disable all scripts except for PurseStrings, ItemDB, and ItemDB SRD.
  2. Restart the sandbox and try purchasing the item again.
  3. If it works, delete the new item and re-enable the first disabled script.
  4. Repeat from to step 2 until you get the error again. The newly enabled script is the conflicting script. Please let me know which one it is.

If It still happens with all other scripts disabled, let me know too.

@Jes6439
Copy link
Author

Jes6439 commented Jan 12, 2024

Hi Ben,

I just tried it with all other scripts disabled and sadly it's still not working. I also tried it with OGL enabled since I downloaded the OGL version of ItemDB & ItemDB SRD but same result.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants