Problem with selling Heroes restricted items #121


  • New
  • Defect
Open
Assigned to _ForgeUser4509640
  • _ForgeUser7441696 created this issue Jan 2, 2012

    There is a problem when using Heroes and WebAuction:

    "The hero class restriction check on items runs before the webshop sign interaction, so when you try and deposit an item your class cannot use, your item is removed from your inv slot before it can be deposited to the webaution.

    It worked when there were deposit chests, as you didnt have to interact with the item in hand but from your inventory"

    Reproduction steps:
    Hold an item restricted for your class, right click on sign, Heroes message is displayed removing the item from your inv, dropbox then complains you don't have a stack in your hand.

  • _ForgeUser7441696 added the tags New Defect Jan 2, 2012
  • _ForgeUser4509640 posted a comment Jan 3, 2012

    Sorry, not much I can do about this.

  • _ForgeUser7441696 posted a comment Jan 4, 2012

    @Exote: Go

    "WebAuction developer will need to allow commands to be run when targetting the sign rather than forcing the user to hold the item to interact. We can not change our hotbar restrictions otherwise players can use the items. There are multiple ways he can get around this issue other than the one I mentioned, similar to all the ways a player can sell an item to the shop."

    http://redmine.dthielke.com/issues/600

    Any chance? ;)

  • _ForgeUser4509640 posted a comment Jan 4, 2012

    I don't want to be making a load of /commands to do the same job as right clicking a sign, I have tried to stay as far away as possible from that sort of commands to avoid needless clutter.

  • _ForgeUser7441696 posted a comment Jan 5, 2012

    @Exote: Go

    That's a pity, seems like those two will never work together then :/

    If you find any solution, feel free to include it ;)


    Edited Jan 5, 2012
  • _ForgeUser7441696 posted a comment Jan 11, 2012

    @Exote

    I have an idea, but it would require changing a few things in your plugin ;)

    How about using methods like https://github.com/ThisIsAreku/InventorySQL to store the players inventory in the sql database.

    a) No more need for deposit / withdrawal signs b) people can transfer directly into their inventory and back from inventory to webshop c) Solves the problem above of not being able to sell certain things when plugins stop you from holding them d) Smaller footprint (?)

    Let me know if thats worth considering to you :D

  • lorenzo_p posted a comment Apr 16, 2012

    @GmK1: Go

    I've had this idea too. pretty much exactly. great minds think alike ;-) anyway, this is already a future plan for web auction plus. this will be an optional feature.


To post a comment, please login or register a new account.