Jump to content

Detect & Delete Modded Items (Bonus Exceded)


Recommended Posts

  • Premium

๐ŸŽ‰ Hello, community!

๐Ÿ” Script searches through the database to identify items that have exceeded the bonus limit.
๐Ÿ”ย Once identified, it compiles a convenient list for your consideration.

โœจ Now, you have the power to review and manage your players inventory with ease!
โœจ This script offers you the possibility to delete items that are modded or over bonus limit.

Bonus and limits stored in JSON format, encompassing all bonuses.
Now, with just a simple modification, you can adjust the limits according to your needs.

Please give me a reviewย ๐ŸŒŸ๐ŸŒŸ๐ŸŒŸ๐ŸŒŸ๐ŸŒŸ

ย 

This is the hidden content, please

Alternative download links โ†’ย 

This is the hidden content, please

Screenshot-6.pngchrome-capture-2024-1-3-1.png

Edited by Metin2 Dev International
Core X - External 2 Internal
  • Metin2 Dev 32
  • Good 5
  • muscle 1
  • Love 7
Link to comment
Share on other sites

Hi!

Thanks for sharing. I have a couple of questions:

  • Why use a JSON file when the bonuses are already stored in the database?
  • Why pull all the data from PHP and then process it?

I believe it would be more efficient (and maybe better for your learning ? if you're trying to) to try joining the item and item_attr tables to perform this processing entirely in the database. Then, you could simply retrieve the result to display it.

Link to comment
Share on other sites

  • Premium
2 hours ago, Takuma said:

Hi!

Thanks for sharing. I have a couple of questions:

  • Why use a JSON file when the bonuses are already stored in the database?
  • Why pull all the data from PHP and then process it?

I believe it would be more efficient (and maybe better for your learning ? if you're trying to) to try joining the item and item_attr tables to perform this processing entirely in the database. Then, you could simply retrieve the result to display it.

In mysql is not saved all bonus, a server have +100 bonus and in navicat are stored 15-20 i think

1 hour ago, Denizeri24 said:

I think this can do with mysql macro(from navicat)

yes, but dont work with all bonus, only with bonus stored in navicat

Link to comment
Share on other sites

19 hours ago, Mutulic said:

In mysql is not saved all bonus, a server have +100 bonus and in navicat are stored 15-20 i think

All available bonuses need to be in item_attr table no? If you find another bonus it's a modded item.

Unless specifically modified in the sources*

Link to comment
Share on other sites

  • Premium
1 hour ago, Takuma said:

All available bonuses need to be in item_attr table no? If you find another bonus it's a modded item.

Unless specifically modified in the sources*

It is not true, there are many more bonuses in the server source that are not in item_attr and are not custom

Link to comment
Share on other sites

Announcements



ร—
ร—
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.