Comments (6)
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.
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.
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.
You are more than welcome to DM me on Discord.
from servuo.
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.
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)
- dotnet 5 is EOL about 6 months ago HOT 3
- Typo in config file Config/CarryWeight.cfg HOT 1
- Mage weapons not altering skill
- [p58] Player character turns toward item being lifted.
- HouseTeleporterTile.Initialize() produces array out of bounds exception on startup HOT 1
- Reptalon|ColdDrake|CuSidhe can't be trained to Magery Mastery
- Personal Attendant Blocks NPCs and Wildlife - Video
- Enchant Weapon strips Mythic Weapon Buff HOT 1
- Blacksmith Weapoon LBODs award no gold if made with colored ingots instead of basic iron ingots
- Inaccessible logic in Scripts/Items/Equipments/Weapons/BaseWeapon.cs HOT 1
- DyeTub has an easy crash-fix HOT 1
- Cooking Makers Mark HOT 1
- [p58] Linux makefile not working
- Incorrect Virtue Level calculation HOT 3
- Ubuntu mono doesn't support langversion 7.3.
- null exception after house decay
- Cache broken in UNIX
- balance
- deftailoring
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from servuo.