GithubHelp home page GithubHelp logo

Comments (6)

tr1age avatar tr1age commented on June 2, 2024
        public override bool OnDroppedInto(Mobile from, Container target, Point3D p)
        {
            bool canDrop = base.OnDroppedInto(from, target, p);

            if (canDrop && target is BankBox && !((BankBox)target).Opened)
            {
                return false;
            }

            return canDrop;
        }

Solution in containers.cs
#5059

from servuo.

Voxpire avatar Voxpire commented on June 2, 2024

After some digging, it appears that this may not actually be an issue;

Mobile.CanSee(Item item) bubbles up the item parent hierarchy, which eventually checks the bank and whether it is open or not.
https://github.com/ServUO/ServUO/blob/master/Server/Mobile.cs#L8624

If this exploit were possible, it would be due to some bad custom logic in the overriding PlayerMobile.CanSee(Item item) method.
https://github.com/ServUO/ServUO/blob/master/Scripts/Mobiles/PlayerMobile.cs#L4951

from servuo.

bittiez avatar bittiez commented on June 2, 2024

I tested this on my personal servuo test server, and have seen it work on one live shard running Servuo, if you'd like to have a private discussion I can send you the client and you can test for yourself

from servuo.

Voxpire avatar Voxpire commented on June 2, 2024

You are more than welcome to DM me on Discord.

from servuo.

Voxpire avatar Voxpire commented on June 2, 2024

We can confirm that there is no issue, just an access level oversight;
GM+ level overrides the checks that would otherwise prevent this behaviour, which is why it appears to be a legitimate exploit.

from servuo.

tr1age avatar tr1age commented on June 2, 2024

Can confirm there is a delay when swapping from GM to Player that allows you to still access the bank for a small period of time via the client while it plays catch up to know you do not have those perms, but if a player cannot ever set themselves to GM, this won't be an issue. False alarm and fell for it myself. The code above does remove that delay though so that is fun :P

from servuo.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.