Posts: 3,361
Threads: 411
Joined: Nov 2014
Reputation:
25
Time Played: 5,390.98 Hours
Level: 441
Rounds Played: 5,530
01-27-2018, 06:18 AM
(This post was last modified: 01-27-2018, 06:19 AM by Brassx.)
it would be quite taxing on the webserver to perform the query like this. I have the script for stuff like this, but too many people doing too many searches (we're talking about looking through 50k inventory + 5k bank entries x 70 inventory slots x up to 200 bank slots, then ontop of that decoding the item structure and looking to make sure it's not hidden, etc) would bring the MYSQL server to a complete halt.
I would have to do a lot of caching, but even then caching would be outdated all of the time and just not work well.
It would prolly be best to just make it a system that is disabled by default. So you could do something like >right click item >"Add to Find Me" or something. Then it would add said item, and the current owner to a new database. THEN you can search that much smaller database for items.
That might work.