PottScilgrim Posted June 25, 2020 Group: Members Topic Count: 1 Topics Per Day: 0.00 Content Count: 18 Reputation: 12 Joined: 04/10/20 Last Seen: March 4, 2021 Share Posted June 25, 2020 (edited) View File Junk Seller 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. Quote Player Adjustable Settings: Modify minimum drop-rate of items to auto-sell Modify item type to auto-sell Usable Equipment Etc Add / Remove items from personal blacklist Quote Known quirks of the system: Items that flag up as "This item can only be bought from stores" will never be sold. Cards are intentionally ignored as to prevent unwanted accidents. 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. Submitter PottScilgrim Submitted 06/25/2020 Category Utilities Video Content Author PottScilgrim Edited June 25, 2020 by PottScilgrim Updated topic title Quote Link to comment Share on other sites More sharing options...
simplexjay2 Posted February 27, 2022 Group: Members Topic Count: 56 Topics Per Day: 0.01 Content Count: 224 Reputation: 4 Joined: 02/09/12 Last Seen: April 20, 2024 Share Posted February 27, 2022 (edited) im getting this error Edited February 27, 2022 by simplexjay2 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.