-
Posts
18 -
Joined
-
Last visited
-
Days Won
1
Content Type
Profiles
Forums
Downloads
Jobs Available
Server Database
Third-Party Services
Top Guides
Store
Crowdfunding
Files posted by PottScilgrim
-
Junk Seller
By PottScilgrim in Utilities
Junk Seller will scan your inventory and sell everything at the same time.
The list of items will display in a window so the player has a chance to confirm.
If the player has the skill "Overcharge" it will add zeny to the sale amount accordingly.
INSTALLATION AND CUSTOMISATION:
1. SQL DB required for personal blacklist, run this command to create the necessary table in your DB:
CREATE TABLE `junkerblacklist` ( `char_id` varchar(100) DEFAULT NULL, `item_name` varchar(100) DEFAULT NULL, `item_id` varchar(100) DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; 2. Add junkseller.txt to whichever directory you store your NPCs, and update scripts_custom.conf.
3. Modify this array at line 54 to configure your permanent global blacklist.
setarray @Blacklist[0], 4. Uncomment / Comment the code at lines 541 and 544 if you would like the script to include Cards.
// Checks if item is an Etc item (3) // Comment this line and uncomment the line below if you want Cards to be included if(getiteminfo(.@iid,2) == 3){ // Comment the above line and uncomment this line if you want Cards to be included //if(getiteminfo(.@iid,2) == 3 || getiteminfo(.@iid,2) == 6){ 5. Modify .@showbl to 0 at line 39 if you don't want the message displaying how many items were removed by the blacklist system.
.@showbl = 1; // Shows how many items were removed by the blacklist system.
344 downloads
Updated