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

NPC indexing containers when adding items can cause the server to freeze #969

Open
Luckey1729 opened this issue Aug 27, 2014 · 1 comment
Labels
enhancement Increase or improvement in quality, value, or extent

Comments

@Luckey1729
Copy link
Contributor

Basically, if you have a lot of containers (and I mean, a LOT.) and you buy 100 of an item from a shop NPC the server will lag spike while trying to figure out how to give the items to a player. (Containers with bigger capacities work better)

This is very possible if you're buying 100 backpacks from an NPC very quickly for 10 minutes or so. It'll eventually lag spike the entire server.

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

@marksamman marksamman added this to the 1.1 milestone Aug 27, 2014
@Ezzz-dev
Copy link

I tried to reproduce it in Tibia.com, since it's a lot of nodes that would have to be triggered in order to add the desired amount of backpack so the player, however on my 130 EK I didn't had enough capacity, made it enough to buy around 220 backpacks. Therefore unless your character has an unlimited amount of capacity or backpacks weight nothing it's hard to actually even stay 10 minutes straight buying an infinite amounts of backpacks.

@marksamman marksamman modified the milestones: 1.2, 1.1 Mar 28, 2015
@marksamman marksamman removed this from the 1.2 milestone Jan 16, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Increase or improvement in quality, value, or extent
Projects
None yet
Development

No branches or pull requests

3 participants