Regular users randomly create inf shops #17


  • Defect
  • Replied
Open
Assigned to _ForgeUser6802
  • _ForgeUser7400629 created this issue Apr 16, 2012

    What steps will reproduce the problem?
    1. Player creates a shop.
    2. *RARELY* the shop will end up as an infinate shop.
    3.

    What is the expected output? What do you see instead?
    The info on the sign registers correctly. I've investigated two incidents now. Both times I test the user with /plugman test to read out their permissions to create an infinate shop. It comes back false. The sign looks correct and the users are confused because they can not diposit their inventory to sell it.

    What version of the product are you using?
    1.4

    Do you have an error log of what happened?
    No errors generated. Though I'm trying to log the incident when i see it again. screenshot and perms test is the best i think i can get.

    Please provide any additional information below.

    I was hoping you could define the fields int he DAT storage file. I was hoping to be able to identify "unreported" infinite shops by searching for the proper value in there.

    Thanks Arm.

    Digi

  • _ForgeUser7400629 added the tags Defect New Apr 16, 2012
  • _ForgeUser6802 posted a comment Apr 16, 2012

    I've heard this mentioned before (not sure it was you) and unfortunately no pattern could be found back then either.

    Maybe I should do a code review, see whether anything could go wrong somewhere.

    Or maybe somewhere something simply fails to write to the file outside my control. And that has always been the only place that stores what store is not an infinite shop. Maybe that should indeed change.

    What do you mean about defining fields in the DAT storage file? What 'column' means what?

    Any attempt at finding the cause would be welcome.


    Edited Apr 16, 2012
  • _ForgeUser6802 removed a tag New Apr 16, 2012
  • _ForgeUser6802 added a tag Waiting Apr 16, 2012
  • _ForgeUser7400629 posted a comment Apr 18, 2012

    @ArmEagle: Go

    Yea if you could define the fields for me I can parse the dat file and look for other inf shops not owned by me.

    Also, I'll need to look at the stored info that identifies inf shops. We will have either 1 of 2 situations. Either the necessary values to create an inf shop are being returned on accident or there is an error in writing the info to the file like you suggest. Since its been so random I'm having trouble testing with the users. But I'll keep at it. In the mean time i figured id start with the dat file format.

    Thanks arm, Digi

  • _ForgeUser7400629 removed a tag Waiting Apr 18, 2012
  • _ForgeUser7400629 added a tag Replied Apr 18, 2012
  • _ForgeUser6802 posted a comment Apr 19, 2012

    @Digitalink2008: Go

    .data file is:

    • owner name
    • world name
    • world coordinates (3 'columns')
    • item type (id[;data])
    • item amount
    • currency amount

    Infinite shops are indeed not stored in the .data file. Maybe it should.

    Edit: forgot the coordinates.


    Edited Apr 19, 2012

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