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

Snooping & Stealing #16

Open
andrtechno opened this issue Apr 1, 2022 · 4 comments
Open

Snooping & Stealing #16

andrtechno opened this issue Apr 1, 2022 · 4 comments

Comments

@andrtechno
Copy link
Contributor

planned to be implemented?

@DavidJSGardner
Copy link
Contributor

Core support for a proper snooping system is not there.

It might be possible to wrote something escript side by hooking packets but while I'm as far as I know the only person to go down deep in a snooping rabbit hole, I can tell you until core support actually gets there for certain functionality, it is too many moving parts with too many pitfalls to seriously consider.

In terms of stealing, you're really looking at snooping being the major problem of the two skills.

There are snooping systems out there that use items that enable snooping but in my experience both as a player and shard admin, the implementations of this ilk leave a lot to be desired.

@andrtechno
Copy link
Contributor Author

Well, opening the backpack of the player and the thieves I did. I don't know how you see these two skills and what they should do. But I played on servers where you just open the player's bag and steal

@DavidJSGardner
Copy link
Contributor

DavidJSGardner commented Apr 2, 2022

So if they weren't POL servers, sure, I don't doubt that snooping worked as it should.

Trust me on this, I would like nothing more than to have a properly working snooping system, I spent a good chunk of time overcoming the explicitly blocked by the core functionality, rewrote the oninsert, caninsert, onremove, canremove scripts of my shard's containers, wrote the functionality to determine for whom the container belonged, I went through all the hoops only to finish it and find that there were some serious problems that would arise or could arise from implementing a proper snooping system. I did not want to just copy the contents of a player's pack and drop those items into another virtual storage area container or use an in game item such as Snooping Gloves to get around the explicit dropping of the use item packet by the core if the item is a backpack equipped by another player.

To clarify, this is how I see snooping working:
Snooping

@andrtechno
Copy link
Contributor Author

andrtechno commented Apr 2, 2022

if it is a big problem with the implementation of this kind of functionality, you can just do the usual opening of the backpack and thieves. It's better than not having these skills at all ;)
mark them as a workaround

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants